Linux: fetch NVIDIA's DLSS files without PowerShell, and the Proton check of DLSS #873

Merged
thesubtleties merged 2 commits from upstream-pr/873 into main 2026-11-29 08:16:58 +00:00
thesubtleties commented 2026-11-28 08:21:23 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by thesubtleties on 2026-11-28T08:21:23Z.


Fixes: no issue of its own; it fills the "not tested" DLSS line of docs/linux-proton.md. Related: #1380 (Linux/Proton on NVIDIA).

What it changes

docs/linux-proton.md lists DLSS as not tested under Proton because Get-NVIDIA-DLSS.cmd and the built-in download need Windows PowerShell. This adds scripts/get-nvidia-dlss.sh, the same fetch for Linux (curl and python3): NVIDIA's Streamline v2.14.16 from NVIDIA's GitHub, only the eight files get-nvidia-sdks.ps1 takes plus NVIDIA's licences, each written under its own name, into the prefix's %LOCALAPPDATA%\victory\nvidia-sdk\Streamline\bin\x64. Nothing from the download is run, and nothing of NVIDIA's goes into the repository.

Also scripts/get-mfg-unlocker.sh, the same for get-mfg-unlocker.ps1 (MFG Unlocker v1.7.2, the same pinned SHA-256 values). The DLSS fetch keeps the tag it installed and fetches again for another tag; it is not an integrity check.

How it was tested

  • GPU and profile: RTX 3080 10 GB, NVIDIA 620.73.04, CachyOS, Proton Experimental 11.0-20261123b via umu-launcher; no title, so no profile (victory upscaler-check only).

  • Before: docs/linux-proton.md listed DLSS as not tested; the PowerShell fetchers cannot run in a Proton prefix.

  • After: victory upscaler-check --device on an RTX 3080 (NVIDIA 620.73.04), CachyOS, Proton Experimental 11.0-20261123b through umu-launcher, with victory.exe built from 63b902f with cargo-xwin. sl.interposer.dll passed the signature check under Wine, DLSS Super Resolution loaded (NGX 310.9.16) and ran three times on stand-in textures, and Streamline shut down cleanly. Frame generation was reported as not supported, as expected on an RTX 30. MFG Unlocker on the 3080: frame generation passes Streamline's support check, but NGX fails to create it at every present, so no frames are generated. Details and two oddities (a 0 GB memory budget, the driver's nvngx_update.exe still starting) are in the doc section.

  • Since then, on the same PC: all of docs/dlss.md's checks without the title pass, including --present with VICTORY_STREAMLINE_PRESENT=1 (120 upscalings, each with a present), the five DLSS modes, presets J to M, and 1920x1080 and 3840x2160 output.

  • For shader changes, the wave sizes tested: no shader change.

  • cargo test passed for the crates it touches: no crate changed (scripts and docs only); cargo xtask policy passes.

Not tested: DLSS in the title (no game files were used), frame generation, other cards, and whether PROTON_ENABLE_NVAPI=1 is needed.

AI-assisted (Claude Code).

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #1630 (Proton launcher, CI and tests; it also edits docs/linux-proton.md, and the two merge cleanly) and #1702 (system Wine with DLSS; it edits docs/linux-proton.md too). Neither adds a fetch for NVIDIA's, AMD's or MFG Unlocker's files. #627 does not touch these files.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5538264957 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/873). Originally posted by [thesubtleties](https://github.com/thesubtleties) on 2026-11-28T08:21:23Z. --- Fixes: no issue of its own; it fills the "not tested" DLSS line of `docs/linux-proton.md`. Related: #1380 (Linux/Proton on NVIDIA). ## What it changes `docs/linux-proton.md` lists DLSS as not tested under Proton because `Get-NVIDIA-DLSS.cmd` and the built-in download need Windows PowerShell. This adds `scripts/get-nvidia-dlss.sh`, the same fetch for Linux (curl and python3): NVIDIA's Streamline v2.14.16 from NVIDIA's GitHub, only the eight files `get-nvidia-sdks.ps1` takes plus NVIDIA's licences, each written under its own name, into the prefix's `%LOCALAPPDATA%\victory\nvidia-sdk\Streamline\bin\x64`. Nothing from the download is run, and nothing of NVIDIA's goes into the repository. Also `scripts/get-mfg-unlocker.sh`, the same for `get-mfg-unlocker.ps1` (MFG Unlocker v1.7.2, the same pinned SHA-256 values). The DLSS fetch keeps the tag it installed and fetches again for another tag; it is not an integrity check. ## How it was tested - GPU and profile: RTX 3080 10 GB, NVIDIA 620.73.04, CachyOS, Proton Experimental 11.0-20261123b via `umu-launcher`; no title, so no profile (`victory upscaler-check` only). - Before: `docs/linux-proton.md` listed DLSS as not tested; the PowerShell fetchers cannot run in a Proton prefix. - After: `victory upscaler-check --device` on an RTX 3080 (NVIDIA 620.73.04), CachyOS, Proton Experimental 11.0-20261123b through `umu-launcher`, with `victory.exe` built from `63b902f` with `cargo-xwin`. `sl.interposer.dll` passed the signature check under Wine, DLSS Super Resolution loaded (NGX 310.9.16) and ran three times on stand-in textures, and Streamline shut down cleanly. Frame generation was reported as not supported, as expected on an RTX 30. MFG Unlocker on the 3080: frame generation passes Streamline's support check, but NGX fails to create it at every present, so no frames are generated. Details and two oddities (a 0 GB memory budget, the driver's `nvngx_update.exe` still starting) are in the doc section. - Since then, on the same PC: all of `docs/dlss.md`'s checks without the title pass, including `--present` with `VICTORY_STREAMLINE_PRESENT=1` (120 upscalings, each with a present), the five DLSS modes, presets J to M, and 1920x1080 and 3840x2160 output. - For shader changes, the wave sizes tested: no shader change. - `cargo test` passed for the crates it touches: no crate changed (scripts and docs only); `cargo xtask policy` passes. **Not tested:** DLSS in the title (no game files were used), frame generation, other cards, and whether `PROTON_ENABLE_NVAPI=1` is needed. AI-assisted (Claude Code). ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #1630 (Proton launcher, CI and tests; it also edits `docs/linux-proton.md`, and the two merge cleanly) and #1702 (system Wine with DLSS; it edits `docs/linux-proton.md` too). Neither adds a fetch for NVIDIA's, AMD's or MFG Unlocker's files. #627 does not touch these files.
ArturoWolff commented 2026-11-28 08:34:57 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArturoWolff on 2026-11-28T08:34:57Z.


Independent check of get-nvidia-dlss.sh at 5412edc09dbdc6fcd00433e052a92b7fb4a28517, on CachyOS/Linux, RTX 4060 8 GB, NVIDIA 620.73.04, GE-Proton11-14 / vkd3d-proton 3.2.0.

Installer: ran the exact script against a new isolated steamuser prefix directory. The fresh official v2.14.16 download succeeded, SHA-256 32041e51db0cab709a271b72a352281b690c2abbd669a827809401a5dd23956b, identical to our previously verified archive. All eight installed DLLs match our retained SDK byte for byte, and all four licence files match the archive. No other DLL was extracted. Repeat with the same tag returned all there already, exit 0; invalid tag and nonexistent prefix each refused with exit 2. Note that the existing-file fast path checks presence, not the requested version or hashes, so it should not be described as an SDK upgrade/integrity check.

Game-free SR: using JoeY54's #527 validation build (111c14e) and a fresh offline Proton prefix with the newly installed SDK copied into the standard %LOCALAPPDATA%\\victory\\nvidia-sdk\\Streamline\\bin\\x64 directory: upscaler-check --validate --output 1920x1080 --iterations 12 with explicit Windows VICTORY_STREAMLINE_DIR pointing to that directory returned exit 0, 2,073,600 finite RGB pixels, both region means within 0.02 of reference, and clean shutdown. Output digest exactly matched the previous direct-mounted SDK test. Without that variable, the direct diagnostic command returns no sl.interposer.dll in that folder; it uses its own default directory, whereas play performs the standard SDK search. Your documentation already shows the explicit variable for the direct probe; retaining that distinction matters.

Actual title: on retained .01 (63b902f plus the earlier Linux backing/DXC changes), Series X 1080to1440, DLSS Quality, FG off, stock SDK, full requested effects and ordinary waits/write-back, cloned profile and fresh external caches. No VICTORY_STREAMLINE_DIR supplied to play; the launcher located the installed default directory itself, and the log confirms Streamline 2.14.16 loaded from it. Actual SR command recording at 1706x960 -> 2560x1440. All DLLs still byte-identical after exit. Same loading failure, child exit 5, min available RAM 2813 MiB, no guard stop, OOM increment, recorded GPU fault or reported device/fence error. Not evidence of correct displayed scene or a performance gain. Earlier explicit-path .10 title run likewise recorded SR and failed; these are different revisions, so not an isolated timing comparison.

RTX 40 FG context: our earlier game-free #527 SR/FG results using the identical SDK on this device verified 2x support, 60 SDK-reported frames from 30 measured base presents, all seven lifecycle phases passing. Reflex synchronization/RSYNC errors remained, and those counts are not visual temporal fidelity or gameplay FPS. This extends the documented Linux evidence to Ada without claiming that FG works correctly in the title. No game files, extracted data, logs or SDK contents attached.

AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7236676012 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/873#issuecomment-7236676012). Originally posted by [ArturoWolff](https://github.com/ArturoWolff) on 2026-11-28T08:34:57Z. --- Independent check of `get-nvidia-dlss.sh` at `5412edc09dbdc6fcd00433e052a92b7fb4a28517`, on CachyOS/Linux, RTX 4060 8 GB, NVIDIA 620.73.04, GE-Proton11-14 / vkd3d-proton 3.2.0. **Installer:** ran the exact script against a new isolated steamuser prefix directory. The fresh official v2.14.16 download succeeded, SHA-256 `32041e51db0cab709a271b72a352281b690c2abbd669a827809401a5dd23956b`, identical to our previously verified archive. All eight installed DLLs match our retained SDK byte for byte, and all four licence files match the archive. No other DLL was extracted. Repeat with the same tag returned `all there already`, exit 0; invalid tag and nonexistent prefix each refused with exit 2. Note that the existing-file fast path checks presence, not the requested version or hashes, so it should not be described as an SDK upgrade/integrity check. **Game-free SR:** using JoeY54's #527 validation build (`111c14e`) and a fresh offline Proton prefix with the newly installed SDK copied into the standard `%LOCALAPPDATA%\\victory\\nvidia-sdk\\Streamline\\bin\\x64` directory: `upscaler-check --validate --output 1920x1080 --iterations 12` with explicit Windows `VICTORY_STREAMLINE_DIR` pointing to that directory returned exit 0, 2,073,600 finite RGB pixels, both region means within 0.02 of reference, and clean shutdown. Output digest exactly matched the previous direct-mounted SDK test. Without that variable, the direct diagnostic command returns `no sl.interposer.dll in that folder`; it uses its own default directory, whereas `play` performs the standard SDK search. Your documentation already shows the explicit variable for the direct probe; retaining that distinction matters. **Actual title:** on retained `.01` (`63b902f` plus the earlier Linux backing/DXC changes), Series X 1080to1440, DLSS Quality, FG off, stock SDK, full requested effects and ordinary waits/write-back, cloned profile and fresh external caches. No `VICTORY_STREAMLINE_DIR` supplied to `play`; the launcher located the installed default directory itself, and the log confirms Streamline 2.14.16 loaded from it. Actual SR command recording at 1706x960 -> 2560x1440. All DLLs still byte-identical after exit. Same loading failure, child exit 5, min available RAM 2813 MiB, no guard stop, OOM increment, recorded GPU fault or reported device/fence error. Not evidence of correct displayed scene or a performance gain. Earlier explicit-path .10 title run likewise recorded SR and failed; these are different revisions, so not an isolated timing comparison. **RTX 40 FG context:** our earlier game-free [#527 SR/FG results](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/527#issuecomment-7232263296) using the identical SDK on this device verified 2x support, 60 SDK-reported frames from 30 measured base presents, all seven lifecycle phases passing. Reflex synchronization/RSYNC errors remained, and those counts are not visual temporal fidelity or gameplay FPS. This extends the documented Linux evidence to Ada without claiming that FG works correctly in the title. No game files, extracted data, logs or SDK contents attached. AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
thesubtleties commented 2026-11-28 17:21:27 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by thesubtleties on 2026-11-28T17:21:27Z.


Thanks for the independent run, @ArturoWolff. Fair point about the fast path: it now records the tag it installed (streamline-tag.txt) and fetches again when another tag is asked for or a file is missing; the comment says it's no integrity check.

Also added scripts/get-mfg-unlocker.sh (same pinned v1.7.2 hashes as the PowerShell fetcher). On my 3080 under Proton Experimental it gets frame generation past Streamline's support check, but NGX then fails to create the feature on every present (0xbad00002), so no frames are generated; details in the doc. Rebased on 9ce3cf9. AI-assisted (Claude Code)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7242953375 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/873#issuecomment-7242953375). Originally posted by [thesubtleties](https://github.com/thesubtleties) on 2026-11-28T17:21:27Z. --- Thanks for the independent run, @ArturoWolff. Fair point about the fast path: it now records the tag it installed (`streamline-tag.txt`) and fetches again when another tag is asked for or a file is missing; the comment says it's no integrity check. Also added `scripts/get-mfg-unlocker.sh` (same pinned v1.7.2 hashes as the PowerShell fetcher). On my 3080 under Proton Experimental it gets frame generation past Streamline's support check, but NGX then fails to create the feature on every present (`0xbad00002`), so no frames are generated; details in the doc. Rebased on `9ce3cf9`. AI-assisted (Claude Code)
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA!873
No description provided.