47

I'm preparing for a new PC build, and I decided to try a new atomic OS after having been with NixOS for about a year.

First I tried Kinoite, then Bazzite, but even though KDE has a lot of features, I found it incredibly buggy, and it even had generally poor performance, especially in Firefox. I don't really have time to diagnose these issues, so I figured I would put in just a little more effort and migrate my Sway config to Fedora Sway Atomic.

I'm glad I did. The vanilla install of Fedora Sway is awesome. No bloat and very usable. I haven't noticed any bugs. Performance is excellent. And it was very straightforward to apply my sway config on top without losing the nice menu bar, since Fedora puts their sway config in /usr/share/sway.

I'm also quite happy with the middle ground of using an OSTree-based Linux plus Nix and Home Manager for my user config. I always thought that configuring the system-level stuff in Nix was the hardest part with the least payoff, but it was most productive to have a declarative config for my dev tools and desktop environment.

I originally tried NixOS because I wanted bleeding edge software without frequent breakage, and I bought into the idea of a declarative OS configuration with versioned updates and rollback. It worked out well, but I would be lying if I said it wasn't a big time investment to learn NixOS. I feel like there's a sweet spot with container images for a base OS layer then Nix and Home Manager for stuff that's closer to your actual workflows.

I might even explore building my own OS image on top of Universal Blue's Nvidia image.

Hope this path forward stays fruitful! I urge anyone who's interested in immutable distros to give this a try.

you are viewing a single comment's thread
view the rest of the comments
[-] poki@discuss.online 2 points 1 day ago

Consider reporting back on how it goes ๐Ÿ˜‰.

[-] tatterdemalion@programming.dev 2 points 1 day ago

After a little more time with it, I've noticed that nvidia + sway is causing a lot of flickering on updating rectangles of any window, presumably from a compositing issue. I expected the "explicit sync" fix in the 555 Nvidia driver to fix this, but I'm currently running 555.85. I hope it's not some other issue.

[-] poki@discuss.online 2 points 1 day ago
[-] tatterdemalion@programming.dev 2 points 1 day ago

Interesting. I am not having any issues with Firefox. Maybe I'm already running in XWayland somehow?

[-] poki@discuss.online 2 points 1 day ago

Maybe Iโ€™m already running in XWayland somehow?

That's definitely possible. Within Firefox, what does about:support reveal on this matter?

[-] tatterdemalion@programming.dev 2 points 20 hours ago

So I'm seeing "Window Protocol: wayland" in about:support. Seems like somehow I'm just not affected by this issue.

[-] poki@discuss.online 2 points 20 hours ago

We'd rather like to see that anyways ๐Ÿ˜œ.

[-] tatterdemalion@programming.dev 2 points 1 day ago

Away from PC for a while but I'll check when I'm back.

[-] poki@discuss.online 1 points 1 day ago* (last edited 1 day ago)

Unfortunately, I don't own any device with Nvidia. Hence, I don't think I'll be able to help out. However, wayblue's maintainers are pretty active. Therefore, consider opening an issue on its GitHub page and perhaps they'll be able to help out.

I apologize for not being of much help here. Wish ya good luck, though!

Happy cake day btw!

[-] tatterdemalion@programming.dev 2 points 1 day ago

So right off the bat I tried rebasing from Fedora Sway Atomic to the Wayblue sway-nvidia image, but I got the error:

Package 'rpmfusion-nonfree-release-40-1.noarch' is already in the base

I think because I had previously tried installing nvidia drivers from RPM Fusion. So I reset back to the base image with:

rpm-ostree reset --overlays

After that everything went smoothly and I'm apparently booted with a functional Nvidia driver. Thanks for the help! I'm off to try running some graphics.

[-] poki@discuss.online 2 points 1 day ago

Glad to be of help!

And thank you for reporting back!

Enjoy ๐Ÿ˜Š!

this post was submitted on 28 Jun 2024
47 points (96.1% liked)

Linux

4348 readers
219 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS