pressure-vessel on ARM64 machine not forwarding FEX to NVIDIA Driver ICD path

Abierto
#866 3 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
53/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
linux, shell

Línea de trabajo

Start by reviewing the proposed pressure-vessel change at commit fc808764dd3b3e7257d20a9df9b270bc993fe217 and trace how Vulkan ICD paths are forwarded to FEX on ARM64. Reproduce with an NVIDIA driver installed from its .run installer and the Vulkan loader debug settings from the issue. The fix is complete when an emulated game finds the ICD under /etc/vulkan/icd.d/ and uses the NVIDIA GPU without copying the file.

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

Descripción

Pressure Vessel
Your system information
  • Steam Runtime Version: steam-runtime_1.0.20261021.266054 (Steam client 1792618285)
  • Distribution (e.g. Ubuntu 18.04): Ubuntu 26.04.1 LTS for ARM64
  • Link to your full system information (Help -> Steam Runtime Diagnostics) in a Gist: N/A
  • Have you checked for system updates?: TODO
  • What compatibility tool are you using?: Steam Linux Runtime 1.0 (scout), i.e. scout-on-soldier.
  • What versions are listed in steamapps/common/SteamLinuxRuntime/VERSIONS.txt?
    depot            1.0.20261021.266054
    LD_LIBRARY_PATH  1.0.20261021.266054  scout  1.0.20261021.266054
    scripts          0.20261007.0
    
  • What versions are listed in steamapps/common/SteamLinuxRuntime_soldier/VERSIONS.txt?
    depot                  2.0.20261021.266042
    pressure-vessel        0.20261007.0
    pressure-vessel-arm64  0.20261007.0
    scripts                0.20261007.0
    soldier                2.0.20261021.266042  soldier  2.0.20261021.266042
    
  • What versions are listed in steamapps/common/SteamLinuxRuntime_sniper/VERSIONS.txt? depot 3.0.20261021.266025, pressure-vessel 0.20261007.0
  • What versions are listed in steamapps/common/SteamLinuxRuntime_4/VERSIONS.txt? depot 4.0.20261021.265997, pressure-vessel 0.20261007.0
Please describe your issue in as much detail as possible:

This issue prevents many games from detecting the NVIDIA GPU on N1X and DGX Spark machines.

When installing the NVIDIA GPU drivers from their .run scripts, the relevant ICD.json files are written to /etc/vulkan/icd.d/, as opposed to the Ubuntu PPA which copies those files in /usr/share/vulkan/icd.d/. An example .run file can be found here: https://download.nvidia.com/XFree86/Linux-aarch64/615.78.08/NVIDIA-Linux-aarch64-615.78.08.run

Since pressure-vessel doesn't pass through these /etc/vulkan paths to FEX, emulated games fail to find the GPU, and fallback to software rendering. As a workaround, copying /etc/vulkan/icd.d/nvidia_icd.json to /usr/share/vulkan/icd.d/ fixes it.

Proposed fix: https://github.com/javelina-pkwy/steam-runtime-tools/commit/fc808764dd3b3e7257d20a9df9b270bc993fe217

Running a privately built pressure-vessel w/ this patch running the game with PRESSURE_VESSEL_PREFIX as a launch option fixed the game.

Steps for reproducing this issue:
  1. On an aarch64 Linux system with an NVIDIA GPU, install the NVIDIA driver with .run installer
  2. Run the x86_64 Steam client under FEX-Emu with the Vulkan thunk enabled
  3. Launch a native Linux game that runs in the Steam Linux Runtime (I used "Shadow of the Tomb Raider") with STEAM_LINUX_RUNTIME_LOG=1 VK_LOADER_DEBUG=error,warn,driver %command%.
  4. The log shows Failed to open JSON file /etc/vulkan/icd.d/nvidia_icd.json
  5. Move nvidia_icd.json to /usr/share/vulkan/icd.d/ and launch again, the NVIDIA GPU will be enumerated and used.
Lenguaje dominante
Shell
Estrellas
1.5k
Forks
98
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/steam-runtime

Todos los issues de ValveSoftware/steam-runtime

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.