Say at the start when a GTX 16, RTX 20 or RTX 30 is on an NVIDIA driver older than 621.14 (hair refused) #4937

Open
github-bot wants to merge 3 commits from github-bot/gh-4936 into main AGit
Owner

@⁠Dishairano on GitHub · 2026-12-01 14:43 UTC · original
Dishairano:fix/nvidia-driver-hair-notice → main · +106 −0 · 2 files · 3 commits · open

Refs #4258, #4594, #4631

What it changes

On a GTX 1660 SUPER with NVIDIA driver 596.49 the driver refused all 14 of the title's CS_InterpolateStrands compute pipelines (the hair strands) with E_OUTOFMEMORY, three seconds after the start, with 35 GB of the PC's memory free. The layer retried them for the whole run, never made them, and dropped their dispatches: the hair was drawn as long streaks across the picture. Nothing in the log or on screen said why.

  • The translations are valid: victory translate --validate passed all 14, and leaving out the code table they index (a test switch, not in this PR) still got them refused.
  • With driver 621.40 the same 14 are made at once (victory translate --pipelines, and in play: 0 refused pipelines, the hair whole).
  • Versions between 596.49 and 621.40 were not tried on this card. An RTX 3080 on 621.14 made the same set with the hair whole (Lancito01's run in this thread), so the line is 621.14: a card on it or newer gets nothing. Below it the notice says what to do if the hair smears, rather than that it will.
  • The play logs compared in #4631 show it depends on the card too: RTX 20 and 30 cards refuse the same set on 617.x, while an RTX 4090 on 596.49 and 610.88 and RTX 50 cards on 617.42 make it. So the notice is only for GeForce GTX 16, RTX 20 and RTX 30 (Turing, Ampere) by the adapter's name; a card not matched gets nothing. #4631 documents the fix in docs/troubleshooting.md; this says it in the game, where a player sees the smeared hair.

This adds two lines to the notice at the top of the picture (start_notice), and a warning in the log, when the host card is a GeForce GTX 16, RTX 20 or RTX 30 and its driver is older than 621.14:

NVIDIA DRIVER 596.49 MAY REFUSE THE HAIR SHADERS:
IF THE HAIR SMEARS, UPDATE TO 621.14 OR NEWER

The driver's version comes from CheckInterfaceSupport on the adapter the device is made on (32.0.15.9649 reads as 596.49), found by the device's LUID, so the default-adapter fallback gets the check too (andrewpozdnakov7-jpg's commit, kept with its author). Other cards, other vendors and newer drivers get nothing.

How it was tested

  • GPU and profile: GTX 1660 SUPER (6 GB), Windows 10 19045, Series S, DLSS off (no DLSS on a GTX), frame generation off and FSR 3 2x, ray tracing off.
  • Before (driver 596.49, without this change): 14 compute pipelines refused with E_OUTOFMEMORY in every run (log: "host pipeline not made: D3D12 returned E_OUTOFMEMORY", up to 256 retries), hair smeared.
  • After the driver update to 621.40 (with the first version of this change, before the card-family filter was added): no notice, 0 refused pipelines, hair correct. The filter itself is covered by the unit tests only.
  • Not tested: the notice on screen with an old driver, since the PC now has 621.40. The two unit tests cover the version reading and that only a GTX 16 / RTX 20 / RTX 30 on a driver older than 621.14 gets the lines (at most 52 characters each), not an RTX 3080 on 621.14, an RTX 4090 on 596.49, an RTX 5070 on 617.42 or another vendor.
  • cargo test -p victory-gpu --lib start_notice: 2 passed.
  • cargo clippy -p victory-gpu --all-targets -- -D warnings: fails on main already, 5 errors in host/font.rs, host/menu.rs and host/panel.rs; none in the files this touches.
  • Commit tested: 7ff469b on main 5fabb46 (tests and clippy as above).

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: none found for a driver notice (searched "CS_InterpolateStrands", "hair E_OUTOFMEMORY driver", "driver version notice NVIDIA"). #4450 is a different pipeline (weatherParticle) refused the same way on RTX 50. #4631 (docs only) covers the same driver fix in troubleshooting.md; no open PR touches start_notice.rs.
**@⁠Dishairano** on GitHub · 2026-12-01 14:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4936) `Dishairano:fix/nvidia-driver-hair-notice` → `main` · +106 −0 · 2 files · 3 commits · open Refs #4258, #4594, #4631 ## What it changes On a GTX 1660 SUPER with NVIDIA driver 596.49 the driver refused all 14 of the title's `CS_InterpolateStrands` compute pipelines (the hair strands) with `E_OUTOFMEMORY`, three seconds after the start, with 35 GB of the PC's memory free. The layer retried them for the whole run, never made them, and dropped their dispatches: the hair was drawn as long streaks across the picture. Nothing in the log or on screen said why. - The translations are valid: `victory translate --validate` passed all 14, and leaving out the code table they index (a test switch, not in this PR) still got them refused. - With driver 621.40 the same 14 are made at once (`victory translate --pipelines`, and in play: 0 refused pipelines, the hair whole). - Versions between 596.49 and 621.40 were not tried on this card. An RTX 3080 on 621.14 made the same set with the hair whole (Lancito01's run in this thread), so the line is 621.14: a card on it or newer gets nothing. Below it the notice says what to do if the hair smears, rather than that it will. - The play logs compared in #4631 show it depends on the card too: RTX 20 and 30 cards refuse the same set on 617.x, while an RTX 4090 on 596.49 and 610.88 and RTX 50 cards on 617.42 make it. So the notice is only for GeForce GTX 16, RTX 20 and RTX 30 (Turing, Ampere) by the adapter's name; a card not matched gets nothing. #4631 documents the fix in docs/troubleshooting.md; this says it in the game, where a player sees the smeared hair. This adds two lines to the notice at the top of the picture (`start_notice`), and a warning in the log, when the host card is a GeForce GTX 16, RTX 20 or RTX 30 and its driver is older than 621.14: NVIDIA DRIVER 596.49 MAY REFUSE THE HAIR SHADERS: IF THE HAIR SMEARS, UPDATE TO 621.14 OR NEWER The driver's version comes from `CheckInterfaceSupport` on the adapter the device is made on (32.0.15.9649 reads as 596.49), found by the device's LUID, so the default-adapter fallback gets the check too (andrewpozdnakov7-jpg's commit, kept with its author). Other cards, other vendors and newer drivers get nothing. ## How it was tested - GPU and profile: GTX 1660 SUPER (6 GB), Windows 10 19045, Series S, DLSS off (no DLSS on a GTX), frame generation off and FSR 3 2x, ray tracing off. - Before (driver 596.49, without this change): 14 compute pipelines refused with E_OUTOFMEMORY in every run (log: "host pipeline not made: D3D12 returned E_OUTOFMEMORY", up to 256 retries), hair smeared. - After the driver update to 621.40 (with the first version of this change, before the card-family filter was added): no notice, 0 refused pipelines, hair correct. The filter itself is covered by the unit tests only. - Not tested: the notice on screen with an old driver, since the PC now has 621.40. The two unit tests cover the version reading and that only a GTX 16 / RTX 20 / RTX 30 on a driver older than 621.14 gets the lines (at most 52 characters each), not an RTX 3080 on 621.14, an RTX 4090 on 596.49, an RTX 5070 on 617.42 or another vendor. - `cargo test -p victory-gpu --lib start_notice`: 2 passed. - `cargo clippy -p victory-gpu --all-targets -- -D warnings`: fails on main already, 5 errors in host/font.rs, host/menu.rs and host/panel.rs; none in the files this touches. - Commit tested: 7ff469b on main 5fabb46 (tests and clippy as above). ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: none found for a driver notice (searched "CS_InterpolateStrands", "hair E_OUTOFMEMORY driver", "driver version notice NVIDIA"). #4450 is a different pipeline (weatherParticle) refused the same way on RTX 50. #4631 (docs only) covers the same driver fix in troubleshooting.md; no open PR touches start_notice.rs.
On these cards an older driver refuses some of the title's compute
pipelines (the hair's CS_InterpolateStrands among them) with
E_OUTOFMEMORY while memory is free, and the strands smear across the
picture. Add two lines to the start notice and a log warning saying to
update the driver to 621.40 or newer. Other cards, vendors and newer
drivers get nothing.

Refs #4257, #4593, #4630
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 14:44:59 +00:00
Author
Owner

@⁠Lancito01 on GitHub · 2026-12-01 14:49 UTC · original

A data point for the version line, from a test run on an RTX 3080 10 GB (Ampere), NVIDIA driver 621.14, Windows 11, Series S profile, DLSS Quality + FSR 3 frame generation:

  • Build: main 41adb551 + #3848, full preload --all before the run.
  • Play log over ~15 min (title, prison prologue, cell and dorm with the player in control): 0 lines of host pipeline not made, so no E_OUTOFMEMORY refusals and no strand pipelines retried.
  • Lucia's hair was whole on screen (close third-person shots in the cell and dorm), no streaks.

So on this card 621.14 already makes the set that RTX 20/30 refuse on 617.x. With the 621.40 line this PC would get the notice although its hair is fine. If the notice keeps 621.40 because that is the version tested, maybe "older than 621.14" (or a wording like "if the hair smears, update") would avoid a false alarm on 621.14 Ampere. One run on one card, so a lead, not a measured boundary.

**@⁠Lancito01** on GitHub · 2026-12-01 14:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4936#issuecomment-7314897939) A data point for the version line, from a test run on an RTX 3080 10 GB (Ampere), NVIDIA driver 621.14, Windows 11, Series S profile, DLSS Quality + FSR 3 frame generation: - Build: main 41adb551 + #3848, full `preload --all` before the run. - Play log over ~15 min (title, prison prologue, cell and dorm with the player in control): 0 lines of `host pipeline not made`, so no E_OUTOFMEMORY refusals and no strand pipelines retried. - Lucia's hair was whole on screen (close third-person shots in the cell and dorm), no streaks. So on this card 621.14 already makes the set that RTX 20/30 refuse on 617.x. With the 621.40 line this PC would get the notice although its hair is fine. If the notice keeps 621.40 because that is the version tested, maybe "older than 621.14" (or a wording like "if the hair smears, update") would avoid a false alarm on 621.14 Ampere. One run on one card, so a lead, not a measured boundary.
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 14:51 UTC · original

607b7dae checks the driver in the explicitly selected adapter branch. The default-adapter fallback also reaches the later lookup by the device's LUID, so that lookup is the common place to run the notice.

3f6b88d3 uses that adapter and makes the message conditional. The RTX 3080 run with 621.14 already built the pipelines, so the message says an older driver may refuse them and names 621.40 as the tested version.

cargo check --locked -p victory-gpu passed on Windows. The staged asset policy passed for both files.

Please keep the Git author on cherry-pick or rebase, or add Co-authored-by: andrewpozdnakov7-jpg <[email protected]> if folding the change in.

AI-assisted with OpenAI Codex.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 14:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4936#issuecomment-7314941428) `607b7dae` checks the driver in the explicitly selected adapter branch. The default-adapter fallback also reaches the later lookup by the device's LUID, so that lookup is the common place to run the notice. [3f6b88d3](https://github.com/andrewpozdnakov7-jpg/VIctory-NVIDIA/commit/3f6b88d31ba2f3bc945c616234848be8a0ad4ddf) uses that adapter and makes the message conditional. The [RTX 3080 run with 621.14](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/4937) already built the pipelines, so the message says an older driver may refuse them and names 621.40 as the tested version. `cargo check --locked -p victory-gpu` passed on Windows. The staged asset policy passed for both files. Please keep the Git author on cherry-pick or rebase, or add `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>` if folding the change in. AI-assisted with OpenAI Codex.
Author
Owner

@⁠cloph-dsp on GitHub · 2026-12-01 15:10 UTC · original

Verification (independent, AI-assisted: Hy4 flash). Windows, Rust 1.100.0 (Scoop rust-msvc), MSVC, commit-scoped shallow worktree, per-worktree CARGO_TARGET_DIR.

Base 5fabb46eaf6ed8771321787f8871051abde69b9b, head 607b7dae1c5507505578eff15330502a020e9560. git diff --numstat → crates/victory-gpu/src/host.rs 1/0, crates/victory-gpu/src/start_notice.rs 96/0 (new file).

Both tests are new on the base — git grep -F <name> 5fabb46e -- . returns no match for either:
nvidia_versions_read_as_nvidia_writes_them, only_turing_and_ampere_on_an_older_driver_get_the_notice.

git diff --check "5fabb46e..607b7dae" → no output, exit 0.

$env:CARGO_TARGET_DIR='D:\Victory-Contrib\NVIDIA-Contrib\target-4936'
cargo test --locked -p victory-gpu --lib -- start_notice::tests::nvidia_versions_read_as_nvidia_writes_them --exact --test-threads=1 --quiet
cargo test --locked -p victory-gpu --lib -- start_notice::tests::only_turing_and_ampere_on_an_older_driver_get_the_notice --exact --test-threads=1 --quiet

Result, each: running 1 test, test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 1162 filtered out; finished in 0.00s.

The tests feed version strings and adapter names as literals; nothing opens a device, so GPU/driver N/A. No game data.

**@⁠cloph-dsp** on GitHub · 2026-12-01 15:10 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4936#issuecomment-7315469104) Verification (independent, AI-assisted: Hy4 flash). Windows, Rust 1.100.0 (Scoop rust-msvc), MSVC, commit-scoped shallow worktree, per-worktree CARGO_TARGET_DIR. Base `5fabb46eaf6ed8771321787f8871051abde69b9b`, head `607b7dae1c5507505578eff15330502a020e9560`. `git diff --numstat` → crates/victory-gpu/src/host.rs 1/0, crates/victory-gpu/src/start_notice.rs 96/0 (new file). Both tests are new on the base — `git grep -F <name> 5fabb46e -- .` returns no match for either: `nvidia_versions_read_as_nvidia_writes_them`, `only_turing_and_ampere_on_an_older_driver_get_the_notice`. `git diff --check "5fabb46e..607b7dae"` → no output, exit 0. ``` $env:CARGO_TARGET_DIR='D:\Victory-Contrib\NVIDIA-Contrib\target-4936' cargo test --locked -p victory-gpu --lib -- start_notice::tests::nvidia_versions_read_as_nvidia_writes_them --exact --test-threads=1 --quiet cargo test --locked -p victory-gpu --lib -- start_notice::tests::only_turing_and_ampere_on_an_older_driver_get_the_notice --exact --test-threads=1 --quiet ``` Result, each: `running 1 test`, `test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 1162 filtered out; finished in 0.00s`. The tests feed version strings and adapter names as literals; nothing opens a device, so GPU/driver N/A. No game data.
github-bot changed title from Say at the start when a GTX 16, RTX 20 or RTX 30 is on an NVIDIA driver older than 621.40 (hair refused) to Say at the start when a GTX 16, RTX 20 or RTX 30 is on an NVIDIA driver older than 621.14 (hair refused) 2026-12-01 17:02:49 +00:00
An RTX 3080 on 621.14 made the hair pipelines with the hair whole (#4936),
so a GTX 16, RTX 20 or RTX 30 on 621.14 or newer gets no notice. Below it
the notice says to update if the hair smears, since 617.x to 621.13 were
not all tried.
Author
Owner

@⁠Dishairano on GitHub · 2026-12-01 17:02 UTC · original

Thanks, both folded in:

  • @⁠andrewpozdnakov7-jpg's 3f6b88d3 is cherry-picked with its author (2ef2ea6): the check now runs on the adapter found by the device's LUID, so the default-adapter fallback is covered.
  • On Lancito01's 621.14 run: the line is now 621.14 (7ff469b). Below it the lines say what to do instead of asserting a failure: NVIDIA DRIVER 596.49 MAY REFUSE THE HAIR SHADERS: / IF THE HAIR SMEARS, UPDATE TO 621.14 OR NEWER. Tests added for an RTX 3080 on 621.14 (no notice) and 621.13 (notice).

cargo test -p victory-gpu --lib start_notice: 2 passed. Clippy: no new warnings (main's 5 in host/font.rs, menu.rs, panel.rs remain).

**@⁠Dishairano** on GitHub · 2026-12-01 17:02 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4936#issuecomment-7318645846) Thanks, both folded in: - @⁠andrewpozdnakov7-jpg's 3f6b88d3 is cherry-picked with its author (2ef2ea6): the check now runs on the adapter found by the device's LUID, so the default-adapter fallback is covered. - On Lancito01's 621.14 run: the line is now 621.14 (7ff469b). Below it the lines say what to do instead of asserting a failure: `NVIDIA DRIVER 596.49 MAY REFUSE THE HAIR SHADERS:` / `IF THE HAIR SMEARS, UPDATE TO 621.14 OR NEWER`. Tests added for an RTX 3080 on 621.14 (no notice) and 621.13 (notice). `cargo test -p victory-gpu --lib start_notice`: 2 passed. Clippy: no new warnings (main's 5 in host/font.rs, menu.rs, panel.rs remain).
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/4937/head:github-bot/gh-4936'
git switch 'github-bot/gh-4936'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-4936'
git switch 'github-bot/gh-4936'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-4936'
git switch 'github-bot/gh-4936'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-4936'
git switch 'main'
git merge --squash 'github-bot/gh-4936'
git switch 'main'
git merge --ff-only 'github-bot/gh-4936'
git switch 'main'
git merge 'github-bot/gh-4936'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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!4937
No description provided.