this post was submitted on 05 Dec 2023
51 points (83.1% liked)
Linux
48008 readers
1607 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's not all "purists" and "tribalism", Manjaro actually has issues. Besides the well known certificate issues and older packages, I have the following anecdote which made me really dislike it.
A friend has Manjaro and one day his nvidia drivers stopped working after an update. I helped troubleshoot over the phone, while looking over the wiki. For nvidia drivers they have their own wrapper around pacman.
Turns out there's a different nvidia driver for each kernel version. Already a stupid design. So unlike arch where there's 1 kernel package (the latest the distro offers) and 1 matching nvidia driver, Manjaro has dozens...
The wiki never mentions how to install or update the drivers manually with pacman or anything like that. It pushes their own tool, a stupid wrapper around pacman, which is supposed to manage this for you.
In my friend's case, the tool failed. It was trying to run pacman but there was a conflict issue. But the tool didn't show the pacman output, so we couldn't figure out what the tool is trying to do, and why it doesn't work. We tried removing the tool and re-installing, and all kinds of messing around with it. It failed to install the drivers, it failed to remove the drivers, it kept failing whatever we tried.
Eventually we figured out the naming convention they used for the packages (again not mentioned in the wiki), and manage to install the correct kernel - driver pair manually, using pacman.
Tl;dr: poor design, bad documentation, and they push their own crappy tools which hinder instead of helping
That's not a stupid design at all. A nvidia kernel module artifact is only compatible with exactly one kernel ABI. Thus you need one binary nvidia package for each kernel you ship.
Arch also has one package for every kernel ABI they ship:
nvidia
andnvidia-lts
.Though it should be noted that their design assumes that these two ABIs are the only possible ABIs which isn't strictly the case as the zen, hardened or RT variants may sometimes lag behind their regular counterpart. That's a stupid design if anything as it increases the friction of kernel ABI upgrades as a kernel package maintainer.
We at NixOS also ship the nvidia module for each of our ~50 kernel variants; all major versions of the Nvidia module compatible with that kernel in fact.
The only possible way to access these nvidia kernel modules is via a certain kernel's
linuxPackages
attribute set that contains all packages that rely on a kernel ABI such as kernel modules or packages likeperf
. That's good design if you ask me but I'm obviously biased ;)I know you need a new nvidia driver every time the kernel updates, but why keep 50 kernel versions? My beef was them offering so many (outdated) versions instead of keeping the latest one which would make things very simple for users (imo).
These aren't all versions per se but mostly variants, versions and versions of variants. For example, we have packaged the xanmod kernel which is a modified kernel optimised for desktop use but it has two variants: Main and LTS. We have packaged both.
Here are the names of all of our kernels currently to give you an idea (as a JSON list):
(Note that some of these are aliases;
linuxPackages_latest
is currentlylinuxPackages_6_6
for example.)Each of these has the following
nvidiaPackages
(modulo incompatibilities):(Again, some of these are aliases.)
This is useful to have because users might have hardware constraints. It's not hard to imagine a scenario where a user might have a WiFi chip that only works with kernel ABIs < 5.4 and require the 470 nvidia driver for their old GPU. Packaging just the latest kernel and just the latest Nvidia driver would make this user unable to use their system.
That is literally every version of Linux out there. IDK what you think was different about Manjaro in that respect. Nvidia hates linux and it's a tough thing to keep it running, especially on a rolling release. Use the DKMS driver if you're going to update kernels a lot. At least manjaro seperates the kernel installs from the general updates to minimize this disruption.
I know that these packages are "linked", and for every kernel update you need a new nvidia driver, I don't understand though why they keep so many kernel versions in the repo (and their respective nvidia drivers ofc). Just makes things confusing, I assume people generally want the latest kernel the distro has to offer, or if they want something else it's a different kernel "flavor" like lts, zen, rt, etc.
I disagree.