mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:00:52 +01:00
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#20
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?
Originally created by @iiiirokuuug-rgb on GitHub (Nov 24, 2026).
Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/725
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).@iiiirokuuug-rgb commented on GitHub (Nov 24, 2026):
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.@pepefroge commented on GitHub (Nov 26, 2026):
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.