#
✕ nick:Glanzmann
#asahi · 2022-11-20 20:29
GlanzmannAnyway, time to hit bed, n8 everyone.
#asahi · 2022-11-20 20:28
Glanzmannmps: me, too. Unless someone gives me a tip. :-)
#asahi · 2022-11-20 20:10
Glanzmannsven: Yep, probably not.
#asahi · 2022-11-20 20:07
Glanzmannmps: I managed to build the gallium asahi driver. (meson .. -Dgallium-drivers=asahi,swrast) but same issue. It seems that that the modesetting driver has issues with /dev/dri/card1 or /dev/dri/card2: https://pbot.rmdir.de/K5FTcZShMQPXjnv5vKzWwQ
#asahi · 2022-11-20 10:09
Glanzmannj`ey: You're welcome. :-)
#asahi · 2022-11-20 09:41
Glanzmannhttps://pbot.rmdir.de/ACOiAA31I6ta_VSQT4KJAw
#asahi · 2022-11-20 09:41
Glanzmannj`ey: No, it doesn't timestamps of the files are old:
#asahi · 2022-11-20 09:40
GlanzmannI have not checked, but let me check
#asahi · 2022-11-20 09:39
Glanzmannj`ey: I also tried it this morning on the macbook air, worked as well.
#asahi · 2022-11-18 19:18
Glanzmannkh: I'm on the same version and for me it works.
#asahi · 2022-11-18 19:15
Glanzmannkh: Here is a dmesg of where dcp is working on m1 air: https://pbot.rmdir.de/42lia7YpUmwMMCdi9cwcKg
#asahi · 2022-11-18 19:14
Glanzmannkh: Same thing.
#asahi · 2022-11-18 19:11
Glanzmannkh: So the issue is apparantly, that you don't use dcp. As a result you don't have any brightness control.
#asahi · 2022-11-18 19:10
Glanzmannjannau, correct me if I'm wrong, but it looks like dcp does not work: [ 1.953076] apple-dcp: probe of 271c00000.dcp failed with error 295021056
#asahi · 2022-11-18 19:09
Glanzmannkh: So the brightness does not change?
#asahi · 2022-11-18 19:07
GlanzmannLooks like a regression.
#asahi · 2022-11-18 19:06
Glanzmannkazuki: Can you paste the output of your dmesg to tg.st/p ?
#asahi · 2022-11-18 19:06
Glanzmannkazuki: Okay, have you tried echo '80' > /sys/class/backlight/apple-panel-bl/brightness as root?
#asahi · 2022-11-18 19:05
Glanzmannkazuki: So the edge kernel is not booting for you?
#asahi · 2022-11-18 19:04
Glanzmannkazuki: Okay, than that isn't it.
#asahi · 2022-11-18 19:04
Glanzmannkazuki: On Debian I used the following script to produce a working kernel, m1n1, u-boot: https://tg.st/u/dcp.sh but I'm not sure if works well on alarm.
#asahi · 2022-11-18 19:04
GlanzmannNo idea if it is related or was just a stupid one off.
#asahi · 2022-11-18 19:03
Glanzmannkazuki: So for me the current rebase worked after I upgraded to Ventura.
#asahi · 2022-11-18 19:03
Glanzmannkazuki: What version is your macos?
#asahi · 2022-11-18 19:01
Glanzmannkazuki: For me it is working on m1 air which is very simliar to m1 mbp 13.
#asahi · 2022-11-18 15:48
GlanzmannIs the macbook air supposed to turn off the screen using dcp when I close the lid or do I have to do that myself?
#asahi · 2022-11-18 15:47
Glanzmannaxboe: I remeber. Really strange what it is then.
#asahi · 2022-11-18 15:46
Glanzmanndmesg: https://pbot.rmdir.de/42lia7YpUmwMMCdi9cwcKg
#asahi · 2022-11-18 15:45
Glanzmannaxboe: If you want I can send you my kpkg and boot.bin, if you want to try it.
#asahi · 2022-11-18 15:45
Glanzmannaxboe: Just try fvwm or blackbox.
#asahi · 2022-11-18 15:44
Glanzmannaxboe: For me it works with the dcp.
#asahi · 2022-11-18 15:44
GlanzmannI see, thanks.
#asahi · 2022-11-18 15:39
GlanzmannBtw. the brightess control is handled by the kernel or do I need userland for it?
#asahi · 2022-11-18 15:37
Glanzmannaxboe: Let me reboot and try it on my m1 air.
#asahi · 2022-11-18 15:37
GlanzmannI see. Strange, I use dcp on my mini. No issues once the kernel booted and probed pcie. I never tried it on the laptop. But I'll soon.
#asahi · 2022-11-18 15:36
Glanzmannaxboe: Do you need to hit the brightness up/down just once or everytime you want a screen update?
#asahi · 2022-11-18 09:32
Glanzmannsven: I rebooted a few times but can not reproduce it. :-(
#asahi · 2022-11-18 09:32
Glanzmannsven: Wow. Interesting.
#asahi · 2022-11-18 08:15
Glanzmannsven: I had only three boots with the kernel (1 out of 2 had the issue) so far, but I can try to reproduce and let you know.
#asahi · 2022-11-18 07:39
Glanzmannsven: This is with the edge config but with every 'edge' option as =y and dart=y because otherwise the kernel does not find usb-a, usb-c, pcie, network. Jannau was unable to reproduce my boot issue, but if someone is interested in the dmesg I can disable x boot the broken kernel and use the serial console or make a photo.
#asahi · 2022-11-18 07:35
Glanzmannsven: I just booted my mini and my keyboard on usb-c was dead once linux was booted (in u-boot/grub it was working). Than I plugged to usb-a and it worked. When I put it back into the usb-a to usb-c dongle it did not work, but when I repluged the usb-c dongle than it became active. dmesg in case you're interested: https://pbot.rmdir.de/m1AZcyUkn3i_Zf69mSIPFw
#asahi · 2022-11-17 13:42
Glanzmannmps: I see thanks for the tip, I have to try it.
#asahi · 2022-11-17 13:34
GlanzmannMaybe I should file a bug Thomas Dickey to get it fixed.
#asahi · 2022-11-17 13:33
GlanzmannI also had some problem with uxterm scrolling not only on m1 but also on some intel platforms when using tmux. I now use alacritty as terminal. It burns a lot more cpu, but has smooth scrolling. :-)
#asahi · 2022-11-17 13:33
GlanzmannI just checked, I have smooth scrolling checked.
#asahi · 2022-11-17 13:31
Glanzmannregarding smooth scrolling. Please keep in mind that mps and I are using xorg. The default is wayland which by default slower. Also in firefox there is a checkbox called 'smooth scrolling' in the settings which might improve things by either checking or unchecking it, I don't recall. But at the time I modified it, it made a difference for me.
#asahi · 2022-11-16 19:28
Glanzmannopticron / sven: I see, thank you for bringing me up2speed.
#asahi · 2022-11-16 18:54
GlanzmannBut maybe I screwed something up, or missed something different.
#asahi · 2022-11-16 18:54
GlanzmannSo me updating another macos install on the same system should not have any affect on my LInuyx partition which I have not touched for ages.
#asahi · 2022-11-16 18:53
Glanzmannopticron: If I understood Pedro Sánchez correctly, than our working theory is that the firmware comes from the currently selected boot device.

plus ›