From a0d23ff85b2787593f61dfe54dbcc04f2f71afd2 Mon Sep 17 00:00:00 2001 From: Dominus Mayo Date: Tue, 24 Nov 2026 20:43:06 +0300 Subject: [PATCH 1/2] docs: GPU-test record for AMD Radeon RX 6600 (GPU-RX6600) Add gpu-test-results/RX6600.txt and its row in docs/gpu_test_results.md: run_gpu_tests.py on the AMD proprietary Windows driver 26.11.2, native and with LEONIDA_W64_EMULATE=1, measured at 8f05e09e2. Co-Authored-By: Claude Fable 5.2 --- docs/gpu_test_results.md | 1 + gpu-test-results/RX6600.txt | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 gpu-test-results/RX6600.txt diff --git a/docs/gpu_test_results.md b/docs/gpu_test_results.md index 25a73c7f5d..c59768cde0 100644 --- a/docs/gpu_test_results.md +++ b/docs/gpu_test_results.md @@ -12,6 +12,7 @@ post counts and pass/fail lines there, never game shaders, logs or private paths | AMD Radeon RX 7900 GRE (RDNA3, gfx1100), subgroup 32..64 | AMD proprietary 26.11.2 (LLPC), Vulkan 1.4.359, Windows 11 x64 | `5d74c27` | 247/247 translated and valid | run via run_gpu_tests.py | 225/241 passed, 16 skipped | none | [#166](https://github.com/ItsNotRexed/Leonida/issues/166#issuecomment-7115041436) | | Intel Graphics (Meteor Lake, Xe-LPG), subgroup 8..32 | ANV, Mesa 26.2.7, Vulkan 1.4.354, Fedora 45 | `84347bb` | 279/279 translated and valid | 177/219 pass, 40 skipped, 2 failed | 194/248 passed, 52 skipped (native); 226/248 passed, 20 skipped (`LEONIDA_W64_EMULATE=1`) | `cs_imgload_tfe`, `cs_imgload_d16_tfe` (#31; pass with #98) | [local note](../gpu-test-results/IntelMTL.txt) | | Apple M5 Pro (16-core GPU, Metal 4), subgroup 4..32 | MoltenVK 1.4.2 (Homebrew), Vulkan 1.4.357, macOS 26.7.3 (25G342) | `d42773d07` | 280/280 translated and valid | 175/219 pass, 39 skipped, 5 failed | 183/248 passed, 61 skipped, 4 failed (native); 214/248 passed, 30 skipped, 4 failed (`LEONIDA_W64_EMULATE=1`) | `cs_fma_fused` (known row), `cs_imgload_tfe`, `cs_imgload_d16_tfe` (pass with #291), `ps_imgatomic` flake (#543) | [local note](../gpu-test-results/AppleM5Pro.txt) | +| AMD Radeon RX 6600 (RDNA2, Navi 23), subgroup 32..64 | AMD 26.11.2, Vulkan 1.4.315, Windows 11 26300.10075 | `8f05e09e2` | not run | not run | 230/249 passed, 17 skipped, 2 failed (native, 3 of 4 runs, and `LEONIDA_W64_EMULATE=1`); 229/249 passed, 3 failed (first native run) | `cs_imgload_tfe`, `cs_imgload_d16_tfe` (#31), every run; `cs_w32_buffer_store_sub` once in 4 full native runs, 15 of 15 isolated reruns pass | [local note](../gpu-test-results/RX6600.txt) | ## AMD Radeon RX 9070 GRE — 2026-11-23 diff --git a/gpu-test-results/RX6600.txt b/gpu-test-results/RX6600.txt new file mode 100644 index 0000000000..f9b4fcdd50 --- /dev/null +++ b/gpu-test-results/RX6600.txt @@ -0,0 +1,52 @@ +GPU: AMD Radeon RX 6600 (RDNA2, Navi 23, PCI 1002:73FF), subgroup 32..64 +Driver: AMD proprietary 26.11.2 (Windows driver 32.0.21045.29003; vulkaninfo driverInfo + "26.11.2 (AMD proprietary shader compiler)"), Vulkan 1.4.315 +Subgroup: 32..64 (minSubgroupSize 32, maxSubgroupSize 64; default 64) +OS: Windows 11 Pro, 10.0.26300.10075 +Commit: 8f05e09e224656740e8a53f5047e1338d7a52588 (main, 2026-11-24) +Tools: llvm-mc 21.1.8 (built by scripts\build_llvm_mc.ps1, AMDGPU target), SPIRV-Tools + v2026.4 (Vulkan SDK 1.4.363.0), CMake 4.2.3-msvc3 + Ninja 1.12.1 (Visual Studio + Build Tools 2026), MSVC 19.50.35726.0, Python 3.14.3 +run_gpu_tests.py: 258 shaders: 258 translated, 258 pass spirv-val (every run) + native: 230/249 passed, 17 skipped, 2 failed (3 of 4 full runs); + 229/249 passed, 17 skipped, 3 failed (the first full run) + LEONIDA_W64_EMULATE=1: 230/249 passed, 17 skipped, 2 failed (1 full run) +Failed: cs_imgload_tfe: exit 1, "r32 sint (sint view): 64 bad, texel(5,3) = 2071". + cs_imgload_d16_tfe: the same line. + Both fail in all five full runs, native and emulated, and once more each in an + isolated native run with VK_LOADER_LAYERS_DISABLE=~implicit~, so the implicit + layers listed below are not the cause. Same signature as #31 and as the 780M + record. #291, which proposes the fix, was not applied here. +Intermittent: cs_w32_buffer_store_sub failed in the first full native run and nowhere else. + The runner's detail for it was the program's own line + "device: AMD Radeon RX 6600 (subgroup 32..64)", so no result words followed it; + the exit status of that run was not captured. It passed in the three later full + native runs, in the emulated full run, and in 15 of 15 isolated --filter runs + (5 native, 5 emulated, 5 native with implicit layers disabled), each returning + 287484740 3455022984 883604428 3722304786 16909146 84283956 171 4294954479. + Not reproduced and not explained. +Skipped: 16 skips are the documented "run by d3d12_*_test / w64_graphics.py" cases: + cs_buf_counter, cs_buf_typed, cs_m4_fill, cs_m4_indirect, ps_live_width, + ps_m15, ps_m2, ps_m2_array, ps_m2_literal, ps_m2_uoff, ps_m3, ps_m3_post, + ps_m3_query, vs_m15, vs_m2, vs_m3. + ps_w64x_readlane: "this device cannot require a 64-wide fragment subgroup: + subgroup 32..64". It skips with LEONIDA_W64_EMULATE=1 too. +Translator suite: python -I scripts/run_semantic_tests.py tests/semantic on the same commit: + 465 files, 6108 tests, 1606 s with 12 jobs. Two files failed, test_sopc_validation + and test_unary_f16_validation, only with "spirv-as / spirv-val not found on PATH": + that run started before the Vulkan SDK was installed. With the SDK's Bin on PATH + both pass (11 and 5 tests). +Notes: +- Built with scripts\build_runtime.ps1 (CMake + Ninja, RelWithDebInfo, into runtime\build). +- ctest was not run. llvm-mc was not built yet when CMake configured the runtime + (LEONIDA_LLVM_MC-NOTFOUND in the cache), so the d3d12_* tests that need it were not + registered; the 16 "run by d3d12_*_test" cases above were therefore not run by anything + on this machine. +- build.py and check.py (the two D3D12-side columns in the table) were not run; the counts + come from run_gpu_tests.py. +- Implicit Vulkan layers present on this machine and enabled in every run except the + reruns marked otherwise: VK_LAYER_AMD_switchable_graphics, VK_LAYER_OBS_HOOK, + VK_LAYER_ROCKSTAR_GAMES_social_club, VK_LAYER_VALVE_steam_fossilize, + VK_LAYER_VALVE_steam_overlay. +- CPU: AMD Ryzen 5 3600. No game files were used. +- AI-assisted (Claude Code). From 7ede77471ae73f82dbd9a97bc0587e4aec0023d7 Mon Sep 17 00:00:00 2001 From: Dominus Mayo Date: Tue, 24 Nov 2026 22:11:03 +0300 Subject: [PATCH 2/2] docs: re-measure the RX 6600 record at 6293c1c4f and add ctest run_gpu_tests.py: 235/252 passed, 17 skipped, no failures, native and with LEONIDA_W64_EMULATE=1; the two imgload tfe fixtures pass since #892. ctest: 292 passed, 12 skipped, 4 failed. Co-Authored-By: Claude Fable 5.2 --- docs/gpu_test_results.md | 2 +- gpu-test-results/RX6600.txt | 86 ++++++++++++++++++++++--------------- 2 files changed, 52 insertions(+), 36 deletions(-) diff --git a/docs/gpu_test_results.md b/docs/gpu_test_results.md index c59768cde0..881d0021a4 100644 --- a/docs/gpu_test_results.md +++ b/docs/gpu_test_results.md @@ -12,7 +12,7 @@ post counts and pass/fail lines there, never game shaders, logs or private paths | AMD Radeon RX 7900 GRE (RDNA3, gfx1100), subgroup 32..64 | AMD proprietary 26.11.2 (LLPC), Vulkan 1.4.359, Windows 11 x64 | `5d74c27` | 247/247 translated and valid | run via run_gpu_tests.py | 225/241 passed, 16 skipped | none | [#166](https://github.com/ItsNotRexed/Leonida/issues/166#issuecomment-7115041436) | | Intel Graphics (Meteor Lake, Xe-LPG), subgroup 8..32 | ANV, Mesa 26.2.7, Vulkan 1.4.354, Fedora 45 | `84347bb` | 279/279 translated and valid | 177/219 pass, 40 skipped, 2 failed | 194/248 passed, 52 skipped (native); 226/248 passed, 20 skipped (`LEONIDA_W64_EMULATE=1`) | `cs_imgload_tfe`, `cs_imgload_d16_tfe` (#31; pass with #98) | [local note](../gpu-test-results/IntelMTL.txt) | | Apple M5 Pro (16-core GPU, Metal 4), subgroup 4..32 | MoltenVK 1.4.2 (Homebrew), Vulkan 1.4.357, macOS 26.7.3 (25G342) | `d42773d07` | 280/280 translated and valid | 175/219 pass, 39 skipped, 5 failed | 183/248 passed, 61 skipped, 4 failed (native); 214/248 passed, 30 skipped, 4 failed (`LEONIDA_W64_EMULATE=1`) | `cs_fma_fused` (known row), `cs_imgload_tfe`, `cs_imgload_d16_tfe` (pass with #291), `ps_imgatomic` flake (#543) | [local note](../gpu-test-results/AppleM5Pro.txt) | -| AMD Radeon RX 6600 (RDNA2, Navi 23), subgroup 32..64 | AMD 26.11.2, Vulkan 1.4.315, Windows 11 26300.10075 | `8f05e09e2` | not run | not run | 230/249 passed, 17 skipped, 2 failed (native, 3 of 4 runs, and `LEONIDA_W64_EMULATE=1`); 229/249 passed, 3 failed (first native run) | `cs_imgload_tfe`, `cs_imgload_d16_tfe` (#31), every run; `cs_w32_buffer_store_sub` once in 4 full native runs, 15 of 15 isolated reruns pass | [local note](../gpu-test-results/RX6600.txt) | +| AMD Radeon RX 6600 (RDNA2, Navi 23), subgroup 32..64 | AMD 26.11.2, Vulkan 1.4.315, Windows 11 26300.10075 | `6293c1c4f` | not run | not run | 235/252 passed, 17 skipped (native, 3 runs, and `LEONIDA_W64_EMULATE=1`) | none in `run_gpu_tests.py`; `ctest` 292 passed, 12 skipped, 4 failed: `d3d12_texture_tiles`, `d3d12_execute_indirect_validation`, `d3d12_clear` (#787), `d3d12_mesh` | [local note](../gpu-test-results/RX6600.txt) | ## AMD Radeon RX 9070 GRE — 2026-11-23 diff --git a/gpu-test-results/RX6600.txt b/gpu-test-results/RX6600.txt index f9b4fcdd50..869fd1719c 100644 --- a/gpu-test-results/RX6600.txt +++ b/gpu-test-results/RX6600.txt @@ -3,50 +3,66 @@ Driver: AMD proprietary 26.11.2 (Windows driver 32.0.21045.29003; vulkaninfo "26.11.2 (AMD proprietary shader compiler)"), Vulkan 1.4.315 Subgroup: 32..64 (minSubgroupSize 32, maxSubgroupSize 64; default 64) OS: Windows 11 Pro, 10.0.26300.10075 -Commit: 8f05e09e224656740e8a53f5047e1338d7a52588 (main, 2026-11-24) +Commit: 6293c1c4f88c7ea2088ec595fea51362f1759996 (main, 2026-11-24) Tools: llvm-mc 21.1.8 (built by scripts\build_llvm_mc.ps1, AMDGPU target), SPIRV-Tools v2026.4 (Vulkan SDK 1.4.363.0), CMake 4.2.3-msvc3 + Ninja 1.12.1 (Visual Studio Build Tools 2026), MSVC 19.50.35726.0, Python 3.14.3 -run_gpu_tests.py: 258 shaders: 258 translated, 258 pass spirv-val (every run) - native: 230/249 passed, 17 skipped, 2 failed (3 of 4 full runs); - 229/249 passed, 17 skipped, 3 failed (the first full run) - LEONIDA_W64_EMULATE=1: 230/249 passed, 17 skipped, 2 failed (1 full run) -Failed: cs_imgload_tfe: exit 1, "r32 sint (sint view): 64 bad, texel(5,3) = 2071". - cs_imgload_d16_tfe: the same line. - Both fail in all five full runs, native and emulated, and once more each in an - isolated native run with VK_LOADER_LAYERS_DISABLE=~implicit~, so the implicit - layers listed below are not the cause. Same signature as #31 and as the 780M - record. #291, which proposes the fix, was not applied here. -Intermittent: cs_w32_buffer_store_sub failed in the first full native run and nowhere else. - The runner's detail for it was the program's own line - "device: AMD Radeon RX 6600 (subgroup 32..64)", so no result words followed it; - the exit status of that run was not captured. It passed in the three later full - native runs, in the emulated full run, and in 15 of 15 isolated --filter runs - (5 native, 5 emulated, 5 native with implicit layers disabled), each returning - 287484740 3455022984 883604428 3722304786 16909146 84283956 171 4294954479. - Not reproduced and not explained. +run_gpu_tests.py: 261 shaders: 261 translated, 261 pass spirv-val (every run) + native: 235/252 passed, 17 skipped, 0 failed (3 of 3 full runs) + LEONIDA_W64_EMULATE=1: 235/252 passed, 17 skipped, 0 failed (1 full run) +Failed: none in run_gpu_tests.py. Skipped: 16 skips are the documented "run by d3d12_*_test / w64_graphics.py" cases: cs_buf_counter, cs_buf_typed, cs_m4_fill, cs_m4_indirect, ps_live_width, ps_m15, ps_m2, ps_m2_array, ps_m2_literal, ps_m2_uoff, ps_m3, ps_m3_post, ps_m3_query, vs_m15, vs_m2, vs_m3. ps_w64x_readlane: "this device cannot require a 64-wide fragment subgroup: subgroup 32..64". It skips with LEONIDA_W64_EMULATE=1 too. -Translator suite: python -I scripts/run_semantic_tests.py tests/semantic on the same commit: - 465 files, 6108 tests, 1606 s with 12 jobs. Two files failed, test_sopc_validation - and test_unary_f16_validation, only with "spirv-as / spirv-val not found on PATH": - that run started before the Vulkan SDK was installed. With the SDK's Bin on PATH - both pass (11 and 5 tests). +ctest: ctest --test-dir runtime\build -C RelWithDebInfo on the same build: 309 tests + registered, 292 passed, 12 skipped, 1 disabled (gameinput), 4 failed. The same + four fail in the full run and in three reruns of those four alone: + d3d12_texture_tiles: "row-major alias tile 0 at (0,0): got 0x20000cc, expected + 0xcc020000". The test is claimed in the coordination issue as + D3D-TILES-AMD-BYTE-OFFSET (RX 7900 XT, same driver release). + d3d12_execute_indirect_validation: "49 parity cases (WARP=live, HW=AMD Radeon + RX 6600), positive GPU dispatch ok, 0 validation errors, 5 failures"; each of + the five reads "layer=0 warp=1 hw=1 expected=0". The same five cases are + reported on other Windows 11 26300 machines (#1069). + d3d12_clear: "depth clear with NaN (x,y): layer cleared 1, expected nan" for + all 15 texels. #787, which describes this on AMD and proposes the fix, was + not applied here. + d3d12_mesh: "line 482: mixed.GSInvocations == 0 && mixed.GSPrimitives == 0 && + mixed.HSInvocations == 0 && mixed.DSInvocations == 0 && mixed.CSInvocations + == 0". The line it prints after that is "statistics, mixed: IA 6/2 VS 6 C 2/2 + PS 3328 CS 0; mesh only: C 0/0 PS 1024; vertex only: C 2 PS 2048", so the + non-zero counter is one of the GS, HS or DS ones, which the test does not + print. vulkaninfo reports meshShader = true, meshShaderQueries = false. I + found no report of this failure; the RX 7900 XTX ctest list in #787 does not + have it. Not investigated further. + Skipped: shader_library_corpus, bink_decode, bink_abi, bink_play_headless, + fsr_dispatch, bvh_builder, bink_audio, vk_sync_validation, d3d12_b5g5r5a1_uav, + d3d12_boot_movie, d3d12_first_light, d3d12_conservative_tier3. +Earlier run: at 8f05e09e2, before #892, the same machine gave 258 shaders and 230/249 + passed with cs_imgload_tfe and cs_imgload_d16_tfe failing in all five full runs + ("r32 sint (sint view): 64 bad, texel(5,3) = 2071"); both pass here. In the + first of four full native runs there, cs_w32_buffer_store_sub also failed: the + runner's detail was the program's own "device: ..." line with no result words, + and the exit status was not captured. It passed in the other four full runs at + that commit, in 15 of 15 isolated --filter runs, and in all four full runs at + this commit. Not reproduced and not explained. +Translator suite: python -I scripts/run_semantic_tests.py tests/semantic was run at + 8f05e09e2 only, not at this commit: 465 files, 6108 tests, 1606 s with 12 jobs. + Two files failed, test_sopc_validation and test_unary_f16_validation, only with + "spirv-as / spirv-val not found on PATH": that run started before the Vulkan + SDK was installed. With the SDK's Bin on PATH both pass (11 and 5 tests). Notes: -- Built with scripts\build_runtime.ps1 (CMake + Ninja, RelWithDebInfo, into runtime\build). -- ctest was not run. llvm-mc was not built yet when CMake configured the runtime - (LEONIDA_LLVM_MC-NOTFOUND in the cache), so the d3d12_* tests that need it were not - registered; the 16 "run by d3d12_*_test" cases above were therefore not run by anything - on this machine. -- build.py and check.py (the two D3D12-side columns in the table) were not run; the counts - come from run_gpu_tests.py. -- Implicit Vulkan layers present on this machine and enabled in every run except the - reruns marked otherwise: VK_LAYER_AMD_switchable_graphics, VK_LAYER_OBS_HOOK, - VK_LAYER_ROCKSTAR_GAMES_social_club, VK_LAYER_VALVE_steam_fossilize, - VK_LAYER_VALVE_steam_overlay. +- Built with scripts\build_runtime.ps1 (CMake + Ninja, RelWithDebInfo, into runtime\build), + with LLVM_MC and VULKAN_SDK set, so the d3d12_* tests that need translated shaders are + registered and the 16 "run by d3d12_*_test" cases above were run by ctest; none of the + four failures is one of those tests. +- build.py and check.py (the two D3D12-side columns in the table) were not run on their + own; the counts come from run_gpu_tests.py. +- Implicit Vulkan layers present on this machine and enabled in every run at this commit: + VK_LAYER_AMD_switchable_graphics, VK_LAYER_OBS_HOOK, VK_LAYER_ROCKSTAR_GAMES_social_club, + VK_LAYER_VALVE_steam_fossilize, VK_LAYER_VALVE_steam_overlay. - CPU: AMD Ryzen 5 3600. No game files were used. - AI-assisted (Claude Code).