docs: what driver 621.24 does with the static sampler places #2996
Code
Clone this repository
Checkout
From your project repository, check out a new branch and test the changes.
git fetch -u origin "github-pr/2996:github-pr/2996" git switch "github-pr/2996"
Open
leonida/mandy
fiestorra wants to merge 2 commits from
github-pr/2996 into main
pull from: github-pr/2996
merge into: leonida:main
leonida:main
leonida:github-pr/3295
leonida:beta
leonida:docs/changelog-3483-3500
leonida:github-pr/3294
leonida:github-pr/2975
leonida:github-pr/2815
leonida:feat/gate-driver-start
leonida:feat/skip-pipelines-release
leonida:perf/lazy-compare
leonida:perf/mwaitx-wait
leonida:test/prio-ceiling-main
leonida:fix/ab-cpu-stdout
leonida:fix/gate-old-crashes
leonida:diag/ab-cpu
leonida:test/main-0312
leonida:github-pr/3291
leonida:diag/indirect-clamp-census
leonida:feat/barrier-enhanced
leonida:perf/texture-frame-ceiling
leonida:perf/dstorage-threads
leonida:fix/console-queue-dma-tables
leonida:fix/port-descriptors-record-parts
leonida:fix/frame-waits-fence
leonida:fix/console-sampler-words
leonida:fix/graphics-userdata-spill
leonida:fix/xg-reserved-layout-rotation
leonida:fix/barrier-console-flags
leonida:fix/switches-wait-test-child
leonida:test/list-value-waits
leonida:test/lot-gxdk-0412
leonida:fix/bvh-compacted-size
leonida:docs/i18n-quickstarts
leonida:feat/native-pipeline-slots
leonida:fix/clippy-leonida-gpu
leonida:fix/list-value-producers
leonida:fix/descriptor-page-straddle
leonida:fix/xmem-low-window
leonida:fix/ffx-jitter-never-zero
leonida:fix/run-stdout-closed
leonida:github-pr/2892
leonida:github-pr/2896
leonida:feat/warm-save-every
leonida:github-pr/2980
leonida:github-pr/2994
leonida:github-pr/3005
leonida:github-pr/3010
leonida:github-pr/3136
leonida:github-pr/3303
leonida:github-pr/3220
leonida:github-pr/3143
leonida:github-pr/3330
leonida:github-pr/3226
leonida:github-pr/3187
leonida:carry/3395
leonida:github-pr/2946
leonida:github-pr/2947
leonida:github-pr/2945
leonida:github-pr/2983
leonida:github-pr/3001
leonida:github-pr/3372
leonida:github-pr/3128
leonida:github-pr/3296
leonida:github-pr/2588
leonida:github-pr/3119
leonida:github-pr/3378
leonida:fix/crash-diagnostics
leonida:feat/dlss-mip-bias
leonida:fix/retired-out-of-order
leonida:fix/dxr-postbuild-barrier
leonida:fix/amd-relay-default
leonida:fix/removed-report-wait
leonida:feat/heap-twin
leonida:feat/vram-margin
leonida:github-pr/2472
leonida:github-pr/3123
leonida:github-pr/3088
leonida:assets/annonce-v1
leonida:github-pr/2794
leonida:github-pr/3300
leonida:github-pr/3304
leonida:github-pr/3308
leonida:github-pr/3367
leonida:github-pr/3369
leonida:fix/launcher-dlss-diagnostics
leonida:github-pr/3269
leonida:github-pr/2957
leonida:github-pr/3205
leonida:fix/crash-zero-guard
leonida:github-pr/3185
leonida:github-pr/3099
leonida:github-pr/3104
leonida:github-pr/3348
leonida:github-pr/3379
leonida:github-pr/3377
leonida:perf/darner-title-priority-ceiling
leonida:github-pr/3376
leonida:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
leonida:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
leonida:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
leonida:github-pr/3373
leonida:github-pr/3368
leonida:github-pr/3198
leonida:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
leonida:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
leonida:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
leonida:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
leonida:github-pr/3346
leonida:github-pr/3375
leonida:github-pr/2958
leonida:github-pr/3151
leonida:github-pr/3307
leonida:github-pr/3278
leonida:github-pr/3374
leonida:fix/runtime-test-conservative-fixtures
leonida:github-pr/3366
leonida:ci/shard-semantic-linux
leonida:github-pr/3354
leonida:docs/fg-limit-fps-switch
leonida:github-pr/3365
leonida:fix/read-file-hard-link
leonida:github-pr/3364
leonida:fix/book-slot-heap-never-read
leonida:github-pr/3361
leonida:github-pr/3263
leonida:github-pr/3360
leonida:github-pr/3353
leonida:github-pr/3331
leonida:fix/alias-later-queued-submissions
leonida:github-pr/3352
leonida:github-pr/3228
leonida:github-pr/3349
leonida:claude/gallant-sagan-aamatr
leonida:github-pr/3200
leonida:github-pr/3132
leonida:github-pr/3323
leonida:github-pr/3332
leonida:github-pr/3340
leonida:github-pr/3311
leonida:github-pr/3334
leonida:github-pr/3297
leonida:github-pr/3256
leonida:github-pr/2567
leonida:github-pr/2851
leonida:d3d12/agility-sdk-621
leonida:github-pr/3164
leonida:github-pr/3114
leonida:github-pr/3050
leonida:github-pr/3113
leonida:github-pr/3326
leonida:github-pr/3144
leonida:github-pr/2642
leonida:github-pr/3072
leonida:github-pr/2789
leonida:github-pr/2643
leonida:github-pr/3009
leonida:github-pr/3035
leonida:github-pr/3031
leonida:github-pr/2686
leonida:github-pr/2834
leonida:github-pr/3321
leonida:github-pr/3325
leonida:github-pr/3290
leonida:github-pr/3324
leonida:github-pr/3130
leonida:claude/fervent-curie-m19lnr
leonida:github-pr/3309
leonida:github-pr/3305
leonida:github-pr/3306
leonida:github-pr/3302
leonida:github-pr/3301
leonida:github-pr/3345
leonida:github-pr/3211
leonida:github-pr/3027
leonida:github-pr/3286
leonida:github-pr/3235
leonida:github-pr/3265
leonida:github-pr/3275
leonida:codex/skip-no-hit-ray-passes
leonida:github-pr/2823
leonida:github-pr/2911
leonida:github-pr/3262
leonida:github-pr/3125
leonida:github-pr/3206
leonida:github-pr/3250
leonida:github-pr/3238
leonida:github-pr/3188
leonida:github-pr/2952
leonida:github-pr/3217
leonida:github-pr/3168
leonida:t3/preserve-fsr-sdk-restart-path
leonida:t3/propagate-host-failure-hresult
leonida:github-pr/3209
leonida:t3/launcher-custom-parameters
leonida:github-pr/3207
leonida:github-pr/3183
leonida:github-pr/3160
leonida:github-pr/3201
leonida:ci/less-to-run
leonida:github-pr/2930
leonida:github-pr/2797
leonida:github-pr/2999
leonida:perf/native-compute-shader-forms
leonida:github-pr/3191
leonida:github-pr/3011
leonida:github-pr/3019
leonida:gh-readonly-queue/main/pr-2789-45dc41f95c1cd0dcc29c2c50582e0e9af8a77259
leonida:claude/blissful-franklin-ukp7ag
leonida:github-pr/3141
leonida:github-pr/3156
leonida:github-pr/3150
leonida:github-pr/3153
leonida:github-pr/3163
leonida:github-pr/3142
leonida:github-pr/3139
leonida:github-pr/2841
leonida:github-pr/3069
leonida:github-pr/3098
leonida:github-pr/3107
leonida:github-pr/3071
leonida:github-pr/2774
leonida:github-pr/2889
leonida:github-pr/3075
leonida:github-pr/2661
leonida:github-pr/3064
leonida:github-pr/3054
leonida:github-pr/3049
leonida:github-pr/2855
leonida:github-pr/2943
leonida:github-pr/3016
leonida:github-pr/2887
leonida:github-pr/3006
leonida:github-pr/3003
leonida:github-pr/2993
leonida:notes/card-time-and-plant-flicker
leonida:github-pr/2989
leonida:feat/vulkan-rs
leonida:github-pr/2985
leonida:github-pr/2951
leonida:github-pr/2982
leonida:github-pr/752
leonida:github-pr/792
leonida:github-pr/2877
leonida:github-pr/2654
leonida:github-pr/2893
leonida:github-pr/2948
leonida:github-pr/2944
leonida:github-pr/2919
leonida:github-pr/2915
leonida:archive/ci/less-to-run/20261202T1121Z
leonida:github-pr/2800
leonida:github-pr/2822
leonida:github-pr/2833
leonida:github-pr/2840
leonida:github-pr/2831
leonida:github-pr/2832
leonida:github-pr/2801
leonida:github-pr/2890
leonida:github-pr/2891
leonida:github-pr/2664
leonida:github-pr/2807
leonida:rt-call-trace
leonida:github-pr/2755
leonida:perf/ahead-split
leonida:github-pr/2587
leonida:github-pr/2698
leonida:github-pr/2609
leonida:github-pr/3219
leonida:docs/readme-runtime-proposal
leonida:github-pr/2017
leonida:github-pr/1741
leonida:github-pr/1667
leonida:codex/coord-claim-check-20261124-7e48
No reviewers
Assignees
Clear assignees
No assignees
Labels
Clear labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
enhancement
New feature or request
missing claim
Needs a claim in #14
needs rebase
Conflicts with the base branch: rebase it on main
needs-triage
Needs maintainer evaluation before the next triage state
question
Further information is requested
ready-for-agent
Fully specified and ready for an AFK agent
submodules
Pull requests that update submodules code
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
Projects
Clear projects
No items
No project
Milestone
Clear milestone
No items
No milestone
Dependencies
No dependencies set
Notifications
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
leonida/mandy!2996
Loading…
Reference in a new issue
No description provided.
Delete branch "github-pr/2996"
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?
This branch is out-of-date with the base branch
Reviewers 0 approvals
Details
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.docs: what driver 621.24 does with the static sampler places
The note of 2026-11-27 says the fault reproduces every time, on an RTX 4060 Ti with
driver 616.64, and
pipeline/places.rsis built against it. On an RTX 4090 with621.24 it does not, and the reason is not luck:
the_check_looks_at_every_kind_of_sampler, run "make=50;host;pipe=c:1,2p"
places: "same", wrong: 0, read: [1, 2] (the samplers it should read)
the_table_of_static_samplers
host: places 0 to 15 hold [0, 1, 2, 3, …, 15]
host;make=22,20,21: places 0 to 15 hold [0, 1, 2, 3, …, 15]
on 616.64: [22, 20, 21, 0, 1, …, 12]
Three samplers made first take no place in this list's table, so a list's samplers are
numbered within the list and another run's order cannot move them - which is the fault's
mechanism, gone.
Measured without the game, with the tests' device on that card (they use
D3D12CreateDevice(None, ..), which on this machine is the Radeon iGPU - #2995).Four of the eight #[ignore]d places tests now fail, and each is asserting 616.64; they are
named in the section so that the next person does not read the red as a regression.
Not settled, and said so in the section: whether it is per root signature, per pipeline or
per device with another rule, and it is one card.
Written with an AI assistant.
Independent hardware comparison at
68a2a7b09: RTX 5070, Windows NVIDIA driver 616.92. The unmodifiedthe_table_of_static_samplersdiagnostics test passed, including the NVIDIA-only assertions.This adds a second hardware/driver pair showing the order-dependent behavior reported on 616.64. The RTX 4090 result on 621.24 remains a separate observation. Both GPU model and driver differ between our runs, so these results alone cannot isolate a driver-version boundary. I did not measure startup cost.
Command from d3d12:
cargo test --locked --profile diag -p leonida-gpu --features diagnostics --lib -- --ignored the_table_of_static_samplers --nocapture. One passed, 783 filtered. Codex-assisted.VERIFY-2996 — Linux, Fedora 45, no GPU device, no game files, no title
Verdict: MIXED. Records what driver 621.24 does with the static-sampler places in
d3d12/docs/findings.md. All structural/checkable claims (test names, 8#[ignore]d tests, both env vars, the cargo invocation, the feature) check out and the documentation tests pass, but the text has a small internal numerical mismatch — the prose says the 320-sampler check costs "266 ms" while the table in the same paragraph shows "257.8 ms" — and the driver behaviour itself is unverifiable here.Head
68a2a7b0, base currentmain(8422def7), merge base1fff6912, 1 file, +39/−0:d3d12/docs/findings.md.1. What it changes
Adds a
## What driver 621.24 does with those places (2026-12-01)section tod3d12/docs/findings.md, between the 2026-11-27 static-samplers section (and its### The precompile and the game's pipelinessubsection) and## What is next. It records that on driver 621.24 the static-sampler places no longer follow the process the way 616.64 did (which the tests assert), that four of the eight#[ignore]dpipeline::placestests fail for that reason, the cost per listed sampler (~0.62 ms each plus ~60 ms fixed), and thatLEONIDA_LIBRARY_STATIC_SAMPLERS=0skips it.2. The claims it makes, and which ones I checked
cargo test -p leonida-gpu --features diagnostics --lib pipeline::places -- --ignored --nocapture— checked structurally.leonida-gpuhas adiagnosticsfeature (Cargo.toml:30);pipeline::placesis a lib module (pipeline/mod.rs:1240pub(crate) mod places;); its tests are#[cfg(test)] mod tests;(places.rs:1190) and#[ignore]d, so--lib ... --ignoredruns them. Valid.D3D12CreateDevice(None, ..)takes the iGPU — checked. The places tests early-returnnot an NVIDIA card: ...when the card is not NVIDIA (tests.rs:852etc.). Consistent.the_table_of_static_samplers,a_stored_pipeline_reads_through_the_places_of_the_run_that_stored_it,the_check_looks_at_every_kind_of_sampler— checked; they exist (tests.rs:884,:823,:1185).#[ignore]d tests fail here" — checked the denominator:pipeline/places/tests.rshas exactly 8#[ignore]markers.the_table_of_static_samplersexpectsafter(&[22,20,21])=[22, 20, 21, 0, 1, …, 12]forhost;make=22,20,21(exactly the doc's "on 616.64" row) andafter(&[])=[0,1,2,3,…,15]forhost.a_stored_pipeline_reads_through_the_places_of_the_run_that_stored_itexpectsread(&second) == [[45,46],[43,44],[40,41,42]].the_check_looks_at_every_kind_of_samplerbuilds 320 listed samplers (many=300+ 20 kinds) and assertsplaces == "differ"aftermake=50. All consistent with "each is asserting 616.64".LEONIDA_PLACES_RUN— checked.tests.rs:502reads it,:757sets it; listed inswitches.mdunder "Read by test code alone".LEONIDA_LIBRARY_STATIC_SAMPLERS=0skips the check — checked.places.rs:1083tests== "0".3. What the tests do here
python3 -I -m unittest discover -s tests -p "test_docs_*.py"— 57 tests, all pass (41.6 s).python3 -I scripts/check_no_game_data.py d3d12/docs/findings.md— exit 0.python3 -I scripts/red_green.py 2996 --no-cargo— "red not constructible: the pull request changes no test" (expected for a docs-only change).git merge-tree --write-tree origin/main pr2996— merges cleanly.4. Anything wrong in the text
d3d12/docs/findings.md:636and:638vs the table at:632— the prose says "the 320 is the listthe_check_looks_at_every_kind_of_samplerbuilds, and its 266 ms is what that list costs" and "for about 75 ms of a start on this driver, not 266", but the table's 320-sampler row (line 632) shows 257.8 ms. Either 266 is a different phase of the same run (the test prints three times: stored, first held against, then) or one of the two numbers is a typo. As written, the prose and the table disagree on what the 320-sampler check costs, and the doc does not say they are different phases. Worth the author reconciling. (The 25-row's 75.0 ms does match the prose's "about 75 ms".)## ... (date)heading,**bold**lead-ins, 4-space code/table blocks, wraps ~100–113 chars like the file, no duplicated lines, and the section is inserted before## What is next(which stays last). No table of contents to update.5. What I did not check
[0,1,2,3,…,15]forhost;make=22,20,21, that the two named tests read the values quoted, the timings (75.0/257.8 ms, ~0.62 ms/sampler), and that four of eight tests fail — all need the RTX 4090 / driver 621.24. I checked only that the tests assert the 616.64 behaviour the doc describes and that the command would run them.#2995cross-reference — I cannot read it (no GitHub access); it appears only here in the repository.Fixed, and thank you - that was a real contradiction and it was mine.
The paragraph said "its 266 ms is what that list costs" and then "not 266", while the table two lines above says 257.8 ms for the 320-sampler row. 266 was a different measurement that had no business in that sentence; the table's number is the one to quote, and quoting the other made the paragraph disagree with the table it sits under.
Both now read 258 (
d3d12/docs/findings.md:636,:638), and the three other occurrences of 266 in the file are unrelated - a pull request number, a run id and a hex address.python -m unittest discover -s tests -p "test_docs_*.py": 57 tests, OK.On your point 5 (what you could not check): the driver behaviour itself is the part I measured and you cannot repeat - and it is exactly why the numbers are quoted with the run in the section rather than as a rule. The
#2995cross-reference is a repository pull request (the device-test card change); if it reads oddly in the file, say so and I will describe it instead of citing it.AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.
Docs only. Checked the new head 00bd42c93 (pushed 17:42 UTC with the 266 to 258 ms fix): the documentation checks pass and the arithmetic now agrees with itself.
python -I tests/test_d3d12_switches.py,tests/test_docs_links.py,_repo_paths,_encoding,_repeated_lines,_list_items,_design_rowspython -I scripts/check_no_game_data.py d3d12/docs/findings.mdThe numbers: (257.8 - 75.0) / (320 - 25) = 0.62 ms per sampler, and 75.0 - 25 x 0.62 = 59.5 ms fixed, matching "some 0.62 ms ... about 60 ms that does not move". The table and the closing sentence now both say 258 ms for the 320-sampler list and about 75 ms for a start, which removes the contradiction imShangLi pointed out.
Scope: this is one card and one driver (RTX 4090, 621.24). andrew-ai's RTX 5070 on 616.92 behaved like the old model. The "Not settled" paragraph says exactly that, and the entry does not relax the test. That is the right way to record it.
Verdict: ready once CI runs on the new head.
AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.
Generated by Claude Code
This pull request touches the render path, so it needs an in-game run before it can be merged: unit tests and CI do not catch rendering regressions (a device loss after an earlier merge is why this gate exists).
Could you, or anyone with a working setup, post a run report on the current head merged onto current
main:mainSHA it was merged onto;mainalone for comparison, if you can.Please do not attach logs or screenshots that show game content. If a run on this exact head is already posted, a link to it in a reply is enough.
AI-assisted (Claude Code).
Sobre el informe de ejecución que pides: queda pendiente y depende de una máquina con el título, que ahora mismo no es esta (aquí no hay ejecución del juego).
Lo que sí está hecho y medido:
Head: 00bd42c9322cb5aad1c4179278ef8f77b545405f Main: d9b618f10 git merge-tree --write-tree origin/main <head> → limpio, sin conflictoO sea que se puede probar tal cual, sin rebasar nada.
Y lo que hay que mirar en esta, para que el informe sea útil y corto: confirmar o desmentir lo que el documento dice del driver 621.24 sobre los static sampler places. Es documentación: basta con la versión de driver real y si coincide. No hay nada de rendimiento que medir.
Local CI (run_ci_local.ps1): PASS
d485980f2merged into main44c480a5fRun with
scripts/run_ci_local.ps1while the Forgejo has no runners; full logs stay on the machine that ran it.