GPU test: Intel Arc A770 (Alchemist) - 180/248 pass, 66 skip, 2 fail (the tfe pair in #31); retail exe maps with 0 unimplemented #725
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 ubiquitarianism/leonida. Originally posted by iiiirokuuug-rgb on 2026-11-24T12:58:35Z.
What happens
The GPU suite on this GPU: 180 passed, 66 skipped, 2 failed (
scripts/run_gpu_tests.py, 248 programs, 257 shaders translated, 256 passspirv-val). Both failures are the MIMGtfepair already tracked in #31; everything else passes or skips for a device limit.The retail executable also maps and runs here with zero unimplemented imports, and with the command-list IID patch from #523 it reaches resource creation (13 -> 1,639 D3D12 calls) before stopping at a bounds assert. Reported on #523 rather than duplicated here.
Commit
21625bc(main,ubiquitarianism/leonida), MSVC 2022RelWithDebInfo, CMake + Ninja.System
Windows 11 Pro build 26200, Intel Arc A770 (Alchemist, 16 GB), Intel Windows driver 32.0.101.9033 (24.09.2026), Vulkan device 1.4.356, Xeon E5-2678 v3, 24 GB.
Present:
VK_EXT_mesh_shader(maxOutputVertices 1024),VK_KHR_cooperative_matrix,VK_EXT_subgroup_size_control, upload heaps in VRAM via Resizable BAR, tiled resources tier 4.Absent:
VK_KHR_fragment_shader_barycentric,VK_EXT_shader_object,VK_KHR_maintenance8,shaderFloat64.Where
GPU tests (
run_gpu_tests.py) and--dry-run/--runof the retail executable.Command and steps
Output
Skips, by class: no 64-wide compute subgroup (the largest group — this device is 8..32), covered by a composite
d3d12_*test, noVK_KHR_fragment_shader_barycentric(barycentrics andps_uniform_branch), noVK_KHR_maintenance8(non-constant texelOffset), noshaderFloat64, and the subgroup-size cases that need a 32-wide fragment subgroup this device cannot require.Failures, both in #31:
Also measured on this GPU, earlier commits of the predecessor repo
Same hardware, driver and API version, so a record rather than new work:
0xC0000005) creating oneCS_RaytracingResolvecompute pipeline. The module alone compiles cleanly (326 s, ~4.5 GB peak) and does not fault, so it does not reproduce alone; a second A770 on driver 32.0.101.9175 measured 449 s for the same module with the same clean result. IndividualMSNC_VS_PedTransformSkinD_*mesh shaders take 60-250 s each to compile under wave64 emulation.valu_fuzzandlds_fuzz(default 50 programs, seed 1, both waves,--emulate):mem100/100,f16100/100,lds100/100, and both again with--pc-tail-ubo(the 128-byte push-constant contract) 100/100 each. No mismatch, native or emulated.ctest: 120 of 122 pass;d3d12_vulkan_deviceandd3d12_buffer_tilesfail. The first diverges only on formats the Intel Vulkan driver cannot create while the vendor D3D12 driver accepts them (195FORMAT_INFOqueries and 94FORMAT_SUPPORTcomparisons match, copies 0 of 75 differ, resolves 60 of 60); the second matches its own replay but not native D3D12 tile contents on Arc (tiled resources tier 4).--checkexits 1 only because the coverage fell outside its 0.5-0.99 band for that model).Imported from ubiquitarianism/leonida. Originally posted by iiiirokuuug-rgb on 2026-11-24T17:32:09Z.
Update after #892 (SHADER-1266, merged in
3295055): the two failures this record lists are gone on this GPU.They failed with
64 bad, texel(5,3) = 2071on21625bc; the fix corrected the fixtures to check preservation of the pre-seeded status VGPR instead of expecting 0, so the count is now 182 passed / 66 skipped / 0 failed on the Intel Arc A770 at3295055.Everything else in the record stands: the retail executable maps with 0 unimplemented imports here, and the earlier numbers (pipeline creation,
valu_fuzz/lds_fuzz,ctest, First Light) were measured on the predecessor commits.Imported from ubiquitarianism/leonida. Originally posted by pepefroge on 2026-11-26T15:42:12Z.
Hardware Test Report: Intel Arc Pro B60 (Battlemage / Xe2,
0xe211) — Windows 11, Driver32.0.101.9150Adding the first Battlemage (Xe2) test numbers alongside the Arc A770 Alchemist record above. Battlemage closes the major Vulkan extension gaps that caused 66 skips on Alchemist (
VK_KHR_fragment_shader_barycentric,VK_KHR_maintenance8, andshaderSignedZeroInfNanPreserveFloat32are all supported), leaving 0 numeric driver divergences across all executed shader tests, while reproducing and isolating the exact C++ root causes of the Intel Arc sparse/tile residency failures.System & Vulkan Profile
0xe211, Battlemage / BMG-G21, 24 GiB VRAM)32.0.101.9150(1663934), Vulkan1.4.359(4211047)subgroupSize16..32(supported sizes32, 64, 128),VK_KHR_shader_subgroup_rotate&VK_KHR_shader_maximal_reconvergencepresentVkPhysicalDeviceFeatures):sparseBinding = truesparseResidencyBuffer = truesparseResidencyImage2D = truesparseResidencyImage3D = truesparseResidencyAliased = true1. Standalone GPU Shader Suite (
scripts/run_gpu_tests.pywithLEONIDA_W64_EMULATE=1)ps_vcmpx_forms): Expected capability guard (subgroupSize 16..32).cs_w64x_partial_swizzle— hand-written fixture gap, not an Intel driver bug):tests/semantic/fixtures/disasm/cs_w64x_partial_swizzle.s:12(s_cbranch_execz 9) is missing a; encoding:comment. When running with--assembler python,tools/rdna2spirv.pyrequiresencon branch instructions to compute relative target offsets, raisingUnsupported("branch without encoding")before emitting.spv.2. D3D12→Vulkan Proxy Tests (
4/6 passed,2/6 failed— Root Cause Isolated)d3d12_vulkan_device_test,descriptor_table_test,d3d12_xdxr_rt_test(BLAS/TLASbuilds), andd3d12_shader_path_test.sparseResidency*feature bits aretrueon this driver:d3d12_buffer_tiles_test(ID3D12CommandQueue::UpdateTileMappings: invalid mapping or sparse residency unavailable):runtime/shims/d3d12_vulkan_device.cpp:13890–13897,9636,8106): The device probessparse_buffer_memory_typesvia a sample sparseVkBuffer(tile_size_in_bytes). On Intel's Windows Vulkan driver, thememoryTypeBitsreturned for a 64 KiB sparse buffer do not overlap the default tile arena's memory type (or fail the alignment check), leavingsparse_buffer_memory_types/tiles_share_arena()empty and causingHeap::tiles(line 9636) to returnnull->E_NOTIMPLinUpdateTileMappings(line 8106).sparse_buffer_memory_typesdirectly when creating sparse buffer heaps (instead of requiring overlap with the non-sparse default arena type), or fall back to a dense backing buffer whenmemoryTypeBitscannot share the arena.d3d12_texture_tiles_test(alias tile 0 at (0,0): got 0x1cc0200, expected 0xcc020000):runtime/src/vulkan_backend.h:4167):VulkanQueue::bind_tileshardcodesconstexpr auto shape = element_tile_shape(false, 4);(assuming a 4-byte element / 128×128 tile geometry) regardless of the actual image format's element byte width orVkSparseImageFormatPropertiesgranularity, causing an exact 1-byte (8-bit) left-shift (0x01CC0200 << 8 == 0xCC020000) on aliased tile(0,0).Hardware tests executed directly on Intel Arc Pro B60 (
32.0.101.9150); C++ source trace assisted locally via Hermes + Qwen 3.8 27B.Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-28T20:59:55Z.
Follow-up on the saved-listing failure on current
main1bc055e6c, CachyOS 7.3.6-3, RTX 4070 SUPER, NVIDIA 620.73.04 (Vulkan subgroup 32–32).Only
cs_w64x_partial_swizzle.schanged. LLVM 23.1.5 regenerated its encodings from the existing synthetic assembly. All 105 translated modules passedspirv-valwith the replacement, and the other SPIR-V modules were byte-identical. The native skip reflects the GPU's subgroup width. The CPU regression also fails on the old listing withbranch without encodingand checks all eight output words with the replacement, without needing LLVM at test time.The tested fix branch is at
c1bd06dcb, with claim TEST-W64-SWIZZLE-LISTING. The PR waits for the repository's contributor slot. No game files were used. AI-assisted with Codex.Imported from ubiquitarianism/leonida. Originally posted by DIGITALWORLD-PL on 2026-11-30T21:06:37Z.
Independent RTX 5090 verification for TEST-W64-SWIZZLE-LISTING
I reproduced the missing branch encoding with the saved listing on
1bc055e6c2and verified your fix onc1bd06dcb572e9c8c0ffc63f8600584c18701510. The two clean worktrees used
the same native tools built from your commit.
On the parent, the new saved-listing CPU test raised "branch without
encoding". The filtered GPU suite reported 0 passed, 1 failed, 0 skipped.
Translation stopped before dispatch. On your commit, all four tests in
test_w64x_partial_swizzle.py passed, including test_saved_gpu_listing.
For cs_w64x_partial_swizzle the GPU suite reported 1 passed, 0 failed,
0 skipped. The module passed spirv-val for Vulkan 1.2. The harness
confirmed compute subgroup size 32 and the runner matched the eight
expected words, 508 523 0 0 528 0 531 0.
Windows 10.0.26300, GeForce RTX 5090, driver 621.01, Python 3.12.13,
SPIRV-Tools v2026.4. Used LEONIDA_VK_DEVICE="NVIDIA GeForce RTX 5090",
LEONIDA_W64_EMULATE=1, VKC_SUBGROUP_SIZE=32 and the checked-in fixture.
AI-assisted testing with OpenAI Codex. GPT-6.2 Sol ran the original RTX
comparison. GPT-6.2 Astra ran the baseline and CPU verification, repeated
the GPU test and checked the evidence. All fixtures were synthetic.
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T17:06:07Z.
Closing this issue because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (
d3d12/) available now. Thank you for the report/contribution! If you believe this issue was closed by mistake (for example, if it still applies to active tools,d3d12/, or general docs), please feel free to reopen it.