[GH #76] NVIDIA GeForce RTX 5060 Laptop #76
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Zettrox/ztrx. Originally posted by jhincromwel-star on 2026-11-25T08:25:40Z.
Update — re-run on current
main@568e7db(the four failures are still there; a fix is attached)Same machine as below (NVIDIA GeForce RTX 5060 Laptop GPU, Blackwell, driver 32.0.16.2124; Intel Core 7 240H; Windows 11 Pro 10.0.26300; Rust 1.98.1; debug; DXC 1.9.2602.17).
XCL_ADAPTER=nvidia. NoXCL_SAMPLE_*.main @ 568e7dbcargo test -p xcl --libfuzz_validate_and_gpu_0..3, seeds 70, 545, 1019, 1507:CreateComputePipelineState→0x8007000E.\scripts\test.ps1scripts/test.ps1stops at the first failing target, so the integration binaries did not run in the "as is" row.The change (the same one as before, rebased onto
568e7db; onlyrecomp/tests.rsneeded a hand edit, becausemainchanged the end of that file): group-shared and texelsubgo through the compare-exchange loop thatrsub,sminandfminalready use (recomp/emit.rs,dxil/lower_mem.rs), the fuzz emitter does the same, and a new testgpu_ds_sub_rtn_u32_with_a_variable_operand(64 lanes take their own number off one dword) fails without it and passes with it on this GPU, both withXCL_DIRECT_DXILunset and=1. Four files, 72 insertions, 14 deletions. The four fuzz tests also pass withXCL_ADAPTER=intel(integrated GPU), before and after.Correction to the first version of this report: the skip breakdown on
689f2dbwas wrong. The 23 skips there were 18 "no wave64" (7 unnamed + 11 named after a wave64 case), 3 "per-lane form: refused", 1 driver cache, 1 heap windows.What is behind the four failures (unchanged from the first version): of seeds 0..2000, 56 fail on this GPU, and every one contains a group-shared
Subwith a non-constant operand. None without one fails (594 of 594 seeds with no group-shared atomic pass), and aSubwith a constant operand always passes (11 of 11). The pipeline is refused whenever a group-sharedatomicrmw addtakes a negated runtime value. The existing workaround (0 - vinstead ofatomicrmw sub) does not avoid it, and neither does(v ^ -1) + 1. The production lowering does the same in both paths, so a real RDNA2 program withds_sub_rtn_u32and a per-lane operand fails the same way here.Not tested: AMD, other NVIDIA generations, a driver other than 32.0.16.2124, release builds, any retail title (only the repository's own tests ran), and the performance of the compare-exchange loop under contention.
AI use: Claude Code (Claude Sonnet 5.5) ran the test commands, scanned the seeds, found the cause, wrote the change and its test, and rebased it. The numbers above come from those runs.
If a PR for this is welcome, I can open one from the patch.
(Keep below this line the original report from the first version if you want it as history, or delete it: the update above replaces its numbers.)