#
…

2024-01-23

00:26mkurz has quit [Ping timeout: 480 seconds]
00:32kdb424 has quit [Quit: The Lounge - https://thelounge.chat]
00:59kdb424 has joined #asahi-alt
01:58aspargas2 has joined #asahi-alt
02:00KxCORP has quit [Quit: Bye!]
02:01KxCORP has joined #asahi-alt
05:10john-cabaj has quit [Quit: john-cabaj]
05:49possiblemeatball has quit [Quit: Quit]
07:48mkurz has joined #asahi-alt
07:59dcavalca1 has joined #asahi-alt
09:17pjakobsson has quit [Remote host closed the connection]
09:19lactose has joined #asahi-alt
09:21pjakobsson has joined #asahi-alt
09:48chadmed has quit [Ping timeout: 480 seconds]
09:56chadmed has joined #asahi-alt
10:18lactose has quit [Read error: Connection reset by peer]
10:22chadmed has quit [Remote host closed the connection]
10:23chadmed has joined #asahi-alt
10:27chadmed has quit [Remote host closed the connection]
10:27chadmed has joined #asahi-alt
10:34chadmed has quit [Read error: Connection reset by peer]
10:34chadmed has joined #asahi-alt
10:36lactose has joined #asahi-alt
10:41chadmed has quit [Remote host closed the connection]
10:43chadmed has joined #asahi-alt
10:43lactose has quit [Read error: Connection reset by peer]
10:46lactose has joined #asahi-alt
10:48lactose has quit []
10:52chadmed has quit [Remote host closed the connection]
10:57chadmed has joined #asahi-alt
11:05chadmed has quit [Remote host closed the connection]
11:16chadmed has joined #asahi-alt
11:20minecrell has quit [Quit: Ping timeout (120 seconds)]
11:20minecrell has joined #asahi-alt
11:30Tofu has joined #asahi-alt
11:32Tofu has quit []
11:33Tofu has joined #asahi-alt
11:33Tofu has quit []
11:54kidplayer666 has joined #asahi-alt
13:53mkurz has quit [Ping timeout: 480 seconds]
13:58mkurz has joined #asahi-alt
14:22RoundDuckKira has quit [Quit: RoundDuckKira]
14:23RoundDuckKira has joined #asahi-alt
14:24john-cabaj has joined #asahi-alt
14:33kidplayer666 has quit [Quit: Connection closed for inactivity]
14:37RoundDuckKira has quit [Quit: RoundDuckKira]
14:48john-cabaj has quit [Quit: john-cabaj]
14:48john-cabaj has joined #asahi-alt
15:02kidplayer666 has joined #asahi-alt
16:02xcpy00 has joined #asahi-alt
16:02minecrell3 has joined #asahi-alt
16:02pounce_ has joined #asahi-alt
16:03snuck has joined #asahi-alt
16:03qyliss_ has joined #asahi-alt
16:04yuka_ has joined #asahi-alt
16:05mini__ has joined #asahi-alt
16:05mx08_ has joined #asahi-alt
16:06mps_ has joined #asahi-alt
16:06minecrell has quit [reticulum.oftc.net helix.oftc.net]
16:06flokli has quit [reticulum.oftc.net helix.oftc.net]
16:06qyliss has quit [reticulum.oftc.net helix.oftc.net]
16:06yuka has quit [reticulum.oftc.net helix.oftc.net]
16:06pounce has quit [reticulum.oftc.net helix.oftc.net]
16:06xcpy0 has quit [reticulum.oftc.net helix.oftc.net]
16:06sneak has quit [reticulum.oftc.net helix.oftc.net]
16:06mps has quit [reticulum.oftc.net helix.oftc.net]
16:06mx08 has quit [reticulum.oftc.net helix.oftc.net]
16:06mini_ has quit [reticulum.oftc.net helix.oftc.net]
16:06lucus has quit [reticulum.oftc.net helix.oftc.net]
16:06ahdeb[m] has quit [reticulum.oftc.net helix.oftc.net]
16:06LeandroCunha[m] has quit [reticulum.oftc.net helix.oftc.net]
16:06matrix_ds has quit [reticulum.oftc.net helix.oftc.net]
16:06mixi has quit [reticulum.oftc.net helix.oftc.net]
16:06mini__ is now known as mini_
16:06xcpy00 is now known as xcpy0
16:07mini_ has quit [Killed (charon.oftc.net (Nick collision (new)))]
16:07mx08 has joined #asahi-alt
16:07mini_ has joined #asahi-alt
16:07yuka has joined #asahi-alt
16:07LeandroCunha[m] has joined #asahi-alt
16:07minecrell has joined #asahi-alt
16:07ahdeb[m] has joined #asahi-alt
16:07pounce has joined #asahi-alt
16:07flokli has joined #asahi-alt
16:07mixi has joined #asahi-alt
16:07qyliss has joined #asahi-alt
16:07sneak has joined #asahi-alt
16:07mps has joined #asahi-alt
16:07lucus has joined #asahi-alt
16:07matrix_ds has joined #asahi-alt
16:07mini__ has joined #asahi-alt
16:07mixi has quit [Ping timeout: 485 seconds]
16:07mixi has joined #asahi-alt
16:07flokli has quit [Ping timeout: 481 seconds]
16:07yuka has quit [Ping timeout: 496 seconds]
16:07qyliss has quit [Ping timeout: 486 seconds]
16:07sneak has quit [Ping timeout: 486 seconds]
16:07mx08 has quit [Ping timeout: 486 seconds]
16:07LeandroCunha[m] has quit [Ping timeout: 496 seconds]
16:07larsjel has joined #asahi-alt
16:08minecrell has quit [Ping timeout: 484 seconds]
16:08lucus has quit [Ping timeout: 484 seconds]
16:08mps has quit [Ping timeout: 484 seconds]
16:08pounce has quit [Ping timeout: 484 seconds]
16:08mini_ has quit [Ping timeout: 484 seconds]
16:08mini__ is now known as mini_
16:09flokli has joined #asahi-alt
16:13qyliss_ is now known as qyliss
16:19LeandroCunha[m] has joined #asahi-alt
16:39possiblemeatball has joined #asahi-alt
16:53eiln has quit [Ping timeout: 480 seconds]
18:33mps_ is now known as mps
19:15opticron has quit [Read error: Connection reset by peer]
19:15opticron has joined #asahi-alt
19:34mpsI see mesa asahi-20240123 is tagged. Is it ok to use it witj asahi-6.6-15 kernel
19:45cy8aerlooks like, I just try it out...
19:49mpscy8aer: yes, also I rebooted to this combo
19:49cy8aer... still compiling ...
19:49mpsfor now all works
19:51mpsexcept soffice, but this is another story, probably I messed something, it didn't worked earlier so no problem
19:58cy8aerOk, it is now in my unstable repo and it looks like it is working. How can I check if pipewire uses CONFIG_UCLAMP_TASKS?
20:05cy8aerYep, I had a typo in my config. Need to compile the kernel with CONFIG_UCLAMP_TASK again!
20:07j`eyyou manually edit the config?
20:09cy8aerNo the Glanzman construct has a config.txt which is then put into the kernel's .config
20:10cy8aerBut it is a text file. And the kernel compilation does changes in the config then.
20:11cy8aerWhat about CONFIG_UCLAMP_TASK_GROUP - it is not set by now?
20:13j`eyfedora does also set tha
20:14cy8aersound logical somehow if you want to set a cgroup...
20:15mpsI didn't set UCLAMP_TASK_GROUP
20:15cy8aer(sounds)
20:15mpsenabled*
20:16cy8aer"UCLAMP_TASK_GROUP" (and the other UCLAMP stuff) enables the user space setting which enables a process running on low power cores with low frequencies. Saves power when running pipewire sound (I think it is running on the low power cores with 200MHz then?)
20:18j`eyI dont think they go that low, I think it's 600mhz, but it just places them on the E cores, they might still be at 1-2ghz
20:20cy8aerOh, then I misinterpreted some old mastodon post (?) of marcan.
20:20mpsI never seen lower than 600MHz
20:21cy8aerbut audio is then stuck on the E-cores.
20:27eiln has joined #asahi-alt
20:39opticronFor some reason, I didn't think it *forced* it to be on the e-cores, just told the kernel that its time-averaged processor demand was small enough to run on an e-core at its lowest freq
20:39j`eyyes that sounds correct
20:40cy8aerIs there a way to see if this works?
20:40opticronglad I have some amount of information retention :D
20:41j`eyforcing it would be with taskset
20:53chadmedcy8aer: uclampset -p [pid of pipewire]
20:54cy8aerchadmed: thanks for the command - and it works.
20:57nela has quit [Ping timeout: 480 seconds]
21:26eiln has quit [Ping timeout: 480 seconds]
21:38ashi has joined #asahi-alt
21:41ashicy8aer: Thank you for the new packages, everything works as expected in linux, however for some strange reason in m1n1 I cannot use the keyboard on my M2 Air 13" anymore. Good that grub auto-boots ;)
21:42j`eydid you update u-boot?
21:42cy8aerOups, let me see...
21:43cy8aerI am still on asahi-v2023.07.02-4 - what should I use?
21:44j`eywell I was trying to figure out what changed for ashi
21:44ashij`ey: yes I did. I can call update-m1n1 again.
21:45ashi u-boot-asahi:arm64 2024.01+dfsg-1 arm64
21:45mkurz has quit [Ping timeout: 480 seconds]
21:45j`eyis that from cy8aer or the team banaanas stuff?
21:46cy8aermy stuff is Glanzmann and does not use update-m1n1!
21:46ashij`ey: debian upstream
21:48j`eydebian.org is slooooow
21:49j`eyit might be that debian's uboot is using upstream u-boot
21:49cy8aerI'll try upstream...
21:50j`eythat seems to just be using upstream u-boot
21:50j`eyso yeah, keyboard wont work
21:51mkurz has joined #asahi-alt
21:51j`ey(I cant see the package on debian.org because it's slow/not working)
21:51cy8aerbut from the asahi branch, right?
21:52ashij`ey_ thanks
21:52ashidebian.org is super slow, I know but eventually it loads - after ages
21:52j`eytrying to view this page
21:53ashij`ey: now I got a timeout also
21:54ashicy8aer: which package do you use? your own?
21:54j`eyI cant figure out how to find the debian equivalent of a PKGBUILD
21:55j`eybut the fact that this shows a bunch of packages https://packages.debian.org/source/sid/u-boot means they arent using the asahi branch
21:56cy8aerhm, I'll try the asahi branch.
21:56cy8aer325a2800d2 should be the last commit
21:56j`eycy8aer: I meant asahi repo
21:57j`eythat debian package is built from upstream u-boot
21:57JayBeeFOSS has quit [Ping timeout: 480 seconds]
21:57cy8aerand for my packaging I mean the asah repo and branch asahi.
21:58JayBeeFOSS has joined #asahi-alt
22:00ashicy8aer: I am confused, do you have your own u-boot-asahi package?
22:00mpsmainline u-boot have some M2 support added but I'm not sure it works
22:01mpsI don't have M2 to test
22:01cy8aerashi: yes because the Glanzmann stuff builds the boot.bin at kernel packaging time
22:02cy8aer(just a moment - I need to test it)
22:04j`eyashi: so did that upstream debian install automatically, or did you manually do it?
22:05ashilinux-image-asahi depends on u-boot-asahi so it gets pulled in
22:06j`eyah, and it's a later version so takes over from the ones built by that script i guess
22:06ashianyway there is more confusion, because looking at /etc/kernel/postrm.d/zz-update-m1n1 it will call update-m1n1
22:07ashithere is a check for glanzmanns m1n1 package but the m1n1 package is from debian also
22:09cy8aeryes and no: The postrm and preinstall script look for boot.bin and m1n1.bin in /usr/lib/m1n1 and exits 0 because this situation is on glanzmann installs
22:09cy8aer(scripts)
22:10ashibut then are in /usr/lib/m1n1
22:10ashiit does not exit
22:11ashiif [ ! -e /usr/lib/m1n1/m1n1.bin ] && [ -e /usr/lib/m1n1/boot.bin ]; then
22:11ashibut is does exist so it does not exit
22:13cy8aerso what m1n1 version do you have installed?
22:13ashiii m1n1 1.4.11-6 arm64 Apple silicon boot loader
22:14ashi https://git.g3la.de/api/packages/repos/debian testing/main arm64 m1n1 arm64 1.4.11-6 [455 kB]
22:14cy8aeryes and this has: /usr/lib/m1n1/boot.bin and /usr/lib/m1n1/m1n1.bin and let zz-update-m1n1 ignore the update-m1n1
22:15ashi if [ ! -e /usr/lib/m1n1/m1n1.bin ]
22:15ashidoesnt this mean "if this file does not exist"
22:16ashithere is a "!"
22:20ashianyway, it is getting late, and I did not want to take your time. I can figure this out myself, and if everything is fine at your side, I probably did something weird.
22:21cy8aerhm, is is possible that I edited some stuff there. Please look at /etc/kernel/postinst.d/zz-update-m1n1. Is there the '!' too?
22:21cy8aer(it is possible)
22:24ashiyes, it is there also, I will reinstall asahi-scripts just to make sure
22:25cy8aercrazy: wth my u-boot-asahi (the new one I just built) update-m1n1 works, with the debian upstream one it fails (because it cannot find /usr/lib/u-boot-asahi/u-boot-nodtb.bin - just a moment
22:26ashicy8aer: yes paths are different - I put a symlink there :P
22:28cy8aerI am working with the upstream asahi-scripts and there is the wrong path?
22:29ashiseems so
22:30ashiu-boot-asahi:arm64: /usr/lib/u-boot/apple_m1/u-boot-nodtb.bin
22:31ashibut update-m1n1 from asahi-scripts wants /usr/lib/u-boot-asahi/u-boot-nodtb.bin
22:31cy8aerI put this information into #debian-bananas right now. Let's see what the devs do with this.
22:32ashiI symlinked u-boot-asahi -> u-boot/apple_m1 in /usr/lib
22:32ashithen everything "worked", it got triggered and no keyboard before kernel boot
22:33ashiI dont know what would happen if I put an exit 0 in the postrm/postinst scripts in the first line - if I would have ended up with a working u-boot/m1n1
22:33j`ey(no keyboard is expected)
22:33cy8aerbecause update-m1n1 works now I probably would be able to forget the pre built boot.bin now. But my first tries ended up with killing my stub without an efi backup - some people may remember this in august 😉
22:35ashij`ey: might be but it is a regression for me after updaten the packages (and creating the symlink to make postinst work)
22:35j`eyashi: for sure, just saying that it's an expected one if you use their packages
22:37ashiFor debian there are only "their packages" for that part because cy8aer removes pacakges as soon as they got upstreamed (if I understood that correctly)
22:37cy8aerashi: my m1n1 builts a boot.bin at compile time and copies it to /boot/efi/m1n1 at install time (with backup boot.bin-2024...). update-m1n1 creates the boot.bin at kernel install time from the kernel dtbs and the m1n1.bin and the u-boot.bin and a backup boot.bin.old. Actually both work (if the paths are set right)
22:37cy8aermore or less as soon as they got upstreamed, right
22:38j`eywell cy8aer should keep uboot :P
22:38cy8aerI do not build the audio stack anymore.
22:39cy8aerYes, I'll do until there is a agreement what to do at future time.
22:39ashicy8aer: so if i put an exit 0 in the hooks and then reinstall m1n1 from your repo, then it is expected to have keyboard back?
22:39cy8aerMy version of m1n1/u-boot works.
22:39ashiI mean I will end up with a different boot.bin then?
22:40cy8aerYes. And - just wait. I'll upload a new m1n1/u-boot with faster keyboard response.
22:41cy8aerBy default my m1n1/u-boot is not priorised but m1n1 has a subversion greater than upstream. And this trick priorises my m1n1. I did not document a pinning of my packages
22:42ashicy8aer: but you do not have a u-boot-asahi package right?
22:43cy8aerIt should be shown with apt policy u-boot-asahi with my repo defined
22:43cy8aer(that is the new version)
22:44ashi has quit [Remote host closed the connection]
22:44cy8aerBut if you define my repo it has priority 500 so the deb upstream may win.
22:44ashi has joined #asahi-alt
22:45ashicy8aer: just rebooted and confirmed, putting the exit 0 there and reinstalling m1n1 brings keyboard back
22:46ashiso, as soon as this is fixed upstream it should just work using update-m1n1
22:49ashiThank you cy8aer and j`ey! Need to sleep. good night!
22:50cy8aersame for me. good night
22:50ashi has quit [Quit: Leaving]
23:04mkurz has quit [Ping timeout: 480 seconds]
23:10mkurz has joined #asahi-alt
23:10john-cabaj has quit [Ping timeout: 480 seconds]
23:13kidplayer666 has quit [Quit: Connection closed for inactivity]
…