#asahi-gpu · 2023-03-15 14:36
alyssaMy existing comments were exhausti(ve/ng) so hopefully it'll be good to go#asahi-gpu · 2023-03-15 14:35
alyssaI'll re-review the batch tracking stuff when I have time. Likely not today, maybe tomorrow.#asahi-gpu · 2023-03-15 14:35
alyssalina: Sounds great, thank you!#asahi-gpu · 2023-03-15 14:20
linaThe latest kernel branch is gpu/rust-wip (back to the usual one), and asahilina:agx/release-rebased-uapi has our release branch rebased on the updated uapi MR branch plus fixes ^^#asahi-gpu · 2023-03-15 14:19
linaalyssa: UAPI MR comments should be done, the kernel oopses were another drm_scheduler bug (^^;;), and the firmware crashes seem to be related to having faults while running compute jobs, but it doesn't always happen and I haven't been able to identify a reliable trigger or find anything wrong on my side that could cause it. It could be a firmware bug/race...#asahi-gpu · 2023-03-15 07:50
linaI think the kernel oopses were a drm_scheduler core bug I just found... ^^;;#asahi-gpu · 2023-03-15 01:16
alyssalina: Could you please address the review comments for sync? Thank you#asahi-gpu · 2023-03-14 15:13
linaI know several people have hit it but not how...#asahi-gpu · 2023-03-14 15:12
linastill not sure if I'll be able to repro the crashes... I'm just hoping kasan catches something obvious#asahi-gpu · 2023-03-14 15:12
alyssaI also don't remember what triggered the mailbox limit, i think just piglit runs#asahi-gpu · 2023-03-14 15:12
alyssaso I'll get the new & improved kernel then#asahi-gpu · 2023-03-14 15:12
alyssaand I figure Lina will have even more kernel fixes by the end of the week, lol#asahi-gpu · 2023-03-14 15:12
marcanack#asahi-gpu · 2023-03-14 15:12
alyssavery busy with school + dayjob#asahi-gpu · 2023-03-14 15:11
alyssamarcan: sorry. not uprevving today#asahi-gpu · 2023-03-14 15:07
marcanin particular I want to know what happens with that test where you previously hit the mailbox queue limit#asahi-gpu · 2023-03-14 15:07
marcanalyssa: asahi-wip should have all of lina's recent changes plus the mailbox thing, please let me know how that goes#asahi-gpu · 2023-03-14 12:05
danielsit's also painful for some systems - particularly etnaviv on i.MX6 - where you need a resolve step in between GPU & KMS. eglSwapBuffers gives that barrier point where you can do the copy to the shadow, but you don't have that with FBOs.#asahi-gpu · 2023-03-14 12:02
jannaulina: timely kwin update: https://zamundaaa.github.io/wayland/2023/03/10/porting-away-from-gbm-surface.html contains a high level description of what kwin currently does (and how kwin tries to break gpu drivers in the future ;))#asahi-gpu · 2023-03-14 08:56
kode54I'd love to dogfood this, but I kinda need dual display#asahi-gpu · 2023-03-14 06:31
linaStill, I bet there is something wrong somewhere around this area...#asahi-gpu · 2023-03-14 06:30
linaAh but import should do that...#asahi-gpu · 2023-03-14 06:30
linaI think we don't set the shareable flag at all in the kmsro path... because it exits early...#asahi-gpu · 2023-03-14 06:30
linaOh no, I just found it...#asahi-gpu · 2023-03-14 06:28
linaMaybe that codepath ends up not hitting the post-facto export stuff I added, or kmsro somehow confuses everything...#asahi-gpu · 2023-03-14 06:28
linaI need to look at what it does to export the first framebuffer for the display controller#asahi-gpu · 2023-03-14 06:28
linaI wonder if it's a thing with kwin startup... I might have an idea#asahi-gpu · 2023-03-14 06:20
jannaulina: not really helpful reproducer for the pink boxes: plasma/wayland login on my macbook pro 13" (m2). reproduces somewhat relieably over self-built kernel/mesa and asahi and fedora packages#asahi-gpu · 2023-03-14 05:33
linaI'm going to look at that tomorrow#asahi-gpu · 2023-03-14 05:33
linaIf anyone has a reliable reproducer for the pink squares stuff or kernel oopses please tell me ^^#asahi-gpu · 2023-03-14 05:32
lina^^;;#asahi-gpu · 2023-03-13 19:40
alyssathat there's the benefit of soaktesting my changes + dogfooding, lol#asahi-gpu · 2023-03-13 19:40
alyssaand working again#asahi-gpu · 2023-03-13 19:37
alyssaok. easy fix.#asahi-gpu · 2023-03-13 19:34
alyssaoh. right. we can't shadow shared things. duh#asahi-gpu · 2023-03-13 19:34
alyssaso export is called only for SHARED bos#asahi-gpu · 2023-03-13 19:32
alyssaprime_fd != -1#asahi-gpu · 2023-03-13 19:32
alyssaexport_sync_file assert firing#asahi-gpu · 2023-03-13 19:32
alyssadebug build#asahi-gpu · 2023-03-13 19:32
alyssaoh wait#asahi-gpu · 2023-03-13 19:30
alyssaI guess that's EINVAL#asahi-gpu · 2023-03-13 19:29
alyssanot really sure what Invald argument but no fault means here..#asahi-gpu · 2023-03-13 19:25
alyssabisected to my shadowing fix#asahi-gpu · 2023-03-13 19:22
alyssaInvalid argument on a submission. that'd do it.#asahi-gpu · 2023-03-13 19:20
alyssaerrrrgh#asahi-gpu · 2023-03-13 19:20
alyssa(er, Xwayland)#asahi-gpu · 2023-03-13 19:20
alyssaoh, geez, it's not firefox that's crashing on me, it's glamor#asahi-gpu · 2023-03-13 13:48
linaPhew! I thought I must've broken the PM code again ^^;;#asahi-gpu · 2023-03-13 12:45
chadmed_no apparent loss of performance with it set to 1 vs 6 on j314#asahi-gpu · 2023-03-13 12:44
chadmed_lina: yeah cool thought so, that interactivity problem from yesterday only hits when setting it to 0 which makes sense