2022-11-12
00:26yuyichao has quit [Read error: Connection reset by peer]
00:26yuyichao has joined #asahi-gpu
00:28chadmed has quit [Quit: Konversation terminated!]
01:15digicyc2 has joined #asahi-gpu
01:18digicyc has quit [Ping timeout: 480 seconds]
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:20Emantor has joined #asahi-gpu
03:54Dcow has joined #asahi-gpu
04:02Dcow has quit [Ping timeout: 480 seconds]
04:28Dcow has joined #asahi-gpu
04:37Dcow has quit [Ping timeout: 480 seconds]
05:04Dcow has joined #asahi-gpu
05:12Dcow has quit [Ping timeout: 480 seconds]
05:18SSJ_GZ has joined #asahi-gpu
05:39Dcow has joined #asahi-gpu
05:47Dcow has quit [Ping timeout: 480 seconds]
06:14Dcow has joined #asahi-gpu
06:22Dcow has quit [Ping timeout: 480 seconds]
06:43capta1nt0ad has joined #asahi-gpu
06:50Dcow has joined #asahi-gpu
06:50capta1nt0ad has quit [Quit: Konversation terminated!]
06:58Dcow has quit [Ping timeout: 480 seconds]
07:23SSJ_GZ has quit [Ping timeout: 480 seconds]
07:24capta1nt0ad has joined #asahi-gpu
08:09Dcow has joined #asahi-gpu
08:25Dcow has quit [Ping timeout: 480 seconds]
08:32Dcow has joined #asahi-gpu
09:13SSJ_GZ has joined #asahi-gpu
09:38capta1nt0ad has quit [Remote host closed the connection]
12:23capta1nt0ad has joined #asahi-gpu
12:47as400 has quit [Remote host closed the connection]
14:07la1440 has joined #asahi-gpu
14:09la1440 has quit []
15:55as400 has joined #asahi-gpu
16:12zkrx has quit []
16:17karolherbst has quit [Remote host closed the connection]
16:20karolherbst has joined #asahi-gpu
16:22zkrx has joined #asahi-gpu
16:55cylm has joined #asahi-gpu
17:41jannaugah, using dcp from two entry points (kms and backlight device) at the same time to swap surfaces / brightness works as well as one can imagine
18:02felix_ has joined #asahi-gpu
18:03zzywysm has quit [Ping timeout: 480 seconds]
18:06felix_ is now known as glxplz
18:06glxplz has quit [Quit: glxplz]
18:09jannauyes, it seems cause issues with with the normal swap and it takes ~3 seconds until it updates
18:41maximbazjannau: thanks for the tip, my M1 Pro is able to boot as a m1n1 hypervisor guest with virtual UART, and in dmesg [1] I see some successful debug from the GPU driver (and much more with asahi.debug_flags)! It would be interesting to figure out why booting the kernel directly is getting stuck...
18:41maximbazto test next steps, I compiled MESA from alyssa/asahi/rebased, using PKGBUILD from archlinuxarm as a base, and adding "asahi" to -Dgallium-drivers. I have /usr/lib/dri/asahi_dri.so, sway starts, but I am struggling to get gnome, supertuxkart or even glxgears to start [1], I think it boils down to "libEGL warning: egl: failed to create dri2 screen".
18:41maximbaz1: https://paste.maximbaz.com/?8b8942668d9bf2f8#BaVmyYAwnHLhQ3PBXmA35ooyANTi7Wvgohm1D7c5tE7Y
18:51maximbazhuh, no, I only added CONFIG_DRM_ASAHI=y, I can try with CONFIG_DRM_APPLE! Here's full diff compared to config from asahilinux/pkgbuilds/linux-asahi package, do the rest of the flag seem reasonable to you? https://paste.maximbaz.com/?e1405b1c277502f0#BokHTxeeETo3aJLMSb4Kv6tiWSFkv8HdSWEpwGxWJH6K
19:05cylm has quit [Ping timeout: 480 seconds]
19:19Cyrinuxjannau, i'm sitting with maximbaz for the debugging, after adding CONFIG_DRM_APPLE we got a black screen on boot, on the console we see the laptop is alive, but no screen at all. Any idea?
19:28alyssaPass: 41726, Fail: 1504, Crash: 205, Warn: 91, Skip: 216, Flake: 936, Duration: 12:51, Remaining: 0
19:29Cyrinuxjannau here https://paste.levis.name/?efbad660b0baf203#4vnyCPMkSvNGF4sCne8tNe1E4NMToze431yRQiVJQ8Td
19:30jannauI think it will work if hold the lock until the brightness swap is completed but that itself is annoying
19:35jannauCyrinux: that all looks well, can you start weston from text console. I think there are some issues with sddm/xorg and the dcp version in lina's branch. you could test gdm instead
19:38Cyrinuxjannau, I'm not sure to understand, you mean you want we start weston from the proxyclient side ? We got a full black screen on macbook side / we are blind. We use sway as window manager usually.
19:40bpye has quit [Quit: Ping timeout (120 seconds)]
19:40bpye has joined #asahi-gpu
19:46Cyrinuxinteresting, so from macbook side, if i try to switch the TTY, this doesnt work, until I killall sway from the proxyclient, suddently I got the tty on the macbook.
19:47CyrinuxI can then start weston, I just install it, but looks like no more luck to start applications from there then.
19:53Dcow has quit [Remote host closed the connection]
19:54Dcow has joined #asahi-gpu
20:00jannauCyrinux: you could try to cherry-pick 09cee10b3b2556f009c79112174ee8ce75deca58 from bits/200-dcp
20:12alxdrl has joined #asahi-gpu
20:17alxdrl has quit [Remote host closed the connection]
20:21maximbazthanks jannau, we managed to get it to work! 🎉 it's a bit weird, screen goes dark once tty is shown, but if we enable auto-login, autostart sway, and then exit sway, this somehow brings screen back to life, and then we can start sway again and enjoy GPU acceleration :) will try next the cherry-pick above!
20:22alxdrl has joined #asahi-gpu
20:24alxdrl has quit [Remote host closed the connection]
20:26maximbazso if you are curious, sway works, supertuxkart is very smooth and plays in full screen, mpv is smoother than before (we see some constant GPU timeouts [1]), kitty terminal doesn't start with some other error [2], but otherwise things seem quite good and interesting to further experiment with :)
20:26maximbaz1: https://paste.levis.name/?d076ce404fcc9230#DCq9oQY6PQNhsdsJ7NkihPatwXW8Jtf6LT4TC5FiL3Xd
20:26maximbaz2: https://paste.maximbaz.com/?b9f50955b1251ebe#8ZHnKobE4Y664Mkv5gdixUTc58kQ7rz6q3KP2L5h62wx
20:29maximbazalso the display output is taking "more of the screen real estate", in other words the notch is suddenly covering a bit of a panel, haha :)
21:12c10l has quit [Quit: Ping timeout (120 seconds)]
21:49cylm has joined #asahi-gpu
22:35capta1nt0ad has quit [Quit: Konversation terminated!]
22:37capta1nt0ad has joined #asahi-gpu
22:50capta1nt0ad has quit [Remote host closed the connection]
22:51millenialhacker has joined #asahi-gpu
22:53capta1nt0ad has joined #asahi-gpu
22:54maximbazthat's an impressive project, interesting and complex, I hope you don't lose motivation alyssa, despite the big road ahead :) seeing even current results with my own eyes makes me appreciate contributions of all of you guys on a whole new level, it's super awesome!
23:08alyssaI'm missing a bit that says stencil should come from the shader instead of the default value
23:27cylm has quit [Ping timeout: 480 seconds]
23:31pthariensflame has joined #asahi-gpu
23:32pthariensflame has quit []
23:54c10l has joined #asahi-gpu
23:54millenialhacker has quit [Remote host closed the connection]
23:57alyssaif depth or stencil is written, then Metal will implement discard() as "gl_FragDepth = NaN;"
23:58SSJ_GZ has quit [Ping timeout: 480 seconds]