CI: the Linux job's lavapipe device skips 20 of 147 GPU execution tests and ctest still reports 100% passed #1012

Closed
opened 2026-10-06 23:28:26 +00:00 by Dextroid17 · 3 comments
Dextroid17 commented 2026-10-06 23:28:26 +00:00 (Migrated from github.com)
Contributor

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 returns VulkanTestSkipped (77), ctest marks it Skipped, and the run still ends with:

100% tests passed out of 147

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):

Test #77:  agc_driver_dpp16_inactive_source ........***Skipped
Test #78:  agc_driver_dpp16_operands ...............***Skipped
Test #79:  agc_driver_dpp16_row_share_xmask ........***Skipped
Test #80:  agc_driver_dpp8 .........................***Skipped
Test #82:  agc_driver_ds_append_consume ............***Skipped
Test #83:  agc_driver_ds_permute ...................***Skipped
Test #84:  agc_driver_ds_swizzle ...................***Skipped
Test #123: agc_driver_global_store_addtid ..........***Skipped
Test #137: agc_driver_lds_addtid ...................***Skipped
Test #145: agc_driver_permlane16 ...................***Skipped
Test #146: agc_driver_pixel_helper_lanes ...........***Skipped
Test #147: agc_driver_pixel_lds ....................***Skipped
Test #148: agc_driver_pixel_lds_lane_slots .........***Skipped
Test #149: agc_driver_pixel_valid_mask .............***Skipped
Test #150: agc_driver_read_first_lane ..............***Skipped
Test #151: agc_driver_read_lane ....................***Skipped
Test #153: agc_driver_scalar_bit_count .............***Skipped
Test #200: agc_driver_wave32_subgroup ..............***Skipped
Test #203: agc_driver_wave_uniform .................***Skipped
Test #204: agc_driver_write_lane ...................***Skipped

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 539cbd88 on 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 being nid_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

  • #1028 fails the job on an unexpected skip (an expected skip is a note when the test's own output names the reason), and #1257 fails when a test executable is built that no test runs. Neither changes the summary line below.
  • Still open, and what this issue asks for: the run prints 100% tests passed out of 147 while 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, main 1081602d, with ANYPS5_REQUIRE_VULKAN=1 --repeat until-fail:3: all of the tests the Linux job reports as Skipped pass, and the full suite is 444/445 with 0 skipped. The single failure is agc_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_scan and agc_driver_scalar_bit_count as 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.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5736767445 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1012). Originally posted by [Dextroid17](https://github.com/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 returns `VulkanTestSkipped` (77), ctest marks it `Skipped`, and the run still ends with: ``` 100% tests passed out of 147 ``` 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`): ``` Test #77: agc_driver_dpp16_inactive_source ........***Skipped Test #78: agc_driver_dpp16_operands ...............***Skipped Test #79: agc_driver_dpp16_row_share_xmask ........***Skipped Test #80: agc_driver_dpp8 .........................***Skipped Test #82: agc_driver_ds_append_consume ............***Skipped Test #83: agc_driver_ds_permute ...................***Skipped Test #84: agc_driver_ds_swizzle ...................***Skipped Test #123: agc_driver_global_store_addtid ..........***Skipped Test #137: agc_driver_lds_addtid ...................***Skipped Test #145: agc_driver_permlane16 ...................***Skipped Test #146: agc_driver_pixel_helper_lanes ...........***Skipped Test #147: agc_driver_pixel_lds ....................***Skipped Test #148: agc_driver_pixel_lds_lane_slots .........***Skipped Test #149: agc_driver_pixel_valid_mask .............***Skipped Test #150: agc_driver_read_first_lane ..............***Skipped Test #151: agc_driver_read_lane ....................***Skipped Test #153: agc_driver_scalar_bit_count .............***Skipped Test #200: agc_driver_wave32_subgroup ..............***Skipped Test #203: agc_driver_wave_uniform .................***Skipped Test #204: agc_driver_write_lane ...................***Skipped ``` 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 `539cbd88` on 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 being `nid_patcher_dynamic_strings`, which their NixOS linker causes by adding store paths to the run path ([comment](https://github.com/boykopovar/AnyPS5/issues/1012#issuecomment-6053209182)). 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 - **#1028** fails the job on an unexpected skip (an expected skip is a note when the test's own output names the reason), and **#1257** fails when a test executable is built that no test runs. Neither changes the summary line below. - Still open, and what this issue asks for: the run prints `100% tests passed out of 147` while 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, `main` `1081602d`, with `ANYPS5_REQUIRE_VULKAN=1 --repeat until-fail:3`: **all of the tests the Linux job reports as `Skipped` pass**, and the full suite is **444/445 with 0 skipped**. The single failure is `agc_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_scan` and `agc_driver_scalar_bit_count` as 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.
RedesignedRobot commented 2026-10-08 05:43:04 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by RedesignedRobot on 2026-10-08T05:43:04Z.


I ran the full suite at 539cbd88 on 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 is nid_patcher_dynamic_strings, caused by my NixOS linker adding store paths to the run path.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6053209182 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1012#issuecomment-6053209182). Originally posted by [RedesignedRobot](https://github.com/RedesignedRobot) on 2026-10-08T05:43:04Z. --- I ran the full suite at 539cbd88 on 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 is `nid_patcher_dynamic_strings`, caused by my NixOS linker adding store paths to the run path.
LeandroLP23 commented 2026-10-08 12:29:25 +00:00 (Migrated from github.com)
Author
Contributor

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, main 1081602d, with ANYPS5_REQUIRE_VULKAN=1 --repeat until-fail:3.

The list is the one the Linux job of the current Build workflow reports as Skipped (it now includes agc_driver_gds_append_consume, agc_driver_look_back_scan and agc_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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6059878105 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1012#issuecomment-6059878105). Originally posted by [LeandroLP23](https://github.com/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, `main` 1081602d, with `ANYPS5_REQUIRE_VULKAN=1 --repeat until-fail:3`. The list is the one the Linux job of the current `Build` workflow reports as `Skipped` (it now includes `agc_driver_gds_append_consume`, `agc_driver_look_back_scan` and `agc_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.
fisherjoey commented 2026-10-08 16:37:08 +00:00 (Migrated from github.com)
Author
Contributor

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 -j1 runs on main df16c4c2 and two later heads (166 to 184 tests each), with 0 skipped in every run. The only failures were agc_driver_shader_clock on 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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6064546728 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1012#issuecomment-6064546728). Originally posted by [fisherjoey](https://github.com/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 -j1` runs on `main` df16c4c2 and two later heads (166 to 184 tests each), with 0 skipped in every run. The only failures were `agc_driver_shader_clock` on 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.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#1012
No description provided.