#
…

2023-08-22

00:39Ruafraidofme has joined #asahi-alt
00:47Ruafraidofme has quit [Remote host closed the connection]
01:57chadmed_ has quit [Quit: Page closed]
02:06chadmed has joined #asahi-alt
02:30chadmed has quit [Remote host closed the connection]
03:16possiblemeatball has quit [Quit: Quit]
03:20chadmed has joined #asahi-alt
03:55Enzime has quit [Remote host closed the connection]
03:55chadmed has quit [Remote host closed the connection]
03:55chadmed_ has joined #asahi-alt
03:58Enzime has joined #asahi-alt
04:03chadmed_ has quit [Ping timeout: 480 seconds]
04:17cylm has joined #asahi-alt
04:20cylm__ has joined #asahi-alt
04:23cylm_ has quit [Ping timeout: 480 seconds]
04:27cylm has quit [Ping timeout: 480 seconds]
04:43Enzimehow do I change the screen brightness from command line? I'm running the edge kernel on my M1 MBA
05:02chadmed has joined #asahi-alt
05:16chadmedEnzime: echo ${brightness} | sudo tee /sys/class/backlight/apple-panel-bl/brightness
05:16chadmedthe scale is kinda funky, try starting with 25
05:26EnzimeI don't have a "/sys/class/backlight/apple-panel-bl", do you know what kernel module provides that?
05:53chadmedEnzime: it's the dcp driver, definitely should be in -edge
05:58chadmed_ has joined #asahi-alt
05:58chadmed has quit [Read error: Connection reset by peer]
05:59chadmed_Enzime: that's just for simpledrm, not dcp
06:00chadmed_the dcp driver itself provides the backlight sysfs
06:02chadmed_ has quit [Remote host closed the connection]
06:34Enzimeaccording to this commit "CONFIG_BACKLIGHT_GPIO" needs to be enabled https://github.com/torvalds/linux/commit/d76d87a83c5a5b58ef9d487c306dc20085b27d28
06:37jannauEnzime: no. we do not want to use BACKLIGHT_GPIO. That was (is) a shortgap solution for systems without display controller driver
06:37jannauyou want CONFIG_DRM_APPLE
06:39Enzimemy edge config has "CONFIG_DRM_APPLE=m" and it seems like it's loaded
06:40sam_ has quit [Quit: ZNC - http://znc.in]
06:42jannauwhich kernel version/tag is this? pan you paste the output of `dmesg | grep apple-dcp` or `journalctl -k | grep apple-dcp`
06:43sam_ has joined #asahi-alt
07:05Enzime[ 11.560811] apple-dcp 231c00000.dcp: Could not read 'apple,firmware-compat': -75
07:05Enzime[ 11.560060] apple-dcp 231c00000.dcp: Adding to iommu group 3
07:07j`eydts mismatch maybe?
07:12jannauI think an old 2nd stage m1n1, that's a property m1n1 adds
07:12j`eyah no, it's m1n1 that sets up that in the dts
07:13jannaubut I wouldn't rule out a dtb mismatch on top of that
07:27alarmer has joined #asahi-alt
07:30alarmerhello, i'm using 1.71 rust on gentoo, what can one do in order to compile kernel with asahi_drm? are there external patches for 6.4+1.71?
07:33_jannau__alarmer: 6.4.0-p9 should work with rust 1.71
07:35alarmerwithout any patches? that's strange I'm emerging asahi-sources from chadmed's overlay. First I had to change white|black->allow|block+size_t (shouldn't this already be patched)? am I missing something?
07:37alarmeralso: there's a message in tty every n minutes: INIT: Id "f0" respawning too fast, how can one fix this?
07:41mpslooks like rust 1.71.1 works for me on alpine with musl libc
07:43_jannau__that's bindgen and it's unmodified from the kernel rust, we probably could patch that based on the installed bindgen version in the ebuild
07:43_jannau__works for my sinstalled bindgen version
07:44alarmerso one needs to downgrade bindgen, then? https://bpa.st/N4QA
08:01alarmerwith 0.56.0 bindgen panic: bpa.st/ZG7A
08:02alarmer has quit [Quit: Lost terminal]
08:06mpsI use rust-bindgen 0.66.0
08:09crcvxc has joined #asahi-alt
08:13alarmer has joined #asahi-alt
08:13alarmerbindgen 0.66.0 seems to be working for now
08:15SalimTerryLi has quit [Remote host closed the connection]
08:18SalimTerryLi has joined #asahi-alt
08:19Dementor has quit [Quit: Ping timeout (120 seconds)]
08:19Dementor has joined #asahi-alt
08:20alarmer has quit [Quit: leaving]
08:45crcvxc has quit []
08:46crcvxc has joined #asahi-alt
08:54crcvxc has quit [Ping timeout: 480 seconds]
08:57crcvxc has joined #asahi-alt
09:08hightower2 has quit []
09:44test has joined #asahi-alt
09:45testis marcan here?
09:46Enzime_jannau__ any ideas how to fix a potential DTS/DTB mismatch?
09:49_jannau__Enzime: ensure you have a revent version of m1n1 installed and do the equivalent of update-m1n1 on the reference distro
09:50test has quit [Remote host closed the connection]
09:50test has joined #asahi-alt
09:52_jannau__Enzime: I have no idea what kind of setup your using. It would probably make sense to make yourself familiar with https://github.com/AsahiLinux/docs/wiki/Distro:Boot-process-guide and https://github.com/AsahiLinux/docs/wiki/Open-OS-Ecosystem-on-Apple-Silicon-Macs#firmware-provisioning since you're not using a distro which handles those task automatically
09:55jntest: as your IRC client will tell you, yes. however, you're more likely to get a useful answer if you ask your actual question right away
10:02kali_ has joined #asahi-alt
10:06kali__ has joined #asahi-alt
10:06test has quit [Ping timeout: 480 seconds]
10:10kali_ has quit [Ping timeout: 480 seconds]
10:11chadmed has joined #asahi-alt
10:11chadmed has quit []
10:13chadmed has joined #asahi-alt
10:21kali__im kali uchis
10:22kali__hexchat has the most unintuitive user interface i have ever experienced using
10:26kali__ has quit []
12:46chadmed has quit [Remote host closed the connection]
12:47chadmed has joined #asahi-alt
13:03crcvxc has quit [Ping timeout: 480 seconds]
13:06chadmed has quit [Ping timeout: 480 seconds]
13:08mkurz has joined #asahi-alt
13:13chadmed has joined #asahi-alt
13:47BenTheTechGuy has left #asahi-alt [WeeChat 3.8]
16:35flatz has joined #asahi-alt
17:43rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
17:43Guest9295 has quit [Quit: Bridge terminating on SIGTERM]
17:46Jamie has joined #asahi-alt
17:46Jamie is now known as Guest295
17:47rhysmdnz has joined #asahi-alt
18:19flatz has quit [Remote host closed the connection]
18:36flatz has joined #asahi-alt
18:44flatz has quit [Ping timeout: 480 seconds]
19:02flatz has joined #asahi-alt
19:10flatz has quit [Remote host closed the connection]
19:10flatz has joined #asahi-alt
20:24possiblemeatball has joined #asahi-alt
20:34possiblemeatball has quit [Quit: Quit]
20:39possiblemeatball has joined #asahi-alt
20:56possiblemeatball has quit [Quit: Quit]
21:17possiblemeatball has joined #asahi-alt
21:18psykose has quit [Remote host closed the connection]
21:44jjanzic has quit [Read error: Connection reset by peer]
21:44jjanzic1 has joined #asahi-alt
21:46jjanzic1 has quit [Read error: Connection reset by peer]
21:46jjanzic has joined #asahi-alt
21:52jjanzic has quit [Remote host closed the connection]
21:53jjanzic has joined #asahi-alt
21:59jjanzic has quit [Read error: Connection reset by peer]
21:59crcvxc has joined #asahi-alt
21:59jjanzic has joined #asahi-alt
22:03crcvxc_ has joined #asahi-alt
22:10crcvxc has quit [Ping timeout: 480 seconds]
22:14jjanzic has quit [Remote host closed the connection]
22:17jjanzic has joined #asahi-alt
22:34crcvxc_ has quit []
22:34crcvxc has joined #asahi-alt
23:39jjanzic has quit [Read error: Connection reset by peer]
23:40flatz has quit []
23:40jjanzic has joined #asahi-alt
23:43crcvxc has quit []
23:43crcvxc has joined #asahi-alt
…