17

I have been trying some of the immutable linux OSes because from what I understand they are more modern and feature better security and reliability. What I have found so far is shocking. Half of these don't support my laptop (probably because it's nvidia optimus). Some I tried like guix were very difficult to install, configure, and use with sprase documentation. Good luck trying to use KDE, wayland, or pipewire for example. BlendOS was notably better and could at least run on my laptop but chocked with nvidia driver issues.

I have switched to pop os on my laptop for now but looking at alternatives and what to install on my desktop.

top 22 comments
sorted by: hot top controversial new old
[-] EccTM@lemmy.ml 6 points 11 months ago

I'm not sure how good a suggestion this is for you and your ^optimus^ usecase, but have you checked out the uBlue spins of Fedora Silverblue/Kinoite/etc? They pre-include stuff that Fedora won't ship, like non-free codecs and nvidia drivers.

I'm prepping a swap from Arch Linux to my own Silverblue image based on their DIY guide at the moment, mainly to see how the whole immutable aspect feels day-to-day. The image-based updates in the background are just a bonus.

[-] areyouevenreal@lemm.ee 3 points 11 months ago

That's what I am currently trying to install thanks to some suppressingly helpful people on Reddit. Is there any particular iso you recommend?

[-] UFODivebomb@programming.dev 5 points 11 months ago

Have you tried NixOS? I recommend that over guix.

[-] areyouevenreal@lemm.ee 3 points 11 months ago

I was told it's very difficult and has bad documentation. Funnily enough that's exactly the experience I have had with guix.

[-] UFODivebomb@programming.dev 6 points 11 months ago

Compared to guix NixOS is significantly ahead. "difficult" is to each their own. For me, NixOS is the easiest to do certain things. But those things are what i use a computer for and might not match what you do.

As for docs - nothing beats Arch :)

[-] areyouevenreal@lemm.ee 2 points 11 months ago

I think I tried NixOS briefly a while ago. I might have a go eventually or install it in a VM to check it out.

[-] UFODivebomb@programming.dev 2 points 11 months ago

Definitely start with a vm. If you run into troubles let me know. I have a YouTube channel where i post nix content regularly.

That said the docs are not as good as Arch. The best way is to read the nixpkgs source. Which is a very high barrier to entry. Otoh, only one repo is required to completely see everything.

https://youtu.be/pKVf9x29djs

[-] onlinepersona@programming.dev 1 points 11 months ago

It has terrible documentation, no doubt about it. However, depending on your setup requirements, the installation procedure can be quite acceptable. It should finally have a graphical installer.

If you're not doing anything complicated like programming, hosting your own services, or planning on using rare software that you yourself have to package, it can be a very low maintenance OS.

My single biggest tip: before installing something, check if it has an "option"

For example, if you want to use KDE as your desktop environment, you need the services.xserver.desktopManager.plasma5.enable option. Use the option search. It's often easier than listing the individual packages manually and writing their configuration manually.

The reason for this is that nixos doesn't have "meta" packages. Those are packages that just contain other packages. Most package only has the absolute minimum it needs to be built - not run. The KDE desktop environment requires many packages to run.

Additionally, package configuration normally happens outside of the package in a declarative manner. You don't write /etc/network.d/111_startup.sh. That's either in an option environment.etc"network.d/111_startup.sh" or (making this up) networking.startupScripts which puts a value in to environment.etc"network.d/{script.name}.


Do no be afraid to ask for help. The nix community is aware of the documentation disaster it has on its hands.

Yes, the nix foundation is slow and doesn't have its own wiki - no idea why.

[-] areyouevenreal@lemm.ee 3 points 11 months ago* (last edited 11 months ago)

My set-up actually is fairly complicated. I actually have a degree in CS and am looking for tech related jobs. I have decided to go a different direction for now but I intend to learn the nix package manager at some point. Partly because it comes included with my new OS (Bazzite/ublue), and partly because I hear it's useful and pays well in industry.

[-] Potatofish@lemmy.world 1 points 11 months ago
[-] areyouevenreal@lemm.ee 1 points 11 months ago

This didn't boot either. Though I hear there is an Nvidia version that might work. How does this compare to fedora ublue?

[-] Potatofish@lemmy.world -1 points 11 months ago

Optimus is such a pain. Definitely not a good start for a linux laptop. Maybe you can turn it off in the bios or set the primary GPU to prefer the integrated. Or maybe boot with nomodeset in the kernel options and install the Nvidia drivers. And I don't know if you have a G05 or better Nvidia card, but if you do it should work with Wayland. Who knows, though! Personally, I would sooner sell the laptop and get one that is compatible without all the hackery.

It's just easy mode for keeping your computer up to date without having to do anything beyond the initial setup. You can read about it here.

[-] areyouevenreal@lemm.ee 1 points 11 months ago

I think it's set to use integrated graphics by default. I don't know what a G05 is but it's fairly recent (3050Ti). I am not gonna sell the most powerful laptop I have had that also has CUDA support just because some minor Linux distros don't work. I could understand if this was guix or parabola, but it's not. Nvidia should at least boot okay especially given it uses Intel by default and nouveau exists. If you can't get that right I don't think I have much confidence in your OS. Ublue has varients for Nvidia hardware, and arch has support too, as does Pop_OS!

[-] Potatofish@lemmy.world -2 points 11 months ago

You should have said that from the start. CUDA doesn't work properly on MicroOS because it can't be fully installed, at least in my attempts.

And I have no idea why you think it's my OS. Next time provide detailed information. I wouldn't have responded otherwise.

And your Nvidia card supports G06. Do some basic research.

[-] areyouevenreal@lemm.ee 0 points 11 months ago

You made it sound like G05 is a graphics card, not a piece of software. I haven't used OpenSUSE in a long time so I am am not sure why you think it's reasonable for me to know distribution specific names for packages.

Having CUDA comes with an Nvidia card. I don't get why I have to specify that. Just telling someone to buy a new laptop is not really good advice when they are asking you to suggest a Linux distro. It's kinda rude.

[-] Potatofish@lemmy.world -2 points 11 months ago

Sigh... Just stop.

[-] varsock@programming.dev 1 points 11 months ago* (last edited 11 months ago)

TL;DR: If I were to choose an immutable OS to run on my propriety graphics cards I'd choose an immutable distribution with rolling releases or hardware enablement packages, which tend to do a better job of keeping these graphics libraries up-to-date for new hardware.

I don't have a recommendation but I just learned about immutable Linux OSes from this post. I could see benefits of immutable OS files, but I've been skeptical about package distribution like flatpak and snap, at least in their current state.

Dont get me wrong, the workflow of flatpack is great, but in my experience, apps from flatpack typically ship with their own runtime and don't rely on system runtimes (likely why you have GPU driver issues). As a software developer, I obviously prefer to ship with all dependencies and runtimes so I don't have to rely on the system to be updated but this comes with downsides:

A major problem with alternate runtimes is drivers. New graphics hardware needs new graphics libraries which have a ton of dependencies. Mesa depends on LLVM for compiling shaders. The NVidia driver depends on a kernel module whose version must exactly match that of the library. All of these libraries have their own transitive dependencies like libdrm, libstdc++ and glibc. If you want new hardware to work, you need to be using new versions of all of these libraries.

Linux distributions, especially those with rolling releases or hardware enablement packages, do a great job of keeping these libraries up-to-date for new hardware. Bundled runtimes do not. Source.

I'd recommend checking out that article I linked as source. There are also security concerns of using apps, some of which are mitigated by having an immutable filesystem, but there are more points and this comment is long enough as it is.

EDIT: I reread my comment and it comes off as "immutable bad, blah blah". Truth is I don't know much about these OSes but I wanted to point out that distributing apps in containers comes with its own challenges; which I gather is necessary for immutable OSes. So my TL;DR is to narrow down to a distribution that is immutable and has a rolling release or distributes hardware enablement packages.

[-] areyouevenreal@lemm.ee 1 points 11 months ago

Flatpak is by design more secure - not less. Not everything runs in a flatpak anyway thanks to distrobox, podman, and rpm-ostree.

My GPU issues were related to the host as well as the GPU drivers quit working their two. It refused to load the correct kernel module. I have since found immutable OSes with Nvidia support OOB. I haven't tried any on that machine yet but am playing with one of my desktop.

[-] varsock@programming.dev 1 points 11 months ago* (last edited 11 months ago)

I agree that by design Flatpak aims to provide a secure environment through sandboxing; in practice, the implementation has gaps that can lead to security risks, particularly when apps are granted extensive filesystem access. This can undermine the effectiveness of the sandbox and potentially expose systems to vulnerabilities. HOWEVER, being on an immutable system, these risks are mitigated to some degree.

I'm particularly hopeful for Flatpak's promise of fine grained permissions. Flatpak is developing a fine-grained permission system with portals for external interactions, BUT this system relies on integration with toolkits like GTK, rather than app-specific APIs, complicating its implementation. There is more info in the linked article in the previous post, and here it is again.

Admittedly I'm not familiar with distrobox, but my caution is for any approach that distributes containerized programs with their own runtimes; they proved to be a real headache on my "mutable" system and my nvidia GPU until I switched to rolling OS.

I'm glad you found some candidates to potentially resolve your issue. What distro did you end up using? I'm curious to give it a go next chance I have some free time. Cheers.

[-] areyouevenreal@lemm.ee 1 points 11 months ago* (last edited 11 months ago)

Bazzite - it's part of the ublue family derived from fedora but with extras including extra drivers.

Edit: you also get some immutable distros that don't need flatpaks like nix os and guix. They are much more difficult to work with though.

[-] varsock@programming.dev 1 points 11 months ago

cool thanks.

Well I'm glad to hear these things being worked on and worked out

[-] areyouevenreal@lemm.ee 1 points 11 months ago

Yeah it seems to work well on my desktop with an AMD card. They have a variet for Asus laptops with Nvidia GPUs, so hopefully it will be easy to setup if I go that route. For now I am keeping Pop_OS! on my laptop as it seems fairly useful.

this post was submitted on 10 Dec 2023
17 points (81.5% liked)

linux4noobs

1356 readers
1 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

founded 1 year ago
MODERATORS