#
…

2024-04-25

00:49john-cabaj[m]tobhe how are we handling Mantic EOL and the roll to Noble? Mantic might not get the 6.8 kernel because of the new packages in Noble. 
04:27popey has quit [Read error: Connection reset by peer]
04:27popey has joined #ubuntu-asahi
04:38pthariensflame has joined #ubuntu-asahi
04:47pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
05:24popey has quit [Read error: Connection reset by peer]
05:25popey has joined #ubuntu-asahi
08:03tobhe[m]i think we'll try to get everyone to move to noble as soon as we can (once it works)
10:14popey[m]Is it (will it) be upgradable or will it need a reinstall?
10:14popey[m]or is that all hand-wavy and not solved yet?
11:04tobhe[m]I sure hope it will be 🙂
11:06popey[m]That's the spirit! :D
11:08tobhe[m]now that I'm at home i might actually try
11:08tobhe[m]upgrading with ppas is always a bit... interesting
11:08tobhe[m]maybe just because I don't understand it
11:08popey[m]would you do-release-upgrade or just brute-force edit the sources.list and dist-upgrade?
11:08tobhe[m]do-release-upgrade
11:09tobhe[m]maybe with --allow-third-party
11:09popey[m]I'd be (pleasantly) shocked and amazed if that worked
11:09tobhe[m]oh I got mine from jammy to mantic doing that
11:09popey[m]Would be nice to have an LTS on the mac :)
11:10tobhe[m]I think I was lucky though because it might have just worked because our kernels were always a bit newer than the one I upgraded to
11:10tobhe[m]we might want to actually pin that somehow
11:15tobhe[m]hm asahi-scripts could be a problem
11:15tobhe[m]because the debian version is newer than ours. need to push an update
11:40john-cabaj[m]Kernel image issue is sorted, but headers still can’t install because libelf1t64 and libssl3t64 only exist in noble
11:46tobhe[m]but those are just t64 transitional
11:46tobhe[m]so we could replace them with the non t64 versions
11:47john-cabaj[m]Ill try to track down with these dependencies are here now 
11:47john-cabaj[m]I’m thinking it’s the time_t changes, though
11:51john-cabaj[m]Maybe it’s fine and we just need to shift people to the new noble images. That’s where time_t is fixed. 
11:51john-cabaj[m](Not so much fixed, but no longer on 32-bit time_t)
12:11tobhe[m]for us none of this should make a difference
12:11tobhe[m]since it is all arm64
13:29john-cabaj[m]I think that comes in from libelf-dev
13:30tobhe[m]updated asahi-scripts is now in the testing ppa
13:32tobhe[m]and updated on github
13:32john-cabaj[m]But that's been in linux-apple-arm since initial release
13:32tobhe[m]john-cabaj[m]: so what's the actual error?
13:33tobhe[m]the t64 libraries are a workaround for the time_t transition to force upgrade them to the new ABI
13:33tobhe[m]since none of that exists in mantic and arm64, we can just s/t64//g imo
13:34tobhe[m]or is it not clear where that dependency came from?
13:34john-cabaj[m]It's not terribly clear, but there is a dependency on ` libelf-dev <!stage1>,` that's been there for forever
13:35john-cabaj[m]apt-cache depends libelf-dev on a noble VM shows libelf1t64 as a depends
13:35tobhe[m]yes libelf-dev pulls in the t64 version on noble
13:35tobhe[m]building it on mantic should do the right thing
13:35tobhe[m]we just can't have a single build anymore
13:36john-cabaj[m]Might be that we're building on noble and not making backport kernels anymore
13:36john-cabaj[m]linux-apple-arm is now a noble release, and the binaries just get copied to mantic
13:36tobhe[m]yeah that won't work with this one
13:36tobhe[m]I'd say it would be nice if we could build a single one for mantic
13:37tobhe[m]and then migrate everyone to noble
13:38john-cabaj[m]We did have mantic on 6.6 at least
13:38tobhe[m]I am a little worried about do-release-upgrade pulling in the new kernel
13:38tobhe[m]and breaking stuff
13:38john-cabaj[m]I don't know that there's anything new in terms of features.
13:39tobhe[m]but we can probably add something to our meta package to have grub prefer the asahi kernel
13:39tobhe[m]actually I think I'll try the upgrade now
13:42tobhe[m]do any of you have held-back libreoffice updates btw?
13:43tobhe[m]wish me luck 😛
14:07Saviq[m] has joined #ubuntu-asahi
14:09Saviq[m]Hey tobhe (so many of you...) :)
14:09Saviq[m]Would you please enable noble and upload a Mesa into https://launchpad.net/~tobhe/+archive/ubuntu/asahi? I'm building mesa-2404 and would like an `asahi` track straight up. All `base: core24` [should also](https://forum.snapcraft.io/t/rfc-migrating-gnome-and-kde-snapcraft-extensions-to-gpu-2404-userspace-interface/39718) use that approach to GPU userspace soon
14:10tobhe[m]will do, thanks!
14:11tobhe[m]sounds awesome btw 🙂
14:12tobhe[m]update is still going, no errors so far...
14:14tobhe[m]Restart required
14:14tobhe[m]To finish the upgrade, a restart is required.
14:14tobhe[m]If you select 'y' the system will be restarted.
14:17eslerm[m]<tobhe[m]> "do any of you have held-back..." <- holding back libreoffice-core is libreoffice-common > 4:7.6.5
14:17eslerm[m](use John's `sudo apt install --dry-run` on all held back packages to see)
14:19eslerm[m]nice to see you here Saviq o/
14:19tobhe[m]oh wow it worked
14:20tobhe[m]even on the old kernel still
14:20john-cabaj[m]Mind adding my PPA and seeing how the dependencies shake out?
14:31tobhe[m]so I'll start copying our current packages to noble and then start the actual rebuild for mesa
14:33popey[m]Ok, should I do-release-upgrade on my M1? Anything special I need to worry about before I do?
14:33tobhe[m]I did do-release-upgrade -d --allow-third-party
14:33popey[m]Ok, gonna do it
14:33tobhe[m]you probably want asahi-scripts from asahi-testing
14:34tobhe[m] 20231219.1-1ubuntu1
14:35tobhe[m]just to make sure it doesn't get replaced by the debian version
14:35popey[m]/me plugs the power in, just in case
14:35tobhe[m]and maybe check your grub.cfg and packages before actually rebooting
14:36tobhe[m]to make sure it doesn't default to the default kernel
14:38tobhe[m]after booting into noble, apt upgrade tries to downgrade a bunch of things
14:38tobhe[m]should be fixed soon
14:38tobhe[m]that's just because we didn't have a noble release in our ppa
14:38tobhe[m]now that I copied the binary packages there they should be detected and stick around
14:38tobhe[m]at least it didn't automatically remove anything!
14:40tobhe[m]oh and it actually disabled the ppa...
14:40popey[m]ok, changed ppa from asahi to asahi-testing and here comes libreoffice is indeed kept back, and there's new asahi-scripts, and suggestion to remove some kernels
14:40tobhe[m]i just removed libreoffice before updating
14:41tobhe[m]ah maybe the asahi ppa got disabled because there isn't a release file yet
14:43tobhe[m]john-cabaj: new kernel installs
14:45tobhe[m]we will need to bump the mesa version for noble. archive one is higher
14:48tobhe[m]boot is a bit slow and there are some dmesg errors
14:49tobhe[m]but that is because of noble and not 6.8
14:57john-cabaj[m]What do you think, should we provide a 6.8 backport kernel for 23.10?
14:59tobhe[m]probably not needed now that we know the upgrade works
15:04tobhe[m]building mesa locally now. if this works I'll upload it
15:46eslerm[m]popey: I think your screenshots of btop influenced https://www.youtube.com/watch?v=q5yM4ZYwB_s :)
15:59tobhe[m]looks like ubuntu-desktop pulls in protection-domain-mapper which causes systemd failures. this was probably meant for the x13s
16:39john-cabaj[m]That got thrown in from the Fedora configs
16:39tobhe[m]need to fetch your tree and see what this is supposed to do...
16:40john-cabaj[m]Enable support for the SIO coprocessor found on Apple Silicon SoCs
16:40john-cabaj[m] where it provides DMA services.
16:41tobhe[m]that sounds important
16:42tobhe[m]ah we might be missing a m1n1 update
16:42tobhe[m]Saviq: mesa build was successful
16:43tobhe[m]will copy it to the release ppa once it finished publication
16:46tobhe[m]tobhe[m]: hm no
16:54john-cabaj[m]Will check what else went in with that config option
17:06john-cabaj[m]Hmm, that's been in for awhile. Just wasn't enabled
17:14john-cabaj[m]From Fedora Asahi:
17:33tobhe[m]aha 🙂 good to know
17:48popey[m]Hm, upgrade to 24.04 went well - thank you. Feels mega sluggish though.
17:50tobhe[m]check that the ppa is still enabled
17:50popey[m]feels like software rendering
17:51popey[m]huh, is there a new format for this, a .sources file?
17:51tobhe[m]yeah. i still struggle with those
17:51tobhe[m]copying lines was easier
17:52tobhe[m]but they have pubkeys per ppa which is good
17:52popey[m]and yes, the extra-ppas.list.distUpgrade has the mantic ppa commented out
17:52tobhe[m]so you probably have to enable and update it to noble
17:52popey[m]ya, on it
17:52tobhe[m]and then upgrade some more
17:53popey[m]asahi-testing?
17:55tobhe[m]or regular. newest mesa is only in testing
17:55tobhe[m]but I'll publish it now
17:56popey[m]/me updated
18:03popey[m]Hmm, still feels sus. gnome-shell eating 20% cpu
18:04tobhe[m]another thing we can try is update to 6.8
18:11popey[m]uh, that didn't go well :)
18:12popey[m]`gzip: /usr/lib/u-boot-asahi/u-boot-nodtb.bin: No such file or directory`
18:12popey[m]when installing linux-image-6.8.0-1001-apple-arm
18:12john-cabaj[m]Did you install linux-image-6.8.0-1001-apple-arm or linux-apple-arm meta?
18:13popey[m]i just did a dist-upgrade
18:13tobhe[m]looks like you got the debian uboot
18:14tobhe[m]you probably do need ~tobhe/asahi and asahi testing
18:16popey[m]hm, dist-upgrade just removed 6.6-1003, but should I also install linux-apple-arm?
18:17popey[m]or some other uboot magic? :D
18:19tobhe[m]linux-apple-arm yes
18:19tobhe[m]but you probably have 1004
18:19tobhe[m]and u-boot should have ubuntu in the version string
18:20popey[m]u-boot as in the debian .deb package? because I don't have a u-boot installed
18:20tobhe[m]u-boot-asahi
18:20tobhe[m]not installed is bad
18:20tobhe[m]maybe check that ubuntu-asahi is installed
18:21tobhe[m]that should pull in everything important
18:21popey[m]ok, i have u-boot-asahi 2024.01+dfsg-1ubuntu5
18:22popey[m]anything i do tries to remove the old kernel, which fails because of the above gzip error
18:22tobhe[m]that version sounds wrong
18:23tobhe[m]bit why is this not happening on my machine
18:23tobhe[m]u-boot-asahi/noble,now 2023.07.02-4-1ubuntu1 arm64 [installed]
18:24popey[m]i got the noble one
18:25tobhe[m]we need to make sure ours has higher priority somehow
18:25tobhe[m]can't rely on the version number
18:26tobhe[m]but how do we best ship that as an update
18:26popey[m]i might have to manually unpack that u-boot-asahi and put the bits in place to make apt happy :D
18:27tobhe[m]if you have the ppa enabled and pinned I think it should downgrade
18:27tobhe[m]maybe 1001 is not enough for that
18:27popey[m]nah, because I have a kernel in flight, which it's trying to do first
18:27popey[m]so i get the gzip error whatever i do
18:28popey[m]nvm, I just dpkg -i the u-boot-asahi deb from /var/cache :D
18:28popey[m]thank you!
18:28tobhe[m]alternative would be to just point the script to the correct path
18:29tobhe[m]or move it
18:33popey[m]on 6.8, still sluggish
18:33tobhe[m]running wayland?
18:49tobhe[m]CLUTTER_PAINT=disable-dynamic-max-render-time might help
18:50popey[m]i get failed to load driver: zink, in the output of glxgears, in case that's relavent to mesa?
18:50tobhe[m]good to know
18:50popey[m]where do I put that variable? :D
18:51tobhe[m]i guess /etc/environment
18:53tobhe[m]i recently read somewhere that gdm also loads `~/.config/environment.d/*.conf`
18:53popey[m]added both the variables reported in that issue to work. works!
18:54tobhe[m]good to know
18:54popey[m]gnome shell still eating cpu though
18:55popey[m]so not 100% amazing, but better than it was
18:55tobhe[m]we might want to add that to our meta package somehow
18:55popey[m]yeah, it's still sluggish under any load
18:55popey[m]needs more debugging i think
18:55popey[m]this is pretty unusable
18:56popey[m]gonna shut it down and play more tomorrow :D
18:59tobhe[m]I'll see if i can find out more later
20:24tobhe[m]so after another update mine is also borked
20:24tobhe[m]might be the mesa I pushed earlier
20:25tobhe[m]you can check the gnome settings -> about
20:25tobhe[m]Software Rendering is not good
20:30tobhe[m]think I might have found the bug
20:55tobhe[m]uploading a fix
21:04tobhe[m]you ok launchpad?
21:59tobhe[m]worked after retry
22:52eslerm[m]could we spin a 24.04 server image?
…