[20:30] <arraybolt3[m]> Eickmeyer: I just did an install test of Ubuntu Studio focal.5, manual partitioning, with /boot on ext4 and root on btrfs. The swapfile dependency is failing, probably because of copy-on-write. Is this expected?
[20:31] <Eickmeyer[m]> arraybolt3: That's possible. btrfs was never a supported test case for Focal, especially without a dedicated swap partition.
[20:32] <arraybolt3[m]> I guess I'll do it with Ubuntu Studio focal.4 and see what happens (hopefully it will fail there too).
[20:33] <arraybolt3[m]> The system still boots and works just fine, so 👍️ just no swap (and modern Ubuntu Studio doesn't even make a swap so who cares)
[20:34] <Eickmeyer[m]> Yeah, I'm not even sure why Studio doesn't make a swap file without a partition. Does Lubuntu?
[20:34] <arraybolt3[m]> Lubuntu does make a 512 MB swapfile, and gives an options to either create or skip creating that swapfile. Ubuntu Studio does not offer such an option and just skips swap. (On 22.04)
[20:35] <arraybolt3[m]> (On Lubuntu Focal, Lubuntu doesn't make a swapfile at all.)
[20:35] <Eickmeyer[m]> That might need to get fixed.
[20:35] <arraybolt3[m]> In Jammy/Kinetic?
[20:35] <Eickmeyer[m]> Yes.
[20:36] <arraybolt3[m]> I remember saying something about it before, but I believe we decided to say "it's not a bug it's a feature" since having a swapfile on Ubuntu Studio could result in xruns during music recording.
[20:37] <Eickmeyer[m]> It can, for sure, but if you have enough RAM that's not a big deal.
[20:37] <arraybolt3[m]> Right, but if you have enough RAM then you don't need swap.
[20:37] <Eickmeyer[m]> One can always run "swapoff" and be set.
[20:37] <arraybolt3[m]> I figure better to have it configured for good music recording OOTB rather than rely on the user knowing how to run swapoff.
[20:37] <Eickmeyer[m]> I thought it was because I had 64GB of ram it just wasn't making one.
[20:37] <arraybolt3[m]> Nope, just default.
[20:38] <arraybolt3[m]> But if a user has a system that benefits from a swapfile, that's probably a good indicator that their system isn't powerful enough to use Ubuntu Studio properly.
[20:38] <Eickmeyer[m]> Honestly, we haven't had any complaints.
[20:38] <arraybolt3[m]> (I mean, I guess if someone only did art on the system then it might need a swapfile yet benefit from Studio, but Studio is usually geared towards audio AFAICT.)
[20:39] <arraybolt3[m]> I'll regression check just because that's how point releases work, but I don't see any need to change anything swap-related in modern Ubuntu Studio.
[20:40] <Eickmeyer[m]> arraybolt3[m]: Usually, but we do want a well-rounded system for audio, video, graphics, and photography.
[20:41] <arraybolt3[m]> Meh, I guess that makes sense. Really you're the team lead. Maybe we can figure out how to make it say "Make swapfile (for graphics and art on lower-end hardware)" and "No swap (for audio on higher end hardware)"?
[20:43] <OvenWerks> One OOM can ruin your whole day if the kernel decides the app to remove from memeory is the project you have not saved yet... or even the DE
[20:44]  * OvenWerks has had that happen
[20:47] <OvenWerks> Eickmeyer[m]: I had not noticed swap not being added because I do manual partitions and add swap if I want it... or in most cases there are a few swap partitions already hanging around which the kernel tends to just grab.
[20:47] <Eickmeyer> OvenWerks: As it should. I'm very surprised that nobody has raised any issues related to memory.
[20:48] <OvenWerks> now that it is mentioned, my fstab does not have a swap listed... htop shows one in use anyway.
[20:50] <OvenWerks> another related thing is that the install really wanted me to create a boot partition but did not complain about no swap. I declined the boot partition creation anyway :)
[20:52]  * OvenWerks doesn't know how long he will continue to get away with that... maybe till he gets another MB
[20:52] <Eickmeyer[m]> OvenWerks: You should just be able to point it to the EFI partition... it needs that for UEFI boot, but it won't format it.
[20:53] <Eickmeyer[m]> It's mostly just to set it up for fstab.
[20:53] <OvenWerks> just one partition for 22.04
[21:04] <OvenWerks> To be fair, I was booting to 20.04 as default and didn't want to mess that up. When I switched to booting to 22.04 by default I just did a grub-install.
[23:24] <arraybolt3[m]> Alright, regression tested swap failure on 20.04.5 when root is on btrfs - it is not a regression.