#
✕ nick:lina
#asahi-gpu · 2023-03-11 15:37
linaalyssa: Works for me!
#asahi-gpu · 2023-03-11 14:59
linaI guess I will try a kasan build again next...
#asahi-gpu · 2023-03-11 14:59
linaSounds like it needs kasan...
#asahi-gpu · 2023-03-11 14:55
linaummm is that a Rust core bug or memory corruption? ;;
#asahi-gpu · 2023-03-10 10:02
linawouldn't you get EBADF if kwin crashes and restarts?
#asahi-gpu · 2023-03-10 10:02
linajannau: simpledrm+llvmpipe?
#asahi-gpu · 2023-03-10 09:39
linaI've seen plasmashell crashes related to GPU driver issues, but it could be unrelated I guess...
#asahi-gpu · 2023-03-10 05:03
linaI'm not worried about 13.2, that's for later
#asahi-gpu · 2023-03-10 05:03
linajannau mentioned pink squares on startup which I think I've seen too, and also those kwin crashes are undebugged...
#asahi-gpu · 2023-03-10 04:59
lina(And at that point it could be app bugs even)
#asahi-gpu · 2023-03-10 04:57
linaThere's probably some WSI thing missing still but... that's really hard to catch without a consistent repro...
#asahi-gpu · 2023-03-10 04:57
linaDo you think it's fair to release this at this point even if there are some weirdo issues we can't easily reproduce? It's edge, so... at this point I think it's fair to let users figure out the consistent repros, I'm sure they can test a lot crazier stuff than we can ^^
#asahi-gpu · 2023-03-10 04:55
linaMesa sends me emails ^^
#asahi-gpu · 2023-03-10 04:55
linaThat too!
#asahi-gpu · 2023-03-10 04:55
linaM2 Pro/Max support and keep the review emails going ^^
#asahi-gpu · 2023-03-10 04:10
lina*black
#asahi-gpu · 2023-03-10 04:10
linaYou'd have to get some stderr output from that to debug it
#asahi-gpu · 2023-03-10 04:10
linaPlasma going back usually means kwin_wayland crashed and restarted, the recovery from that is... not great
#asahi-gpu · 2023-03-10 04:09
linajannau: I haven't stress tested 13.2 so it's totally possible that is broken in new and exciting ways ^^
#asahi-gpu · 2023-03-10 04:07
linaAnd yeah, I was thinking of just adding it to the device params so mesa can optimize based on it
#asahi-gpu · 2023-03-10 04:07
linaalyssa: Yes, it ignores writes
#asahi-gpu · 2023-03-09 15:00
linaeric_engestrom: It was actually panfrost, but I just removed that and replaced it with a mention of xe_drm.h when I did the DRM submission because I don't think there's any of the original header left (I pretty much rewrote the entire UAPI with the explicit sync changes)
#asahi-gpu · 2023-03-08 02:42
linaIf it's just that though... I think at this point we should just release and see if anyone else finds something more serious...
#asahi-gpu · 2023-03-08 02:41
linajannau: I thought I saw that once during a stream but I couldn't reproduce it and I kept doubting myself!
#asahi-gpu · 2023-03-07 16:04
linaalyssa: It's a wiki, you can just edit it~
#asahi-gpu · 2023-03-07 11:12
linaWrote this to attach to the DRM submission ^^ (cc ella-0 & alyssa): https://github.com/AsahiLinux/docs/wiki/SW:AGX-driver-notes
#asahi-gpu · 2023-03-07 09:12
linaOK, alyssa was using the debug allocator and I think we're hitting a firmware bug/race, but I don't think we use that codepath at all in the regular mode so I'm just going to punt on it...
#asahi-gpu · 2023-03-07 05:54
linaI'll test with your kernel
#asahi-gpu · 2023-03-07 05:54
linaOK, go to sleep sis ^^
#asahi-gpu · 2023-03-07 05:49
linaCan you check if the last patch fixed it? It's all I've got...
#asahi-gpu · 2023-03-07 05:48
linaSo that's not unsafe
#asahi-gpu · 2023-03-07 05:48
linaYou can't assume anything about the layout, but you could restore it into an identical struct
#asahi-gpu · 2023-03-07 05:48
linaIt is, if you know there is no padding (which can be known)
#asahi-gpu · 2023-03-07 05:47
linaHence the Castable thing (that's supposed to mean "safe to get the raw bytes" but this isn't a core language feature yet)
#asahi-gpu · 2023-03-07 05:47
linaIt isn't, it's all unsafe, yeah
#asahi-gpu · 2023-03-07 05:46
linaI think it's something that should eventually be a core feature
#asahi-gpu · 2023-03-07 05:46
linaIt's an FFI thing, you need to set the struct layout... Once I add the Castable thing it should catch some (but not all) of these issues
#asahi-gpu · 2023-03-07 05:45
linaAdded more reprs though it was kinda trivial stuff, I don't know if that's it...
#asahi-gpu · 2023-03-07 05:41
linaCould be a repr(C) thing and your Rust compiler really wants to shuffle structs around for some reason
#asahi-gpu · 2023-03-07 05:40
linaCan you upload your kernel binary somewhere and go to sleep? I can probably track it down running it in the hypervisor.
#asahi-gpu · 2023-03-07 05:40
linaIs there anything earlier? That just looks like the firmware died...
#asahi-gpu · 2023-03-07 05:38
linaAny messages?
#asahi-gpu · 2023-03-07 05:38
linakernel or mesa?
#asahi-gpu · 2023-03-07 05:38
lina;;;;;;;;;;;
#asahi-gpu · 2023-03-07 05:36
linaI don't want to keep you up too late but if you can get me some backtraces of relevant stuff and dmesg if anything that might help ^^
#asahi-gpu · 2023-03-07 05:35
linaWorks here...
#asahi-gpu · 2023-03-07 05:35
lina;;;;;;
#asahi-gpu · 2023-03-07 05:35
linaUmmmmmmm
#asahi-gpu · 2023-03-07 05:34
linaThank you for testing, and sorry for keeping you up late ^^;;
#asahi-gpu · 2023-03-07 05:32
linaYay~!

plus ›