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
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4937
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4936"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Dishairano on GitHub · 2026-12-01 14:43 UTC · original
Dishairano:fix/nvidia-driver-hair-notice→main· +106 −0 · 2 files · 3 commits · openRefs #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_InterpolateStrandscompute pipelines (the hair strands) withE_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.victory translate --validatepassed all 14, and leaving out the code table they index (a test switch, not in this PR) still got them refused.victory translate --pipelines, and in play: 0 refused pipelines, the hair whole).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:The driver's version comes from
CheckInterfaceSupporton 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
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.7ff469bon main5fabb46(tests and clippy as above).Checked for overlap
@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:
41adb551+ #3848, fullpreload --allbefore the run.host pipeline not made, so no E_OUTOFMEMORY refusals and no strand pipelines retried.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.
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 14:51 UTC · original
607b7daechecks 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-gpupassed 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.
@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, head607b7dae1c5507505578eff15330502a020e9560.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.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.
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)@Dishairano on GitHub · 2026-12-01 17:02 UTC · original
Thanks, both folded in:
2ef2ea6): the check now runs on the adapter found by the device's LUID, so the default-adapter fallback is covered.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).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.