#asahi-gpu · 2022-11-12 21:20
alyssaso it will be a nice milestone but a massive pile of work#asahi-gpu · 2022-11-12 21:20
alyssathe newer GL3 renderer uses ~all features in GLES3.0#asahi-gpu · 2022-11-12 21:20
alyssawhich omits all the graphics effects#asahi-gpu · 2022-11-12 21:19
alyssamaximbaz: Worth noting that supertuxkart is using its older GL2.1 renderer#asahi-gpu · 2022-11-12 21:10
alyssafragdepth + MSAA is an ugly interaction on here..#asahi-gpu · 2022-11-12 21:09
alyssa:-D#asahi-gpu · 2022-11-12 21:07
maximbazthat's all I wanted haha :D#asahi-gpu · 2022-11-12 21:05
alyssamaximbaz: I promised a broken driver, your expectactions are exceeded, woohoo! :-D#asahi-gpu · 2022-11-12 20:29
maximbazalso 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 :)#asahi-gpu · 2022-11-12 20:26
maximbaz2: https://paste.maximbaz.com/?b9f50955b1251ebe#8ZHnKobE4Y664Mkv5gdixUTc58kQ7rz6q3KP2L5h62wx#asahi-gpu · 2022-11-12 20:26
maximbaz1: https://paste.levis.name/?d076ce404fcc9230#DCq9oQY6PQNhsdsJ7NkihPatwXW8Jtf6LT4TC5FiL3Xd#asahi-gpu · 2022-11-12 20:26
maximbazso 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 :) #asahi-gpu · 2022-11-12 20:22
alyssawarning: stuff is broken ^_^#asahi-gpu · 2022-11-12 20:21
maximbazthanks 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!#asahi-gpu · 2022-11-12 20:14
alyssawould like to know how fragdepth writes work on here#asahi-gpu · 2022-11-12 20:00
jannaubut I doubt that fixes problems with sway#asahi-gpu · 2022-11-12 20:00
jannauCyrinux: you could try to cherry-pick 09cee10b3b2556f009c79112174ee8ce75deca58 from bits/200-dcp#asahi-gpu · 2022-11-12 19:50
alyssaare you setting LIBGL_DRIVERS_PATH correctly#asahi-gpu · 2022-11-12 19:47
CyrinuxI can then start weston, I just install it, but looks like no more luck to start applications from there then.#asahi-gpu · 2022-11-12 19:46
Cyrinuxinteresting, 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. #asahi-gpu · 2022-11-12 19:42
jannauyou could also try switching the tty via ctrl + option + Fx (+ Fn)#asahi-gpu · 2022-11-12 19:41
jannauyou should be able to login over the vuart#asahi-gpu · 2022-11-12 19:39
Cyrinuxblack here mean like brighness is 0%, no tty text prompt.#asahi-gpu · 2022-11-12 19:38
Cyrinuxjannau, 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.#asahi-gpu · 2022-11-12 19:35
jannauCyrinux: 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#asahi-gpu · 2022-11-12 19:31
alyssaR16I#asahi-gpu · 2022-11-12 19:31
alyssaattachment 0 is unhappy#asahi-gpu · 2022-11-12 19:30
alyssastuck on dEQP-GLES3.functional.fragment_out.random.51#asahi-gpu · 2022-11-12 19:30
alyssajannau: :(#asahi-gpu · 2022-11-12 19:30
jannauI think it will work if hold the lock until the brightness swap is completed but that itself is annoying#asahi-gpu · 2022-11-12 19:29
Cyrinuxjannau here https://paste.levis.name/?efbad660b0baf203#4vnyCPMkSvNGF4sCne8tNe1E4NMToze431yRQiVJQ8Td#asahi-gpu · 2022-11-12 19:28
alyssa(dEQP-GLES3)#asahi-gpu · 2022-11-12 19:28
alyssa(on macOS)#asahi-gpu · 2022-11-12 19:28
alyssaI guess that's progress :')#asahi-gpu · 2022-11-12 19:28
alyssaPass: 41726, Fail: 1504, Crash: 205, Warn: 91, Skip: 216, Flake: 936, Duration: 12:51, Remaining: 0#asahi-gpu · 2022-11-12 19:26
alyssajannau: :(#asahi-gpu · 2022-11-12 19:24
jannaudo you have a kernel log?#asahi-gpu · 2022-11-12 19:22
Cyrinuxwe have CONFIG_DRM_APPLE=y and CONFIG_DRM_ASAHI=y so actually#asahi-gpu · 2022-11-12 19:19
Cyrinuxjannau, 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?#asahi-gpu · 2022-11-12 18:51
maximbazhuh, 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#asahi-gpu · 2022-11-12 18:48
jannaumaximbaz: I suspect kmsro might not work with simpledrm. do you build CONFIG_DRM_APPLE?#asahi-gpu · 2022-11-12 18:41
maximbaz1: https://paste.maximbaz.com/?8b8942668d9bf2f8#BaVmyYAwnHLhQ3PBXmA35ooyANTi7Wvgohm1D7c5tE7Y#asahi-gpu · 2022-11-12 18:41
maximbazDo you have any ideas what I could be missing?#asahi-gpu · 2022-11-12 18:41
maximbazto 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".#asahi-gpu · 2022-11-12 18:41
maximbazjannau: 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...#asahi-gpu · 2022-11-12 18:09
jannauyes, it seems cause issues with with the normal swap and it takes ~3 seconds until it updates#asahi-gpu · 2022-11-12 17:57
jannauno crashes so far but I see some strange flickering#asahi-gpu · 2022-11-12 17:52
alyssawoof#asahi-gpu · 2022-11-12 17:52
jannautrying right now. I wouldn't be surprised if that crashes dcp as well