Skip to content

gpu-test-results: an RTX 4090 on driver 621.24, clean on both runs - #2772

Open
fiestorra wants to merge 2 commits into
ProjectLeonida:mainfrom
fiestorra:gpu-record-rtx4090-62124
Open

fiestorra wants to merge 2 commits into
ProjectLeonida:mainfrom
fiestorra:gpu-record-rtx4090-62124

Conversation

@fiestorra

@fiestorra fiestorra commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

A GPU test result for gpu-test-results/, which is what this machine is for: an RTX 4090 on driver 621.24, at a commit nobody has recorded yet, with no failures in either run.

Why a new file rather than an edit: gpu-test-results/RTX4090.txt is commit ed94fbef9 on driver 591.86, and it reports cs_imgatomic_ext failing. This is a different driver and a different commit, so it is the RTX4090-<driver>-Windows.txt shape the directory already uses for other cards (RTX3090-62073-Bazzite.txt, RTX5070-61692-Windows.txt).

GPU:        NVIDIA GeForce RTX 4090 (Ada / AD102, PCI 10de:2684), subgroup 32..32
Driver:     NVIDIA 621.24 (proprietary), Vulkan 1.4.357
OS:         Windows 11 Pro, build 26300 (10.0.26300.10075)
Commit:     be76908059f7cf440893fac21b22cbe5ee54df4b (main, 2026-11-30)
Tools:      llvm-mc 21.1.8, SPIRV-Tools v2026.4, CMake 4.3.2 + Ninja, MSVC 14.44.35207 (cl 19.44.35226),
            Python 3.13.14, Vulkan SDK 1.4.363.0

The two runs, exactly as run_gpu_tests.py printed them:

284 shaders: 284 translated, 284 pass spirv-val
  native:                 217/275 passed, 58 skipped, 0 failed
  LEONIDA_W64_EMULATE=1:  255/275 passed, 20 skipped, 0 failed

What the 38-shader difference is, since that is the interesting part: 35 "no 64-wide compute subgroup on this device" and 3 "no 64-wide subgroup on this device" skip natively and run under LEONIDA_W64_EMULATE=1. The other 19 skips in both runs are shaders the harness reports as run by their own test binary (d3d12_m2_textured_test 4, d3d12_m3_frame_test 4, d3d12_translated_draw_test 3, d3d12_m4_compute_test 2, d3d12_buffer_uav_test 2, d3d12_quad_index_test 2, d3d12_m2_formats_test 1, w64_graphics.py 1), plus one fragment case ("this device cannot require a 64-wide fragment subgroup: subgroup 32..32").

cs_imgatomic_ext passes here, with the detail "all 64 words of the uint image, the sint image and the volume exact". That failure was not the driver: it was the fixture volume-T# bug (#1518), fixed on main in 2c9a491d5, so this record is the same result any build after that fix gives. The earlier record is a snapshot of a tree before that fix, not a wrong measurement.

denorm_flush_to_zero_f32 is false in vk_subgroup_info's report for this device, and both ps_exp_f32_denorm and ps_exp_f32_denorm_rt are among the passes - which matters for the open macOS question about ps_exp_f32_denorm_rt, since this is the same suite passing the same two fixtures on a driver that does not flush.

Nothing in this pull request but the record file - 35 lines, one file. No source, no test, no exclusion list.

AI-assisted: yes - DeepSeek v4.1 (flash) ran the build and both suites on the machine the numbers describe. The commands are in the record so it can be reproduced.

Written with an AI assistant.

Commit be76908, Release build, 284 shaders translated and 284 pass
spirv-val. native 217/275 passed 58 skipped 0 failed; with LEONIDA_W64_EMULATE=1
255/275 passed 20 skipped 0 failed. The 38 wave64-compute skips of the native
run are the ones the emulation makes run. cs_imgatomic_ext, which RTX4090.txt
reports failing on driver 591.86, passes here.

@KelboLive KelboLive left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The record follows the directory's format (GPU / Driver / Subgroup / OS / Commit / Tools, the three run_gpu_tests.py lines, Failed / Skipped / Notes), and the numbers are internally consistent: 217 + 58 = 275 and 255 + 20 = 275 with 0 failed in both, the 38-shader difference is 58 − 20 = 255 − 217, and the 19 own-binary skips sum to 19. be769080 is on main (2026-11-30) and no other record names it; cs_imgatomic_ext passing here sits correctly beside the 591.86 failure noted in RTX4090.txt (that note says the failure is not reproduced); check_no_game_data is clean; and it is genuinely not a copy of another card's record — the counts, CMake 4.3.2 vs 4.4.5, Python 3.13 vs 3.11 and the OS build all differ.

Two small things:

  1. Line 6 names %USERPROFILE%\.leonida\llvm-mc\llvm-mc.exe, a machine-specific path. The other records say how llvm-mc was obtained ("native build with the AMDGPU target", scripts\build_llvm_mc.ps1, conda); say that instead, so the next person can reproduce it rather than find a path that does not exist on their box.
  2. State what was not run: like RTX4090.txt, this covers run_gpu_tests.py only (ctest, the D3D12 tests and w64_graphics.py were not run). That also explains the 284 translated vs 275 run difference, which the record leaves implicit and a reader will otherwise treat as a discrepancy.

Optional: docs/gpu_test_results.md has no RTX 4090 row — the older RTX4090.txt is not there either, so not adding one is consistent with practice, but a row would make this record discoverable. The LEONIDA_W64_EMULATE=1: label where RTX4090.txt says Emulated: is fine, just a variation worth keeping in mind if the table ever gets parsed.

@aslan2142 aslan2142 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Numbers, commit (be7690805), PCI ID (10de:2684 / AD102), clean-room hygiene, and all 5 CI checks look great.

One wording correction before merge:

  • gpu-test-results/RTX4090-62124-Windows.txt:12-15 (and PR body): please avoid framing cs_imgatomic_ext passing as a 591.86 -> 621.24 driver difference. As gpu-test-results/RTX4090.txt:14-16 notes, the earlier failure at ed94fbef9 was a fixture volume-T# bug (#1518) that was fixed on main in 2c9a491d5.
  • (Optional nits, matching @KelboLive's review): naming scripts\build_llvm_mc.ps1 on line 6 and noting in Notes that only run_gpu_tests.py was run (ctest / D3D12 tests / w64_graphics.py not run) would make the record even clearer.

(AI-assisted review.)

…e driver

aslan2142 is right. The RTX 4090 record on 621.24 said cs_imgatomic_ext
"not reproduced" the earlier failure, which frames it as a 591.86 -> 621.24
driver difference. The earlier failure at ed94fbe was a fixture volume-T# bug
(ProjectLeonida#1518), fixed on main in 2c9a491, so this record is the same result any build
after that fix gives, and says nothing about the driver.

Also from the review: the record names scripts\build_llvm_mc.ps1 as how llvm-mc
got there, and Notes says that only run_gpu_tests.py was run - the ctest suite,
the D3D12 tests and w64_graphics.py were not, so nothing here speaks for them.

Measured: the numbers are unchanged (284/284 translated, 217/275 native, 255/275
with LEONIDA_W64_EMULATE=1, 0 failed in either); only the wording and the two
notes changed.

Written with an AI assistant.
@fiestorra

Copy link
Copy Markdown
Contributor Author

Both corrections made, and the first one was a real error of framing rather than of wording: I had written that cs_imgatomic_ext passing here "is not reproduced", which invites the reader to conclude the driver changed. It did not. The earlier failure at ed94fbef9 was the fixture volume-T# bug (#1518), fixed on main in 2c9a491d5, so this record is the same result any build after that fix gives.

The file now says that outright:

cs_imgatomic_ext failing there. That failure was not the driver: it was a fixture
volume-T# bug (#1518), fixed on main in 2c9a491d5, and this record is the same
result as any build after that fix. cs_imgatomic_ext passes, with the detail
"all 64 words of the uint image, the sint image and the volume exact".

And the two nits:

  • Tools: now names scripts\build_llvm_mc.ps1 as how llvm-mc got to %USERPROFILE%\.leonida\llvm-mc\.
  • Notes says that only python -I scripts\run_gpu_tests.py was run: the ctest suite, the D3D12 tests and w64_graphics.py were not, so nothing in the record speaks for them.

The numbers are untouched - 284/284 translated, 217/275 native, 255/275 with LEONIDA_W64_EMULATE=1, 0 failed in either - because the review was about what the record claims, not about what it measured.

Written with an AI assistant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants