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

Aperta
#866 3 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
53/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux, shell

Direzione di ricerca

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.

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

Descrizione

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.
Lingua principale
Shell
Stelle
1.5k
Fork
98
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/steam-runtime

Tutte le issue di ValveSoftware/steam-runtime

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.