#
✕ nick:alyssa
#asahi-gpu · 2023-02-26 22:17
alyssalina: [ 157.505449] apple-mailbox 206408000.mbox: Try increasing MBOX_TX_QUEUE_LEN
#asahi-gpu · 2023-02-26 18:04
alyssagetting a lot of random pink rectangles.
#asahi-gpu · 2023-02-26 18:03
alyssafew more fps on stk
#asahi-gpu · 2023-02-26 17:57
alyssahopefully the same root cause as your weird hangs
#asahi-gpu · 2023-02-26 17:56
alyssayeah i'm going to say this isn't quite ready yet :)
#asahi-gpu · 2023-02-26 17:56
alyssaor hanging the system
#asahi-gpu · 2023-02-26 17:56
alyssaooh and now t-rex is faulting that's neat
#asahi-gpu · 2023-02-26 17:54
alyssafixing MAX_BATCHES brings mh up to 125fps
#asahi-gpu · 2023-02-26 17:51
alyssathat only interaction still makes me confused tbh
#asahi-gpu · 2023-02-26 17:51
alyssabtw the flush in agx_fence_create is redundant with the one in its only caller
#asahi-gpu · 2023-02-26 17:47
alyssaworth another few fps on stk
#asahi-gpu · 2023-02-26 17:45
alyssaso that's definitely better
#asahi-gpu · 2023-02-26 17:45
alyssamh 85fps
#asahi-gpu · 2023-02-26 17:44
alyssatrex 225fps now
#asahi-gpu · 2023-02-26 17:43
alyssaonly happening in gnome maybe
#asahi-gpu · 2023-02-26 17:42
alyssanothing in dmesg at the time of the hang, bizarre
#asahi-gpu · 2023-02-26 17:41
alyssano faults so what's up. an OOM maybe? idk
#asahi-gpu · 2023-02-26 17:41
alyssawhat the heck
#asahi-gpu · 2023-02-26 17:40
alyssa2 steps fwd 1 step back
#asahi-gpu · 2023-02-26 17:40
alyssabut yknow
#asahi-gpu · 2023-02-26 17:39
alyssaso gonna say something regressed
#asahi-gpu · 2023-02-26 17:39
alyssaand glmark hangs my system now
#asahi-gpu · 2023-02-26 17:17
alyssaand I'm still not convinced there's not a register or two we're not yet exposing in the uapi so I was going to leave it to you to work through the deqps when you had some time
#asahi-gpu · 2023-02-26 17:17
alyssaafaict there are a lot of multisampling issues
#asahi-gpu · 2023-02-26 17:17
alyssalina: Sounds like good progress :)
#asahi-gpu · 2023-02-26 02:28
alyssaI see DMA_BUF_IOCTL_EXPORT_SYNC_FILE and DMA_BUF_IOCTL_IMPORT_SYNC_FILE in there for their gallium driver
#asahi-gpu · 2023-02-26 02:27
alyssalina: Good news for you: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20418.patch
#asahi-gpu · 2023-02-26 02:27
alyssaand also are not a driver yet
#asahi-gpu · 2023-02-26 02:27
alyssaand they're not bothering with gl
#asahi-gpu · 2023-02-26 02:27
alyssaso it's just us and powervr
#asahi-gpu · 2023-02-26 02:26
alyssaso any driver older than that necessarily has an implicit sync path for WSI
#asahi-gpu · 2023-02-26 02:26
alyssaand those landed this year
#asahi-gpu · 2023-02-26 02:26
alyssaIt wasn't been possible to have a pure explicit sync Linux (not Android) driver before the ioctls
#asahi-gpu · 2023-02-26 02:25
alyssaI mean
#asahi-gpu · 2023-02-26 02:25
alyssaNo, I don't think they do
#asahi-gpu · 2023-02-26 02:25
alyssathat's kinda neat :p
#asahi-gpu · 2023-02-26 02:25
alyssaWe might be the first 100% explicit sync gallium driver
#asahi-gpu · 2023-02-26 02:24
alyssaYeah, that's what I expected
#asahi-gpu · 2023-02-26 02:22
alyssahahahaha :(
#asahi-gpu · 2023-02-26 02:21
alyssaand the firefox wonkiness suggests that not all is right in oz
#asahi-gpu · 2023-02-26 02:20
alyssaI am worried about the WSI story
#asahi-gpu · 2023-02-26 02:20
alyssaI'm not worried about optimizing those barriers(yet)
#asahi-gpu · 2023-02-26 02:20
alyssaright.. ok
#asahi-gpu · 2023-02-26 01:59
alyssafreedreno is probably closest to what we want, but
#asahi-gpu · 2023-02-26 01:59
alyssaand every driver I look at does something different and the docs are pretty vague
#asahi-gpu · 2023-02-26 01:59
alyssahonestly I don't understand how any of agx_flush/agx_fence_create work
#asahi-gpu · 2023-02-26 01:54
alyssaIt's submitted in the proper order but I don't see any fence/barrier between the two batches (i.e. in agx_flush_writer for batches that are submitted and not active)
#asahi-gpu · 2023-02-26 01:53
alyssaIs there a possibility that the second batch reads the wrong contents of A?
#asahi-gpu · 2023-02-26 01:53
alyssabefore that batch is completed, there is a second batch that reads resource A that gets flushed
#asahi-gpu · 2023-02-26 01:52
alyssalina: Potential race, what happens if we flush (but do not sync) a batch writing resource A?

plus ›