#
#asahi-gpu · 2022-11-09 14:48
maximbazthanks lina! yeah I get something similar now, after grub everything freezes on "loading initial ramdisk" / "EFI stub: Exiting boot services", I thought it's just display stops working, but seems not the case... I'll try to get back with more useful information
#asahi-gpu · 2022-11-09 09:10
joskeThere is no crash in journalctl, gnome-shell seems to start (but screen is black)
#asahi-gpu · 2022-11-09 09:08
joskelina: also on latest gpu/rust-wip (and latest m1n1 from your branch), I can get to gdm, but when I log in (GNOME wayland) the screen turns black and I can see nothing. I can switch VT a few times and then I get back to a lock scren, and then I can switch to a text console and reboot. No desktop env works.
#asahi-gpu · 2022-11-09 09:05
joskelina: it does not fix this logging
#asahi-gpu · 2022-11-09 01:45
linamaximbaz: Pushed a fix, I think that should work
#asahi-gpu · 2022-11-09 01:42
linaOhhh... I think this is a u-boot thing!
#asahi-gpu · 2022-11-09 01:33
linamaximbaz: Isn't that the no-map issue? I still don't know what triggers that requirement... but try adding no-map; to the reserved-region nodes
#asahi-gpu · 2022-11-09 01:31
linaalyssa: Yay!! ^^
#asahi-gpu · 2022-11-09 00:20
maximbaz1: https://paste.maximbaz.com/?6eca67e0bfac7b6c#7AbKmiBBcFBfBUvndo8uo4EmPy6EAcSveHcwP3xxJADQ
#asahi-gpu · 2022-11-09 00:19
maximbazjannau: yes 32GB RAM, there are two warnings, one on the second line in the paste above (WARNING: CPU: 1 PID: 85 at kernel/iomem.c:107 memremap+0x1d4/0x21c), and one more earlier [1] (WARNING: CPU: 0 PID: 1 at arch/arm64/kernel/efi.c:28 efi_create_mapping+0x7c/0x168)
#asahi-gpu · 2022-11-08 23:24
jannaumaximbaz: does the device have 32GB RAM? is there a warning in dmesg?
#asahi-gpu · 2022-11-08 22:59
maximbaz3: https://paste.maximbaz.com/?d207a583635665e9#8HaQpAWu9L1V1ye2HGo6vwFAv7kDwHTRoxciV7L6aMW4
#asahi-gpu · 2022-11-08 22:59
maximbaz2: https://github.com/AsahiLinux/linux/blob/02c552f47af01c0ed22d516bb05d8f230401f581/drivers/gpu/drm/asahi/mmu.rs#L886-L891
#asahi-gpu · 2022-11-08 22:59
maximbaz1: https://github.com/AsahiLinux/linux/blob/02c552f47af01c0ed22d516bb05d8f230401f581/drivers/gpu/drm/asahi/mmu.rs#L964-L967
#asahi-gpu · 2022-11-08 22:59
maximbazHello, I tried to test the driver on M1 Pro / T6000, which gets only to initializing MMU [1], at which step it crashes on memremap [2] with "Failed to remap handoff region", as per dmesg output [3]. I wonder if I could be doing something wrong, could anyone give me a hint? :)
#asahi-gpu · 2022-11-08 22:29
alyssathe git history is mostly nonsense since I wrote all the commit messages but set --author 'Asahi Lina' for the ones that were originally your code ...
#asahi-gpu · 2022-11-08 22:28
alyssaTested on t8103, no promises about t6000 but most of today was playing the git rebase game (it's mostly your code, I only rewrote local sections where it made sense) ... so it should still be ok there too
#asahi-gpu · 2022-11-08 22:27
alyssa(which is !19606 + uapi commits)
#asahi-gpu · 2022-11-08 22:27
alyssaand replace your Mesa branch with https://gitlab.freedesktop.org/alyssa/mesa/-/tree/asahi/rebased
#asahi-gpu · 2022-11-08 22:27
alyssalina: Please review https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19606 at your convenience
#asahi-gpu · 2022-11-08 22:06
karolherbstthe magic of rust :3
#asahi-gpu · 2022-11-08 22:02
alyssaalyssa/asahi/rebased has my rebased
#asahi-gpu · 2022-11-08 21:54
alyssato you and to Rust :-)
#asahi-gpu · 2022-11-08 21:54
alyssaMajor kudos
#asahi-gpu · 2022-11-08 21:54
alyssalina: Your kernel driver is so much stabler than panfrost.ko, and that's been in prod for years
#asahi-gpu · 2022-11-08 20:28
sven:D
#asahi-gpu · 2022-11-08 20:27
alyssasven: I don't know anything about that, that's my story and I'm sticking to it :-p
#asahi-gpu · 2022-11-08 20:27
svenright, I forgot that you claim that DCP is all jannau these days :P
#asahi-gpu · 2022-11-08 20:26
sven*map
#asahi-gpu · 2022-11-08 20:26
alyssai'm just a userspace person right
#asahi-gpu · 2022-11-08 20:26
svenlike, say, creating 4K pages, stuffing them into the sg table and then trying to mal that thing
#asahi-gpu · 2022-11-08 20:26
alyssajannau's, sven's, and lina's dcp code
#asahi-gpu · 2022-11-08 20:26
alyssai mean
#asahi-gpu · 2022-11-08 20:26
alyssasven: something like my dcp code?
#asahi-gpu · 2022-11-08 20:26
svenor something abusing the iommu api
#asahi-gpu · 2022-11-08 20:25
jannauI guess "WARN_ON(paddr >> cfg->oas)" is very unlikely, what could cause "WARN_ON(pgsize != cfg->pgsize_bitmap)" to trigger? large pages?
#asahi-gpu · 2022-11-08 20:19
svenlol
#asahi-gpu · 2022-11-08 20:19
alyssakodi, which incidentally is totally broken rn
#asahi-gpu · 2022-11-08 20:19
alyssagot some splat for you
#asahi-gpu · 2022-11-08 20:19
alyssajannau: https://rosenzweig.io/splat.txt
#asahi-gpu · 2022-11-08 20:17
jannauisn't that dcp as agx doesn't use dart?
#asahi-gpu · 2022-11-08 20:17
alyssakodi, which incidentally is totally broken rn
#asahi-gpu · 2022-11-08 20:15
alyssagot some splat for you
#asahi-gpu · 2022-11-08 20:15
alyssalina: https://rosenzweig.io/splat.txt
#asahi-gpu · 2022-11-08 19:37
alyssaAlso trying to figure out why glamor is failing
#asahi-gpu · 2022-11-08 16:43
alyssacrashing only when I don't use valgrind, that's a classic isn't it
#asahi-gpu · 2022-11-08 16:37
alyssawhich mitigates the Slow from the transfer_map batch
#asahi-gpu · 2022-11-08 16:37
alyssalina: Got bored rebasing and implemented some batch tracking
#asahi-gpu · 2022-11-08 15:15
linaThank you <3
#asahi-gpu · 2022-11-08 15:15
alyssaheh

plus ›