#asahi · 2022-11-18 21:33
jannauok, I can reproduce it, not with a black background but with the default xfce4 background#asahi · 2022-11-18 21:32
axboethen stops updating while loading xfce4#asahi · 2022-11-18 21:32
axboeit's also funky how when X starts it's fine - it updates in lightdm typing name/password#asahi · 2022-11-18 21:31
axboejannau: and as mentioned, other wms I've tried seem to work...#asahi · 2022-11-18 21:30
axboejannau: anyway, heading out now, but let me know if there's anything I can do to help debug this. I don't know anything about X or the display driver, but happy to run whatever since I have 2 laptops and one isn't really being used#asahi · 2022-11-18 21:30
jannauhuh, if the mouse cursor updates but nothing else it sounds more like xfce4 bug although I have trouble to imagine how that can happen#asahi · 2022-11-18 21:28
axboeif I run that, then it updates as you'd expect, albeit of course choppily#asahi · 2022-11-18 21:28
axboeroot@m1:/sys/class/backlight/apple-panel-bl# while true; do sleep .03; echo 199 > brightness; echo 200 > brightness; done#asahi · 2022-11-18 21:27
jannauit doesn't reproduce on the mac studio, haven't yet tested on my 14" mbp since I use it as main computer#asahi · 2022-11-18 21:27
mpsand I don't know how to switch to console from xfce, Ctrl key doesn't work#asahi · 2022-11-18 21:27
axboenothing else#asahi · 2022-11-18 21:27
axboesame here, cursor updates#asahi · 2022-11-18 21:26
mpsforgot to tell, when start xfce I've got cursor and it moves fine on blank screen#asahi · 2022-11-18 21:25
axboejannau: does it reproduce for you? same thing on two laptops here, sounds like mps is seeing it too#asahi · 2022-11-18 21:23
jannauI don't see how this could be be an xfce4 bug, especially if a brightness update refreshes the display#asahi · 2022-11-18 21:20
simpledcpi'll build kernel with this commit reverted#asahi · 2022-11-18 21:18
simpledcpalso: how can I check the fw version?#asahi · 2022-11-18 21:18
jannauthat is not yet necessary but I thought it would be harmless#asahi · 2022-11-18 21:18
jannausimpledcp: I think you issue should be resolved by reverting d9588077b8f82611286e564fe9f12d7e3afabbc6 "arch: arm64: apple: t8103: Add dcpext/dispext0 nodes"#asahi · 2022-11-18 21:17
axboethat'd be my guess too, and me neither#asahi · 2022-11-18 21:17
mpsbut I have no idea how to debug it#asahi · 2022-11-18 21:16
mpsmy guess is that is bug in xfce#asahi · 2022-11-18 21:16
simpledcpjannau: oh, i'll check the logs#asahi · 2022-11-18 21:16
axboejannau: the black screen does look like a race, as it's intermittent. the refresh is reliably broken#asahi · 2022-11-18 21:15
mpsjust tested xfce with simpledrm, it works fine#asahi · 2022-11-18 21:15
jannauthere was someone 2 hours ago with essentially the same problem on a m1 mbp13"#asahi · 2022-11-18 21:14
simpledcpis there a problem with mbp13"?#asahi · 2022-11-18 21:12
simpledcpah, sorry, yes this is mbp m1, don't remember (should be 13''#asahi · 2022-11-18 21:11
jannauI don't see why you wouldn't run into the same problem with lina's gpu branch#asahi · 2022-11-18 21:10
jannausimpledcp: which device is this? a macbook pro 13" m1?#asahi · 2022-11-18 21:09
jannauthe xfce4 not update or update only at brighness change is a little wild#asahi · 2022-11-18 21:09
simpledcpand one more question: if i want gl stuff, i should compile lina's branch and mesa from asahi-main, do i get this right (so i should change pkgconfig and build a package)? #asahi · 2022-11-18 21:08
jannauit's seems to be easily reproducible with the WIP patches for usb-c display out#asahi · 2022-11-18 21:07
jannauthe driver tries to workaround that but either I partially broke it or it is racy#asahi · 2022-11-18 21:07
axboejannau: seems to be two things here indeed - that black screen, and the lack of refresh for xfce4#asahi · 2022-11-18 21:06
axboeoh that doesn't work with xfce4#asahi · 2022-11-18 21:06
jannauthe black screen is probably caused by not doing a single swap with the new framebuffer after the modeset on Xorg start#asahi · 2022-11-18 21:06
axboe*shot#asahi · 2022-11-18 21:06
axboejannau: I've never used wayland, maybe I can give that a short#asahi · 2022-11-18 21:05
jannauaxboe: part of the problem is that Xorg uses the display driver differently than macos. macos (and wayland compositors) use double-bufffering and swap the framebuffer for every screen update. Xorg use just a single framebuffer and and updates it directly#asahi · 2022-11-18 21:05
mpslet me try again to confirm#asahi · 2022-11-18 21:05
axboehaven't tried that#asahi · 2022-11-18 21:04
axboemps: huh#asahi · 2022-11-18 21:04
mpsbut when first start with awesome wm and then switch to xfce it works#asahi · 2022-11-18 21:04
axboemps: does fiddling with brightness help?#asahi · 2022-11-18 21:04
simpledcphello, can anyone be of help, I've installed linux-asahi-edge and apple_dcp+appledrm seems to be present in lsmod but i've got https://paste.debian.net/1261173/ this in dmesg, is this normal? also can't change the brightness or color prefs, am I missing something?#asahi · 2022-11-18 21:04
mpsaxboe: looks like something is bad with xfce, tried two times to boot machine and also got blank screen both times#asahi · 2022-11-18 20:52
axboeok#asahi · 2022-11-18 20:52
mpsdidn't tried it with simpledrm, only with apppledrm#asahi · 2022-11-18 20:50
axboesame version here