You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
drm/asahi g17: multiview query timestamps wrong on main (regression since 11-16, J700) #3243
What happens: on a J700 (G17P), Vulkan multiview query/timestamp CTS cases now fail with Fail (timestamp). They pass on the 7.3.0-41 kernel from 11-16.
Cases:
dEQP-VK.multiview.{renderpass2,dynamic_rendering}.{queries_and_timestamps,non_precise_queries_and_timestamps,non_precise_queries_with_availability_and_timestamps}.{get_query_pool_results,cmd_copy_query_pool_results}.*, plus readback_explicit_clear.no_queries.*. 48 cases in all.
First failure: dEQP-VK.multiview.dynamic_rendering.non_precise_queries_and_timestamps.get_query_pool_results.1_2_4_8.
Measured on the J700, same session, system Mesa 26.3.0-30, cases run one at a time:
7.3.0-41 (11-16): 48/48 Pass.
main 255761f1d55f (+ unrelated security PRs): 42 Fail, 6 Pass. All failures are "Fail (timestamp)".
main 7be48f37 + an unrelated PR: the same failures.
With hard faults enabled: 0 MMU faults, 0 recoveries, 0 WARN/BUG. Nothing is refused; the timestamp values themselves are wrong.
Suspects (G17 timestamp-path merges between 11-16 and now): #2531 (timestamp window), #3139 (publication overlap), #2552 (cross-engine overlap), and c139054181d2.
Culprit: the #2552 merge, f0c5cb1a80eb ("drm/asahi: overlap cross-engine commands with timestamped producers on G17", merged 11-24). It was bisected on the J700 (MacBook Neo, G17P) with one-shot kernels built from the Neo config.
Every boot ran the same 48 cases, one at a time: dEQP-VK.multiview.{renderpass2,dynamic_rendering}.*queries*timestamps*, the matching cmd_copy_query_pool_results cases and readback_explicit_clear.no_queries. The Mesa was the same throughout (stock 26.3.0-30), with soft faults. Every failure is Fail (timestamp).
Likely fix: on G17P (host_producer_waits() false), the new overlap lets a consumer run on the producer's scheduled fence before that producer's host-written timestamps are published. The multiview query/timestamp readback apparently isn't treated as "accessing pending query words". Keeping the host completion wait whenever the consumer reads or writes timestamps or query results, including the multiview per-view query slots, or turning the overlap off on G17P until that's handled, should restore the 48.
Every boot cleared the PMU boot-error count (00). The Neo is back on the stock default, and stock.sh matches the start.
The A/B in #3246 reproduced the same timestamp failures on both J714s and J700, and the change was withdrawn. The multiview regression remains open for a root-cause fix and a rerun of both GPU rows.
I checked the exact-head J700 row and J714s row on #3443. The J700 list covers synchronization, command buffers, render-pass suballocation and occlusion-query copies. The J714s list includes multiview.queries.* and pipeline.monolithic.timestamp.basic_graphics_tests.*. The failing multiview.dynamic_rendering and multiview.renderpass2 query-and-timestamp groups listed here still need a direct run.
For the next GPU batch, please keep the existing J700 and J714s slots and record the exact case lists and result on both boards, with the kernel and Mesa revisions. Include non_precise_queries_and_timestamps.get_query_pool_results.1_2_4_8 and keep the copy-query and explicit-clear controls from the original report. #3246's failed A/B and #2552's first-parent bisect remain the reference points.
Activity
DjDeveloperr commentedon Nov 26, 2026
Culprit: the #2552 merge,
f0c5cb1a80eb("drm/asahi: overlap cross-engine commands with timestamped producers on G17", merged 11-24). It was bisected on the J700 (MacBook Neo, G17P) with one-shot kernels built from the Neo config.Every boot ran the same 48 cases, one at a time:
dEQP-VK.multiview.{renderpass2,dynamic_rendering}.*queries*timestamps*, the matchingcmd_copy_query_pool_resultscases andreadback_explicit_clear.no_queries. The Mesa was the same throughout (stock 26.3.0-30), with soft faults. Every failure isFail (timestamp).255761f+ other PRs, without #3225255761fwith #2531 revertedcb7ea62102a8(11-24), the first parent of the #2552 mergef0c5cb1a80eb, the #2552 mergefault_control 0x0) of the drm/asahi: g17: map validated command and queue records firmware-only #3225 tree also logged 0 MMU faults, so these are wrong timestamp values, not refused accesses. drm/asahi: keep timestamp buffers out of the shared firmware range, charge binds to their client, and bound per-file window share #2531, drm/asahi: g17: avoid publication contagion and host drains on timestamp overlap #3139,c139054, drm/asahi: g17: map validated command and queue records firmware-only #3225 and drm/asahi: g17: bound submit syncs, install repeated timeline outputs once, return closed queues' identities at close #3200 are cleared: ts3 → ts4 is one first-parent step.host_producer_waits()false), the new overlap lets a consumer run on the producer'sscheduledfence before that producer's host-written timestamps are published. The multiview query/timestamp readback apparently isn't treated as "accessing pending query words". Keeping the host completion wait whenever the consumer reads or writes timestamps or query results, including the multiview per-view query slots, or turning the overlap off on G17P until that's handled, should restore the 48.stock.shmatches the start.RyanTheTide commentedon Nov 27, 2026
#3246 is the repair for timestamp publication ordering. Keep this linked through the multiview timestamp suite and a concurrent submit row on G17P.
RyanTheTide commentedon Nov 29, 2026
The A/B in #3246 reproduced the same timestamp failures on both J714s and J700, and the change was withdrawn. The multiview regression remains open for a root-cause fix and a rerun of both GPU rows.
RyanTheTide commentedon Nov 30, 2026
I checked the exact-head J700 row and J714s row on #3443. The J700 list covers synchronization, command buffers, render-pass suballocation and occlusion-query copies. The J714s list includes
multiview.queries.*andpipeline.monolithic.timestamp.basic_graphics_tests.*. The failingmultiview.dynamic_renderingandmultiview.renderpass2query-and-timestamp groups listed here still need a direct run.For the next GPU batch, please keep the existing J700 and J714s slots and record the exact case lists and result on both boards, with the kernel and Mesa revisions. Include
non_precise_queries_and_timestamps.get_query_pool_results.1_2_4_8and keep the copy-query and explicit-clear controls from the original report. #3246's failed A/B and #2552's first-parent bisect remain the reference points.