gpu-test-results: RX 7900 XTX (RADV), RTX 5060 Laptop (NVIDIA 620.70) and Arrow Lake iGPU (ANV) on Linux main 21625bca8 (GPU-7900XTX-ARL-5060L-LINUX) #663

Open
github-bot wants to merge 4 commits from github-bot/gh-663 into main AGit
Owner

@⁠thiefyzheng on GitHub · 2026-11-24 11:16 UTC · original
thiefyzheng:fix/gpu-7900xtx-arl-5060l-linux → main · +287 −0 · 4 files · 4 commits · open

Claimed in the coordination issue as: GPU-7900XTX-ARL-5060L-LINUX (claim)

Depends on: none.

What and why

Adds three gpu-test-results/ records and their rows in docs/gpu_test_results.md, all from one Linux box (Ubuntu 24.04.4 containers, kernel 7.3.3-300.fc45.x86_64, Intel Core Ultra 7 255H): a Radeon RX 7900 XTX (the first gfx1100/RDNA3 entry and the first three-GPU one-machine record), a GeForce RTX 5060 Laptop, and an Arrow Lake-H iGPU. run_gpu_tests.py was run native and under LEONIDA_W64_EMULATE=1 on each GPU, at 21625bca8c67.

Tested

Tested commit: 21625bca8c675c62f9dbffc318ce6a59d57faf31 (main). Per GPU: CMake + Ninja Release build of the Vulkan test programs, then python -I scripts/run_gpu_tests.py --build runtime/build/linux --llvm-mc /usr/lib/llvm-19/bin/llvm-mc, native and with LEONIDA_W64_EMULATE=1. Tools: llvm-mc 19.1.1 (Ubuntu LLVM), SPIRV-Tools v2025.1, glslang 15.1.0, Python 3.12.3, system Vulkan headers (VK_HEADER_VERSION 275), same commit for the programs and the runner.

GPU (driver, OS) Mode Passed Skipped Failed
RX 7900 XTX (RADV, Mesa 25.2.8) native 225/248 20 3
RX 7900 XTX (RADV, Mesa 25.2.8) LEONIDA_W64_EMULATE=1 225/248 20 3
RTX 5060 Laptop (NVIDIA 620.70.06) native 194/248 52 2
RTX 5060 Laptop (NVIDIA 620.70.06) LEONIDA_W64_EMULATE=1 226/248 20 2
Arrow Lake-H iGPU (ANV, Mesa 25.2.8) native 189/248 55 4
Arrow Lake-H iGPU (ANV, Mesa 25.2.8) LEONIDA_W64_EMULATE=1 221/248 23 4

All six runs: 257 shaders translated, 257 pass spirv-val, except Arrow Lake's 256: ps_ij_computed is not translated there because the ANV barycentric fallback has no PerVertexKHR inputs for computed I/J (the record names the exact line and the skip).

Findings (each record details its own):

  • cs_imgload_tfe / cs_imgload_d16_tfe fail on all three GPUs, the known #31 pair, with the same texel(5,3) = 2071 signature as the landed RTX 5070 and Intel MTL records (on Arrow Lake the harness's output retention keeps only the Mesa warning, so the record says the signature is unverified there).
  • RX 7900 XTX: cs_w32_salu64 reproduces the documented RADV Mesa 25.2 ACO bug (docs/testing.md, "Two Mesa bugs, not translator bugs"); the other half of that row, cs_signed_zero_nan, passes on this GPU. All six mesh fixtures pass natively; no ms_wave_info_s3 flake (the RX 9070 GRE/XT records report one).
  • Arrow Lake (ANV 25.2.8): cs_signed_zero_nan reproduces the documented Mesa NIR bug, and cs_fmt_int_narrow fails (word 34 expected 0xffffffff, got 0x00000000) — it appears nowhere in docs/testing.md's Known problems, so the record marks it as a possibly-new driver observation; it passes on the other two GPUs of the same machine.
  • Common skips: the 16 documented "run by d3d12_*_test / w64_graphics.py" cases, plus 3 ps_texoff* skips that trace to this machine's older system Vulkan headers (VK_HEADER_VERSION 275 lacks VK_KHR_MAINTENANCE_8, so vk_texture_test compiles the block out) — the drivers advertise the extension — plus 1 fragment-subgroup case per GPU.
  • build.py / check.py were not run separately; the counts come from run_gpu_tests.py, which translates and validates the same fixtures. The suite is synthetic; no game files were used anywhere.

python -I scripts/check_no_game_data.py docs/gpu_test_results.md gpu-test-results/RX7900XTX.txt gpu-test-results/RTX5060Laptop.txt gpu-test-results/IntelARL.txt passes (exit 0).

GPUs tested: AMD Radeon RX 7900 XTX, RADV Mesa 25.2.8, Ubuntu 24.04.4; NVIDIA GeForce RTX 5060 Laptop, driver 620.70.06, Ubuntu 24.04.4; Intel Arrow Lake-H Graphics, ANV Mesa 25.2.8, Ubuntu 24.04.4.

AI-assisted: yes (pi coding agent operated by the contributor: built and ran the suite on all three GPUs, extracted the numbers, and drafted the records; measurements were claimed in advance on the coordination issue).

Checklist

  • Based on current main (21625bca8) and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic (the machine's three GPU-tier records, as claimed); follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • No translator change, so no new docs/design.md contract row (n/a).
**@⁠thiefyzheng** on GitHub · 2026-11-24 11:16 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/663) `thiefyzheng:fix/gpu-7900xtx-arl-5060l-linux` → `main` · +287 −0 · 4 files · 4 commits · open Claimed in the coordination issue as: GPU-7900XTX-ARL-5060L-LINUX ([claim](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/14)) Depends on: none. ### What and why Adds three `gpu-test-results/` records and their rows in `docs/gpu_test_results.md`, all from one Linux box (Ubuntu 24.04.4 containers, kernel 7.3.3-300.fc45.x86_64, Intel Core Ultra 7 255H): a Radeon RX 7900 XTX (the first gfx1100/RDNA3 entry and the first three-GPU one-machine record), a GeForce RTX 5060 Laptop, and an Arrow Lake-H iGPU. `run_gpu_tests.py` was run native and under `LEONIDA_W64_EMULATE=1` on each GPU, at `21625bca8c67`. ### Tested Tested commit: `21625bca8c675c62f9dbffc318ce6a59d57faf31` (main). Per GPU: CMake + Ninja Release build of the Vulkan test programs, then `python -I scripts/run_gpu_tests.py --build runtime/build/linux --llvm-mc /usr/lib/llvm-19/bin/llvm-mc`, native and with `LEONIDA_W64_EMULATE=1`. Tools: llvm-mc 19.1.1 (Ubuntu LLVM), SPIRV-Tools v2025.1, glslang 15.1.0, Python 3.12.3, system Vulkan headers (VK_HEADER_VERSION 275), same commit for the programs and the runner. | GPU (driver, OS) | Mode | Passed | Skipped | Failed | |---|---|---|---|---| | RX 7900 XTX (RADV, Mesa 25.2.8) | native | 225/248 | 20 | 3 | | RX 7900 XTX (RADV, Mesa 25.2.8) | `LEONIDA_W64_EMULATE=1` | 225/248 | 20 | 3 | | RTX 5060 Laptop (NVIDIA 620.70.06) | native | 194/248 | 52 | 2 | | RTX 5060 Laptop (NVIDIA 620.70.06) | `LEONIDA_W64_EMULATE=1` | 226/248 | 20 | 2 | | Arrow Lake-H iGPU (ANV, Mesa 25.2.8) | native | 189/248 | 55 | 4 | | Arrow Lake-H iGPU (ANV, Mesa 25.2.8) | `LEONIDA_W64_EMULATE=1` | 221/248 | 23 | 4 | All six runs: 257 shaders translated, 257 pass spirv-val, except Arrow Lake's 256: `ps_ij_computed` is not translated there because the ANV barycentric fallback has no PerVertexKHR inputs for computed I/J (the record names the exact line and the skip). Findings (each record details its own): - `cs_imgload_tfe` / `cs_imgload_d16_tfe` fail on all three GPUs, the known #31 pair, with the same `texel(5,3) = 2071` signature as the landed RTX 5070 and Intel MTL records (on Arrow Lake the harness's output retention keeps only the Mesa warning, so the record says the signature is unverified there). - RX 7900 XTX: `cs_w32_salu64` reproduces the documented RADV Mesa 25.2 ACO bug (docs/testing.md, "Two Mesa bugs, not translator bugs"); the other half of that row, `cs_signed_zero_nan`, passes on this GPU. All six mesh fixtures pass natively; no `ms_wave_info_s3` flake (the RX 9070 GRE/XT records report one). - Arrow Lake (ANV 25.2.8): `cs_signed_zero_nan` reproduces the documented Mesa NIR bug, and `cs_fmt_int_narrow` fails (word 34 expected 0xffffffff, got 0x00000000) — it appears nowhere in docs/testing.md's Known problems, so the record marks it as a possibly-new driver observation; it passes on the other two GPUs of the same machine. - Common skips: the 16 documented "run by d3d12_*_test / w64_graphics.py" cases, plus 3 `ps_texoff*` skips that trace to this machine's older system Vulkan headers (VK_HEADER_VERSION 275 lacks `VK_KHR_MAINTENANCE_8`, so `vk_texture_test` compiles the block out) — the drivers advertise the extension — plus 1 fragment-subgroup case per GPU. - `build.py` / `check.py` were not run separately; the counts come from `run_gpu_tests.py`, which translates and validates the same fixtures. The suite is synthetic; no game files were used anywhere. `python -I scripts/check_no_game_data.py docs/gpu_test_results.md gpu-test-results/RX7900XTX.txt gpu-test-results/RTX5060Laptop.txt gpu-test-results/IntelARL.txt` passes (exit 0). GPUs tested: AMD Radeon RX 7900 XTX, RADV Mesa 25.2.8, Ubuntu 24.04.4; NVIDIA GeForce RTX 5060 Laptop, driver 620.70.06, Ubuntu 24.04.4; Intel Arrow Lake-H Graphics, ANV Mesa 25.2.8, Ubuntu 24.04.4. AI-assisted: yes (pi coding agent operated by the contributor: built and ran the suite on all three GPUs, extracted the numbers, and drafted the records; measurements were claimed in advance on the coordination issue). ### Checklist - [x] Based on current `main` (`21625bca8`) and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic (the machine's three GPU-tier records, as claimed); follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] No translator change, so no new docs/design.md contract row (n/a).
RX7900XTX: emulated is 225/248 (3 failed) vs 226/248 (2 failed); the +31 native delta is +32 passes minus cs_w32_salu64; cs_w32_salu64 words 3..7 are the 0xEEEEEEEE fill.
IntelARL: cs_signed_zero_nan word 2 is 0x80000000, want 0x80008000, beyond the documented word-5 NIR bug.
RTX5060Laptop: #98 pass is recorded in IntelMTL.txt only; VK_HEADER_VERSION 275 is 1.3.275.

AI-assisted (Claude Code).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:14:51 +00:00
Author
Owner

@⁠PierreEbele on GitHub · 2026-11-25 02:46 UTC · original

Reviewed 6b69d68 (results-only PR; no GPU here, so I only checked the records against each other and against the repo). A few factual inconsistencies to fix before merge:

  • gpu-test-results/RX7900XTX.txt (lines 88–92): "Emulated the same on both." contradicts the records: emulated is 225/248, 3 failed here vs 226/248, 2 failed in RTX5060Laptop.txt. The +31 native delta (225 vs 194) is also not "exactly the 31 compute wave64 cases": that set plus ms_w64x_ballot is +32 passes, minus the extra cs_w32_salu64 failure.
  • gpu-test-results/RX7900XTX.txt (lines 25–28): the cs_w32_salu64 dump has 4008636142 (0xeeeeeeee, unwritten fill) in words 3–7, not only word 2 = 0; the summary only mentions word 2.
  • gpu-test-results/IntelARL.txt (line 23 vs 43–45): cs_signed_zero_nan word 2 is 0x80000000, but scripts/run_gpu_tests.py:1219 wants 0x80008000, so the failure is not only the documented word-5 NIR NaN bug.
  • gpu-test-results/RTX5060Laptop.txt:18 says RTX5070.txt reports the #31 pair passing with #98; RTX5070.txt on main does not mention #98. Line 58 says Ubuntu's Vulkan headers are 1.4.275; VK_HEADER_VERSION 275 is 1.3.275 (RX7900XTX.txt just says VK_HEADER_VERSION 275).

AI-assisted review.

Recommendation: Fix first

**@⁠PierreEbele** on GitHub · 2026-11-25 02:46 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/663#issuecomment-7151163214) Reviewed 6b69d68 (results-only PR; no GPU here, so I only checked the records against each other and against the repo). A few factual inconsistencies to fix before merge: - `gpu-test-results/RX7900XTX.txt` (lines 88–92): "Emulated the same on both." contradicts the records: emulated is `225/248, 3 failed` here vs `226/248, 2 failed` in `RTX5060Laptop.txt`. The `+31` native delta (225 vs 194) is also not "exactly the 31 compute wave64 cases": that set plus `ms_w64x_ballot` is +32 passes, minus the extra `cs_w32_salu64` failure. - `gpu-test-results/RX7900XTX.txt` (lines 25–28): the `cs_w32_salu64` dump has `4008636142` (`0xeeeeeeee`, unwritten fill) in words 3–7, not only word 2 = 0; the summary only mentions word 2. - `gpu-test-results/IntelARL.txt` (line 23 vs 43–45): `cs_signed_zero_nan` word 2 is `0x80000000`, but `scripts/run_gpu_tests.py:1219` wants `0x80008000`, so the failure is not only the documented word-5 NIR NaN bug. - `gpu-test-results/RTX5060Laptop.txt:18` says `RTX5070.txt` reports the #31 pair passing with #98; `RTX5070.txt` on main does not mention #98. Line 58 says Ubuntu's Vulkan headers are `1.4.275`; `VK_HEADER_VERSION 275` is 1.3.275 (`RX7900XTX.txt` just says `VK_HEADER_VERSION 275`). AI-assisted review. **Recommendation:** Fix first
Author
Owner

@⁠aslan2142 on GitHub · 2026-11-25 19:43 UTC · original

PierreEbele's review of 6b69d68 raised four factual points across the three records, and they are still open: this head predates the review. Please address them, or reply where you disagree.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠aslan2142** on GitHub · 2026-11-25 19:43 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/663#issuecomment-7172692435) PierreEbele's review of `6b69d68` raised four factual points across the three records, and they are still open: this head predates the review. Please address them, or reply where you disagree. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@⁠thiefyzheng on GitHub · 2026-11-25 19:55 UTC · original

@⁠PierreEbele, @⁠aslan2142 — thank you. All four points are fixed in bb022abda (one commit on 6b69d68, results text only):

  1. 7900 XTX emulated / delta: the record now says emulated is 225/248 (3 failed) here vs 226/248 (2 failed) on the 5060, and the native delta is +31 net = +32 passes (31 compute wave64 + ms_w64x_ballot) minus the cs_w32_salu64 pass this GPU lacks.
  2. cs_w32_salu64 dump: words 3–7 are now stated as 4008636142 (0xEEEEEEEE, unwritten fill), not only word 2 = 0.
  3. ARL cs_signed_zero_nan: word 2 = 0x80000000 vs 0x80008000 wanted (run_gpu_tests.py:1219) is now recorded as an additional mismatch beyond the documented word-5 NIR bug.
  4. 5060 record: the #98 pass is attributed to IntelMTL.txt only (RTX5070.txt does not mention it), and the headers are 1.3.275 (VK_HEADER_VERSION 275).

No measurements changed; only what the text claims about them.

AI-assisted (Claude Code).

**@⁠thiefyzheng** on GitHub · 2026-11-25 19:55 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/663#issuecomment-7172953511) @⁠PierreEbele, @⁠aslan2142 — thank you. All four points are fixed in `bb022abda` (one commit on `6b69d68`, results text only): 1. **7900 XTX emulated / delta:** the record now says emulated is 225/248 (3 failed) here vs 226/248 (2 failed) on the 5060, and the native delta is +31 net = +32 passes (31 compute wave64 + `ms_w64x_ballot`) minus the `cs_w32_salu64` pass this GPU lacks. 2. **`cs_w32_salu64` dump:** words 3–7 are now stated as `4008636142` (`0xEEEEEEEE`, unwritten fill), not only word 2 = 0. 3. **ARL `cs_signed_zero_nan`:** word 2 = `0x80000000` vs `0x80008000` wanted (`run_gpu_tests.py:1219`) is now recorded as an additional mismatch beyond the documented word-5 NIR bug. 4. **5060 record:** the #98 pass is attributed to `IntelMTL.txt` only (`RTX5070.txt` does not mention it), and the headers are 1.3.275 (`VK_HEADER_VERSION 275`). No measurements changed; only what the text claims about them. AI-assisted (Claude Code).
Author
Owner

@⁠thiefyzheng on GitHub · 2026-11-25 23:02 UTC · original

Update: merged current main (5fab93967) into the branch (the docs table had a conflict; both sets of rows kept, no force-push) and re-ran all three GPUs on that commit, native and LEONIDA_W64_EMULATE=1, in a26e9ad68 (results text only).

GPU Mode Passed Skipped Failed
RX 7900 XTX (RADV 25.2.8) native / emulated 242/268 / 242/268 24 / 24 2 / 2
RTX 5060 Laptop (NVIDIA 620.70.06) native 208/268 59 1
RTX 5060 Laptop emulated 243/268 24 1
Arrow Lake-H (ANV 25.2.8) native 203/268 62 3
Arrow Lake-H emulated 238/268 27 3
  • Translation: 277/277 pass spirv-val on the XTX and 5060; 276/277 on Arrow Lake (ps_ij_computed still not translated there).
  • The cs_imgload_tfe / cs_imgload_d16_tfe failures from the earlier numbers are gone on all three.
  • cs_imgatomic_ext fails on all three ("6 of 64 sint words differ; first word 32: got 0x0badf00d, expected 0x00000101"); #1518 looks like the fix, which I have not applied or tested.
  • Still failing: cs_w32_salu64 on the XTX (RADV), and cs_fmt_int_narrow and cs_signed_zero_nan on Arrow Lake.
  • Each record now starts with a block for this commit; the detailed skip lists and notes below it are still from 21625bca8 and were not re-derived. Counts and FAIL lines are copied from the run logs. build.py / check.py not run.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠thiefyzheng** on GitHub · 2026-11-25 23:02 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/663#issuecomment-7177080209) Update: merged current `main` (`5fab93967`) into the branch (the docs table had a conflict; both sets of rows kept, no force-push) and re-ran all three GPUs on that commit, native and `LEONIDA_W64_EMULATE=1`, in `a26e9ad68` (results text only). | GPU | Mode | Passed | Skipped | Failed | |---|---|---|---|---| | RX 7900 XTX (RADV 25.2.8) | native / emulated | 242/268 / 242/268 | 24 / 24 | 2 / 2 | | RTX 5060 Laptop (NVIDIA 620.70.06) | native | 208/268 | 59 | 1 | | RTX 5060 Laptop | emulated | 243/268 | 24 | 1 | | Arrow Lake-H (ANV 25.2.8) | native | 203/268 | 62 | 3 | | Arrow Lake-H | emulated | 238/268 | 27 | 3 | - Translation: 277/277 pass spirv-val on the XTX and 5060; 276/277 on Arrow Lake (`ps_ij_computed` still not translated there). - The `cs_imgload_tfe` / `cs_imgload_d16_tfe` failures from the earlier numbers are gone on all three. - `cs_imgatomic_ext` fails on all three ("6 of 64 sint words differ; first word 32: got 0x0badf00d, expected 0x00000101"); #1518 looks like the fix, which I have not applied or tested. - Still failing: `cs_w32_salu64` on the XTX (RADV), and `cs_fmt_int_narrow` and `cs_signed_zero_nan` on Arrow Lake. - Each record now starts with a block for this commit; the detailed skip lists and notes below it are still from `21625bca8` and were not re-derived. Counts and FAIL lines are copied from the run logs. `build.py` / `check.py` not run. AI-assisted (Claude Code, Claude Opus 5.5).
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/663/head:github-bot/gh-663'
git switch 'github-bot/gh-663'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-663'
git switch 'github-bot/gh-663'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-663'
git switch 'github-bot/gh-663'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-663'
git switch 'main'
git merge --squash 'github-bot/gh-663'
git switch 'main'
git merge --ff-only 'github-bot/gh-663'
git switch 'main'
git merge 'github-bot/gh-663'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.