Boot stuck on "Loading initial ramdisk..." after installing nvidia-dkms

Hello!

Thx for that "inxi -Faz" infographic :stuck_out_tongue_closed_eyes:, so here's that first:

System:    Kernel: 5.14.8-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen 
           root=UUID=6558651c-7144-44ff-967b-654d4452c85c rw [email protected] quiet splash 
           rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 
           resume=UUID=0bfc74d3-f2c5-45d0-8770-62ac2711d354 loglevel=3 
           Desktop: Qtile 0.18.1 wm: LG3D vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux 
Machine:   Type: Desktop System: Micro-Star product: MS-7A38 v: 1.0 serial: <filter> 
           Mobo: Micro-Star model: B350M BAZOOKA (MS-7A38) v: 1.0 serial: <filter> 
           UEFI: American Megatrends v: 1.E0 date: 04/24/2018 
Battery:   Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K270 serial: <filter> 
           charge: 55% (should be ignored) rechargeable: yes status: Discharging 
CPU:       Info: 6-Core model: AMD Ryzen 5 1600X bits: 64 type: MT MCP arch: Zen family: 17 (23) 
           model-id: 1 stepping: 1 microcode: 8001137 cache: L2: 3 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 95996 
           Speed: 4000 MHz min/max: N/A Core speeds (MHz): 1: 4000 2: 4000 3: 4000 4: 4000 5: 3972 
           6: 4000 7: 4000 8: 4000 9: 4000 10: 4000 11: 3747 12: 4000 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: Micro-Star MSI driver: nouveau v: kernel 
           bus-ID: 1f:00.0 chip-ID: 10de:1c81 class-ID: 0300 
           Display: x11 server: X.Org 1.20.13 compositor: picom v: git-60eb0 driver: loaded: nouveau 
           unloaded: modesetting alternate: fbdev,nv,vesa display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: HDMI-1 res: 1920x1080 hz: 60 dpi: 102 size: 476x268mm (18.7x10.6") 
           diag: 546mm (21.5") 
           OpenGL: renderer: NV137 v: 4.3 Mesa 21.2.2 direct render: Yes 
Audio:     Device-1: NVIDIA GP107GL High Definition Audio vendor: Micro-Star MSI 
           driver: snd_hda_intel v: kernel bus-ID: 1f:00.1 chip-ID: 10de:0fb9 class-ID: 0403 
           Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel 
           bus-ID: 21:00.3 chip-ID: 1022:1457 class-ID: 0403 
           Sound Server-1: ALSA v: k5.14.8-zen1-1-zen running: yes 
           Sound Server-2: JACK v: 1.9.19 running: no 
           Sound Server-3: PulseAudio v: 15.0 running: no 
           Sound Server-4: PipeWire v: 0.3.37 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI 
           driver: r8169 v: kernel port: f000 bus-ID: 1b:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: enp27s0 state: down mac: <filter> 
           Device-2: Ralink RT2501/RT2573 Wireless Adapter type: USB driver: rt73usb bus-ID: 1-8:3 
           chip-ID: 148f:2573 class-ID: 0000 
           IF: wlp3s0f0u8 state: up mac: <filter> 
Drives:    Local Storage: total: 1.44 TiB used: 533.55 GiB (36.3%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SDSSDA240G size: 223.57 GiB block-size: 
           physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 30RL 
           scheme: GPT 
           ID-2: /dev/sdb maj-min: 8:16 vendor: HGST (Hitachi) model: HTS721010A9E630 
           size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD 
           rpm: 7200 serial: <filter> rev: A3T0 scheme: GPT 
           ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD2500AAKX-08U6AA0 
           size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: HDD 
           rpm: 7200 serial: <filter> rev: 1H19 scheme: MBR 
           ID-4: /dev/sdd maj-min: 8:48 type: USB vendor: Corsair model: Corsair Force GT 
           size: 83.85 GiB block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> 
           rev: 1.3. scheme: MBR 
Partition: ID-1: / raw-size: 99.48 GiB size: 99.48 GiB (100.00%) used: 18.13 GiB (18.2%) fs: btrfs 
           dev: /dev/sda3 maj-min: 8:3 
           ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 25.5 MiB (26.6%) fs: vfat 
           dev: /dev/sda4 maj-min: 8:4 
           ID-3: /home raw-size: 99.48 GiB size: 99.48 GiB (100.00%) used: 18.13 GiB (18.2%) 
           fs: btrfs dev: /dev/sda3 maj-min: 8:3 
           ID-4: /var/log raw-size: 99.48 GiB size: 99.48 GiB (100.00%) used: 18.13 GiB (18.2%) 
           fs: btrfs dev: /dev/sda3 maj-min: 8:3 
           ID-5: /var/tmp raw-size: 99.48 GiB size: 99.48 GiB (100.00%) used: 18.13 GiB (18.2%) 
           fs: btrfs dev: /dev/sda3 maj-min: 8:3 
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 19.53 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/sda6 maj-min: 8:6 
           ID-2: swap-2 type: zram size: 15.58 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0 
Sensors:   System Temperatures: cpu: 40.5 C mobo: N/A gpu: nouveau temp: 33.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 317 Uptime: 45m wakeups: 6 Memory: 15.58 GiB used: 2.42 GiB (15.6%) 
           Init: systemd v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: 
           pacman: 1346 lib: 349 Shell: fish v: 3.3.1 running-in: alacritty inxi: 3.3.06 

Now, I wanted to install the Nvidia proprietary drivers for my GTX 1050 on this install to get some games going and I did the easiest thing I could do and what other people already asked for on this forum and that is to go to Garuda settings -> Hardware Configuration -> Auto Install Proprietary Driver. So, when I did that, I got this output in the little details box:

Starting
> Using config 'video-nvidia-dkms' for device: 0000:1f:00.0 (0300:10de:1c81) Display controller nVidia Corporation GP107 [GeForce GTX 1050]
> 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 downloading...
 extra downloading...
 community downloading...
 multilib downloading...
 chaotic-aur downloading...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: eglexternalplatform will be installed before its nvidia-utils dependency

Packages (28) egl-wayland-1:1.1.7-1  eglexternalplatform-1.1-2  gobject-introspection-1.70.0-1  gwe-0.15.4-1  lib32-nvidia-utils-470.74-1  lib32-opencl-nvidia-470.74-1  libdazzle-3.42.0-1  libimagequant-2.16.0-1  nvidia-dkms-470.74-1  nvidia-settings-470.74-1  nvidia-utils-470.74-1  opencl-nvidia-470.74-1  python-beaker-1.11.0-6  python-cycler-0.10.0-8  python-dateutil-2.8.2-1  python-injector-0.18.4-1  python-kiwisolver-1.3.2-1  python-mako-1.1.5-1  python-markupsafe-2.0.1-1  python-matplotlib-3.4.3-1  python-peewee-3.14.4-1  python-pillow-8.3.2-1  python-py3nvml-0.2.6-1  python-pyxdg-0.27-1  python-rx-3.2.0-1  python-xlib-0.31-1  qhull-2020.2-4  garuda-nvidia-config-1.0.2-1

Total Download Size:   253.35 MiB
Total Installed Size:  790.18 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 nvidia-utils-470.74-1-x86_64 downloading...
 nvidia-dkms-470.74-1-x86_64 downloading...
 lib32-nvidia-utils-470.74-1-x86_64 downloading...
 lib32-opencl-nvidia-470.74-1-x86_64 downloading...
 opencl-nvidia-470.74-1-x86_64 downloading...
 python-matplotlib-3.4.3-1-x86_64 downloading...
 gobject-introspection-1.70.0-1-x86_64 downloading...
 qhull-2020.2-4-x86_64 downloading...
 nvidia-settings-470.74-1-x86_64 downloading...
 python-pillow-8.3.2-1-x86_64 downloading...
 libdazzle-3.42.0-1-x86_64 downloading...
 python-peewee-3.14.4-1-x86_64 downloading...
 python-dateutil-2.8.2-1-any downloading...
 python-xlib-0.31-1-any downloading...
 python-rx-3.2.0-1-any downloading...
 gwe-0.15.4-1-any downloading...
 python-mako-1.1.5-1-any downloading...
 python-beaker-1.11.0-6-any downloading...
 python-py3nvml-0.2.6-1-any downloading...
 python-pyxdg-0.27-1-any downloading...
 python-kiwisolver-1.3.2-1-x86_64 downloading...
 libimagequant-2.16.0-1-x86_64 downloading...
 python-injector-0.18.4-1-any downloading...
 egl-wayland-1:1.1.7-1-x86_64 downloading...
 python-markupsafe-2.0.1-1-x86_64 downloading...
 python-cycler-0.10.0-8-any downloading...
 eglexternalplatform-1.1-2-any downloading...
 garuda-nvidia-config-1.0.2-1-any downloading...
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 nvidia-settings...
installing opencl-nvidia...
Optional dependencies for opencl-nvidia
    opencl-headers: headers necessary for OpenCL development
installing python-markupsafe...
installing python-beaker...
[0;32
minstalling python-mako...
installing gobject-introspection...
installing libdazzle...
installing python-injector...
installing python-cycler...
installing python-dateutil...
installing python-kiwisolver...
installing libimagequant...
installing python-pillow...
Optional dependencies for python-pillow
    libwebp: for webp images [installed]
    tk: for the ImageTK module
    python-olefile: OLE2 file support
    python-pyqt5: for the ImageQt module [installed]
installing qhull...
installing python-matplotlib...
Optional dependencies for python-matplotlib
    tk: Tk{Agg,Cairo} backends
    pyside2: alternative for Qt5{Agg,Cairo} backends
    python-pyqt5: Qt5{Agg,Cairo} backends [installed]
    python-gobject: for GTK3{Agg,Cairo} backend [installed]
    python-wxpython: WX{,Agg,Cairo} backend
    python-cairo: {GTK3,Qt5,Tk,WX}Cairo backends [installed]
    python-cairocffi: alternative for Cairo backends [installed]
    python-tornado: WebAgg backend
    ffmpeg: for saving movies [installed]
    imagemagick: for saving animated gifs [installed]
    ghostscript: usetex dependencies [installed]
    texlive-bin: usetex dependencies
    texlive-latexextra: usetex usage with pdflatex
    python-certifi: https support
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-pyxdg...
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 nvidia-dkms...
installing garuda-nvidia-config...
:: Running post-transaction hooks...
( 1/13) Creating system user accounts...
Creating group nvidia-persistenced with gid 143.
Creating user nvidia-persistenced (NVIDIA Persistence Daemon) with uid 143 and gid 143.
( 2/13) Reloading system manager configuration...
( 3/13) Arming ConditionNeedsUpdate...
( 4/13) Install DKMS modules
==> dkms install --no-depmod -m nvidia -v 470.74 -k 5.10.69-1-lts
Error! Bad return status for module build on kernel: 5.10.69-1-lts (x86_64)
Consult /var/lib/dkms/nvidia/470.74/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m nvidia -v 470.74 -k 5.10.69-1-lts' returned 10
==> dkms install --no-depmod -m nvidia -v 470.74 -k 5.14.8-zen1-1-zen
Error! Bad return status for module build on kernel: 5.14.8-zen1-1-zen (x86_64)
Consult /var/lib/dkms/nvidia/470.74/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m nvidia -v 470.74 -k 5.14.8-zen1-1-zen' returned 10
==> depmod 5.10.69-1-lts
==> depmod 5.14.8-zen1-1-zen
( 5/13) Updating linux initcpios...
==> 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.69-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: [resume]
  -> 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.69-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: [resume]
  -> 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-zen.preset: 'default'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: 5.14.8-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: [resume]
  -> 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.14.8-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: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
==> Image generation successful
( 6/13) Foreign/AUR package notification
=> No foreign/AUR packages found.
( 7/13) Compiling GSettings XML schema files...
( 8/13) Updating icon theme caches...
( 9/13) Orphaned package notification...
=> No orphans found.
(10/13) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/default/grub-btrfs/config.pacnew
/etc/pacman.d/mirrorlist.pacnew
Please check and merge
(11/1
3) Updating pkgfile database...
(12/13) Updating the desktop file MIME type cache...
(13/13) Syncing all file systems...
garuda-nvidia-config: install reason has been set to 'explicitly installed'
==> 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.69-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: [resume]
  -> 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.69-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: [resume]
  -> 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-zen.preset: 'default'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: 5.14.8-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: [resume]
  -> 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: /e
tc/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.14.8-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: [resume]
  -> 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 ...

Alright, alright, it seems we got some errors in there and especially these ones (same for my zen and lts kernel):

Error! Bad return status for module build on kernel: 5.10.69-1-lts (x86_64)
Consult /var/lib/dkms/nvidia/470.74/build/make.log for more information.

So, I went to the make logs and saw this (again, same for both kernels):

DKMS make.log for nvidia-470.74 for kernel 5.14.8-zen1-1-zen (x86_64)
Thu Sep 30 00:33:18 CEST 2021
make[1]: Entering directory '/usr/lib/modules/5.14.8-zen1-1-zen/build'
make[1]: cc: No such file or directory
make[1]: make: No such file or directory
make[1]: *** [Makefile:1855: /var/lib/dkms/nvidia/470.74/build] Error 127
make[1]: Leaving directory '/usr/lib/modules/5.14.8-zen1-1-zen/build'
make: *** [Makefile:80: modules] Error 2

I don't know much about these error messages, but it looked to me like it couldn't find my C/C++ compiler (or maybe some other thing), so I ran "which cc" and it was in "/usr/bin/cc" where it should be.
From the knowledge i have mustered while trying to solve this problem on my own, it makes sense to me why it would be stuck on "Loading initial ramdisk..." since it is trying to load modules that haven't been compiled? I could be wrong on all this since I installed Garuda last week and am, therefore, a n00b.
I was trying to dig deeper into this problem, but I'm out of ideas and I need some help, please! Here is a thank you in advance to anyone that looks at this.

By the way, btrfs and timeshift really helped me out with trying to figure out whats going on here, so thank you for creating this lovely distro! :heart:

can you try installing gcc and make packages ?

also can you check if you have linux-zen-headers? that should be all you need

Here is what I got:

 ╭─[email protected] in ~/bugs/nvidia took 7ms
 ╰─λ pacman -Q make gcc linux-zen-headers linux-lts-headers
make 4.3-3
gcc 11.1.0-1
linux-zen-headers 5.14.8.zen1-1
linux-lts-headers 5.10.69-1

I could try reinstalling them and giving it a shot, though.

heh sorry ... I was a little dumb:

make[1]: make: No such file or directory

if make is running complaining that make can't find the file, ... it means make exists :slight_smile:

hum... weird, I don't have an nvidia myself ... but weird

EDIT: only thing I can think right now is checking if the /usr/lib/modules/5.14.8-zen1-1-zen has the proper sources of the kernel ( should have ).

Probably someone with nvidia can help

No worries! I'm using the open source Nvidia drivers right now and everything seems to be working nicely, although I would like to try out the proprietary drivers as well.
I'll wait and see if someone has any other ideas on what I could try to do to solve this problem.

EDIT:
I saw your suggestion after writing this, so here's this:

 ╭─[email protected] in ~/bugs/nvidia
 ╰─λ ls /usr/lib/modules/5.14.8-zen1-1-zen/
drwxr-xr-x    - root 27 ruj  19:29  build
drwxr-xr-x    - root 27 ruj  19:30  kernel
.rw-r--r-- 1,4M root 27 ruj  19:30  modules.alias
.rw-r--r-- 1,4M root 27 ruj  19:30  modules.alias.bin
.rw-r--r-- 8,2k root 26 ruj  21:36  modules.builtin
.rw-r--r--  19k root 27 ruj  19:30  modules.builtin.alias.bin
.rw-r--r--  10k root 27 ruj  19:30  modules.builtin.bin
.rw-r--r--  61k root 26 ruj  21:36  modules.builtin.modinfo
.rw-r--r-- 742k root 27 ruj  19:30  modules.dep
.rw-r--r-- 983k root 27 ruj  19:30  modules.dep.bin
.rw-r--r--  455 root 27 ruj  19:30  modules.devname
.rw-r--r-- 222k root 26 ruj  21:36  modules.order
.rw-r--r-- 1,3k root 27 ruj  19:30  modules.softdep
.rw-r--r-- 645k root 27 ruj  19:30  modules.symbols
.rw-r--r-- 780k root 27 ruj  19:30  modules.symbols.bin
.rw-r--r--   10 root 26 ruj  21:36  pkgbase
.rw-r--r--  10M root 26 ruj  21:36  vmlinuz

 ╭─[email protected] in ~/bugs/nvidia took 2ms
 ╰─λ ls /usr/lib/modules/5.14.8-zen1-1-zen/build/
drwxr-xr-x    - root 27 ruj  19:29  arch
drwxr-xr-x    - root 27 ruj  19:29  block
drwxr-xr-x    - root 27 ruj  19:29  certs
drwxr-xr-x    - root 27 ruj  19:29  crypto
drwxr-xr-x    - root 27 ruj  19:29  drivers
drwxr-xr-x    - root 27 ruj  19:29  fs
drwxr-xr-x    - root 27 ruj  19:29  include
drwxr-xr-x    - root 27 ruj  19:29  init
drwxr-xr-x    - root 27 ruj  19:29  kernel
drwxr-xr-x    - root 27 ruj  19:29  lib
drwxr-xr-x    - root 27 ruj  19:29  mm
drwxr-xr-x    - root 27 ruj  19:29  net
drwxr-xr-x    - root 27 ruj  19:29  samples
drwxr-xr-x    - root 27 ruj  19:29  scripts
drwxr-xr-x    - root 27 ruj  19:29  security
drwxr-xr-x    - root 27 ruj  19:29  sound
drwxr-xr-x    - root 27 ruj  19:29  tools
drwxr-xr-x    - root 27 ruj  19:29  usr
drwxr-xr-x    - root 27 ruj  19:29  virt
.rw-r--r-- 246k root 26 ruj  21:36  .config
.rw-r--r--  555 root 26 ruj  21:36  Kconfig
.rw-r--r--    3 root 26 ruj  21:36  localversion.10-pkgrel
.rw-r--r--    5 root 26 ruj  21:36  localversion.20-pkgname
.rw-r--r--  66k root 26 ruj  21:36  Makefile
.rw-r--r-- 1,7M root 26 ruj  21:36  Module.symvers
.rw-r--r-- 5,2M root 26 ruj  21:36  System.map
.rw-r--r--   18 root 26 ruj  21:36  version
.rw-r--r--  85M root 26 ruj  21:36  vmlinux

I don't know if this is what you wanted me to check and I don't know how to check if these are the correct sources, though.

EDIT 2:
I'll put this here as well since it seems like it would help:

 ╭─[email protected] in ~/bugs/nvidia took 163ms
 ╰─λ pacman -Qik linux-zen-headers
Name            : linux-zen-headers
Version         : 5.14.8.zen1-1
Description     : Headers and scripts for building modules for the Linux ZEN kernel
Architecture    : x86_64
URL             : https://github.com/zen-kernel/zen-kernel/commits/v5.14.8-zen1
Licenses        : GPL2
Groups          : None
Provides        : None
Depends On      : pahole
Optional Deps   : None
Required By     : None
Optional For    : dkms
Conflicts With  : None
Replaces        : None
Installed Size  : 134,85 MiB
Packager        : Jan Alexander Steffens (heftig) <[email protected]>
Build Date      : nedjelja, 26. rujna 2021. 21:36:16 CEST
Install Date    : ponedjeljak, 27. rujna 2021. 19:29:47 CEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

linux-zen-headers: 18083 total files, 0 missing files

Hm. The quick way to make sure you can compile DKMS modules is to install the base-devel group (then run sudo dkms autoinstall to pick up any that failed to build).

Question is, why isn't this already installed given it's needed for nvidia-dkms ?

3 Likes

Ok, so I tried clearing the package cache, sudo pacman -S base-devel base, sudo dkms autoinstall and then install proprietary drivers and I'm getting the same issue.
I just had an idea of trying to install some other dkms module to see if the same problem persists, but I'm too tired to do it now, so I'll post my results tomorrow.

Slow down. One thing at a time.

Did the DKMS modules build correctly when you ran sudo dkms autoinstall? What was the output in the terminal?

If the compilation is still failing, and with the same error, then there is something odd happening with the $PATH.

Unless the nvidia driver modules build, then adding them to the initramfs will also fail, leading to a broken image as detailed here:

3 Likes

yeah, i thought of that :slight_smile: but seeing that they are in /usr/bin ( not even on sbin ) I didn't mentioned it

I ran it again with the snapshot i made after sudo pacman -S base-devel base and it produced nothing:

 ╭─[email protected] in ~ took 6s
 ╰─λ sudo dkms autoinstall

 ╭─[email protected] in ~ took 175ms
 ╰─λ

Here's my path as well:

/usr/local/sbin /usr/local/bin /usr/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl

Yep, here's where they are:

 ╭─[email protected] in ~
 ╰─λ which cc
/usr/bin/cc

 ╭─[email protected] in ~
 ╰─λ which make
/usr/bin/make

 ╭─[email protected] in ~
 ╰─λ which gcc
/usr/bin/gcc

OK, next:

dkms status
sudo mkinitcpio -p linux-lts
2 Likes
 ╭─[email protected] in ~
 ╰─λ dkms status
vboxhost/6.1.26_OSE, 5.10.69-1-lts, x86_64: installed
vboxhost/6.1.26_OSE, 5.14.8-zen1-1-zen, x86_64: installed

 ╭─[email protected] in ~ took 480ms
 ╰─λ sudo mkinitcpio -p linux-lts
==> 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.69-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: [resume]
  -> 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.69-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: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> Image generation successful

Should I try restarting now?

This means the NVIDIA driver is not installed.

Not sure what difference that will make if you're already in a running system without NVIDIA? But, before you do, if it wasn't done recently then rebuild the linux-zen initramfs too, sudo mkinitcpio -p linux-zen .

It will also be worth testing whether nvidia-dkms will install and build outside of the Garuda Settings application...

2 Likes

Oh I'm sorry for misunderstanding. I restored a snapshot before driver install (just after re-installing base and base-devel), so I can get back into the OS.
Here is the output after installing the driver:

 ╭─[email protected] in ~ took 9s
 ╰─λ dkms status
nvidia, 470.74: added
vboxhost/6.1.26_OSE, 5.10.69-1-lts, x86_64: installed
vboxhost/6.1.26_OSE, 5.14.8-zen1-1-zen, x86_64: installed

 ╭─[email protected] in ~ took 200ms
 ╰─λ sudo mkinitcpio -p linux-lts
[sudo] password for hrle:
==> 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.69-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: [resume]
  -> 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.69-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: [resume]
  -> 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.

 ╭─[email protected] in ~ took 12s
[🔴] × sudo mkinitcpio -p linux-zen
==> 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.14.8-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: [resume]
  -> 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.14.8-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: [resume]
  -> 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.

How do I test the install outside of the Garuda Settings application? Do I just sudo pacman -S nvidia-dkms and then build the images with the commands you posted?

Which driver did you install, and how?

Did you install nvidia-dkms like I suggested so you could check the output of that operation?

What do you get from dkms autoinstall now?

For info,

The initramfs has returned to a broken state.

2 Likes

I installed it by clicking on "Auto Install Proprietary Driver" is and in the menu it's called video-nvidia-dkms.


Do you want me to try sudo pacman -S nvidia-dkms then?

I tried this:

 ╭─[email protected] in ~ took 32ms
[🔴] × sudo dkms autoinstall
[sudo] password for hrle:

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' -j12 IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=5.14.8-zen1-1-zen IGNORE_CC_MISMATCH='__IGNORE_CC_MISMATCH' modules............
cleaning build area...
Kernel cleanup unnecessary for this kernel.  Skipping...

nvidia.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.14.8-zen1-1-zen/kernel/drivers/video/

nvidia-uvm.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.14.8-zen1-1-zen/kernel/drivers/video/

nvidia-modeset.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.14.8-zen1-1-zen/kernel/drivers/video/

nvidia-drm.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.14.8-zen1-1-zen/kernel/drivers/video/

nvidia-peermem.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/5.14.8-zen1-1-zen/kernel/drivers/video/

depmod...

 ╭─[email protected] in ~ took 47s
 ╰─λ sudo mkinitcpio -p linux-zen
==> 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.14.8-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: [resume]
  -> 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.14.8-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: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
==> Image generation successful

 ╭─[email protected] in ~ took 5s
 ╰─λ sudo mkinitcpio -p linux-lts
==> 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.69-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: [resume]
  -> 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.69-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: [resume]
  -> 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.

So, I think that the environment in which that menu that I was installing the driver from was somehow broken because this make build worked now.

Does this mean that the zen image is now good? I'm not getting any errors on it now.

OMG this actually worked! I rebooted and I found a stackoverflow post saying how I could check the current driver in use and this is what I get:

 ╭─[email protected] in ~
 ╰─λ lspci -nnk | egrep -i --color 'vga|3d|2d' -A3 | grep 'in use'
	Kernel driver in use: nvidia

Thank you both so much! @jonathon @alexjp

One last thing while you're here - do you happen to know how to install the driver for my lts kernel since that seems to be broken right now?

3 Likes

I researched a bit more and found out how to do this manually (for both kernels!) if anyone else gets stuck with this problem.
I think you can do this before or after trying to install the driver by chrooting from your live installation USB/CD.

This site pretty much sums up everything and I know it's from the Manjaro wiki, but it works! The command you most probably want to run is:

sudo mhwd -a pci nonfree 0300

If you already installed with sudo dkms autoinstall you want to pass -f to that command so it re-installs the right packages, builds the driver from source again and builds the kernel images again.
If you want to get a bit more hands on (ie choose a different driver version) this site could also be helpful. You could also do: mhwd --help and play around with the Manjaro Hardware Detection to see what hardware it detected and what are the available drivers for your hardware.

1 Like

This is the command run by Garuda Settings in the background, so the underlying problem was fixed somewhere in the previous commands (very likely installing a compiler and kernel headers).

Why this driver installation process didn't work in the first place is an open question, as the whole point of the tooling is that it should work, so it implies that "something else" had changed on your system (e.g. you had removed packages that were installed by default).

But, that's probably better left for another day...

2 Likes