2023-03-06
00:16aratuk has quit []
00:22jhan has quit [Ping timeout: 480 seconds]
00:30jhan has joined #asahi-gpu
00:49jhan has quit [Ping timeout: 480 seconds]
00:59jhan has joined #asahi-gpu
01:07jhan has quit [Ping timeout: 480 seconds]
01:10jhan has joined #asahi-gpu
01:12user982492 has joined #asahi-gpu
01:48jhan has quit [Remote host closed the connection]
02:38Hibyehello has quit [Ping timeout: 480 seconds]
03:03jhan has joined #asahi-gpu
03:19Hibyehello has joined #asahi-gpu
03:25Hibyehello_ has joined #asahi-gpu
03:27Hibyehello has quit [Ping timeout: 480 seconds]
03:30kesslerd has quit [Remote host closed the connection]
03:42Hibyehello_ has quit [Ping timeout: 480 seconds]
03:52Hibyehello has joined #asahi-gpu
04:00Hibyehello has quit [Ping timeout: 480 seconds]
04:15jhan has quit [Remote host closed the connection]
04:25jhan_ has joined #asahi-gpu
04:27jhan has joined #asahi-gpu
04:27jhan_ has quit [Read error: Connection reset by peer]
04:27jhan has quit [Read error: Connection reset by peer]
04:30Hibyehello has joined #asahi-gpu
04:32DarkShadow44 has quit [Quit: ZNC - https://znc.in]
04:32DarkShadow44 has joined #asahi-gpu
04:42Hibyehello has quit [Ping timeout: 480 seconds]
04:47possiblemeatball has quit [Quit: Quit]
05:05jhan has joined #asahi-gpu
05:33Hibyehello has joined #asahi-gpu
05:42user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:53Hibyehello has quit [Ping timeout: 480 seconds]
06:39Hibyehello has joined #asahi-gpu
07:00Hibyehello has quit [Ping timeout: 480 seconds]
07:12JTL has quit [Remote host closed the connection]
07:13JTL has joined #asahi-gpu
07:19JTL has quit [Remote host closed the connection]
07:20JTL has joined #asahi-gpu
07:25jhan has quit [Remote host closed the connection]
07:27jhan has joined #asahi-gpu
07:35jhan has quit [Ping timeout: 480 seconds]
07:50bisko has joined #asahi-gpu
07:50Hibyehello has joined #asahi-gpu
08:13linaalyssa: I can't reproduce your splat but I think I know what happened. I thought there would be something in drm_sched to wait for in-progress jobs when a scheduler/entity gets destroyed, but it doesn't look like it... so you probably had a GPU job submitted, then the userspace process aborted, then the kernel freed all the scheduler stuff and when the GPU job completed it crashed because the scheduler
08:14linaTo make things even more confusing, the job completion isn't via a job reference, it's via a fence...
08:15linaI've added a reference from the job to the scheduler and I think that will fix it... since the job should never get destroyed until the scheduler cleans it up from its main loop, which can only happen when the fence gets signaled or fails, so that should mean the scheduler always outlives the job outlives the fence...
08:15linaThis ownership/lifetime stuff is so subtle and completely undocumented in C APIs, it's such a mess T_T
08:17linaI'll look at the piglit stuff next though I'm less worried about that since I think we've always had corner case GPU crash bugs (as much as I've tried to eliminate them...)
08:21pjakobsson has joined #asahi-gpu
08:24linaOkay, reproduced the sched thing with something deliberate (8Kx8K glmarks getting killed in a loop) ^^
08:46linaOkay, I fixed the splat but I have another issue... I'm leaking slots somewhere with this workload, it runs out
09:01linaWhy do I get the feeling this is drm_sched again... something like killing the entity stops jobs from being run, but doesn't cancel/free pending jobs...
09:03linaOhhh wait, I think I'm never calling the entity cleanup function. Okay, that one's on me then...
09:11jhan has joined #asahi-gpu
09:24linaAh, this could be a bad firmware interaction... I do know I invalidate context before waiting for jobs to complete, which is probably a bad idea. Maybe that just kills things and leaves the jobs dangling, never to complete.
09:25jhan has quit [Ping timeout: 480 seconds]
09:34DarkShadow44 has quit [Quit: ZNC - https://znc.in]
09:35DarkShadow44 has joined #asahi-gpu
09:39stickytoffee has quit [Quit: brb]
09:39DarkShadow44 has joined #asahi-gpu
09:55linaThat could just be the context issue I mentioned though... but first I want to find out why I'm leaking jobs...
10:01stickytoffee has joined #asahi-gpu
10:03linaThis is weeeird... the job cleanup callback gets called but the job doesn't get dropped sometimes?
10:07nyilas has joined #asahi-gpu
10:14linaOkay, I can't put a reference to the scheduler in the job, because if it is the last reference dropping the scheduler from the job cleanup callback deadlocks ;;
10:35linaNo, but that only cleans up completed jobs and detaches the callbacks, it doesn't actually free pending jobs because it assumes you want to restart the queue later...
10:38linaI think I need to modify the C side for this, this is just broken, I have no idea how to safely wrap this API without duplicating job tracking...
11:03jhan has joined #asahi-gpu
11:12jhan has quit [Ping timeout: 480 seconds]
11:26DarkShadow44 has quit [Quit: ZNC - https://znc.in]
11:26DarkShadow44 has joined #asahi-gpu
11:41jhan has joined #asahi-gpu
11:49jhan has quit [Ping timeout: 480 seconds]
11:52jhan has joined #asahi-gpu
11:55lina[ 83.025087] asahi 206400000.gpu: Allocator: Corruption after object of type asahi::fw::fragment::RunFragmentG13V12_3 at 0xffffffa00009be00:0x928 + 0x0..0x5
11:55MajorBiscuit has joined #asahi-gpu
12:01jhan has quit [Ping timeout: 480 seconds]
12:03kode54 has quit [Quit: Ping timeout (120 seconds)]
12:03kode54 has joined #asahi-gpu
12:06hightower2 has joined #asahi-gpu
12:22lina*Wild guess* those fields might have something to do with preemption, that sounds like the kind of thing piglit would end up triggering...
12:40jhan has joined #asahi-gpu
12:41possiblemeatball has joined #asahi-gpu
12:43linaalyssa: Also this is now rebased on 6.2 with DCP changes, so you might need a m1n1 update too (I did)
12:51jhan has quit [Ping timeout: 480 seconds]
12:57jhan has joined #asahi-gpu
13:01kujeger has quit [Quit: ZNC 1.8.2 - https://znc.in]
13:01kujeger has joined #asahi-gpu
13:04kujeger has quit []
13:04kujeger has joined #asahi-gpu
13:07benoyelq has joined #asahi-gpu
13:12jhan has quit [Ping timeout: 480 seconds]
13:17benoyelq has quit []
13:44jhan has joined #asahi-gpu
13:44hightower2 has quit [Remote host closed the connection]
13:49le0n has quit [Ping timeout: 480 seconds]
13:49bluetail9 has quit [Ping timeout: 480 seconds]
13:56le0n has joined #asahi-gpu
14:09ChaosPrincess has quit [Quit: WeeChat 3.8]
14:10ChaosPrincess has joined #asahi-gpu
14:41bluetail9 has joined #asahi-gpu
14:53possiblemeatball has quit [Remote host closed the connection]
15:07jhan has quit [Remote host closed the connection]
15:21jhan has joined #asahi-gpu
15:23jhan has quit [Remote host closed the connection]
15:39hightower2 has joined #asahi-gpu
15:48jhan has joined #asahi-gpu
15:56jhan has quit [Ping timeout: 480 seconds]
16:26jhan has joined #asahi-gpu
16:29jhan has quit []
16:40kesslerd has joined #asahi-gpu
16:42bluetail9 has quit [Ping timeout: 480 seconds]
16:48MajorBiscuit has quit [Ping timeout: 480 seconds]
17:01bluetail9 has joined #asahi-gpu
19:35TheLink7 has joined #asahi-gpu
19:36VinDuv_ has joined #asahi-gpu
19:36thevar1able_ has joined #asahi-gpu
19:36m42uko_ has joined #asahi-gpu
19:36snuck has joined #asahi-gpu
19:36m5zs7k_ has joined #asahi-gpu
19:37Misthios1 has joined #asahi-gpu
19:37merry_ has joined #asahi-gpu
19:37TellowKrinkle_ has joined #asahi-gpu
19:37grange_c68 has joined #asahi-gpu
19:37karolherbst_ has joined #asahi-gpu
19:37Mary6 has joined #asahi-gpu
19:37jnn has joined #asahi-gpu
19:37pbsds3 has joined #asahi-gpu
19:37antonio__ has joined #asahi-gpu
19:37V_ has joined #asahi-gpu
19:37lawrence6 has joined #asahi-gpu
19:37minecrell4 has joined #asahi-gpu
19:38akemin-dayo has joined #asahi-gpu
19:38vup2 has joined #asahi-gpu
19:38Yamakaja has joined #asahi-gpu
19:38merry has quit [Ping timeout: 480 seconds]
19:38TellowKrinkle has quit [Ping timeout: 480 seconds]
19:38ah- has quit [Remote host closed the connection]
19:38karolherbst has quit [Read error: Connection reset by peer]
19:38ah-_ has joined #asahi-gpu
19:38JoshuaAs- has joined #asahi-gpu
19:38stipa_ has joined #asahi-gpu
19:38kit_ty_kate2 has joined #asahi-gpu
19:39ChaosPrincess has quit [Remote host closed the connection]
19:39sneak has quit [Write error: connection closed]
19:39ligma_toad has quit [Read error: Connection reset by peer]
19:39ChaosPrincess has joined #asahi-gpu
19:39mairacanal0 has joined #asahi-gpu
19:39JoshuaAshton has quit [Read error: Connection reset by peer]
19:39grange_c6 has quit [Read error: Connection reset by peer]
19:39m42uko has quit [Write error: connection closed]
19:39grange_c68 is now known as grange_c6
19:39ligma_toad has joined #asahi-gpu
19:39thevar1able has quit [Ping timeout: 480 seconds]
19:39kit_ty_kate1 has quit [Read error: Connection reset by peer]
19:39kit_ty_kate2 has quit [reticulum.oftc.net helix.oftc.net]
19:39nyilas has quit [reticulum.oftc.net helix.oftc.net]
19:39bisko has quit [reticulum.oftc.net helix.oftc.net]
19:39stipa_ has quit [reticulum.oftc.net helix.oftc.net]
19:39Misthios has quit [reticulum.oftc.net helix.oftc.net]
19:39Mary has quit [reticulum.oftc.net helix.oftc.net]
19:39Yamakaja_ has quit [reticulum.oftc.net helix.oftc.net]
19:39TheLink has quit [reticulum.oftc.net helix.oftc.net]
19:39mairacanal has quit [reticulum.oftc.net helix.oftc.net]
19:39V has quit [reticulum.oftc.net helix.oftc.net]
19:39m5zs7k has quit [reticulum.oftc.net helix.oftc.net]
19:39pbsds has quit [reticulum.oftc.net helix.oftc.net]
19:39stipa has quit [reticulum.oftc.net helix.oftc.net]
19:39akemin_dayo has quit [reticulum.oftc.net helix.oftc.net]
19:39minecrell has quit [reticulum.oftc.net helix.oftc.net]
19:39VinDuv has quit [reticulum.oftc.net helix.oftc.net]
19:39vup has quit [reticulum.oftc.net helix.oftc.net]
19:39jn has quit [reticulum.oftc.net helix.oftc.net]
19:39lawrence has quit [reticulum.oftc.net helix.oftc.net]
19:39manawyrm has quit [reticulum.oftc.net helix.oftc.net]
19:39TheLink7 is now known as TheLink
19:39VinDuv_ is now known as VinDuv
19:39Misthios1 is now known as Misthios
19:39lawrence6 is now known as lawrence
19:40akemin_dayo has joined #asahi-gpu
19:40mairacanal has joined #asahi-gpu
19:40pbsds has joined #asahi-gpu
19:40V has joined #asahi-gpu
19:40vup has joined #asahi-gpu
19:40Yamakaja_ has joined #asahi-gpu
19:40minecrell has joined #asahi-gpu
19:40jn has joined #asahi-gpu
19:40manawyrm has joined #asahi-gpu
19:40Mary has joined #asahi-gpu
19:40nyilas has joined #asahi-gpu
19:40kit_ty_kate2 has joined #asahi-gpu
19:40stipa_ has joined #asahi-gpu
19:41minecrell has quit [Max SendQ exceeded]
19:41V has quit [Max SendQ exceeded]
19:41nyilas has quit [Ping timeout: 484 seconds]
19:41Mary has quit [Ping timeout: 484 seconds]
19:41Yamakaja_ has quit [Ping timeout: 484 seconds]
19:41akemin_dayo has quit [Ping timeout: 484 seconds]
19:41pbsds has quit [Ping timeout: 484 seconds]
19:41jn has quit [Ping timeout: 484 seconds]
19:41mairacanal has quit [Ping timeout: 484 seconds]
19:41vup has quit [Ping timeout: 484 seconds]
19:42TellowKrinkle_ is now known as TellowKrinkle
19:44possiblemeatball has joined #asahi-gpu
19:46mairacanal0 is now known as mairacanal
20:08stipa has joined #asahi-gpu
20:08stipa_ has quit [Read error: Connection reset by peer]
20:09kit_ty_kate3 has joined #asahi-gpu
20:09kit_ty_kate2 has quit [Read error: Connection reset by peer]
20:09manawyrm has quit [reticulum.oftc.net helix.oftc.net]
20:10manawyrm has joined #asahi-gpu
20:11minecrell4 has quit []
20:11minecrell has joined #asahi-gpu
21:11aratuk has joined #asahi-gpu
21:27aratuk has quit []
21:28antonio__ has quit [Remote host closed the connection]
21:30aratuk has joined #asahi-gpu
21:40hightower2 has quit [Remote host closed the connection]
22:09minecrell9 has joined #asahi-gpu
22:13minecrell has quit [reticulum.oftc.net helix.oftc.net]
22:13manawyrm has quit [reticulum.oftc.net helix.oftc.net]
22:15manawyrm has joined #asahi-gpu
22:31aratuk has quit [Remote host closed the connection]
22:31aratuk has joined #asahi-gpu
22:35aratuk has quit [Remote host closed the connection]
22:36aratuk has joined #asahi-gpu
23:01minecrell9 has quit []
23:01minecrell9 has joined #asahi-gpu
23:02aratuk has quit [Remote host closed the connection]
23:19Mary6 has quit []
23:20Mary6 has joined #asahi-gpu
23:25aratuk has joined #asahi-gpu
23:33aratuk has quit [Ping timeout: 480 seconds]
23:39jole_ has quit [Remote host closed the connection]
23:45jole has joined #asahi-gpu
23:55aratuk has joined #asahi-gpu