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

オープン
#866 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
53/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
linux, shell

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Shell
スター
1.5k
フォーク
98
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ValveSoftware/steam-runtime のほかの issue

ValveSoftware/steam-runtime の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。