xalia (VR helper) .NET runtime spins forever under FEX on ARM64 (strcmp/memcpy 88-byte record rotation)

Đang mở
#10,415 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
operating-systems

Hướng nghiên cứu

Start by reproducing the startup hang on the Steam Frame with Proton ARM64 and capture a WINEDEBUG=+relay log to trace the repeated memcpy and strcmp calls. The issue does not identify a Proton source file or test, so follow the trace into the .NET host policy and FEX interaction. Done means xalia completes initialization without the infinite loop.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

On a Steam Frame (ARM64), Proton's VR helper xalia.exe (.NET) gets stuck at startup: one of its threads runs an infinite loop in the .NET host policy — rotating 88-byte records with memcpy between heap addresses and repeatedly strcmp-ing a fixed string list ("mini_tests", "Xamarin.iOS", "Xamarin.Mac", "Xamarin.WatchOS", "Xamarin.MacCatalyst", "builtin-types" vs "Superpower"), cycling forever without progress.

Evidence: WINEDEBUG=+relay capture — the loop's caller is JIT'd code in the heap (ret addresses in the 0x03xxxxxx range), the strcmp operands are at fixed addresses (6ffff915e740-6ffff915e78a, table of six strings, and 04003207 "Superpower"), and the sequence repeats identically forever.

Workaround: PROTON_USE_XALIA=0 (skips xalia entirely; the games still run — see the game-specific fixes below).

Impact: xalia never completes its init under FEX on this device, so any game that waits on xalia stalls. We verified with a Unity 5.x mono game (VR Kanojo 2017) that disabling xalia is necessary but not sufficient — the game additionally needs FEX X87ReducedPrecision=0 + MonoHacks=0 + MONO_DEBUG=explicit-null-checks (see FEX-Emu/FEX #6014 comments).

Environment: Steam Frame (Snapdragon/Adreno 750), SteamOS 0.4.5, Proton 11.0 (ARM64) and Proton Experimental (ARM64), FEX-2609-ish (libarm64ecfex). Full relay log available on request.

Ngôn ngữ chính
C++
Star
33.4k
Fork
1.8k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ValveSoftware/Proton

Tất cả issue của ValveSoftware/Proton

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.