2022-11-09
00:06cylm_ has joined #asahi-gpu
00:10Dcow has quit [Remote host closed the connection]
00:12Dcow has joined #asahi-gpu
00:17Dcow has quit [Remote host closed the connection]
00:17Dcow has joined #asahi-gpu
00:19maximbazjannau: 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)
00:20maximbaz1: https://paste.maximbaz.com/?6eca67e0bfac7b6c#7AbKmiBBcFBfBUvndo8uo4EmPy6EAcSveHcwP3xxJADQ
00:47cylm has joined #asahi-gpu
00:47cylm_ has quit [Read error: Connection reset by peer]
01:33linamaximbaz: 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
01:58Dcow has quit [Remote host closed the connection]
02:45cylm_ has joined #asahi-gpu
02:51cylm has quit [Ping timeout: 480 seconds]
02:58cylm_ has quit [Quit: WeeChat 3.7.1]
03:04cylm has joined #asahi-gpu
03:22jole_ has joined #asahi-gpu
03:23jole has quit [Read error: Connection reset by peer]
03:24cylm has quit [Quit: WeeChat 3.7.1]
03:26cylm has joined #asahi-gpu
04:04ella-0_ has joined #asahi-gpu
04:10ella-0 has quit [Ping timeout: 480 seconds]
04:14ella-0 has joined #asahi-gpu
04:20ella-0_ has quit [Ping timeout: 480 seconds]
05:30TellowKrinkle has joined #asahi-gpu
05:38millenialhacker has joined #asahi-gpu
05:49millenialhacker has quit [Remote host closed the connection]
05:49millenialhacker has joined #asahi-gpu
06:11SSJ_GZ has joined #asahi-gpu
06:24cylm has quit [Quit: WeeChat 3.7.1]
06:32millenialhacker has quit [Ping timeout: 480 seconds]
06:51millenialhacker has joined #asahi-gpu
07:02millenialhacker has quit [Ping timeout: 480 seconds]
07:22millenialhacker has joined #asahi-gpu
07:44millenialhacker has quit [Remote host closed the connection]
07:44millenialhacker has joined #asahi-gpu
08:41millenia_ has joined #asahi-gpu
08:42millenialhacker has quit [Read error: No route to host]
08:42millenialhacker has joined #asahi-gpu
08:44millenia_ has quit [Remote host closed the connection]
08:45millenia_ has joined #asahi-gpu
08:45millenialhacker has quit [Read error: Connection reset by peer]
08:45millenialhacker has joined #asahi-gpu
08:46millenia_ has quit [Read error: Connection reset by peer]
09:04joske has joined #asahi-gpu
09:08joskelina: 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.
09:25MajorBiscuit has joined #asahi-gpu
09:27nuup has joined #asahi-gpu
09:38bluetail3 has joined #asahi-gpu
09:44joske has quit [Remote host closed the connection]
09:45bluetail has quit [Ping timeout: 480 seconds]
09:45bluetail3 is now known as bluetail
10:40kov has quit [Quit: Coyote finally caught me]
10:41kov has joined #asahi-gpu
10:51Dcow has joined #asahi-gpu
11:41millenia_ has joined #asahi-gpu
11:48millenialhacker has quit [Ping timeout: 480 seconds]
12:27MajorBiscuit has quit [Quit: WeeChat 3.6]
12:35millenia_ is now known as millenialhacker
12:35MajorBiscuit has joined #asahi-gpu
12:43cylm has joined #asahi-gpu
12:56MajorBiscuit has quit [Quit: WeeChat 3.6]
12:58MajorBiscuit has joined #asahi-gpu
14:03cylm has quit [Quit: WeeChat 3.7.1]
14:14millenialhacker has quit [Remote host closed the connection]
14:14Dcow has quit [Remote host closed the connection]
14:15Dcow has joined #asahi-gpu
14:30millenialhacker has joined #asahi-gpu
14:38millenialhacker has quit [Ping timeout: 480 seconds]
14:44gff has joined #asahi-gpu
14:48maximbazthanks 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
14:48gff_ has quit [Ping timeout: 480 seconds]
14:52alyssabecause after the uprev my computer still works but I guess everything is going through the 3D pipe instead of software rendering lol
15:11Gaspare has joined #asahi-gpu
15:38Gaspare has quit [Read error: Connection reset by peer]
15:43millenialhacker has joined #asahi-gpu
15:52millenialhacker has quit [Ping timeout: 480 seconds]
16:49millenialhacker has joined #asahi-gpu
16:55millenialhacker has quit [Remote host closed the connection]
16:55millenialhacker has joined #asahi-gpu
16:57svenI actually don’t think they can be 4K because you’re running a 16k kernel. but maybe they are larger pages for some weird reason
17:31millenialhacker has quit [Remote host closed the connection]
17:46MajorBiscuit has quit [Ping timeout: 480 seconds]
17:52alyssajannau: I've noticed that since swiching to Lina's kernel, I get a black picture at the TTY when hotplugging, and need to change TTYs to get text again
17:53alyssaI believe in the original DCP prototype, I triggered -- I mean, whoever wrote that code triggered a swap after hotplug, since the linux tty won't ordinarily swap if you don't change TTYs
17:53alyssaI don't know if that was removed? or maybe it's wrong and there's some other fix we need?
18:01svenohhh… I think I hit that with dcpext as well and assumed that was yet another atcphy/dptx bug
18:01Dcow_ has joined #asahi-gpu
18:04jannaualyssa: I see that with dcpext as well, the link-status bad call is still there with the comment but I had to guard it with checks to avoid NULL ptr derefs
18:08Dcow has quit [Ping timeout: 480 seconds]
18:25cylm has joined #asahi-gpu
18:33millenialhacker has joined #asahi-gpu
18:41millenialhacker has quit [Ping timeout: 480 seconds]
18:48cylm_ has joined #asahi-gpu
18:55cylm has quit [Ping timeout: 480 seconds]
19:00millenialhacker has joined #asahi-gpu
19:07Dcow_ has quit [Remote host closed the connection]
19:07Dcow has joined #asahi-gpu
19:08millenialhacker has quit [Ping timeout: 480 seconds]
19:15Dcow has quit [Ping timeout: 480 seconds]
19:25digicyc has quit [Remote host closed the connection]
19:26digicyc has joined #asahi-gpu
19:26maximbazdo I understand correctly that I should be able to pass kernel param "debug_flags=0xffffffffff" (along with say "log_level=7 debug earlycon") in grub, to activate all the extra logging from this commit? I'm getting no logs before freeze, and I feel like I'm doing something silly...
19:29Dcow has joined #asahi-gpu
19:33jannau`kodi --windowing=x11` works somewhat, video playback stops after a few seconds and it hangs at exit, I have to kill -9 it
19:38Dcow has quit [Ping timeout: 480 seconds]
19:39alyssarunning `LIBGL_DRIVERS_PATH=~/lib/dri/ DISPLAY=:0 glxgears`, closing the window, and repeating piles of times seems to reproduce the
19:39alyssaI am unsure why Xwayland would be creating dumb buffers ... so I'd say we have multiple bugs here
19:51Dcow has joined #asahi-gpu
20:00Dcow has quit [Ping timeout: 480 seconds]
20:03cylm_ has quit [Quit: WeeChat 3.5]
20:24Dcow has joined #asahi-gpu
20:51jannaukernel bug spotted. it reserves the physical address. oversight on my part when I added support for translated reserved regions
20:52Dcow has quit [Ping timeout: 480 seconds]
21:02Dcow has joined #asahi-gpu
21:03maximbazthanks jannau, I realized that dev_info!(dev, "MMU: Initializing...\n") - which I see in dmesg on HEAD~1 of linux/gpu/rust-wip just before driver crashes - is not conditional on asahi.debug_flags anyway, and on HEAD I don't see that line on screen after selecting a grub entry before everything freezes (with loglevel=7 and
21:03maximbazasahi.debug_flags=0xfffffffff, no quiet)... which makes me think somehow the freeze happens before the driver is running 🤔
21:06jannauI guess the display could also freeze because dcp takes over. it would be helpful if you can boot with m1n1's hypervisor and the virtual uart
21:10millenialhacker has joined #asahi-gpu
21:16maximbazgotcha, it's unfortunately the only device I have until weekend, I'll try to get more info then! thanks again for your answers! :)
21:24Dcow has quit [Ping timeout: 480 seconds]
21:34Dcow has joined #asahi-gpu
21:46maximbazI'm up for some more experiments! May I ask for a hint, how to block dcp, or where to read more about it?
21:50millenialhacker has quit [Remote host closed the connection]
22:04millenialhacker has joined #asahi-gpu
22:04Dcow has quit [Ping timeout: 480 seconds]
22:07millenialhacker has quit [Remote host closed the connection]
22:07millenialhacker has joined #asahi-gpu
22:07Axenntio has joined #asahi-gpu
22:09Axenntio has quit []
22:31Dcow has joined #asahi-gpu
22:39Dcow has quit [Ping timeout: 480 seconds]
22:47Dcow has joined #asahi-gpu
22:52jannauI wonder if the issues with reserved low iova would go away with unmanaged iommu domains. I suspose it'll remain a problem disp0 which I'd like to keep managed though
22:55Dcow has quit [Ping timeout: 480 seconds]
23:03Dcow has joined #asahi-gpu
23:08zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
23:11Dcow has quit [Ping timeout: 480 seconds]
23:23jannaualyssa, lina: https://github.com/jannau/linux/tree/gpu/rust-wip-dcp first patch is already in asahi-wip, fixes a dart build as module, 2nd commit prevents hitting that warning in dart_map_pages() but of course doesn't fix exhausting the iova space through memory leaks
23:27Dcow has joined #asahi-gpu
23:30SSJ_GZ has quit [Ping timeout: 480 seconds]
23:31maximbazblocking dcp unfortunately didn't give any extra information - however thank you for your helpful attitude, it's awesome to learn something new here, and I'll try to collect some more useful info when I get my hands on another device
23:37millenialhacker has quit [Remote host closed the connection]
23:39Dcow has quit [Ping timeout: 480 seconds]
23:44millenialhacker has joined #asahi-gpu
23:49Dcow has joined #asahi-gpu
23:53millenialhacker has quit [Ping timeout: 480 seconds]
23:58Dcow has quit [Ping timeout: 480 seconds]