CI: the Linux job's lavapipe device skips 20 of 147 GPU execution tests and ctest still reports 100% passed #1012
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 boykopovar/AnyPS5. Originally posted by Dextroid17 on 2026-10-06T23:28:26Z.
The Linux job's only Vulkan device is lavapipe (
libvulkan1 mesa-vulkan-drivers), which reports subgroup size 8. Every execution test that needs a wave32/wave64 subgroup returnsVulkanTestSkipped(77), ctest marks itSkipped, and the run still ends with:So the skip is invisible in the summary. On this box, running the
agc_driver_*set under the CI environment (VK_ICD_FILENAMES→ lavapipe,ANYPS5_REQUIRE_VULKAN=1,GALLIUM_OVERRIDE_CPU_CAPS=avx):20 of 147 — the DPP,
ds_permute/ds_swizzle, lane and wave32-subgroup families, i.e. exactly the paths where the host subgroup size matters. The skips are correct for the device; the problem is that nothing reports them, so a regression in those paths cannot fail CI and the "100% passed" line reads as full coverage.On a subgroup-32 device (RTX 3080 Ti) the same 147 all run.
If it would help, I can send a CI step that asserts the skip set — e.g. fail when the number of
(Skipped)entries is not the expected 20, or at least print the count next to the summary. That keeps the existing behaviour (a device without the capability still skips) while making a change in coverage visible. Happy to be told it is known and intended instead.Independent evidence (Linux, NVIDIA, proprietary driver)
@RedesignedRobot ran the full suite at
539cbd88on an RTX 4060 and a GTX 1080 (Linux, NVIDIA 580.178) with the CI flags (ANYPS5_REQUIRE_VULKAN=1,--repeat until-fail:3): all 22 tests that lavapipe skips pass on both GPUs — 405 of 406 overall, the one failure beingnid_patcher_dynamic_strings, which their NixOS linker causes by adding store paths to the run path (comment).That is the other half of the measurement: the DPP,
ds_permute/ds_swizzle, lane and wave32-subgroup families all execute correctly on a subgroup-32 NVIDIA device, so what the Linux job loses to the 8-lane lavapipe is coverage, not correctness — and nothing in the run says so.Status
100% tests passed out of 147while 20 execution tests skip, so coverage can shrink with no line in the log that reports it. A skip count next to the summary — or a step asserting the expected set — would make a device or capability change visible in the same place the summary is read.Third platform: AMD on Windows
@LeandroLP23 ran the same set on a Radeon 860M (RDNA 3.5), Windows 11, driver 32.0.13058.8001, MinGW-w64 GCC 15.2.0, Release,
main1081602d, withANYPS5_REQUIRE_VULKAN=1 --repeat until-fail:3: all of the tests the Linux job reports asSkippedpass, and the full suite is 444/445 with 0 skipped. The single failure isagc_driver_vopc_compare_table, an AMD driver bug tracked in #825 with a workaround in #1473.He also reports the list has grown: the Linux job now also reports
agc_driver_gds_append_consume,agc_driver_look_back_scanandagc_driver_scalar_bit_countas skipped, so it is 23 rather than the 20 listed above.Three devices now agree on the same conclusion — NVIDIA on Linux (RTX 4060 and GTX 1080), and AMD on Windows. What the Linux job loses to the 8-lane lavapipe is coverage, not correctness, and nothing in the run says so.
Imported from boykopovar/AnyPS5. Originally posted by RedesignedRobot on 2026-10-08T05:43:04Z.
I ran the full suite at
539cbd88on an RTX 4060 and a GTX 1080 (Linux, NVIDIA 580.178) with the CI flags (ANYPS5_REQUIRE_VULKAN=1,--repeat until-fail:3). All 22 tests that lavapipe skips pass on both GPUs. 405 of 406 overall; the one failure isnid_patcher_dynamic_strings, caused by my NixOS linker adding store paths to the run path.Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-08T12:29:25Z.
The same 22 tests on AMD: all pass on a Radeon 860M (RDNA 3.5, Windows driver 32.0.13058.8001), Windows 11, MinGW-w64 GCC 15.2.0, Release,
main1081602d, withANYPS5_REQUIRE_VULKAN=1 --repeat until-fail:3.The list is the one the Linux job of the current
Buildworkflow reports asSkipped(it now includesagc_driver_gds_append_consume,agc_driver_look_back_scanandagc_driver_scalar_bit_count).Full suite on the same machine: 444/445, 0 skipped. The failure is
agc_driver_vopc_compare_table, an AMD driver bug tracked in #825 with a workaround in #1473.Imported from boykopovar/AnyPS5. Originally posted by fisherjoey on 2026-10-08T16:37:08Z.
Linux AMD, to complete the set. RADV on a Ryzen 5 7600X iGPU (RAPHAEL_MENDOCINO, gfx1036, RDNA2), Mesa 26.2.1, Nobara 44, GCC 16.2.1, Release: 17
ctest -R agc_driver -j1runs onmaindf16c4c2and two later heads (166 to 184 tests each), with 0 skipped in every run. The only failures wereagc_driver_shader_clockon 2 runs (#985, fixed by #1383) and #1268's own new test. So the lane, DPP and wave32-subgroup families also run and pass on Mesa's AMD driver.