#
✕ nick:alyssa
#asahi-gpu · 2023-02-28 21:22
alyssaactually let me land some of your stuff now
#asahi-gpu · 2023-02-28 21:22
alyssauh agx/next is massive right now
#asahi-gpu · 2023-02-28 21:22
alyssaand review the MRs that are up and
#asahi-gpu · 2023-02-28 21:20
alyssathank you
#asahi-gpu · 2023-02-28 21:20
alyssaalso can you please open MRs for your code instead of me needing to randomly cherrypick stuff
#asahi-gpu · 2023-02-28 21:19
alyssaHOWEVER they don't seem to happen with ASAHI_MESA_DEBUG=sync
#asahi-gpu · 2023-02-28 21:19
alyssa(i.e. this is blocking)
#asahi-gpu · 2023-02-28 21:19
alyssalina: Worth noting the magenta rectangles also happen sporadically in other apps, but easiest to reproduce with stk
#asahi-gpu · 2023-02-28 05:06
alyssaprobably unrelated but ubsan error
#asahi-gpu · 2023-02-28 05:06
alyssa../src/gallium/drivers/asahi/agx_fence.c:44:8: runtime error: member access within null pointer of type 'struct pipe_fence_handle'
#asahi-gpu · 2023-02-28 05:00
alyssaasan is being uncooperative ;\
#asahi-gpu · 2023-02-28 04:52
alyssaI smell memory corruption memory
#asahi-gpu · 2023-02-28 04:46
alyssa(not a fan of that sync but that's a different issue :P)
#asahi-gpu · 2023-02-28 04:46
alyssathis is notably happening from the sync_all when destroying contexts so idk what else is going weird
#asahi-gpu · 2023-02-28 04:44
alyssadoesn't know what userspace VAs look like anymore
#asahi-gpu · 2023-02-28 04:44
alyssa0xfffeb8875900, 0xaaaace571ff0
#asahi-gpu · 2023-02-28 04:40
alyssathat is not an assertion that should ever be failing
#asahi-gpu · 2023-02-28 04:40
alyssauh
#asahi-gpu · 2023-02-28 04:40
alyssaglretrace: ../src/gallium/drivers/asahi/agx_query.c:178: agx_finish_batch_occlusion_queries: Assertion `query->writer == batch' failed.
#asahi-gpu · 2023-02-28 04:39
alyssa/home/alyssa/mesa/build/src/gallium/targets/dri/apple_dri.so: agx_sync_all+0x85043f: ../src/gallium/drivers/asahi/agx_batch.c:759
#asahi-gpu · 2023-02-28 04:39
alyssa/home/alyssa/mesa/build/src/gallium/targets/dri/apple_dri.so: agx_batch_cleanup+0x84eba3: ../src/gallium/drivers/asahi/agx_batch.c:240
#asahi-gpu · 2023-02-28 04:39
alyssa/home/alyssa/mesa/build/src/gallium/targets/dri/apple_dri.so: agx_finish_batch_occlusion_queries+0x856e83: ../src/gallium/drivers/asahi/agx_query.c:178
#asahi-gpu · 2023-02-28 04:38
alyssathat doesn't sound great
#asahi-gpu · 2023-02-28 04:38
alyssahttps://rosenzweig.io/huh
#asahi-gpu · 2023-02-28 04:12
alyssabumped to 256, let's see how this does
#asahi-gpu · 2023-02-28 04:10
alyssaistg if all of our evil bugs of the past few days have just been mailbox stupidity
#asahi-gpu · 2023-02-28 04:10
alyssamanifesting as a system hang instead of a crash because release build
#asahi-gpu · 2023-02-28 04:09
alyssaI think it's the same mailbox stupidity
#asahi-gpu · 2023-02-28 04:09
alyssaoh wait
#asahi-gpu · 2023-02-28 04:09
alyssamaybe you have better tooling for debugging that sort of thing, idk
#asahi-gpu · 2023-02-28 04:08
alyssa(if we can't sort them out we're blocked on shipping the sync stuff which is not great..)
#asahi-gpu · 2023-02-28 04:07
alyssa(IDK how to trigger the hangs yet, I just know they happen after soaktesting a few hours.....)
#asahi-gpu · 2023-02-28 04:07
alyssahopefully shares a root cause as some of other flakes and hopefully easier to reproduce
#asahi-gpu · 2023-02-28 04:06
alyssathis is a regression since sync
#asahi-gpu · 2023-02-28 04:06
alyssathe gles3 renderer (the default on next)
#asahi-gpu · 2023-02-28 04:06
alyssa(50% of the opening of stk)
#asahi-gpu · 2023-02-28 04:06
alyssalina: I can reproduce magenta rectangles on the loading screen of supertuxkart with the current branch maybe 50% of the time
#asahi-gpu · 2023-02-27 23:48
alyssamarcan: ^_^
#asahi-gpu · 2023-02-27 14:43
alyssamarcan: You heard the lady, get rid of mailbox! Lina and I are counting on you! :-p
#asahi-gpu · 2023-02-26 22:47
alyssayeet
#asahi-gpu · 2023-02-26 22:21
alyssasven: Woo!
#asahi-gpu · 2023-02-26 22:19
alyssawith =sync, it works but with lower perf
#asahi-gpu · 2023-02-26 22:18
alyssaand branch agx/explicit-sync-wsi-re
#asahi-gpu · 2023-02-26 22:17
alyssawith the trace here https://gitlab.freedesktop.org/gfx-ci/tracie/traces-db/-/blob/master/godot/godot-thrive.trace
#asahi-gpu · 2023-02-26 22:17
alyssa$ MESA_GL_VERSION_OVERRIDE=3.3 ASAHI_MESA_DEBUG=deqp DISPLAY=:0 apitrace replay --loop=1000 ~/Downloads/godot-thrive.trace
#asahi-gpu · 2023-02-26 22:17
alyssathis is from running
#asahi-gpu · 2023-02-26 22:17
alyssaThrive: ../src/gallium/drivers/asahi/agx_batch.c:228: agx_batch_print_stats: Assertion `info->status == DRM_ASAHI_STATUS_COMPLETE' failed.
#asahi-gpu · 2023-02-26 22:17
alyssaMESA: warning: [Batch 8] Render (pending): TVB 0/ 0 bytes (0 ovf) | vtx 0.000000 frag 0.000000
#asahi-gpu · 2023-02-26 22:17
alyssathat doesn't sound great
#asahi-gpu · 2023-02-26 22:17
alyssa[ 157.512331] asahi: WorkQueue: Job::submit() out of order (submit_seq 22491 != 22493)

plus ›