Skip to content

docs: NVIDIA/Blackwell support notes + standalone test harness#2223

Open
Sigmachan wants to merge 2 commits into
ValveSoftware:masterfrom
Sigmachan:docs/nvidia-blackwell-support
Open

docs: NVIDIA/Blackwell support notes + standalone test harness#2223
Sigmachan wants to merge 2 commits into
ValveSoftware:masterfrom
Sigmachan:docs/nvidia-blackwell-support

Conversation

@Sigmachan

Copy link
Copy Markdown

Adds developer-facing notes for running gamescope on the NVIDIA proprietary driver (Blackwell / RTX 5090, driver 610), plus a guarded standalone test harness.

  • docs/NVIDIA.md — what currently works (nested mode; the existing NVIDIA-555 IN_FENCE_FD/EPERM handling in DRMBackend.cpp), the real gaps (standalone DRM-backend validation; HDR colour offload uses AMD-only plane props, so NVIDIA needs the Vulkan composite colour path), and a reproducible SPIR-V compiler SEGV on driver 610.
  • contrib/nvidia-standalone-test.sh — time-boxed standalone-DRM test with a watchdog that SIGKILLs gamescope and chvts back, so a wedged run never strands you at a black screen.

Docs + one contrib script; no engine code changes.

Document NVIDIA (RTX 5090 / driver 610) support: nested mode works (5090
selected, flip swapchain, VK_EXT_swapchain_maintenance1); the 555+ IN_FENCE_FD
EPERM quirk is already handled. Remaining gaps are the standalone DRM backend
and HDR colour (DRM path uses AMD-only AMD_PLANE_* props; NVIDIA must use the
Vulkan composite colour path).

Add contrib/nvidia-standalone-test.sh: a guarded on-hardware test for the
standalone DRM backend and HDR, with diagnostics capture, time-boxing, and a
watchdog that SIGKILLs gamescope and chvt's back so a wedged run never strands
the user at a black screen.
gamescope reproducibly crashes compiling its composite/upscale shaders inside
libnvidia-glvkspirv 610.43.02 (SIGSEGV in _nv002nvvm), before the first
swapchain. Not shader-cache related. Captured backtrace + next steps (bisect
offending shader, minimal repro, NVIDIA bug report, startup fallback).
@matte-schwartz

Copy link
Copy Markdown

I'm not sure I understand the point of this or why we would find it useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants