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

Abierto
#10,415 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C++
Estrellas
33.4k
Forks
1.8k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ValveSoftware/Proton

Todos los issues de ValveSoftware/Proton

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.