CI: agc_driver_buffer_format takes 93-108 s on lavapipe since #639 and times out under --parallel 4 #1762

Closed
opened 2026-10-08 18:41:27 +00:00 by alfalfa-star · 3 comments
alfalfa-star commented 2026-10-08 18:41:27 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by alfalfa-star on 2026-10-08T18:41:27Z.


Since #639 merged, agc_driver_buffer_format takes 93–108 s per run on the Linux job's lavapipe, against 0.1–0.8 s before. The job's timeout is 120 s, so with --parallel 4 (#1697) the test now times out on some PRs. #1147 hit it after rebasing onto main 6b56175a.

Linux job timings for each of the three --repeat until-fail:3 runs:

PR head base agc_driver_buffer_format
#1152 be2b6d3e (job) before #639 0.47 s, 0.09 s, 0.09 s
#1077 f402eab0 (job) before #639 0.41 s, 0.07 s, 0.08 s
#1074 a2b049d4 (job) 6b56175a, after #639 107.86 s, 106.07 s, 92.69 s
#1147 6d1cf275 (job) 6b56175a, after #639 timeout at 120 s

Unlike agc_driver_flat_store (#1715), every repeat is slow, not just the cold first run, so it doesn't look like a shader cache warming up. The test prints nothing after Vulkan device ready until it finishes or times out.

On RADV (RX 9070 XT) the same binaries take 0.01 s before #639 and 0.11 s after, so the slowdown also shows on hardware, just at a scale that doesn't matter there. I have no lavapipe locally, so I haven't found which part of the new path takes the time on llvmpipe.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5767099385 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1762). Originally posted by [alfalfa-star](https://github.com/alfalfa-star) on 2026-10-08T18:41:27Z. --- Since #639 merged, `agc_driver_buffer_format` takes 93–108 s per run on the Linux job's lavapipe, against 0.1–0.8 s before. The job's timeout is 120 s, so with `--parallel 4` (#1697) the test now times out on some PRs. #1147 hit it after rebasing onto `main` 6b56175a. Linux job timings for each of the three `--repeat until-fail:3` runs: | PR head | base | `agc_driver_buffer_format` | |---|---|---| | #1152 be2b6d3e ([job](https://github.com/boykopovar/AnyPS5/actions/runs/37812230974/job/113431745343)) | before #639 | 0.47 s, 0.09 s, 0.09 s | | #1077 f402eab0 ([job](https://github.com/boykopovar/AnyPS5/actions/runs/37816866732/job/113447675050)) | before #639 | 0.41 s, 0.07 s, 0.08 s | | #1074 a2b049d4 ([job](https://github.com/boykopovar/AnyPS5/actions/runs/37823543400/job/113470449872)) | 6b56175a, after #639 | 107.86 s, 106.07 s, 92.69 s | | #1147 6d1cf275 ([job](https://github.com/boykopovar/AnyPS5/actions/runs/37823148491/job/113469123563)) | 6b56175a, after #639 | timeout at 120 s | Unlike `agc_driver_flat_store` (#1715), every repeat is slow, not just the cold first run, so it doesn't look like a shader cache warming up. The test prints nothing after `Vulkan device ready` until it finishes or times out. On RADV (RX 9070 XT) the same binaries take 0.01 s before #639 and 0.11 s after, so the slowdown also shows on hardware, just at a scale that doesn't matter there. I have no lavapipe locally, so I haven't found which part of the new path takes the time on llvmpipe.
MarcZX10 commented 2026-10-08 21:51:45 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T21:51:45Z.


Latest upstream main baseline (94b1eecb, Build run 37848560105) passed Linux CTest 492/492. agc_driver_buffer_format passed all three CI repeats under --parallel 4 in 16.03 s, 15.97 s and 16.03 s with ANYPS5_NO_SHADER_CACHE=1. This no longer reproduces the reported 93–108 s runtime on the current main. I have not identified which intervening change altered the timing; please confirm whether the issue persists on this head.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6069740527 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1762#issuecomment-6069740527). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T21:51:45Z. --- Latest upstream `main` baseline (`94b1eecb`, Build run [37848560105](https://github.com/boykopovar/AnyPS5/actions/runs/37848560105)) passed Linux CTest 492/492. `agc_driver_buffer_format` passed all three CI repeats under `--parallel 4` in 16.03 s, 15.97 s and 16.03 s with `ANYPS5_NO_SHADER_CACHE=1`. This no longer reproduces the reported 93–108 s runtime on the current main. I have not identified which intervening change altered the timing; please confirm whether the issue persists on this head.
MarcZX10 commented 2026-10-09 14:27:44 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T14:27:44Z.


Update from current main (d70b8998): the fork Build workflow completed the Linux full CTest run (516/516, --parallel 4), and agc_driver_buffer_format passed in 15.63 s on lavapipe. The workflow also reported agc_driver_flat_store at 82.5 s and agc_driver_global_vcc_base at 56.7 s, so the slow-test reporter is active. This does not reproduce the original 93–108 s buffer_format timing on current main. I would keep the issue open until the reporter confirms whether the original failure is resolved for them.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6082920671 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1762#issuecomment-6082920671). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T14:27:44Z. --- Update from current `main` (`d70b8998`): the fork Build workflow completed the Linux full CTest run (516/516, `--parallel 4`), and `agc_driver_buffer_format` passed in 15.63 s on lavapipe. The workflow also reported `agc_driver_flat_store` at 82.5 s and `agc_driver_global_vcc_base` at 56.7 s, so the slow-test reporter is active. This does not reproduce the original 93–108 s `buffer_format` timing on current main. I would keep the issue open until the reporter confirms whether the original failure is resolved for them.
alfalfa-star commented 2026-10-09 19:58:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by alfalfa-star on 2026-10-09T19:58:37Z.


Confirmed fixed by #1752 (merged 2026-10-08). agc_driver_buffer_format in upstream's main Linux job, per merge:

main merge agc_driver_buffer_format
6b56175a base in the report 110.30 s, 98.33 s, 77.75 s
4ddbf049 #1217 108.38 s, 105.10 s, 92.10 s
55e8959b #1744, first finished run after #1752 11.89 s, 12.21 s, 12.10 s
8b393b6e current 15.28 s

The main runs for #1535 and #1752 themselves were cancelled, so CI alone doesn't separate the two, but #1752's profile is of this test: 72 % of the time went to SPIRV-Tools' FriendlyNameMapper naming the thousands of duplicate constants that #639's specialization leaves behind. #1744 only adds the slow-test report.

Thanks @MarcZX100 for rechecking. Closing.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6088270447 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1762#issuecomment-6088270447). Originally posted by [alfalfa-star](https://github.com/alfalfa-star) on 2026-10-09T19:58:37Z. --- Confirmed fixed by #1752 (merged 2026-10-08). `agc_driver_buffer_format` in upstream's `main` Linux job, per merge: | `main` | merge | `agc_driver_buffer_format` | |---|---|---| | 6b56175a | base in the report | 110.30 s, 98.33 s, 77.75 s | | 4ddbf049 | #1217 | 108.38 s, 105.10 s, 92.10 s | | 55e8959b | #1744, first finished run after #1752 | 11.89 s, 12.21 s, 12.10 s | | 8b393b6e | current | 15.28 s | The `main` runs for #1535 and #1752 themselves were cancelled, so CI alone doesn't separate the two, but #1752's profile is of this test: 72 % of the time went to SPIRV-Tools' `FriendlyNameMapper` naming the thousands of duplicate constants that #639's specialization leaves behind. #1744 only adds the slow-test report. Thanks @MarcZX100 for rechecking. Closing.
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#1762
No description provided.