#
#ubuntu-asahi · 2024-11-27 21:14
tobhe[m]if we want to enable it on existing installations
#ubuntu-asahi · 2024-11-27 21:14
tobhe[m]well migrating has to be done at runtime
#ubuntu-asahi · 2024-11-27 21:13
nukeletright, i guess i could confirm with the asahi people first if i'm missing some other less obvious reason for doing it at runtime
#ubuntu-asahi · 2024-11-27 21:12
tobhe[m]they could even be built-in
#ubuntu-asahi · 2024-11-27 21:12
tobhe[m]that shouldn't be too hard
#ubuntu-asahi · 2024-11-27 21:11
nukeletwe could do it as kernel cmdline options but then we would need to make sure the relevant modules for the compression algorithm we're using for zswap are included in the initramfs (otherwise we panic early in boot)
#ubuntu-asahi · 2024-11-27 21:03
tobhe[m]but I think the zram stuff doesn't need to be done at runtime or does it?
#ubuntu-asahi · 2024-11-27 21:02
tobhe[m]oh no it actually is a first-boot script. so install a script with the meta package and add a first-boot systemd service I guess
#ubuntu-asahi · 2024-11-27 21:01
tobhe[m]see https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html
#ubuntu-asahi · 2024-11-27 21:01
tobhe[m]I haven't looked at the script in detail yet but I think we would do this in the postinst hook of our ubuntu-asahi meta package
#ubuntu-asahi · 2024-11-27 20:43
nukelet(for reference, here's how it's being done in fedora asahi: https://pagure.io/fedora-asahi/fedora-asahi-remix-scripts/c/942ef6affe7e028b0230ca0b1465cd0651a295aa?branch=main)
#ubuntu-asahi · 2024-11-27 20:41
nukeletwhat would be the best way to achieve this? maybe through a new package?
#ubuntu-asahi · 2024-11-27 20:39
nukeletenable/configure zswap upon boot (and critically, after systemd is brought up and /lib/modules is made available)
#ubuntu-asahi · 2024-11-27 20:39
nukeletand these changes are not really kernel-specific as we would need to basically just run a couple scripts to create a swapfile + add it to fstab, and then enable zswap either through kernel cmdline options in grub (this has some important caveats), or do it the fedora asahi way and write to the relevant files in /sys/module/zswap/parameters to
#ubuntu-asahi · 2024-11-27 20:35
nukeleti would like to help with this, but i'd need some help figuring things out; i'm familiar with the ubuntu kernel packaging bits, but that's about it :')
#ubuntu-asahi · 2024-11-27 20:27
tobhebut I agree that this is overdue
#ubuntu-asahi · 2024-11-27 20:27
tobhe_thanks, well since asahi is in the process of switching over to zswap that is likely what we would do too
#ubuntu-asahi · 2024-11-27 20:16
nukeleton 8GB i think it would make even more of an impact
#ubuntu-asahi · 2024-11-27 20:16
nukeleti think enabling zswap + swap would be great for the users; i've been daily-driving the config used in fedora asahi (12GB swapfile + zswap) for a few days and it improved my experience quite a bit (even on my 16GB machine i still run into awkward OOM scenarios sometimes)
#ubuntu-asahi · 2024-11-23 16:27
john-cabaj[m]Yeah, maybe the custom script is easier.
#ubuntu-asahi · 2024-11-23 16:27
tobhepossibly
#ubuntu-asahi · 2024-11-23 16:26
tobheyes enabling it is probably a good idea. just saying we will have less trouble migrating everyone
#ubuntu-asahi · 2024-11-23 16:24
john-cabaj[m]And my 8 GB machine freezes pretty easily without at least that
#ubuntu-asahi · 2024-11-23 16:24
john-cabaj[m]No zram by default either, though.
#ubuntu-asahi · 2024-11-23 16:10
tobhewe don't have swap by default so easier for us
#ubuntu-asahi · 2024-11-23 16:08
john-cabaj[m]*
#ubuntu-asahi · 2024-11-23 16:08
john-cabaj[m]marcan is switching to zswap by default on fedora. I wonder if we should consider the same m
#ubuntu-asahi · 2024-11-23 15:34
tobhe[m]right, updating might actually be enough to fix it. Haven't had time yet to look at the diff
#ubuntu-asahi · 2024-11-23 15:33
john-cabaj[m]I can take a look when I’m home. Traveling until tonight. Maybe needs another upstream pull - it’s been a minute.
#ubuntu-asahi · 2024-11-23 15:32
tobhe[m]john-cabaj: something seems to be wrong with bluetooth lately
#ubuntu-asahi · 2024-11-21 13:48
tobhe[m]xonotic and supertuxkart snaps still work too
#ubuntu-asahi · 2024-11-21 11:08
tobhe[m]builds worked
#ubuntu-asahi · 2024-11-20 21:19
tobhe[m]I left a few comments but those are purely cosmetic, no reason not to push them anyway 🙂
#ubuntu-asahi · 2024-11-20 21:17
tobhe[m]once that is done I will push your changes
#ubuntu-asahi · 2024-11-20 21:17
tobhe[m]kaazoo: building your mesa in https://launchpad.net/~ubuntu-asahi/+archive/ubuntu/mesa/+packages
#ubuntu-asahi · 2024-11-19 10:19
tobhe[m]btw I think the libllvm18 issue in noble should also be fixed now. But afaiu we don't need that anymore
#ubuntu-asahi · 2024-11-19 09:56
tobhethanks for the ping, somehow github didn't send me a notification
#ubuntu-asahi · 2024-11-19 08:42
kaazootobhe: Can you please look into the PR?: https://github.com/UbuntuAsahi/mesa/pull/3
#ubuntu-asahi · 2024-11-19 08:42
kaazooHi, there are packages for mesa 24.3.0~pre20241111 for noble and oracular: https://launchpad.net/~kaazoo/+archive/ubuntu/ubuntu-asahi-gaming/+packages
#ubuntu-asahi · 2024-11-18 11:28
tobhe[m]it certainly would be easier to publish
#ubuntu-asahi · 2024-11-18 11:28
tobhe[m]I wonder if packing all of that into a snap could actually work
#ubuntu-asahi · 2024-11-18 08:08
kaazooAny volunteers to package sommelier, libkrunfw, libkrun, muvm, hidpipe and (asahi-)steam? ;)
#ubuntu-asahi · 2024-11-18 08:06
kaazooWould it be possible to distribute the root FS via snap?
#ubuntu-asahi · 2024-11-18 08:05
kaazooThere is also a newer mesa tag that I would like to include: https://gitlab.freedesktop.org/asahi/mesa/-/tags/asahi-20241111
#ubuntu-asahi · 2024-11-18 08:04
kaazooI'll update the mesa PR later today.
#ubuntu-asahi · 2024-11-18 08:03
kaazooThat root FS also works on a 24.04 host system.
#ubuntu-asahi · 2024-11-18 08:00
kaazooFEX root FS is based on Ubuntu 24.10 now: https://github.com/kaazoo/RootFS/blob/main/Configs/Ubuntu_24_10_asahi.json
#ubuntu-asahi · 2024-11-18 08:00
kaazooThere are mesa packages at https://launchpad.net/~kaazoo/+archive/ubuntu/ubuntu-asahi-gaming/+packages for i386, amd64 and arm64. For i386 I had to disable RustICL. In general, I had to disable the broadcom Vulkan driver, because its config file under /usr/share/vulkan/icd.d/ was causing Vulkan initialization to fail.
#ubuntu-asahi · 2024-11-18 07:54
kaazooThat also mentions a workaround for the latest Steam update (found in /r/AsahiLinux on Reddit).
#ubuntu-asahi · 2024-11-18 07:53
kaazooHi, I've updated my Steam setup instructions at https://kernelpanik.net/vulkan_and_steam_on_ubuntu_asahi/

plus ›