Hello!
Not sure if this is the suggestion forum. ^^
I spent a few hours trying to install the Nvidia drivers and I noticed they were ACTUALLY installed, but just for the stock kernel, not the other kernels like zen.
Maybe it’s just a skill issue and I just had a really bad day, but I’m sure it’s possible if a custom kernel is detected, and warning the user, and eventually proposing a solution. ^^
Headers are still required for each kernel. So for the zen kernel, the right ones need to be installed too, and the nvidia-inst script, probably won’t do it. It would also be useful to have some basic information about the hardware for which these drivers are to be built. Of course, I’m a rookie, so it’s best if knowledgeable guys speak up
Actually nvidia-inst has some of the kernel headers as optional dpendencies:
$ LANG=C pacman -Si nvidia-inst
Repository : endeavouros
Name : nvidia-inst
Version : 1.8-1
Description : Script to setup nvidia drivers (dkms version) in EndeavourOS
Architecture : any
URL : https://github.com/endeavouros-team/PKGBUILDS/tree/master/nvidia-inst
Licenses : GPL2
Groups : None
Provides : None
Depends On : nvidia-installer-common dkms
Optional Deps : linux-headers: for nvidia-inst with kernel linux
linux-lts-headers: for nvidia-inst with kernel linux-lts
linux-hardened-headers: for nvidia-inst with kernel linux-hardened
linux-zen-headers: for nvidia-inst with kernel linux-zen
Conflicts With : None
Replaces : nvidia-installer-dkms nvidia-installer-db
Download Size : 19.38 KiB
Installed Size : 20.94 KiB
Packager : EndeavourOS <info@endeavouros.com>
Build Date : Sat Dec 17 17:55:30 2022
Validated By : MD5 Sum SHA-256 Sum Signature
Pacman (and yay) display lots of useful messages when instaling and / or updating packages.
But those messages come quickly and are easy to bypass if not looking at them carefully.