I recently installed Garuda Linux and experienced a lot of frame drops even when watching/streaming videos. Apparently proper driver wasn't installed for my card. I did some research to choose proper driver for my card model following This Arch Wiki and installed related drivers using pacman. On restart I experienced a boot error. The system was simply stuck on boot.
Login through a snapshot and some research later I again installed using Software Center. On restart faced the same issue of being stuck on boot.
Another Snapshot and Having learnt my lesson, I went a bit deeper into the research and saw few common threads in this forum but a bit different issue. I saw in a thread to install via Hardware manager in settings and after successful install the same stuck on boot after restart.
On all my 3 tries the installation process was without any failure.
mhwd --pci -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2021.02.19 true PCI
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
chaotic-aur 1070.0 KiB 292 KiB/s 00:04 [------------------------------------] 100%
:: Starting full system upgrade...
warning: rare-git: local (1.5_beta.r5.gbe25abe-1) is newer than chaotic-aur (1.5_beta2.r0.g2e88d86-1)
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: eglexternalplatform will be installed before its nvidia-utils dependency
Packages (4) egl-wayland-1.1.7-1 eglexternalplatform-1.1-2 nvidia-utils-465.31-1 nvidia-465.31-5
Total Installed Size: 413.69 MiB
:: Proceed with installation? [Y/n] y
(4/4) checking keys in keyring [------------------------------------] 100%
(4/4) checking package integrity [------------------------------------] 100%
(4/4) loading package files [------------------------------------] 100%
(4/4) checking for file conflicts [------------------------------------] 100%
(4/4) checking available disk space [------------------------------------] 100%
:: Processing package changes...
(1/4) installing eglexternalplatform [------------------------------------] 100%
(2/4) installing egl-wayland [------------------------------------] 100%
(3/4) installing nvidia-utils [------------------------------------] 100%
If you run into trouble with CUDA not being available, run nvidia-modprobe first.
Optional dependencies for nvidia-utils
nvidia-settings: configuration tool
xorg-server-devel: nvidia-xconfig
opencl-nvidia: OpenCL support
(4/4) installing nvidia [------------------------------------] 100%
:: Running post-transaction hooks...
( 1/11) Syncing all file systems...
( 2/11) Creating system user accounts...
( 3/11) Reloading system manager configuration...
( 4/11) Arming ConditionNeedsUpdate...
( 5/11) Updating module dependencies...
( 6/11) Cleaning up...
( 7/11) Foreign/AUR package notification
=> No foreign/AUR packages found.
( 8/11) Orphaned package notification...
=> No orphans found.
( 9/11) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
/etc/systemd/system.conf.pacnew
/etc/systemd/user.conf.pacnew
Please check and merge
(10/11) Updating pkgfile database...
(11/11) Syncing all file systems...
Try 2:
I installed vis software center. Package name was nvidia 465.31-5
Try 3
I installed via Hardware Configuration in system settings under Display Controller
driver package name was video-nvidia-dkms
Waiting for user input...
Starting
> Installing video-nvidia-dkms...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-dkms/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
core is up to date
downloading extra.db...
community is up to date
multilib is up to date
downloading chaotic-aur.db...
warning: nvidia-utils-465.31-1 is up to date -- skipping
warning: egl-wayland-1.1.7-1 is up to date -- skipping
resolving dependencies...
looking for conflicting packages...
Packages (18) dkms-2.8.4-1 gobject-introspection-1.68.0-1 libdazzle-3.40.0-1 libxnvctrl-465.27-1 python-beaker-1.11.0-6 python-injector-0.18.4-1 python-mako-1.1.4-1 python-peewee-3.14.4-1 python-py3nvml-0.2.6-1 python-rx-3.2.0-1 python-typing_extensions-3.10.0.0-1 python-xlib-0.30-1 gwe-0.15.3-1 lib32-nvidia-utils-465.31-1 lib32-opencl-nvidia-465.31-1 nvidia-dkms-465.31-1 nvidia-settings-465.27-1 opencl-nvidia-465.31-1
Total Installed Size: 332.76 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libxnvctrl...
installing nvidia-settings...
installing opencl-nvidia...
Optional dependencies for opencl-nvidia
opencl-headers: headers necessary for OpenCL development
installing python-beaker...
installing python-mako...
installing gobject-introspection...
installing libdazzle...
installing python-typing_extensions...
installing python-injector...
installing python-peewee...
Optional dependencies for python-peewee
python-psycopg2: for PostgreSQL database support
mysql-python: for MySQL database support
installing python-py3nvml...
installing python-rx...
installing python-xlib...
installing gwe...
installing lib32-nvidia-utils...
Optional dependencies for lib32-nvidia-utils
lib32-opencl-nvidia [pending]
installing lib32-opencl-nvidia...
Optional dependencies for lib32-opencl-nvidia
opencl-headers: headers necessary for OpenCL development
installing dkms...
Optional dependencies for dkms
linux-headers: build modules against the Arch kernel [installed]
linux-lts-headers: build modules against the LTS kernel [installed]
linux-zen-headers: build modules against the ZEN kernel [installed]
linux-hardened-headers: build modules against the HARDENED kernel
installing nvidia-dkms...
:: Running post-transaction hooks...
( 1/12) Syncing all file systems...
( 2/12) Arming ConditionNeedsUpdate...
( 3/12) Install DKMS modules
==> dkms install --no-depmod -m nvidia -v 465.31 -k 5.12.6-zen1-1-zen
Error! Bad return status for module build on kernel: 5.12.6-zen1-1-zen (x86_64)
Consult /var/lib/dkms/nvidia/465.31/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m nvidia -v 465.31 -k 5.12.6-zen1-1-zen' returned 10
==> dkms install --no-depmod -m nvidia -v 465.31 -k 5.12.7-160-tkg-bmq
Error! Bad return status for module build on kernel: 5.12.7-160-tkg-bmq (x86_64)
Consult /var/lib/dkms/nvidia/465.31/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m nvidia -v 465.31 -k 5.12.7-160-tkg-bmq' returned 10
==> dkms install --no-depmod -m nvidia -v 465.31 -k 5.12.7-zen1-1-zen
Error! Bad return status for mod
ule build on kernel: 5.12.7-zen1-1-zen (x86_64)
Consult /var/lib/dkms/nvidia/465.31/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m nvidia -v 465.31 -k 5.12.7-zen1-1-zen' returned 10
==> dkms install --no-depmod -m nvidia -v 465.31 -k 5.10.40-1-lts
Error! Bad return status for module build on kernel: 5.10.40-1-lts (x86_64)
Consult /var/lib/dkms/nvidia/465.31/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m nvidia -v 465.31 -k 5.10.40-1-lts' returned 10
==> depmod 5.12.7-160-tkg-bmq
==> depmod 5.10.40-1-lts
==> depmod 5.12.6-zen1-1-zen
==> depmod 5.12.7-zen1-1-zen
( 4/12) Foreign/AUR package notification
=> No foreign/AUR packages found.
( 5/12) Compiling GSettings XML schema files...
( 6/12) Updating icon theme caches...
( 7/12) Mkinitcpio and GRUB update after transactions...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: 5.10.40-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: 5.10.40-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-tkg-bmq.preset: 'default'
-> -k /boot/vmlinuz-linux-tkg-bmq -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-tkg-bmq.img
==> Starting build: 5.12.7-160-tkg-bmq
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-tkg-bmq.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-tkg-bmq.preset: 'fallback'
-> -k /boot/vmlinuz-linux-tkg-bmq -c /etc/mkinitcpio.conf -g /boot/i
nitramfs-linux-tkg-bmq-fallback.img -S autodetect
==> Starting build: 5.12.7-160-tkg-bmq
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-tkg-bmq-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: 5.12.7-zen1-1-zen
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> Starting build: 5.12.7-zen1-1-zen
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
==> Image generation successful
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda-dr460nized/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-tkg-bmq
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-tkg-bmq.img
Found fallback initrd image(s) in /boot: initramfs-linux-tkg-bmq-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: initramfs-linux-lts-fallback.img
which: no umount in ((null))
Detecting snapshots ...
Info: Separate boot partition not detected
Found snapshot: 2021-05-29 00:59:10 | timeshift-btrfs/snapshots/2021-05-29_00-59-10/@
Found snapshot: 2021-05-28 23:00:01 | timeshift-btrfs/snapshots/2021-05-28_23-00-01/@
Found snapshot: 2021-05-28 07:35:55 | timeshift-btrfs/snapshots/2021-05-28_23-40-11/@
Foun
d snapshot: 2021-05-28 07:34:59 | timeshift-btrfs/snapshots/2021-05-28_07-34-59/@
Found snapshot: 2021-05-28 07:31:59 | timeshift-btrfs/snapshots/2021-05-28_07-34-38/@
Found snapshot: 2021-05-28 07:09:50 | timeshift-btrfs/snapshots/2021-05-28_07-09-50/@
Found snapshot: 2021-05-28 03:27:05 | timeshift-btrfs/snapshots/2021-05-28_07-31-45/@
Found snapshot: 2021-05-28 03:24:26 | timeshift-btrfs/snapshots/2021-05-28_03-26-36/@
Found snapshot: 2021-05-28 03:21:24 | timeshift-btrfs/snapshots/2021-05-28_03-24-26/@
Found snapshot: 2021-05-28 02:53:50 | timeshift-btrfs/snapshots/2021-05-28_02-53-50/@
Found snapshot: 2021-05-27 23:24:52 | timeshift-btrfs/snapshots/2021-05-27_23-24-51/@
Found snapshot: 2021-05-27 23:00:02 | timeshift-btrfs/snapshots/2021-05-27_23-00-02/@
Found snapshot: 2021-05-26 20:59:23 | timeshift-btrfs/snapshots/2021-05-26_20-59-23/@
Found snapshot: 2021-05-26 20:28:38 | timeshift-btrfs/snapshots/2021-05-28_03-21-24/@
Found snapshot: 2021-05-26 20:04:04 | timeshift-btrfs/snapshots/2021-05-26_20-28-38/@
Found 15 snapshot(s)
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
( 8/12) Orphaned package notification...
=> No orphans found.
( 9/12) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
/etc/systemd/system.conf.pacnew
/etc/systemd/user.conf.pacnew
Please check and merge
(10/12) Updating pkgfile database...
(11/12) Updating the desktop file MIME type cache...
(12/12) Syncing all file systems...
nvidia-utils: install reason has been set to 'explicitly installed'
nvidia-settings: install reason has been set to 'explicitly installed'
opencl-nvidia: install reason has been set to 'explicitly installed'
egl-wayland: install reason has been set to 'explicitly installed'
gwe: install reason has been set to 'explicitly installed'
lib32-nvidia-utils: install reason has been set to 'explicitly installed'
lib32-opencl-nvidia: install reason has been set to 'explicitly installed'
nvidia-dkms: install reason has been set to 'explicitly installed'
nvidia-dkms: install reason has been set to 'explicitly installed'
nvidia-dkms: install reason has been set to 'explicitly installed'
nvidia-dkms: install reason has been set to 'explicitly installed'
xorg configuration file: '/etc/X11/mhwd.d/nvidia.conf'
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: 5.10.40-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting
build: 5.10.40-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-tkg-bmq.preset: 'default'
-> -k /boot/vmlinuz-linux-tkg-bmq -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-tkg-bmq.img
==> Starting build: 5.12.7-160-tkg-bmq
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-tkg-bmq.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-tkg-bmq.preset: 'fallback'
-> -k /boot/vmlinuz-linux-tkg-bmq -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-tkg-bmq-fallback.img -S autodetect
==> Starting build: 5.12.7-160-tkg-bmq
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-tkg-bmq-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: 5.12.7-zen1-1-zen
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING
: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> Starting build: 5.12.7-zen1-1-zen
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
> Successfully installed video-nvidia-dkms
Done ...
On installing via settings there were some errors but it showed that driver was installed. I am not sure if i am doing anything wrong
DKMS make.log for nvidia-465.31 for kernel 5.10.40-1-lts (x86_64)
Sat May 29 01:10:19 +0545 2021
make[1]: Entering directory '/usr/lib/modules/5.10.40-1-lts/build'
make[1]: cc: No such file or directory
make[1]: make: No such file or directory
make[1]: *** [Makefile:1821: /var/lib/dkms/nvidia/465.31/build] Error 127
make[1]: Leaving directory '/usr/lib/modules/5.10.40-1-lts/build'
make: *** [Makefile:80: modules] Error 2
This is the content of ~~~ /var/lib/dkms/nvidia/465.31/build/make.log~~~ It says no File error. I dont remember deleting any files anytime.
Reading your posted terminal outputs, I think your system is in an unknown condition right now.
Maybe it is possible to boot safely to the linux kernel, but IIUC you don't have it installed.
Anyway, I think it is safer for now to reboot and select a previous snapshot, before all these changes (from yesterday?).
Then
Run Timeshift GUI and restore the snapshot you have just booted.
Reboot and select a normal kernel (linux-lts is a good choice)
Apply a system packages update (pacman -Syu)
Reboot again to linux-lts
Open Garuda Hardware Manager and click "Auto-install proprietary drivers")
If there are errors again. post relevant info.
If not reboot to check status.
Starting
> Using config 'video-nvidia-dkms' for device: 0000:01:00.0 (0300:10de:1287) Display controller nVidia Corporation GK208B [GeForce GT 730]
> Installing video-nvidia-dkms...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-dkms/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
chaotic-aur is up to date
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: eglexternalplatform will be installed before its nvidia-utils dependency
Packages (21) dkms-2.8.4-1 eglexternalplatform-1.1-2 gobject-introspection-1.68.0-1 libdazzle-3.40.0-1 libxnvctrl-465.27-1 python-beaker-1.11.0-6 python-injector-0.18.4-1 python-mako-1.1.4-1 python-peewee-3.14.4-1 python-py3nvml-0.2.6-1 python-rx-3.2.0-1 python-typing_extensions-3.10.0.0-1 python-xlib-0.30-1 egl-wayland-1.1.7-1 gwe-0.15.3-1 lib32-nvidia-utils-465.31-1 lib32-opencl-nvidia-465.31-1 nvidia-dkms-465.31-1 nvidia-settings-465.27-1 nvidia-utils-465.31-1 opencl-nvidia-465.31-1
Total Installed Size: 723.02 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing eglexternalplatform...
installing egl-wayland...
installing nvidia-utils...
If you run into trouble with CUDA not being available, run nvidia-modprobe first.
Optional dependencies for nvidia-utils
nvidia-settings: configuration tool [pending]
xorg-server-devel: nvidia-xconfig
opencl-nvidia: OpenCL support [pending]
installing libxnvctrl...
installing nvidia-settings...
installing opencl-nvidia...
Optional dependencies for opencl-nvidia
opencl-headers: headers necessary for OpenCL development
installing python-beaker...
installing python-mako...
installing gobject-introspection...
installing libdazzle...
installing python-typing_extensions...
installing python-injector...
installing python-peewee...
Optional dependencies for python-peewee
python-psycopg2: for PostgreSQL database support
mysql-python: for MySQL database support
installing python-py3nvml...
installing python-rx...
installing python-xlib...
installing gwe...
installing lib32-nvidia-utils...
Optional dependencies for lib32-nvidia-utils
lib32-opencl-nvidia [pending]
installing lib32-opencl-nvidia...
Optional dependencies for lib32-opencl-nvidia
opencl-headers: headers necessary for OpenCL development
installing dkms...
Optional dependencies for dkms
linux-headers: build modules against the Arch kernel [installed]
linux-lts-headers: build modules against the LTS kernel [installed]
linux-zen-headers: build modules against the ZEN kernel [installed]
linux-hardened-headers: build modules against the HARDENED kernel
installing nvidia-dkms...
:: Running post-transaction hooks...
( 1/14) Syncing all file systems...
( 2/14) Creating system user accounts...
Creating group nvidia-persistenced with gid 143.
Creating user nvidia-persistenced (NVIDIA Persistence Daemon) with uid 143 and gid 143.
( 3/14) Reloading system manager configuration...
( 4/14) Arming ConditionNeedsUpdate...
( 5/14) Install DKMS modules
==> dkms install --no-depmod -m nvidia -v 465.31 -k 5.10.40-1-lts
e[
mError! Bad return status for module build on kernel: 5.10.40-1-lts (x86_64)
Consult /var/lib/dkms/nvidia/465.31/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m nvidia -v 465.31 -k 5.10.40-1-lts' returned 10
==> depmod 5.10.40-1-lts
==> Unable to install module nvidia/465.31 for kernel 5.12.7-160-tkg-bmq: Missing kernel modules tree.
==> Unable to install module nvidia/465.31 for kernel 5.12.7-zen1-1-zen: Missing kernel modules tree.
( 6/14) Foreign/AUR package notification
=> No foreign/AUR packages found.
( 7/14) Compiling GSettings XML schema files...
( 8/14) Updating icon theme caches...
( 9/14) Mkinitcpio and GRUB update after transactions...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: 5.10.40-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: 5.10.40-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> Image generation successful
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda-dr460nized/theme.txt
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: initramfs-linux-lts-fallback.img
which: no umount in ((null))
Detecting snapshots ...
Info: Separate boot partition not detected
Found snapshot: 2021-05-29 06:28:07 | timeshift-btrfs/snapshots/2021-05-29_06-28-07/@
Found snapshot: 2021-05-29 06:25:03 | timeshift-btrfs/snapshots/2021-05-29_06-25-03/@
Found snapshot: 2021-05-29 06:22:02 | timeshift-btrfs/snapshots/2021-05-29_06-22-02/@
Found snapshot: 2021-05-29 06:09:01 | timeshift-btrfs/snapshots/2021-05-29_06-09-01/@
Found snapshot: 2021-05-29 05:40:41 | timeshift-btrfs/snapshots/2021-05-29_05-40-41/@
Found snapshot: 2021-05-29 02:28:28 | timeshift-btrfs/snapshots/2021-05-29_05-34-33/@
Found snapshot: 2021-05-28 23:40:11 | timeshift-btrfs/snapshots/2021-05-29_02-28-28/@
Found snapshot: 2021-05-28 23:00:01 | timeshift-btrfs/snapshots/2021-05-28_23-00-01/@
Found snapshot: 2021-05-28 07:35:55 | timeshift-btrfs/snapshots/2021-05-28_23-40-
11/@
Found snapshot: 2021-05-28 07:34:59 | timeshift-btrfs/snapshots/2021-05-28_07-34-59/@
Found snapshot: 2021-05-28 07:31:59 | timeshift-btrfs/snapshots/2021-05-28_07-34-38/@
Found snapshot: 2021-05-28 03:27:05 | timeshift-btrfs/snapshots/2021-05-28_07-31-45/@
Found snapshot: 2021-05-28 03:24:26 | timeshift-btrfs/snapshots/2021-05-28_03-26-36/@
Found snapshot: 2021-05-28 03:21:24 | timeshift-btrfs/snapshots/2021-05-28_03-24-26/@
Found snapshot: 2021-05-27 23:00:02 | timeshift-btrfs/snapshots/2021-05-27_23-00-02/@
Found snapshot: 2021-05-26 20:28:38 | timeshift-btrfs/snapshots/2021-05-28_03-21-24/@
Found snapshot: 2021-05-26 20:04:04 | timeshift-btrfs/snapshots/2021-05-26_20-28-38/@
Found 17 snapshot(s)
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
(10/14) Orphaned package notification...
=> No orphans found.
(11/14) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
/etc/systemd/system.conf.pacnew
/etc/systemd/user.conf.pacnew
Please check and merge
(12/14) Updating pkgfile database...
(13/14) Updating the desktop file MIME type cache...
(14/14) Syncing all file systems...
nvidia-utils: install reason has been set to 'explicitly installed'
nvidia-settings: install reason has been set to 'explicitly installed'
opencl-nvidia: install reason has been set to 'explicitly installed'
egl-wayland: install reason has been set to 'explicitly installed'
gwe: install reason has been set to 'explicitly installed'
lib32-nvidia-utils: install reason has been set to 'explicitly installed'
lib32-opencl-nvidia: install reason has been set to 'explicitly installed'
nvidia-dkms: install reason has been set to 'explicitly installed'
nvidia-dkms: install reason has been set to 'explicitly installed'
xorg configuration file: '/etc/X11/mhwd.d/nvidia.conf'
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: 5.10.40-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: 5.10.40-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build
hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
> Successfully installed video-nvidia-dkms
Done ...
on reboot I faced the same issue of being stuck in boot. Here are the images of 2 tries if it helps. In both cases I waited about 5 Mins before deciding to reboot.
cat /proc/version
Linux version 5.10.40-1-lts (linux-lts@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP Wed,
26 May 2021 11:47:57 +0000
Thanks a lot for your time and effort. It is fixed now which certainly wouldn’t be possible without the admins help. Proud to install Garuda.
Appperantly the problem was with dependency modules not being installed.
I saw in a thread about suggestion to install nvidia-lts package for the kernel and the issue got fixed after that. Thanks a lot!!
I doubt this was the real issue. This is supposed to be installed automatically by mhwd anyway.
If you have (un)installed packages with pacman (and think this fixed your issue), it may mean there may be a bug in mhwd/MSM