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

Đang mở
#866 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
53/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, shell
Lĩnh vực
infrastructure

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Shell
Star
1.5k
Fork
98
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ValveSoftware/steam-runtime

Tất cả issue của ValveSoftware/steam-runtime

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.