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

Aperta
#10,415 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
33.3k
Fork
1.8k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ValveSoftware/Proton

Tutte le issue di ValveSoftware/Proton

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.