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

未关闭
#866 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ValveSoftware/steam-runtime 的其他 Issue

查看 ValveSoftware/steam-runtime 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。