RTX 4090 needs optimisation (less than 20 FPS and dlss gives black screen) #1275

Closed
opened 2026-11-28 16:52:54 +00:00 by github-bot · 3 comments
Owner
**@⁠neskweek** on GitHub · 2026-11-28 16:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1275) [victory-nvidia-play-20261128-163017-5748.log](https://github.com/user-attachments/files/35553457/victory-nvidia-play-20261128-163017-5748.log) [victory-nvidia-play-20261128-163535-7664.log](https://github.com/user-attachments/files/35553458/victory-nvidia-play-20261128-163535-7664.log) [victory-nvidia-play-20261128-163736-13460.log](https://github.com/user-attachments/files/35553462/victory-nvidia-play-20261128-163736-13460.log) [victory-nvidia-play-20261128-163838-7188.log](https://github.com/user-attachments/files/35553460/victory-nvidia-play-20261128-163838-7188.log) [victory-nvidia-play-20261128-164538-10104.log](https://github.com/user-attachments/files/35553459/victory-nvidia-play-20261128-164538-10104.log) [victory-nvidia-play-20261128-165810-18216.log](https://github.com/user-attachments/files/35553464/victory-nvidia-play-20261128-165810-18216.log) [victory-nvidia-play-20261128-170002-15484.log](https://github.com/user-attachments/files/35553463/victory-nvidia-play-20261128-170002-15484.log) [victory-nvidia-play-20261128-170156-23328.log](https://github.com/user-attachments/files/35553466/victory-nvidia-play-20261128-170156-23328.log) [victory-nvidia-play-20261128-170834-7556.log](https://github.com/user-attachments/files/35553465/victory-nvidia-play-20261128-170834-7556.log) [victory-nvidia-play-20261128-170911-17856.log](https://github.com/user-attachments/files/35553461/victory-nvidia-play-20261128-170911-17856.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 16:52:54 +00:00
Author
Owner

@⁠Headache3318 on GitHub · 2026-11-29 02:00 UTC · original

Same black-screen failure reproduced here on Linux (RTX 4090, driver 620.73.04, fork v2026.11.28.03, Proton Experimental 11.0-20261123b + GE-Proton11-14, Xbox dump v1.0.2.1) — and we isolated it to the host D3D12 stack, not the game or DLSS:

  • The failure sequence is sl.dlss_g ... swapChainData.cpp:259[createSwapChain] Failed to create swap chain - 'Invalid parameter.' → fork fallback → victory_gpu::host: no swap chain error=Invalid parameter. (0x80070057) looping (19,162 repeats in our longest run), ~14 debug presents then no frames.
  • vkd3d-proton 3.1.0 = the chain succeeds on the identical machine (presenting to a window width=3840 height=2160 format=28, 33.333 ms frame loop). vkd3d-proton 3.2.0 (current Proton Experimental / GE-Proton11-14) = dxgi_vk_swap_chain_create_surface: Surface is not supported for presentation → the loop above. Reproduced on both 24-bit and 30-bit X screens, both Proton builds, HDR off (disabled (SDR presentation) preference=0).
  • Streamline 2.14.16 + NGX 310.9.16 load fine (dlss=true framegen=true), FG gates open under Proton (HAGS), --res 4k --dlss quality --framegen 2 --fg-type dlss accepted — the upscaler side is healthy; only the presentation layer differs by vkd3d version.
  • Separately, the "less than 20 FPS" side: with Resizable BAR off, the fork sizes itself from a reported budget of ~430–555 MB (the card's own: budget 434 MB) and then logs no room, new textures wait — texture starvation on a 24 GB card. VICTORY_VRAM_BUDGET_MB=20000 did not raise the reported line. Enabling ReBAR (EnableResizableBar=1) is likely worth testing by anyone with our symptom even on Windows where ReBAR is forced — worth checking your board/BIOS state.

Full bring-up notes + asks (pin 3.1.0 on Linux; budget-floor idea; headless [Y/n] Agility-SDK prompt) filed in #1898. Happy to attach our play logs (each run writes a complete fork log) if useful.

Tagged per repo policy: AI-assisted (Hermes Agent).

**@⁠Headache3318** on GitHub · 2026-11-29 02:00 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1275#issuecomment-7249147814) Same black-screen failure reproduced here on **Linux (RTX 4090, driver 620.73.04, fork v2026.11.28.03, Proton Experimental 11.0-20261123b + GE-Proton11-14, Xbox dump v1.0.2.1)** — and we isolated it to the host D3D12 stack, not the game or DLSS: - The failure sequence is `sl.dlss_g ... swapChainData.cpp:259[createSwapChain] Failed to create swap chain - 'Invalid parameter.'` → fork fallback → `victory_gpu::host: no swap chain error=Invalid parameter. (0x80070057)` looping (19,162 repeats in our longest run), ~14 debug presents then no frames. - **vkd3d-proton 3.1.0 = the chain succeeds** on the identical machine (`presenting to a window width=3840 height=2160 format=28`, 33.333 ms frame loop). **vkd3d-proton 3.2.0 (current Proton Experimental / GE-Proton11-14) = `dxgi_vk_swap_chain_create_surface: Surface is not supported for presentation`** → the loop above. Reproduced on both 24-bit and 30-bit X screens, both Proton builds, HDR off (`disabled (SDR presentation) preference=0`). - Streamline 2.14.16 + NGX 310.9.16 load fine (`dlss=true framegen=true`), FG gates open under Proton (HAGS), `--res 4k --dlss quality --framegen 2 --fg-type dlss` accepted — the upscaler side is healthy; only the presentation layer differs by vkd3d version. - Separately, the "less than 20 FPS" side: with **Resizable BAR off**, the fork sizes itself from a reported budget of ~430–555 MB (`the card's own: budget 434 MB`) and then logs `no room, new textures wait` — texture starvation on a 24 GB card. `VICTORY_VRAM_BUDGET_MB=20000` did not raise the reported line. Enabling ReBAR (`EnableResizableBar=1`) is likely worth testing by anyone with our symptom even on Windows where ReBAR is forced — worth checking your board/BIOS state. Full bring-up notes + asks (pin 3.1.0 on Linux; budget-floor idea; headless `[Y/n]` Agility-SDK prompt) filed in #1898. Happy to attach our play logs (each run writes a complete fork log) if useful. Tagged per repo policy: AI-assisted (Hermes Agent).
Author
Owner

@⁠Headache3318 on GitHub · 2026-11-29 03:48 UTC · original

Progress from this RTX 4090 Linux rig (Headache3318; AI-assisted, Hermes Agent): the black screen here resolved into two host-side causes, now reproduced and worked around — details + logs in trustno1-coder/VIctory-NVIDIA#1898 (today's comments):

  1. Headless Xvfb — every vkd3d-proton build tested (3.1.0-standalone through 3.2.0 and master 71cae091) rejects the swap chain on mode-less Xlib (Surface is not supported for presentation, upstream tracked at HansKristian-Work/vkd3d-proton#3539). Running the same stack nested in gamescope --backend wayland fixed chain creation here and produced the first interactive front-end this machine has shown.
  2. ReBAR off at the driver level — NVIDIA's Linux driver defaults NVreg_EnableResizableBar=0 even when BIOS has Above-4G + ReBAR on: vkd3d logs Assuming small BAR situation, the fork sizes residency from a 658 MB reported budget, and the run dies after ~9 min in a waitCPUFence ... timed out after 500ms → CPU-pacer-skip → WER crash cascade with no kernel OOM and no Xid. Fix: options nvidia NVreg_EnableResizableBar=1 in /etc/modprobe.d/ + reboot.

If your 4090 report is headless (Steam-Linux-runtime style) or on a BIOS with ReBAR off, check these two before blaming DLSS.

**@⁠Headache3318** on GitHub · 2026-11-29 03:48 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1275#issuecomment-7250265566) Progress from this RTX 4090 Linux rig (Headache3318; AI-assisted, Hermes Agent): the black screen here resolved into **two host-side causes**, now reproduced and worked around — details + logs in trustno1-coder/VIctory-NVIDIA#1898 (today's comments): 1. **Headless Xvfb** — every vkd3d-proton build tested (3.1.0-standalone through 3.2.0 and master `71cae091`) rejects the swap chain on mode-less Xlib (`Surface is not supported for presentation`, upstream tracked at HansKristian-Work/vkd3d-proton#3539). Running the same stack nested in `gamescope --backend wayland` fixed chain creation here and produced the first interactive front-end this machine has shown. 2. **ReBAR off at the driver level** — NVIDIA's Linux driver defaults `NVreg_EnableResizableBar=0` even when BIOS has Above-4G + ReBAR on: vkd3d logs `Assuming small BAR situation`, the fork sizes residency from a **658 MB** reported budget, and the run dies after ~9 min in a `waitCPUFence ... timed out after 500ms` → CPU-pacer-skip → WER crash cascade with no kernel OOM and no Xid. Fix: `options nvidia NVreg_EnableResizableBar=1` in `/etc/modprobe.d/` + reboot. If your 4090 report is headless (Steam-Linux-runtime style) or on a BIOS with ReBAR off, check these two before blaming DLSS.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-30 15:46 UTC · original

Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.

If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:

  1. The play log: the newest victory-nvidia-play-<date>-<time>-<number>.log in %LOCALAPPDATA%\victory\logs\.
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest .crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\ if there is one from that run.
**@⁠trustno1-coder** on GitHub · 2026-11-30 15:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1275#issuecomment-7283555325) Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is [v2026.11.30.01](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.30.01). If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run: 1. The play log: the newest `victory-nvidia-play-<date>-<time>-<number>.log` in `%LOCALAPPDATA%\victory\logs\`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, plus the newest `.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\` if there is one from that run.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA#1275
No description provided.