nvidia-installer-dkms
targets mainstream and LTS kernels only, along with their respective headers. Custom kernel support is broken as of this post.
$ sudo pacman -S nvidia-installer-dkms
resolving dependencies...
looking for conflicting packages...
Packages (3) linux-headers-5.2.11.arch1-1 nvidia-installer-db-2.1-1
nvidia-installer-dkms-2.1-6
Total Installed Size: 100.38 MiB
:: Proceed with installation? [Y/n]
It targets mainline headers, whilst failing detection of “linux
”, “lts
”, or “hardened
” kernel presence in the system. linux-5.2.11.arch1-1
is not installed or resolved. What happens if a user compiles and installs their own “custom” kernel?
:: Proceed with installation? [Y/n] y
(3/3) checking keys in keyring [----------------------] 100%
(3/3) checking package integrity [----------------------] 100%
(3/3) loading package files [----------------------] 100%
(3/3) checking for file conflicts [----------------------] 100%
:: Processing package changes...
(1/3) installing linux-headers [----------------------] 100%
(2/3) installing nvidia-installer-db [----------------------] 100%
(3/3) installing nvidia-installer-dkms [----------------------] 100%
Optional dependencies for nvidia-installer-dkms
linux-lts-headers: for nvidia-installer-dkms with kernel linux-lts
nvidia-settings: tool for configuring the NVIDIA graphics driver [installed]
nvidia-390xx-settings: tool for configuring the NVIDIA graphics driver
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> Unable to install module bbswitch/0.8 for kernel 5.2.11-arch1-1-ARCH: Missing kernel modules tree.
==> Unable to install module vboxhost/6.0.12_OSE for kernel 5.2.11-arch1-1-ARCH: Missing kernel modules tree.
==> Unable to install module nvidia/435.21 for kernel 5.2.11-arch1-1-ARCH: Missing kernel modules tree.
==> Unable to install module exfat/205.c0915bb for kernel 5.2.11-arch1-1-ARCH: Missing kernel modules tree.
Makese sense, no module trees for absent kernels.
$ sudo nvidia-installer-dkms -b
2019-09-06 10:02:13 [INFO]: EndeavourOS Nvidia Installer v2.0
2019-09-06 10:02:13 [INFO]: All logs will be stored in /tmp/nvidia-installer.log
2019-09-06 10:02:13 [INFO]: Installing bumblebee driver...
2019-09-06 10:02:13 [INFO]: Removing conflicting packages...
2019-09-06 10:02:13 [INFO]: Downloading and installing driver packages, please wait as this may take a few minutes...
2019-09-06 10:04:16 [INFO]: Adding user thanos to bumblebee group...
2019-09-06 10:04:16 [INFO]: gpasswd -a thanos bumblebee
2019-09-06 10:04:16 [INFO]: Adding user thanos to video group...
2019-09-06 10:04:16 [INFO]: gpasswd -a thanos video
2019-09-06 10:04:16 [INFO]: Enabling bumblebeed.service service...
2019-09-06 10:04:16 [INFO]: systemctl enable bumblebeed.service
2019-09-06 10:04:17 [INFO]: Patching /usr/share/applications/nvidia-settings.desktop...
2019-09-06 10:04:17 [INFO]: /etc/X11/xorg.conf.d/20-nvidia.conf not found. That's ok.
2019-09-06 10:04:17 [INFO]: Installation finished. You need to reboot now!
2019-09-06 10:04:17 [INFO]: /etc/X11/xorg.conf.d/20-nvidia.conf not found. That's ok.
Why is no 20-nvidia.conf
okay?
Removing linux-headers-5.2.11.arch1-1
breaks dependencies. My “custom” headers should suffice.