/srv/irclogs.ubuntu.com/2022/08/31/#ubuntustudio-devel.txt

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:30
Eickmeyer[m]arraybolt3: That's possible. btrfs was never a supported test case for Focal, especially without a dedicated swap partition.20:31
arraybolt3[m]I guess I'll do it with Ubuntu Studio focal.4 and see what happens (hopefully it will fail there too).20:32
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:33
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:34
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:35
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:36
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:37
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:38
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:39
Eickmeyer[m]arraybolt3[m]: Usually, but we do want a well-rounded system for audio, video, graphics, and photography.20:40
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:41
OvenWerksOne 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 DE20:43
* OvenWerks has had that happen20:44
OvenWerksEickmeyer[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
EickmeyerOvenWerks: As it should. I'm very surprised that nobody has raised any issues related to memory.20:47
OvenWerksnow that it is mentioned, my fstab does not have a swap listed... htop shows one in use anyway.20:48
OvenWerksanother 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:50
* OvenWerks doesn't know how long he will continue to get away with that... maybe till he gets another MB20: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:52
Eickmeyer[m]It's mostly just to set it up for fstab.20:53
OvenWerksjust one partition for 22.0420:53
OvenWerksTo 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.21:04
arraybolt3[m]Alright, regression tested swap failure on 20.04.5 when root is on btrfs - it is not a regression.23:24

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!