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 the linux kernel, get linux-headers. If you have linux-lts, get linux-lts-headers. If you’re not sure on this, the command pacman -Q | grep linux searches for installed packages containing linux in 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) and nvidia-580xx-utils (Acceleration, like 3D and video decoding). If you have Steam or play Windows games under Wine, be sure to get lib32-nvidia-580xx-utils too.
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-dkms but were missing your kernel headers, you should reinstall it after installing your kernel headers.
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?
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.
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.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?
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.