Edit: "Updating to the legacy 580xx drivers doesn't show me a desktop anymore", just in case someone else can stumble upon this by searching something similar.
Thanks to @deadcade@lemmy.deadca.de and @Ooops@feddit.org I did try fixing it out of curiosity. I had forgotten to install linux-headers. Hopefully someone who actually has the same problem as me, and needs to fix it, can use the tips given in the comments. On my end, I just had to install linux-headers and one reboot later it worked.
Always check if you have all needed packages and don't just "remember" that you had them installed.

79 Comments
deadcade@lemmy.deadca.de · 100 pts · 229d
You need a couple things:
First get your kernel headers, this is easy enough, but varies based on which kernel you have installed. The format of the package name is
{kernel}-headers. If you have thelinuxkernel, getlinux-headers. If you havelinux-lts, getlinux-lts-headers. If you're not sure on this, the commandpacman -Q | grep linuxsearches for installed packages containinglinuxin the name. If you have multiple kernels installed, get the headers for all of them.Then install (from AUR) at least
nvidia-580xx-dkms(display out) andnvidia-580xx-utils(Acceleration, like 3D and video decoding). If you have Steam or play Windows games under Wine, be sure to getlib32-nvidia-580xx-utilstoo.Also of note is the order in which you install things. Having the kernel headers installed is important for the DKMS modules to install succesfully. If you already have
nvidia-580xx-dkmsbut were missing your kernel headers, you should reinstall it after installing your kernel headers.skarn@discuss.tchncs.de · 24 pts · 229d
I keep hitting my face on the fact that DKMS modules somehow don't depend on the kernel headers and these have to be installed manually. This happened to me both in Arch and in Debian.
Why does everyone seem to think that this makes sense?
KuzhinierSileon@lemmy.world · 9 pts · 229d
Thank you very much. I could've sworn I had linux-headers installed. Frankly, I might've had them on a different device for some other reason. This is why you check your packages kids.
Sanctus@anarchist.nexus · 71 pts · 229d
RIP. Time to pull out the backup, amiright?
eager_eagle@lemmy.world · 121 pts · 229d
right... the backup...
panda_abyss@lemmy.ca · 88 pts · 229d
The backup specifically created for recovery…
halcyoncmdr@lemmy.world · 71 pts · 229d
The recovery backup...
W98BSoD@lemmy.dbzer0.com · 56 pts · 229d
Designed to backup the recovery…:
errer@lemmy.world · 50 pts · 229d
That backup?
Lumisal@lemmy.world · 12 pts · 229d
It turned into a Llama 8 billion parameter didn't it?
diemartin@sh.itjust.works · 7 pts · 229d
Recovery's backup
muhyb@programming.dev · 59 pts · 229d
BurgerBaron@piefed.social · 14 pts · 229d
Blessed be CachyOS for setting that shit up for me automatically.
Neptr@lemmy.blahaj.zone · 17 pts · 229d
While I agree snapper (what CachyOS uses) I very useful, it is important to draw a distinction between snapshots (snapper) and a proper backup tool (borg or restic). Snapshots are usually stored on the same drive, so in the event of a drive failure/corruption you are still very fucked. Proper backup programs also have other important features, like the ability to select remote locations, setup encryption, etc. DO NOT rely on snapper to (always) save your ass.
That being said, I fucking love snapper and it was the main feature I was missing from openSUSE.
Ooops@feddit.org · 10 pts · 229d
While the distinction can be important, the snapshots from right before the update are exactly what you want in this case over some actual but always somewhat outdated real backup
bdonvr@thelemmy.club · 3 pts · 229d
Snapper can save you from OS destruction, not disk destruction.
saltesc@lemmy.world · 6 pts · 229d
Distro hopped recently. Loving it.
Now I get to say "I use Arch, btw" while still having nfi what I'm doing.
BurgerBaron@piefed.social · 5 pts · 229d
I like diving into the deep end and drown a few times too.
Have you heard of .pacnew files yet?
Ooops@feddit.org · 5 pts · 229d
It should be illegal to use pacman without
pacman-contribinstalled forcheckupdates(no risk of partial upgrades) and for comparing and merging.pacnew-files withpacdiff...wltr@discuss.tchncs.de · 2 pts · 229d
It was today when I first heard of it!
Using Arch for ~7 years or so! Both servers and desktops. Always just manually
vimdiff’ed things.Ooops@feddit.org · 3 pts · 227d
And I only recently learned that a separate
vimdiffcommand exists (not that it makes a difference overvim -d)...KuzhinierSileon@lemmy.world · 3 pts · 229d
https://youtu.be/gUzyu8qVNq0
Ooops@feddit.org · 58 pts · 229d
"Doesn't help" is a bit unspecific for an actual answer.
I simply installed
nvidia-580xx-dkmsandnvidia-580xx-utilsand that was all. If you did not already use the dkms-driver package before you of course also need<your kernel>-headersanddkms(but the latter should be pulled as a dependency fornvidia-580xx-dkmsanyway)...Which automatically asks for the removal of
nvidia-open(the standard package for the baselinuxkernel) ornvidia-open-dkmsandnvidia-open-utilsthat replaced the earliernvidia,nvidia-dkms,nvidia-utilspackages when 590 hit.PS: If you still have stuff using 32bit add (you might have guessed the scheme by now...)
lib32-nvidia-580xx-utilsto replacelib32-nvidia-open-utilsemil_98@lemmy.world · 12 pts · 229d
linuxmemes
Natanox@discuss.tchncs.de · 17 pts · 229d
Dropping an extensive explanation and how-to is a meme.
KuzhinierSileon@lemmy.world · 2 pts · 229d
Honestly I would've much more appreciated it if they told me to RTFM /j (I already had) (I didn't pay the slightest attention)
KuzhinierSileon@lemmy.world · 10 pts · 229d
This is the way. I will edit the text of the meme to show the solution at the top. As I had said to another commenter, I could've sworn I had linux-headers installed. This is why you check even if you are sure you have a package. Hopefully someone having this issue will stumble upon it randomly.
the_q@lemmy.zip · 40 pts · 229d
ada@piefed.blahaj.zone · 18 pts · 229d
You have btrfs and snapper, and just roll back to a working version in the grub menu, and install the legacy drivers before it all goes wrong
KuzhinierSileon@lemmy.world · 59 pts · 229d
I have ext4 and efistub, and the attention span of a squirrel.
Septian@lemmy.zip · 39 pts · 229d
I have never before felt so much kinship from a single comment.
slothrop@lemmy.ca · 6 pts · 229d
I started to read your comment, but there's a car 100 metres up the road...
Lojcs@piefed.social · 3 pts · 229d
How do you roll back in the grub menu? Is that a feature of grub?
When I update the kernel it replaces both options in systemd-boot so rolling back snapper is a scary endeavor due to kernel - system mismatchs
ada@piefed.blahaj.zone · 5 pts · 229d
grub-btrfs (But you have to use grub)
Lojcs@piefed.social · 2 pts · 229d
It seems it requires you don't mount the EFI system partition over /boot so it's included in snapshots, and systemd-boot doesn't support booting from arbitrary partitions
Val@anarchist.nexus · 18 pts · 229d
I just went over to NVK. I shouldn't really waste my time playing the graphic intensive games anyway. The indies are better.
I tried dkms but it took so long to install I gave up.
edinbruh@feddit.it · 3 pts · 228d
OP has a pascal GPU, the Nouveau kernel drivers for pascal (which you need for nvk) aren't really suitable because they can't change the clock at runtime, you are stuck at boot clock (which you can configure)
Val@anarchist.nexus · 1 pts · 228d
Yep. I have a 1050 myself. Can't really play anything 3D.
hapablap@lemmy.sdf.org · 16 pts · 229d
Sell nvidia and buy amd.
KuzhinierSileon@lemmy.world · 10 pts · 229d
Already bought intel. I am quite fond of the B580.
KiwiTB@lemmy.world · 6 pts · 229d
Good, as long as you checked the driver situation beforehand right.... Right?
KuzhinierSileon@lemmy.world · 1 pts · 228d
I did and I am quite happy with the state of them. Also Linus himself is using a B580 so it can't be that bad (he doesn't game on it)
KiwiTB@lemmy.world · 1 pts · 228d
Good to hear
enbiousenvy@lemmy.blahaj.zone · 3 pts · 229d
how is it? I heard it's a good hardware but terrible drivers, at least on windows. I don't know the state of intel GPU drivers on Linux.
KuzhinierSileon@lemmy.world · 3 pts · 228d
It's quite an upgrade from my previous setup so I cannot tell you if it is good since my comparison is a 1050ti... But they've also made improvements to the drivers, even on windows as far as I remember.
chocrates@piefed.world · 9 pts · 229d
Oh man, I remember fondly the days of booting to no gui. Typing out error codes to another computer to Google.
I don't think I miss it. Linux has been super stable for me for a decade maybe, and I've been trying to game on it, so I used to have to fight with "faster" drivers all the time
Lembot_0006@programming.dev · 7 pts · 229d
Modern schoolkids don't read, so Arch should consider making 20-minute videos for every update. And a song like some of the *BSD.
DickFiasco@sh.itjust.works · 6 pts · 229d
Did you uninstall the official driver first? That is, the
nvidiapackage?Ooops@feddit.org · 6 pts · 229d
nvidiawas automatically replaced withnvidia-open(alsonvidia-open-lts,nvidia-open-dkmsetc).Simply installing
nvidia-580xx-dkms,nvidia-580xx-utils(andlib32-nvidia-580xx-utilsbecause Steam still needs all that 32bit stuff), which automatically removes the 590-open stuff because of conflicts, should be all you need to do.PS: And of course your kernel's header package if you did not use dkms before... (
dkmsshould be pulled as a dependency automatically)gegil@sopuli.xyz · 6 pts · 228d
Is nouveau open source driver for nvidia actually good for such old gpus?
KuzhinierSileon@lemmy.world · 14 pts · 228d
Not for quite a few games. Some lighter titles might get away with it, but not a lot.
JustJack23@slrpnk.net · 5 pts · 229d
What is the difference between arch drivers and say pop_os (my current daily)?
bobo@lemmy.ml · 7 pts · 229d
The difference is how often they're updated.
Skullgrid@lemmy.world · 5 pts · 227d
Hey Look, it's me! I am on nobara against my fucking will. I spent all saturday screaming.
I'm going to refer the shit out of this thread in my news battle to get my goddamn debian OS back. DNF is scary and I can't use signal.
Here's my notes (WARNING: THESE NOTES LEAD TO FAILURE) :
tal@lemmy.today · 5 pts · 229d
Boot into a live boot install of some distro on a USB drive.
KuzhinierSileon@lemmy.world · 5 pts · 229d
I did try that as well. The legacy drivers did install from the tty, still the system doesn't see them, for lack of a better word. It is not a big issue though. I had already planned on upgrading since my current setup is very old.
Half of the new components have already arrived. The current PC will become a little home server running either Ubuntu or Debian most likely.
I just thought the situation was funny.
r00ty@kbin.life · 5 pts · 229d
Did you also uninstall all of the components of the new driver as per the arch site?
https://archlinux.org/news/nvidia-590-driver-drops-pascal-support-main-packages-switch-to-open-kernel-modules/
Otherwise it's investigate from the tty as to what driver, if any is in use for the gpu pci device.
Ooops@feddit.org · 2 pts · 229d
That isn't neccessary.
nvidia-openautomatically replaced nvidia (same fornvidia-open-dkms,nvidia-open-utilsetc) when 590 hit and installing any of those nvidia-580xx packages will ask to remove them because they conflict.KuzhinierSileon@lemmy.world · 1 pts · 229d
Yessir. I did remove everything that was from the 590 driver before I installed everything from the legacy 580xx. I might have to load a kernel module somewhere, maybe. But the effort is not worth the payout. My data on the machine itself is not unrecoverable thankfully.
r00ty@kbin.life · 2 pts · 229d
I have a 3080, so 590 is fine for me. But, I'm sure the legacy one is a dkms. But the process of installing that should be done as part of the install. E.g. you install, reboot
What does
lspci -kshow for the card in terms of Kernel driver in use, and kernel modules? Also what doesdkms statussay?If the module is installed and showing in dkms status and showing as used in lspci -k, it should be available for desktop environments.
I do agree in terms of effort when things go wrong though. I remember when I was a lot younger and I had no problems just sitting in front of my keyboard finding whatever the latest problem is. Now, I want to be doing things with my PC.
But, a bit of debugging might be worthwhile before doing a new installation.
tal@lemmy.today · 1 pts · 229d
I have never used Arch. And it may not be worthwhile for OP. But I am pretty confident that I could get that thing working again.
Booting into a rescue live-boot distro on USB, mount the Arch root somewhere, bind-mounting /sys, /proc, and /dev from the host onto the Arch root, and then chrooting to a bash on the Arch root and you're basically in the child Arch environment and should be able to do package management, have DKMS work, etc.
r00ty@kbin.life · 4 pts · 229d
But, they shouldn't need rescue. The issue is no nvidia driver, but you can still login from the text terminals. Ctrl + Alt + F3, F4 etc etc. In fact when the window environment fails to load it should drop back to terminal.
KuzhinierSileon@lemmy.world · 1 pts · 228d
Yeah, that's what I did. But it didn't drop to terminal because it was stuck on
/dev/sda2: clean. At first I thought it hadn't booted at all. Frankly I think that was simply the last thing my monitor got from the GPU before it simply gave up. So i had to switch to TTY manually. That is my best guess.Ooops@feddit.org · 3 pts · 229d
Arch live ISO gives you
arch-chrootwhich does all the binds automaticallywltr@discuss.tchncs.de · 1 pts · 228d
Just for the record, Arch USB ISO has
arch-chrootcommand that does everything needed. So it’s quite easy to troubleshoot, when needed. Just mount what you need andarch-chrootthere.potatoguy@lemmy.eco.br · 1 pts · 229d
jay@mbin.zerojay.com · 4 pts · 229d
Did you not see the news item you get before it allows you to start the update?
KuzhinierSileon@lemmy.world · 8 pts · 229d
I was working on a little Intel NUC on the side that had memory issues. And during that I just
sudo pacman -Syuon my main machine without thinking.I did also read the announcement before upgrading which makes it even better IMO.
jay@mbin.zerojay.com · 2 pts · 229d
Fair enough, I feel your pain. Hope that you had btrfs rollbacks available to you.
KuzhinierSileon@lemmy.world · 2 pts · 228d
I use ext4, but the fix was just installing
linux-headers. I simply was of the impression that I had already installed those. Most likely I had installed them on one of my laptops and simply just had that vivid memory still in my head. Once I installed them the problem solved itself after a reboot.ZILtoid1991@lemmy.world · 3 pts · 228d
I'm safe, my ThinkPad doesn't have an iGPU, and there's no instructions on how to solder one onto an L440 motherboard.
silasmariner@programming.dev · 2 pts · 228d
Omg I remember running into something like this about 12 years ago. TTY did help but did need a reboot. I had to arch-chroot off the live usb so many times that night, my first ever Linux installation and I fucked up the bootloader and initial packages so hard so many times. I felt so cool when I was able to switch to another tty without needing yet another usb boot. Thanks for that memory.
MehBlah@lemmy.world · 2 pts · 228d
Using arch is the first mistake.
traxex@lemmy.dbzer0.com · 2 pts · 228d
Why?
BCsven@lemmy.ca · 5 pts · 228d
I don't think its an Arch issue. But on a system that has snapshots or generations or whatever Silverblue term is then the 30s remedy is reboot to an old snapshot
michaelmrose@lemmy.world · 3 pts · 228d
This can actually be done with any fs that supports cheap snapshots
mittorn@masturbated.one · 2 pts · 229d
@KuzhinierSileon no video moment
KuzhinierSileon@lemmy.world · 1 pts · 229d
Cloudstash@lemmy.world · -1 pts · 225d
Zen_Shinobi@lemmy.world · -1 pts · 229d
(shrugs) I haven't had an issue with my 1050ti or 4070 on Mint MATE. I did have issues with my AMD Phantom 2. YMMV
michaelmrose@lemmy.world · -2 pts · 228d
If you use arch and managing nvidia is hard you shouldn't have picked arch