2022-12-08
00:09dorkbutt has joined #asahi-gpu
00:46nate8_ has joined #asahi-gpu
00:53nate8 has quit [Ping timeout: 480 seconds]
00:54Kaz has joined #asahi-gpu
00:56Kaz has quit []
01:48dorkbutt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:49dorkbutt has joined #asahi-gpu
02:01user982492 has quit [Quit: Textual IRC Client: www.textualapp.com]
02:13mental has joined #asahi-gpu
02:14zalyx has quit [Quit: later alligator]
02:15zalyx has joined #asahi-gpu
02:16mental is now known as lugpocalypse
02:16dorkbutt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:17dorkbutt has joined #asahi-gpu
02:18lugpocalypse has quit [Quit: Konversation terminated!]
02:25linajannau: For gnome terminal you need to unset the use system color scheme thing, else the background breaks. I don't know what's up with that...
02:45pjakobsson has joined #asahi-gpu
02:49pjakobsson_ has quit [Ping timeout: 480 seconds]
03:23dorkbutt has quit [Read error: Connection reset by peer]
05:36captainmurphy has joined #asahi-gpu
05:45captainmurphy has left #asahi-gpu [#asahi-gpu]
05:54captainmurphy has joined #asahi-gpu
05:54captainmurphy has left #asahi-gpu [#asahi-gpu]
06:06cr1901_ has joined #asahi-gpu
06:06cr1901 has quit [Read error: Connection reset by peer]
06:15cr1901_ is now known as cr1901
06:32WindowPain_ has joined #asahi-gpu
06:34WindowPain has quit [Ping timeout: 480 seconds]
07:52SSJ_GZ has joined #asahi-gpu
08:01captainmurphy has joined #asahi-gpu
08:02captainmurphy has left #asahi-gpu [#asahi-gpu]
08:13LinuxM2 has joined #asahi-gpu
08:20captainmurphy has joined #asahi-gpu
08:31SSJ_GZ has quit [Ping timeout: 480 seconds]
08:31SSJ_GZ has joined #asahi-gpu
08:50SSJ_GZ has quit [Ping timeout: 480 seconds]
08:56pip[m]1 has joined #asahi-gpu
08:57pip[m]1 has left #asahi-gpu [#asahi-gpu]
09:25SSJ_GZ has joined #asahi-gpu
09:26captainmurphy has left #asahi-gpu [#asahi-gpu]
09:31MajorBiscuit has joined #asahi-gpu
10:14LinuxM1 has joined #asahi-gpu
10:21LinuxM1 has quit [Quit: Leaving]
10:25LinuxM2 has quit [Quit: Leaving]
13:25dordoka has joined #asahi-gpu
13:44dordoka has quit [Quit: Konversation terminated!]
13:45cylm has joined #asahi-gpu
13:47dordoka has joined #asahi-gpu
13:47dordoka has quit []
14:00minecrell8 has quit []
14:00minecrell has joined #asahi-gpu
14:30DarkShadow44 has quit [Quit: ZNC - https://znc.in]
14:30DarkShadow44 has joined #asahi-gpu
15:25mkurz has joined #asahi-gpu
15:26mkurz has quit []
15:26mkurz has joined #asahi-gpu
15:28mkurz has quit [Remote host closed the connection]
15:28mkurz has joined #asahi-gpu
15:50bcrumb has joined #asahi-gpu
16:00bcrumb has quit [Quit: WeeChat 3.7.1]
16:02yuyichao_ has joined #asahi-gpu
16:03bcrumb has joined #asahi-gpu
16:03yuyichao has quit [Read error: Connection reset by peer]
16:05nate8_ has left #asahi-gpu [Leaving]
16:06LinuxM1 has joined #asahi-gpu
16:21WindowPain_ is now known as WindowPain
16:21bcrumb has quit [Quit: WeeChat 3.7.1]
16:23bcrumb has joined #asahi-gpu
16:24bcrumb has quit []
16:29bcrumb has joined #asahi-gpu
16:31bcrumb has quit []
16:36LinuxM1 has quit [Quit: Leaving]
16:42LinuxM1 has joined #asahi-gpu
17:09systwi has quit [Ping timeout: 480 seconds]
17:09systwi has joined #asahi-gpu
17:20WindowPain has quit [Quit: ZNC 1.8.2 - https://znc.in]
17:21WindowPain has joined #asahi-gpu
17:25MajorBiscuit has quit [Ping timeout: 480 seconds]
17:28WindowPain has quit [Quit: ZNC 1.8.2 - https://znc.in]
17:28WindowPain has joined #asahi-gpu
17:31mkurz has quit [Read error: Connection reset by peer]
17:44LinuxM1 has quit [Quit: Leaving]
17:46bcrumb has joined #asahi-gpu
17:46bcrumb has quit []
17:48cylm has quit [Quit: WeeChat 3.6]
17:48mkurz has joined #asahi-gpu
17:54WindowPain has quit [Quit: ZNC 1.8.2 - https://znc.in]
17:54WindowPain has joined #asahi-gpu
17:58cylm has joined #asahi-gpu
18:03WindowPain_ has joined #asahi-gpu
18:06WindowPain_ has left #asahi-gpu [#asahi-gpu]
18:07WindowPain has quit [Ping timeout: 480 seconds]
18:11WindowPain has joined #asahi-gpu
18:15bcrumb has joined #asahi-gpu
18:19WindowPain_ has joined #asahi-gpu
18:20WindowPain has quit [Read error: Connection reset by peer]
18:20WindowPain_ is now known as WindowPain
18:27LinuxM1 has joined #asahi-gpu
18:40bcrumb has quit [Quit: WeeChat 3.7.1]
18:48LinuxM2 has joined #asahi-gpu
18:59LinuxM2 has quit [Quit: Leaving]
19:03mkurz has quit [Read error: Connection reset by peer]
19:07ariel has joined #asahi-gpu
19:07ariel is now known as Guest1386
19:08Guest1386 is now known as facekapow
19:09facekapow has quit []
19:33bcrumb has joined #asahi-gpu
19:34bcrumb has quit []
19:35bcrumb has joined #asahi-gpu
19:35bcrumb has quit []
19:35mkurz has joined #asahi-gpu
19:45erik has joined #asahi-gpu
19:46bcrumb has joined #asahi-gpu
19:46bcrumb has quit []
19:50Venemo_ is now known as Venemo
20:01erik has quit [Remote host closed the connection]
20:44cylm has quit [Quit: WeeChat 3.6]
20:59LinuxM1 has quit [Quit: Leaving]
21:00LinuxM2 has joined #asahi-gpu
21:23c10l has quit [Quit: Bye o/]
21:34c10l has joined #asahi-gpu
21:35LinuxM2 has quit [Remote host closed the connection]
21:36LinuxM2 has joined #asahi-gpu
21:56amw has quit [Ping timeout: 480 seconds]
22:23LinuxM2 has quit [Quit: Leaving]
22:48mkurz has quit [Ping timeout: 480 seconds]
22:55alyssa has joined #asahi-gpu
22:56alyssajannau: https://gitlab.freedesktop.org/asahi/mesa/-/blob/main/src/gallium/drivers/asahi/agx_state.c#L2026
22:59alyssaso that when we ensure there's room each time, there's actually room + enough for a final stream link for the *next* draw
22:59alyssahttps://gitlab.freedesktop.org/asahi/mesa/-/blob/main/src/gallium/drivers/asahi/agx_state.c#L2194
23:00alyssaassert(batch_encoder_current + AGX_VDM_STREAM_LINK_LENGTH <= batch->encoder_end && "...")
23:03alyssait's also possibly the XML for VDM_STREAM_LINK itself is busted though I don't think so, because otherwise we couldn't trace across stream links (and we can)
23:03alyssaassert(batch_encoder_current + AGX_VDM_STREAM_LINK_LENGTH <= batch->encoder_end && "...")
23:04alyssahttps://gitlab.freedesktop.org/asahi/mesa/-/blob/main/src/gallium/drivers/asahi/agx_batch.c#L48
23:04alyssathis indicates that the control stream ("encoder") is allocated as regular memory. so not the 32-bit thing
23:05alyssahttps://gitlab.freedesktop.org/asahi/mesa/-/blob/main/src/gallium/drivers/asahi/agx_state.c#L2037
23:07alyssaand come to think of it I've actually hit this bug twice and not debugged in either case because I thought it was something else
23:08alyssaonce in a patch to shrink the default encoder size, such that instead of allocating 0x80000 we only allocate 64k and then we end up hitting this issue at much smaller draw call counts, once in drawoverhead
23:09SSJ_GZ has quit [Ping timeout: 480 seconds]
23:09alyssaanyway I'm supposed to be on break right now but I was eating dinner and it clicked what was going wrong
23:39thevar1able has quit [Remote host closed the connection]
23:40thevar1able has joined #asahi-gpu
23:52thevar1able has quit [Remote host closed the connection]
23:52thevar1able has joined #asahi-gpu
23:53thevar1able has quit [Remote host closed the connection]
23:53thevar1able has joined #asahi-gpu
23:54thevar1able has quit [Remote host closed the connection]
23:54thevar1able has joined #asahi-gpu