NVIDIA places: a test for the one bit the model takes from the driver #2887
Open
fiestorra wants to merge 1 commit from
upstream-pr/2887 into main
pull from: upstream-pr/2887
merge into: ProjectLeonida:main
ProjectLeonida:main
ProjectLeonida:claude/loop-total
ProjectLeonida:claude/pops-collision-seed
ProjectLeonida:claude/dstorage-hold-page-reads
ProjectLeonida:claude/host-image-copy-switch
ProjectLeonida:feat/gdk-lifecycle-window-hook
ProjectLeonida:claude/d16s8-uav-nvidia-fallback
ProjectLeonida:feat/mfplat-offline-shim
ProjectLeonida:claude/gameinput-slow-reader
ProjectLeonida:fix/rt-null-barrier-clear
ProjectLeonida:claude/depth-resolve-sample-positions
ProjectLeonida:integration/palmetto-parity
ProjectLeonida:claude/valu-literal-sext
ProjectLeonida:claude/slot74-pool-handle
ProjectLeonida:claude/rgb9e5-uint-alias-view
ProjectLeonida:claude/fssm-root-layout-tables
ProjectLeonida:feat/gdk-speech-display-lifecycle
ProjectLeonida:asset-audio-skip-current
ProjectLeonida:qemmhd/old-9940-rectangle-quad-lists
ProjectLeonida:feat/ws2-offline-shim
ProjectLeonida:qemmhd/rt-d16-unorm-uav
ProjectLeonida:feat/xs-device-stops-7-9
ProjectLeonida:qemmhd/rt-depth-same-base-shapes
ProjectLeonida:qemmhd/rt-lazy-attachment-variant
ProjectLeonida:feat/acphal-xma2-decoder
ProjectLeonida:asset-audio-skip
ProjectLeonida:codex/coord-claim-check-20261124-7e48
ProjectLeonida:feat/xs-frame-pacing-presentx
ProjectLeonida:feat/xs-device-vm-options
ProjectLeonida:old-pr/9844
ProjectLeonida:old-pr/9978
ProjectLeonida:old-pr/9815
ProjectLeonida:old-pr/10057
ProjectLeonida:old-pr/9874
ProjectLeonida:old-pr/9965
ProjectLeonida:old-pr/9863
ProjectLeonida:old-pr/10068
ProjectLeonida:old-pr/10066
ProjectLeonida:old-pr/10067
ProjectLeonida:old-pr/10007
ProjectLeonida:old-pr/10061
ProjectLeonida:old-pr/10065
ProjectLeonida:old-pr/10059
ProjectLeonida:old-pr/10063
ProjectLeonida:old-pr/10055
ProjectLeonida:old-pr/10062
ProjectLeonida:old-pr/10042
ProjectLeonida:old-pr/10041
ProjectLeonida:old-pr/10049
ProjectLeonida:old-pr/10047
ProjectLeonida:old-pr/10046
ProjectLeonida:old-pr/10045
ProjectLeonida:old-pr/10056
ProjectLeonida:old-pr/10043
ProjectLeonida:old-pr/10036
ProjectLeonida:old-pr/10034
ProjectLeonida:old-pr/9984
ProjectLeonida:old-pr/10052
ProjectLeonida:old-pr/10038
ProjectLeonida:old-pr/10033
ProjectLeonida:old-pr/10028
ProjectLeonida:old-pr/10050
ProjectLeonida:old-pr/9891
ProjectLeonida:old-pr/9889
ProjectLeonida:old-pr/10051
ProjectLeonida:old-pr/10019
ProjectLeonida:old-pr/10027
ProjectLeonida:old-pr/10029
ProjectLeonida:old-pr/10031
ProjectLeonida:old-pr/10026
ProjectLeonida:old-pr/9941
ProjectLeonida:old-pr/10030
ProjectLeonida:old-pr/10040
ProjectLeonida:old-pr/9990
ProjectLeonida:old-pr/10021
ProjectLeonida:old-pr/9962
ProjectLeonida:old-pr/10022
ProjectLeonida:old-pr/10020
ProjectLeonida:old-pr/10015
ProjectLeonida:old-pr/10025
ProjectLeonida:old-pr/9886
ProjectLeonida:old-pr/10048
ProjectLeonida:old-pr/10014
ProjectLeonida:old-pr/10011
ProjectLeonida:old-pr/9861
ProjectLeonida:old-pr/10010
ProjectLeonida:old-pr/10008
ProjectLeonida:old-pr/9860
ProjectLeonida:old-pr/10006
ProjectLeonida:old-pr/9920
ProjectLeonida:old-pr/9995
ProjectLeonida:old-pr/10000
ProjectLeonida:old-pr/10016
ProjectLeonida:old-pr/10004
ProjectLeonida:old-pr/10023
ProjectLeonida:old-pr/9982
ProjectLeonida:old-pr/9981
ProjectLeonida:old-pr/9983
ProjectLeonida:old-pr/9970
ProjectLeonida:old-pr/9969
ProjectLeonida:old-pr/9968
ProjectLeonida:old-pr/9971
ProjectLeonida:old-pr/9972
ProjectLeonida:old-pr/9942
ProjectLeonida:old-pr/9963
ProjectLeonida:old-pr/9960
ProjectLeonida:old-pr/9964
ProjectLeonida:old-pr/9985
ProjectLeonida:old-pr/9973
ProjectLeonida:old-pr/9862
ProjectLeonida:old-pr/9953
ProjectLeonida:old-pr/10017
ProjectLeonida:old-pr/9952
ProjectLeonida:old-pr/9955
ProjectLeonida:old-pr/9946
ProjectLeonida:old-pr/9954
ProjectLeonida:old-pr/9938
ProjectLeonida:old-pr/9956
ProjectLeonida:old-pr/9856
ProjectLeonida:old-pr/9947
ProjectLeonida:old-pr/9924
ProjectLeonida:old-pr/9961
ProjectLeonida:old-pr/9927
ProjectLeonida:old-pr/9979
ProjectLeonida:old-pr/10032
ProjectLeonida:old-pr/9926
ProjectLeonida:old-pr/5237
ProjectLeonida:old-pr/9951
ProjectLeonida:old-pr/9931
ProjectLeonida:old-pr/9902
ProjectLeonida:old-pr/9921
ProjectLeonida:old-pr/9994
ProjectLeonida:old-pr/9775
ProjectLeonida:old-pr/9768
ProjectLeonida:old-pr/9905
ProjectLeonida:old-pr/9936
ProjectLeonida:old-pr/9901
ProjectLeonida:old-pr/9904
ProjectLeonida:old-pr/9906
ProjectLeonida:old-pr/9988
ProjectLeonida:old-pr/9908
ProjectLeonida:old-pr/9909
ProjectLeonida:old-pr/9911
ProjectLeonida:old-pr/9912
ProjectLeonida:old-pr/9913
ProjectLeonida:old-pr/9887
ProjectLeonida:old-pr/9916
ProjectLeonida:old-pr/9919
ProjectLeonida:old-pr/9925
ProjectLeonida:old-pr/9933
ProjectLeonida:old-pr/9935
ProjectLeonida:old-pr/9918
ProjectLeonida:old-pr/9879
ProjectLeonida:old-pr/9880
ProjectLeonida:old-pr/9881
ProjectLeonida:old-pr/9996
ProjectLeonida:old-pr/9876
ProjectLeonida:old-pr/9892
ProjectLeonida:old-pr/9899
ProjectLeonida:old-pr/9915
ProjectLeonida:old-pr/9914
ProjectLeonida:old-pr/9872
ProjectLeonida:old-pr/9869
ProjectLeonida:old-pr/9866
ProjectLeonida:old-pr/9819
ProjectLeonida:old-pr/10012
ProjectLeonida:old-pr/9857
ProjectLeonida:old-pr/9893
ProjectLeonida:old-pr/9897
ProjectLeonida:old-pr/9928
ProjectLeonida:old-pr/9868
ProjectLeonida:old-pr/9917
ProjectLeonida:old-pr/9940
ProjectLeonida:old-pr/9873
ProjectLeonida:old-pr/9816
ProjectLeonida:old-pr/10009
ProjectLeonida:old-pr/9900
ProjectLeonida:old-pr/9966
ProjectLeonida:old-pr/9859
ProjectLeonida:old-pr/9843
ProjectLeonida:old-pr/9991
ProjectLeonida:old-pr/10058
ProjectLeonida:old-pr/9883
ProjectLeonida:old-pr/9838
ProjectLeonida:old-pr/9835
ProjectLeonida:old-pr/9959
ProjectLeonida:old-pr/9895
ProjectLeonida:old-pr/9837
ProjectLeonida:old-pr/9858
ProjectLeonida:old-pr/9865
ProjectLeonida:old-pr/9864
ProjectLeonida:old-pr/9840
ProjectLeonida:old-pr/9820
ProjectLeonida:old-pr/4669
ProjectLeonida:old-pr/9848
ProjectLeonida:old-pr/9850
ProjectLeonida:old-pr/9810
ProjectLeonida:old-pr/9799
ProjectLeonida:old-pr/9853
ProjectLeonida:old-pr/9875
ProjectLeonida:old-pr/9831
ProjectLeonida:old-pr/9796
ProjectLeonida:old-pr/9801
ProjectLeonida:old-pr/9813
ProjectLeonida:old-pr/9794
ProjectLeonida:old-pr/7417
ProjectLeonida:old-pr/9781
ProjectLeonida:old-pr/9806
ProjectLeonida:old-pr/9958
ProjectLeonida:old-pr/9809
ProjectLeonida:old-pr/9791
ProjectLeonida:old-pr/9792
ProjectLeonida:old-pr/10053
ProjectLeonida:old-pr/9784
ProjectLeonida:old-pr/9789
ProjectLeonida:old-pr/9849
ProjectLeonida:old-pr/9846
ProjectLeonida:old-pr/9773
ProjectLeonida:old-pr/9785
ProjectLeonida:old-pr/9803
ProjectLeonida:old-pr/9826
ProjectLeonida:old-pr/9839
ProjectLeonida:old-pr/9922
ProjectLeonida:old-pr/9948
ProjectLeonida:old-pr/7189
ProjectLeonida:old-pr/9957
ProjectLeonida:old-pr/9823
ProjectLeonida:old-pr/9807
ProjectLeonida:old-pr/9851
ProjectLeonida:old-pr/9774
ProjectLeonida:old-pr/9830
ProjectLeonida:old-pr/9836
ProjectLeonida:old-pr/9822
ProjectLeonida:old-pr/9783
ProjectLeonida:old-pr/9833
ProjectLeonida:old-pr/9890
ProjectLeonida:old-pr/9770
ProjectLeonida:old-pr/9769
ProjectLeonida:old-pr/9772
ProjectLeonida:old-pr/9787
ProjectLeonida:old-pr/9852
ProjectLeonida:old-pr/9834
ProjectLeonida:old-pr/9845
ProjectLeonida:old-pr/9871
ProjectLeonida:old-pr/9771
ProjectLeonida:old-pr/9776
ProjectLeonida:old-pr/10005
ProjectLeonida:old-pr/9949
ProjectLeonida:old-pr/9923
ProjectLeonida:old-pr/9805
ProjectLeonida:old-pr/9829
ProjectLeonida:old-pr/9790
ProjectLeonida:old-pr/9827
ProjectLeonida:old-pr/9929
ProjectLeonida:old-pr/9855
ProjectLeonida:old-pr/9934
ProjectLeonida:old-pr/9907
ProjectLeonida:old-pr/9910
ProjectLeonida:old-pr/9779
ProjectLeonida:old-pr/9780
ProjectLeonida:old-pr/9885
ProjectLeonida:old-pr/9882
ProjectLeonida:old-pr/9877
ProjectLeonida:old-pr/9998
ProjectLeonida:old-pr/4251
ProjectLeonida:old-pr/9987
ProjectLeonida:old-pr/9989
ProjectLeonida:old-pr/9950
ProjectLeonida:old-pr/9777
ProjectLeonida:old-pr/10044
ProjectLeonida:old-pr/9884
ProjectLeonida:old-pr/2906
ProjectLeonida:old-pr/5076
ProjectLeonida:old-pr/9937
ProjectLeonida:old-pr/9986
ProjectLeonida:old-pr/3014
ProjectLeonida:old-pr/9943
ProjectLeonida:old-pr/9939
ProjectLeonida:old-pr/4682
ProjectLeonida:old-pr/4765
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
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
ProjectLeonida/mandy!2887
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2887"
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?
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-01T15:26:29Z.
The four tests in
pipeline/places/tests.rsare a model of one card and one driver —places.rssays which in its first lines, RTX 4060 Ti, 616.64 — and on an RTX 4090 with 621.24 all four fail, right after the first two assertions that do pass.What they assert there and what the card says:
And the printout from that same test, one step at a time:
So the sixteen do not slide. The model says they do, because a loaded pipeline gives its root signature back and its places with it, and the next three samplers take the lowest free ones. On 621.24 the loaded pipeline keeps them.
That one fact decides whether
Placeshas to number the samplers at the start at all, and nothing in the code asks the driver for it — the model assumes one answer.What this adds: a test that asks and reports the answer instead of asserting one.
It makes sixteen samplers, stores them, loads them back, makes three more after, and checks that places 0 to 15 hold either the sixteen they held (
kept) or those three places on (given back), printing which. Both are answers a driver may give; on 621.24 it printskeeps its placesand passes.No existing assertion changes. The four that model 616.64 stay as they are, because with one driver measured, a test that accepted both would hide the change it should be reporting. When someone runs this on a card with 616.64, the new test prints
gives backand the four keep failing — which is exactly the pair of facts needed to fix them, and it is now one command.Measured:
The
--ignoredtests need a card and no game data: they make their own pipelines and read back what they wrote.AI-assisted: yes — DeepSeek v4.1 (flash), on the card and the driver the model does not describe.
Written with an AI assistant.
Process, from the review
Claim: there is none in #2570 for this pull request, and I am not filing one retroactively to make the description look right. The review is right that it should have had the line; this is the state.
GPUs tested: n/a for the change itself - it is a test-only edit; the card it is about is named in the test's own output.
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-01T15:45:30Z.
I checked the new probe at
a51b89ee+0ff8a532funder Wine 11.22 / VKD3D-Proton 3.1.0, with the physical RTX 4070 SUPER (620.73.04) exposed to DXGI as vendor 0x10de. The VKD3D pipeline-library prerequisite is not met here. The stock probe fails at table.loaded with the driver’s disk cache disabled and again with a fresh enabled cache. On RADV the first readback succeeds and the test takes the expected non-NVIDIA exit.A local log of the existing subprocess records shows plain made for both the save and the attempted reload on NVIDIA. The same outcome repeats when using the harness’s explicit plain PSO name and when enabling VKD3D’s pipeline_library_app_cache option. The readback is 0 through 15 in both processes, but the second pipeline was freshly made, so those values cannot classify the loaded pipeline on this host. This is diagnostic coverage of that prerequisite, without a native NVIDIA driver result. MEASURED with offscreen synthetic shaders. AI-assisted (Codex).
Imported from ubiquitarianism/leonida. Originally posted by KelboLive on 2026-12-01T17:32:28Z.
Review: COMMENTED
Measured here on the same shape of machine (RTX 4070 Ti SUPER, 621.01): the new test passes 3/3 and prints
keeps its places: 0 to 15 hold [0..15], and the four existing places tests fail exactly as the body describes (5 passed / 4 failed with--ignored) — that is genuinely useful evidence for the report.But two claims do not hold:
gave = 3..19is not the 616.64 answer. The test's steps are byte-identical tothe_table_of_static_samplers, whose 616.64 expectation is[22,20,21,0..12](tests.rs:915, quoted in the body itself). On that driver this test will read that vector, print "gives back", and panic attests.rs:969rather than pass. Fix the branch to accept the observed 616.64 vector (or derive it from the same fixture).LEONIDA_LIBRARY_STATIC_SAMPLERS=1makesplaces::startreturnNone(places.rs:1124-1131) andlibrary_usetakeUse::Plainbefore consultingPlaces(:1168-1169), so short-circuitingPlaces::sametotrueleaves the test green — I verified it. And "nothing in the code asks the driver" is wrong:Places::check(places.rs:548-651) loads stored pipelines and compares them to made-now ones precisely to ask; what is not modelled is this perturbation (three samplers made before the load — the body says "after").Also note the test only asserts its own two literals: changing
keptfrom0..16to3..19does fail it, so the assertion is live, but nothing ties either literal to the model.Either drive
library_use/sameand fixgave, or retitle it as a driver probe and drop the "nothing asks the driver" line. As an additive#[ignore]d diagnostic it is safe to merge; it just is not the test the title promises.Merge is clean against current main (159 behind); the red
check/linux-python-and-viewerjobs are the same inherited Python failures, unrelated to a Rust-only diff.Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-01T17:58:12Z.
Both hold, and thank you for measuring instead of reading - the second one especially, because I wrote "nothing in the code asks the driver" in a file whose
checkdoes exactly that, and I would have merged it.The
gavevector. You are right:3..19was never the 616.64 answer. The steps here are byte-identical tothe_table_of_static_samplers'shost;make=22,20,21, whose recorded answer is[22, 20, 21, 0..12], and on a card with 616.64 this probe would have printed "gives back" and then panicked on its own assertion. It now accepts that vector:The scope. Also right, and now said in the doc comment rather than denied:
Places::checkis what asks the driver at run time, andLEONIDA_LIBRARY_STATIC_SAMPLERS=1takesUse::PlainbeforePlacesis consulted, so short-circuitingsameleaves this green - as you verified. It measures the driver; the name is nowa_loaded_pipeline_keeps_its_places_or_loses_them, and the "nothing asks the driver" line is gone."Before", not "after". The steps are
host;make=22,20,21;pipe=c:0-15: the three are made before the sixteen are loaded back. The print line said "after it" and now says "before it". Same for the perturbation being what is not modelled.What it still is: an additive
#[ignore]d probe with no existing assertion touched, printing which of the two answers this card gives. What it is not: a test of the model, and the title no longer says it is.Measured on the 4090 with 621.24 after the change:
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by Christopher-Sundeby on 2026-12-01T18:09:57Z.
Verified on native Windows NVIDIA: RTX 5090 (Blackwell), driver 621.40, Windows 11, head
9dfe9b7af.cargo test -p leonida-gpu --features diagnostics --lib pipeline::places -- --ignored --nocapture --test-threads=1: 5 passed, 4 failed (the same four as on the 4090 / 621.24).a loaded pipeline keeps its places: 0 to 15 hold [0, 1, ..., 15], the same answer as 621.24.the_table_of_static_samplersprintshost;make=22,20,21: places 0 to 15 hold [0, ..., 15], the same as 621.24.One caveat on what "keeps" covers: the probe uses only compute pipelines (
pipe=c:0-15). On this driver graphics pipelines still read through the stored places. This happened in every run (3 of 3, and 2 of 2):So on 621.40 (and likely 621.24, given the same failures) a loaded compute pipeline keeps its places and a loaded graphics pipeline does not. The probe's line is true for compute only. Suggestion: name it for compute, or add a
pipe=g:twin.This also has a runtime consequence, which I'm taking separately on #2570.
Places::checkprobes with compute pipelines only, so on this driver it answerssamewhen the places did shift, and a graphics pipeline is then loaded through the wrong samplers. Inpipelines_with_static_samplers_come_from_the_library, at the stepmake=50,51;host;..., it reproduces 3 of 3:places: "same", and thegpipeline is loaded withread [2, 3]andwrong 2.AI-assisted: yes (Claude Opus 5.5, via Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-01T18:13:42Z.
The
d3d12 (windows-latest)job is red oncrash::tests::memory_at_names_what_an_access_hit, and it is not this branch:That test is
d3d12/crates/leonida-loader/src/crash.rs:890, and the assertion that failed iscrash.rs:915,assert_eq!(memory_at(base + 8), "nothing mapped there")- it maps a page and expects the eight bytes past it to be unmapped, which depends on where the runner's allocator put things. This pull request touchespipeline/places/tests.rsand nothing else, and its test is#[ignore]d, so that job does not run it at all.Two things I could not do:
gh run rerun --failedis refused for this account (Must have admin rights to Repository), so I cannot show it passing on a second attempt. That is the one piece of evidence missing, and it is a click someone else has.The rest of the job's output is green, including
pipeline::placesitself in its non-ignored form.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by Christopher-Sundeby on 2026-12-01T18:18:47Z.
A correction to my comment above. On 621.40, compute pipelines are not always safe either. In a later run of
pipelines_with_static_samplers_come_from_the_library, at its no-care step (=1,make=50,51first), the stream-made compute pipeline also read through other samplers:In the earlier runs,
sread[6, 7], which was right. So, measured on this card: a loaded graphics pipeline read wrong in every run, and loaded compute pipelines read right most of the time but not every time. "Keeps its places" holds for compute only, and only most of the time.AI-assisted: yes (Claude Opus 5.5, via Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-01T18:19:35Z.
One more piece of evidence for the comment above, and it settles it: the same workflow passed on this branch's previous head and failed on this one, with the only difference being the two corrections in the places test.
What changed between them is
pipeline/places/tests.rsonly: thegavevector, the test's name, and its doc comment. What failed isleonida-loader/src/crash.rs::memory_at_names_what_an_access_hit, at itsmemory_at(base + 8)assertion. A test in another crate, checking where the allocator put a page, cannot be reached by a change to an#[ignore]d test inpipeline.So it is the runner's address layout, not this branch - and the run on
8f5c23fis the control that says so, which is the thing I could not produce by rerunning because this account cannot.What would make it good to land anyway: the job's other 83 tests pass,
pipeline::placesis not among them (it is#[ignore]d), and the change is a probe that only prints.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by NetZlash on 2026-12-01T20:35:07Z.
Native hardware validation of
9dfe9b7af6ab67aa300a26f150120e82b99878fd.Hardware. NVIDIA RTX 4070 SUPER (Ada, 12 GiB), NVIDIA driver 621.40, native Windows 11 Pro x64 build 26200, Ryzen 7 9700X and 32 GB RAM. This was an isolated checkout with Rust/Cargo 1.98.1 and the diagnostic build. All fixtures use synthetic shaders and readbacks.
Revised probe. The stock simple-compute test passed three times. Three additional save/reload pairs each used a fresh application pipeline library. The first process created the PSO and wrote the library. A second process succeeded through
LoadComputePipelinein forced plain mode. All three readbacks were[0, 1, ..., 15], matching the fresh controls. This tests the revised recipe, which puts the perturbation before reload and corrects the displaced vector described in the RTX 4070 Ti SUPER / 621.01 review. I did not run driver 616.64.Additional forced-plain checks. I ran three fresh-library pairs for each of two recipes, with ten extra samplers after the host setup or two extra samplers before it. Every second process succeeded at the specified library entry points. The fresh controls were equivalent pipelines created in that same process.
LoadComputePipeline[1, 2, 3][1, 2, 3][1, 2, 3]LoadGraphicsPipeline[43, 44][2, 3][4, 5]LoadPipeline[6, 7][6, 7][6, 7]Ada and Blackwell. On Ada, both graphics samples read the wrong sampler in all six loads. This reproduces the reported graphics mismatch on RTX 5090 (Blackwell) with 621.40. The stream-compute samples matched their controls in all six Ada loads. The 5090 follow-up observed intermittent stream-compute mismatches. My early recipe isolates the forced-plain portion of the combined test and starts with a fresh application library. Run order and cache history differ, so the stream-compute result is limited to these recipes. The tests cover the selected library routes with forced plain mode. Automatic
Places::check, other drivers and in-game behavior remain outside their scope.AI-assisted validation: Codex / GPT-6.2 Sol (
gpt-6.2-sol).Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-01T21:37:58Z.
Red on
d3d12 (windows-latest), and not this branch. Two measurements, so it does not get read as a flake:8f5c23f, an hour before), with only the two corrections in the places test between them.leonida-loader'scrash::tests::memory_at_names_what_an_access_hit, at itsmemory_at(base + 8)assertion — and a change to an#[ignore]d test inpipelinecannot reach it.The runner's WARP adapter is the common factor, and #2923 is the fix being proposed for it: the workspace tests run one per core against one WARP device, and this crate flakes about one run in eight that way (measured: 16 parallel runs, 2 failures in two different tests;
--test-threads=1, 8 of 8 clean).A third data point from tonight, on hardware:
descriptor::host::tests::views_are_made_beside_the_heap_and_copied_infails onmainon an RTX 4090 with the same kind of message ("copied as it was made"). Also not this branch — but it is a real failure of the tree, reported in #2570.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-01T23:43:16Z.
The red d3d12 (windows-latest) was not this change: it was crash::tests::memory_at_names_what, in crates/leonida-loader, which this branch does not touch.
---- crash::tests::memory_at_names_what assertion left == right failed left: "read-write" right: "nothing mapped there"I could not make it fail here: six runs of cargo test -p leonida-loader --lib crash::tests on this machine, in parallel like CI, 19 passed, 0 failed, six times out of six. It needs a page to be unmapped and read back as unmapped, and a parallel test taking that address between the two is the shape of it.
The branch is rebased onto main
913b88b90(which also re-runs the jobs - gh run rerun needs admin rights I do not have), so this PR is current and its CI is fresh.If it goes red on the same test again, that test is worth fixing on its own: it is in the same class as #2923 (the crate's tests on one thread for the same reason) and it will keep colouring unrelated pull requests.
AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by andrew-ai on 2026-12-02T00:02:23Z.
Ran a_loaded_pipeline_keeps_its_places_or_loses_them at
3be77fdebon Windows, RTX 5070 / NVIDIA 616.92, with the diagnostics build and --ignored --nocapture. One test passed. It reported “gives back” and read [22, 20, 21, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]. This exercises the other accepted result from the RTX 4090 / 621.24 report and matches the earlier sampler-table readback on this machine (#2996). Codex-assisted.Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T12:30:07Z.
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).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T15:53:33Z.
RUN (in game, batch of six render-path pull requests), each head merged with
git merge --no-ffonto main83046a713, in one build: #293345e0aae53, #28314375de941, #28404db84a195, #28873be77fdeb, #28555e4cd9bcb, #29959e1e95930. RTX 4060 8 GB, driver 610.88, Windows 11. Series S,-Resolution 1080, frame generation 2x, the same walking route as the other runs on this machine, 330 s after reaching the world.For reference, the same machine and route rendered 13.3 to 15.2 fps today on main with single pull requests and 14.9 with the first batch; no compile ran beside the game this time. These fps are a check that nothing fell over, not a measurement of a gain.
Verdict: PASS for the in-game gate (300 s or more in the world, no device loss) for this batch. If one of these pull requests changes its head, this run no longer covers it.
Limits: one run; free system memory was low (median 1.3 GB); arrival in the world was driven by keys and not checked on pictures.
AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T18:12:45Z.
Reviewed #2887 (code review only, not built here: Windows-only, needs an NVIDIA card). A test-only measurement probe; heavily verified on real cards, and in-game PASS at this head.
3be77fdeb5main45dc41f95cgit merge-tree); merge base913b88b905, 313 commits behind9dfe9b7af)Review of
d3d12/crates/leonida-gpu/src/pipeline/places/tests.rs(+47, test only)a_loaded_pipeline_keeps_its_places_or_loses_themis#[ignore]d and runs in child processes like the otherplacestests. It accepts exactly two answers ("kept": places 0-15 unchanged, or "gave back": the 616.64 model's[22, 20, 21]then0..13) and prints which one the driver gave. Anything else fails with both expectations in the message. That is the right shape for a test whose purpose is to record driver behaviour across versions.Places::check, and theLEONIDA_LIBRARY_STATIC_SAMPLERS=1plain path).D3D12CreateDevice(None)) applies here too; the printed vendor line is how a runner can tell.GPUs tested:line in the description; the AI line names no model.Verdict: ready (add the claim ID).
AI-assisted: Claude Opus 5.5 (Claude Code), review only.
AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.
Generated by Claude Code
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-02T18:23:41Z.
Done, and said plainly rather than papered over: the description now has a Process section stating that there is no claim for this pull request in #2570 and that I am not filing one retroactively, plus the
GPUs tested:line. Thanks for reading it closely.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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.