System Failes to boot after I install the Nvidia Drivers

So, I have searched and read over 20 posts on similar issues that either end with a bios update or a poster not wanting to troubleshoot the install any further. But not sure where I will fall, I'll give as much detail as I possibly can, with error logs and even pictures of the boot attempts that hang. Let me state I'm not technically a newbie, but Linux is not the operating system I use the most, I'm in IT and support Windows and Mac, Android, Chrome, and IOS. But at home, the two laptops I use for work are running Garuda and have been for a few years now. The system I'm having issues with is my gaming box, it is sort of a dual boot system as I have Windows 11 on a separate hard drive and Garuda on another and use the BIOS to boot the device I want to use based on my needs. Garuda was on this system running fine and it was up to date, but I had screwed up the UI and some other things and had some software install issues on it. So I started by downloading the latest Dragonized Gaming install and putting it on a thumb drive.

So I started my system with proprietary drivers as I always do loading Garuda, but this time 1hr later the system still had not booted into the live environment. So I rebooted into the no proprietary driver side and it boots fine so I install it, then I try and add the Nvidia drivers through the console, and I get some errors, I reboot and the system hangs and won't boot. Not that I have a long story here the short is two other Garuda version live CDs later and several installs same issue, except that the LTS kernel and the DKMS Nvidia drivers will work, there are still some errors installing and setting them up, but it will boot and seems to work fine. But I want the latest kernel and not the LTS.

Below will be my system info and the first attempts that would not boot and then my current LTS that does boot. Just need some inside help to track down why and how to resolve it, if there is one.

System Info

System:
Kernel: 5.15.53-2-lts arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
root=UUID=72c5681e-27a7-4fd9-9abf-3582d841f490 rw [email protected]
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=4cc1dab2-ceba-4529-a3fb-1d4e54fd74f9 loglevel=3
Desktop: KDE Plasma v: 5.25.2 tk: Qt v: 5.15.5 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
Mobo: ASUSTeK model: ROG STRIX Z690-G GAMING WIFI v: Rev 1.xx
serial: <superuser required> UEFI: American Megatrends v: 0231
date: 09/06/2021
CPU:
Info: model: 12th Gen Intel Core i9-12900KF bits: 64 type: MST AMCP
arch: Alder Lake gen: core 12 built: 2021 process: Intel 7 (10nm ESF)
family: 6 model-id: 0x97 (151) stepping: 2 microcode: 0x1F
Topology: cpus: 1x cores: 16 mt: 8 tpc: 2 st: 8 threads: 24 smt: enabled
cache: L1: 1.4 MiB desc: d-8x32 KiB, 8x48 KiB; i-8x32 KiB, 8x64 KiB
L2: 14 MiB desc: 8x1.2 MiB, 2x2 MiB L3: 30 MiB desc: 1x30 MiB
Speed (MHz): avg: 4603 high: 5179 min/max: 800/6500:6700:3900 scaling:
driver: intel_pstate governor: performance cores: 1: 4909 2: 4940 3: 4847
4: 4944 5: 5005 6: 5098 7: 5174 8: 5179 9: 5041 10: 5061 11: 4748
12: 4968 13: 4799 14: 4677 15: 5100 16: 5047 17: 3887 18: 3900 19: 3894
20: 3899 21: 3890 22: 3835 23: 3906 24: 3747 bogomips: 152985
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data 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 status: Vulnerable: eIBRS with unprivileged eBPF
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA102 [GeForce RTX 3080] vendor: eVga.com. driver: nvidia
v: 515.57 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-06) arch: Ampere process: TSMC n7 (7nm)
built: 2020-22 pcie: gen: 2 speed: 5 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s bus-ID: 01:00.0 chip-ID: 10de:2206 class-ID: 0300
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
compositor: kwin_x11 driver: X: loaded: nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa gpu: nvidia
display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 92 s-size: 707x402mm (27.83x15.83")
s-diag: 813mm (32.02")
Monitor-1: DP-4 res: 2560x1440 hz: 144 dpi: 93
size: 698x393mm (27.48x15.47") diag: 801mm (31.54") modes: N/A
OpenGL: renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2
v: 4.6.0 NVIDIA 515.57 direct render: Yes
Audio:
Device-1: Intel Alder Lake-S HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus-ID: 1-1:2 chip-ID: 1532:051c alternate: snd_sof_pci_intel_tgl
bus-ID: 00:1f.3 class-ID: 0300 chip-ID: 8086:7ad0 class-ID: 0403
Device-2: NVIDIA GA102 High Definition Audio vendor: eVga.com.
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:1aef class-ID: 0403
Device-3: Razer USA Nari (Wireless) type: USB
driver: hid-generic,snd-usb-audio,usbhid
Device-4: ASUSTek USB Audio type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-4:3 chip-ID: 0b05:1996
class-ID: 0300
Sound Server-1: ALSA v: k5.15.53-2-lts running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.54 running: yes
Network:
Device-1: Intel Alder Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:7af0 class-ID: 0280
IF: wlo1 state: down mac: <filter>
Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 08:00.0
chip-ID: 8086:15f3 class-ID: 0200
IF: enp8s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-14:12
chip-ID: 8087:0033 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
v: 0.6 port: N/A bus-ID: 00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Drives:
Local Storage: total: 4.17 TiB used: 23.1 GiB (0.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:4 vendor: Intel model: SSDPEKNU020TZ
size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: 002C temp: 33.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW010T8
size: 953.87 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 004C
temp: 29.9 C scheme: GPT
ID-3: /dev/nvme2n1 maj-min: 259:9 vendor: Samsung
model: SSD 950 PRO 512GB size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 2B0QBXX7 temp: 34.9 C scheme: GPT
ID-4: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 2B6Q scheme: GPT
Partition:
ID-1: / raw-size: 919.29 GiB size: 919.29 GiB (100.00%)
used: 23.1 GiB (2.5%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 612 KiB (0.2%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:1
ID-3: /home raw-size: 919.29 GiB size: 919.29 GiB (100.00%)
used: 23.1 GiB (2.5%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 919.29 GiB size: 919.29 GiB (100.00%)
used: 23.1 GiB (2.5%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 919.29 GiB size: 919.29 GiB (100.00%)
used: 23.1 GiB (2.5%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.16 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 34.28 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme1n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 29.0 C mobo: N/A gpu: nvidia temp: 30 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 31%
Info:
Processes: 487 Uptime: 2m wakeups: 0 Memory: 31.16 GiB
used: 4.51 GiB (14.5%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 clang: 14.0.6 Packages: pacman: 1931
lib: 554 Shell: fish v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.19
Garuda (2.6.4-2):
System install date:     2022-07-09
Last full system update: 2022-07-10
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:            

╭─[email protected] in ~ took 1s
╰─λ sudo garuda-inxi
[sudo] password for garmin:             
System:
Kernel: 5.15.53-2-lts arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
root=UUID=72c5681e-27a7-4fd9-9abf-3582d841f490 rw [email protected]
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=4cc1dab2-ceba-4529-a3fb-1d4e54fd74f9 loglevel=3
Console: pty pts/1 wm: kwin_x11 DM: SDDM Distro: Garuda Linux
base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
Mobo: ASUSTeK model: ROG STRIX Z690-G GAMING WIFI v: Rev 1.xx
serial: <filter> UEFI: American Megatrends v: 0231 date: 09/06/2021
CPU:
Info: model: 12th Gen Intel Core i9-12900KF socket: LGA1700 bits: 64
type: MST AMCP arch: Alder Lake gen: core 12 built: 2021
process: Intel 7 (10nm ESF) family: 6 model-id: 0x97 (151) stepping: 2
microcode: 0x1F
Topology: cpus: 1x cores: 16 mt: 8 tpc: 2 st: 8 threads: 24 smt: enabled
cache: L1: 1.4 MiB desc: d-8x32 KiB, 8x48 KiB; i-8x32 KiB, 8x64 KiB
L2: 14 MiB desc: 8x1.2 MiB, 2x2 MiB L3: 30 MiB desc: 1x30 MiB
Speed (MHz): avg: 4587 high: 5103 min/max: 800/6500:6700:3900
base/boost: 4900/8500 scaling: driver: intel_pstate governor: performance
volts: 1.2 V ext-clock: 100 MHz cores: 1: 5025 2: 4924 3: 5030 4: 5078
5: 4848 6: 5064 7: 4999 8: 5103 9: 5100 10: 5100 11: 4942 12: 5052
13: 4658 14: 4245 15: 4988 16: 5038 17: 3900 18: 3866 19: 3917 20: 3900
21: 3881 22: 3792 23: 3821 24: 3833 bogomips: 152985
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data 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 status: Vulnerable: eIBRS with unprivileged eBPF
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA102 [GeForce RTX 3080] vendor: eVga.com. driver: nvidia
v: 515.57 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-06) arch: Ampere process: TSMC n7 (7nm)
built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s bus-ID: 01:00.0 chip-ID: 10de:2206 class-ID: 0300
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
compositor: kwin_x11 driver: X: loaded: nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa gpu: nvidia
display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 92 s-size: 707x402mm (27.83x15.83")
s-diag: 813mm (32.02")
Monitor-1: DP-4 res: 2560x1440 hz: 144 dpi: 93
size: 698x393mm (27.48x15.47") diag: 801mm (31.54") modes: N/A
OpenGL: renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2
v: 4.6.0 NVIDIA 515.57 direct render: Yes
Audio:
Device-1: Intel Alder Lake-S HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus-ID: 1-1:2 alternate: snd_sof_pci_intel_tgl chip-ID: 1532:051c
bus-ID: 00:1f.3 class-ID: 0300 chip-ID: 8086:7ad0 class-ID: 0403
Device-2: NVIDIA GA102 High Definition Audio vendor: eVga.com.
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:1aef class-ID: 0403
Device-3: Razer USA Nari (Wireless) type: USB
driver: hid-generic,snd-usb-audio,usbhid
Device-4: ASUSTek USB Audio type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-4:3 chip-ID: 0b05:1996
class-ID: 0300
Sound Server-1: ALSA v: k5.15.53-2-lts running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.54 running: yes
Network:
Device-1: Intel Alder Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:7af0 class-ID: 0280
IF: wlo1 state: down mac: <filter>
Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 08:00.0
chip-ID: 8086:15f3 class-ID: 0200
IF: enp8s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-14:12
chip-ID: 8087:0033 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
v: 0.6 port: N/A bus-ID: 00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Drives:
Local Storage: total: 4.17 TiB used: 23.1 GiB (0.5%)
ID-1: /dev/nvme0n1 maj-min: 259:4 vendor: Intel model: SSDPEKNU020TZ
size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: 002C temp: 33.9 C scheme: GPT
SMART: yes health: PASSED on: 64d 3h cycles: 243
read-units: 11,788,148 [6.03 TB] written-units: 10,862,517 [5.56 TB]
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW010T8
size: 953.87 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 004C
temp: 28.9 C scheme: GPT
SMART: yes health: PASSED on: 141d 4h cycles: 610
read-units: 28,363,542 [14.5 TB] written-units: 14,478,737 [7.41 TB]
ID-3: /dev/nvme2n1 maj-min: 259:9 vendor: Samsung
model: SSD 950 PRO 512GB size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 2B0QBXX7 temp: 34.9 C scheme: GPT
SMART: yes health: PASSED on: 1y 136d 11h cycles: 2,128
read-units: 16,324,195 [8.35 TB] written-units: 16,415,765 [8.40 TB]
ID-4: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 1TB
family: based SSDs size: 931.51 GiB block-size: physical: 512 B
logical: 512 B sata: 3.1 speed: 6.0 Gb/s type: SSD serial: <filter>
rev: 2B6Q temp: 27 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 2y 82d 23h cycles: 2181
written: 6.44 TiB
Partition:
ID-1: / raw-size: 919.29 GiB size: 919.29 GiB (100.00%)
used: 23.1 GiB (2.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p2
maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 612 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/nvme1n1p1
maj-min: 259:1
ID-3: /home raw-size: 919.29 GiB size: 919.29 GiB (100.00%)
used: 23.1 GiB (2.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p2
maj-min: 259:2
ID-4: /var/log raw-size: 919.29 GiB size: 919.29 GiB (100.00%)
used: 23.1 GiB (2.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p2
maj-min: 259:2
ID-5: /var/tmp raw-size: 919.29 GiB size: 919.29 GiB (100.00%)
used: 23.1 GiB (2.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p2
maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.16 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 34.28 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme1n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 27.0 C mobo: N/A gpu: nvidia temp: 30 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 31%
Info:
Processes: 488 Uptime: 2m wakeups: 0 Memory: 31.16 GiB
used: 4.5 GiB (14.4%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 clang: 14.0.6 Packages: pacman: 1931
lib: 554 Shell: garuda-inxi (sudo) default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.19
Garuda (2.6.4-2):
System install date:     2022-07-09
Last full system update: 2022-07-10
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Yes
Snapshots:               Snapper
Failed units:

Now, this is the errored install from standard Kernel.

Starting

> Using config 'video-nvidia-dkms' for device: 0000:01:00.0 (0300:10de:2206) Display controller nVidia Corporation GA102 [GeForce RTX 3080]

> 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...

garuda downloading...

core downloading...

extra downloading...

community downloading...

multilib downloading...

chaotic-aur downloading...

resolving dependencies...

looking for conflicting packages...

warning: dependency cycle detected:

warning: nvidia-utils will be installed before its egl-wayland dependency

Packages (20) dkms-3.0.5-1 egl-wayland-2:1.1.10-1 eglexternalplatform-1.1-2 gobject-introspection-1.72.0-1 gwe-0.15.5-1 lib32-nvidia-utils-515.57-1 lib32-opencl-nvidia-515.57-1 libdazzle-3.44.0-1 nvidia-dkms-515.57-1 nvidia-settings-515.57-1 nvidia-utils-515.57-1 opencl-nvidia-515.57-1 python-beaker-1.11.0-8 python-injector-0.19.0-1 python-mako-1.1.6-3 python-markupsafe-2.1.1-1 python-peewee-3.14.10-1 python-py3nvml-0.2.7-1 python-rx-3.2.0-3 garuda-nvidia-config-1:r62.889aefa-7

Total Download Size: 61.82 MiB

Total Installed Size: 787.47 MiB

:: Proceed with installation? [Y/n]

:: Retrieving packages...

lib32-nvidia-utils-515.57-1-x86_64 downloading...

lib32-opencl-nvidia-515.57-1-x86_64 downloading...

opencl-nvidia-515.57-1-x86_64 downloading...

gobject-introspection-1.72.0-1-x86_64 downloading...

nvidia-settings-515.57-1-x86_64 downloading...

libdazzle-3.44.0-1-x86_64 downloading...

python-peewee-3.14.10-1-x86_64 downloading...

python-rx-3.2.0-3-any downloading...

gwe-0.15.5-1-any downloading...

python-mako-1.1.6-3-any downloading...

python-beaker-1.11.0-8-any downloading...

python-py3nvml-0.2.7-1-any downloading...

python-injector-0.19.0-1-any downloading...

python-markupsafe-2.1.1-1-x86_64 downloading...

garuda-nvidia-config-1:r62.889aefa-7-any downloading...

checking keyring...

checking package integrity...

loading package files...

checking for file conflicts...

checking available disk space...

:: Running pre-transaction hooks...

(1/1) Performing snapper pre snapshots for the following configurations...

==> root: 14

:: Processing package changes...

installing nvidia-utils...

If you run into trouble with CUDA not being available, run nvidia-modprobe first.

If you use GDM on Wayland, you might have to run systemctl enable --now nvidia-resume.service

Optional dependencies for nvidia-utils

nvidia-settings: configuration tool [pending]

xorg-server-devel: nvidia-xconfig

opencl-nvidia: OpenCL support [pending]

installing eglexternalplatform...

installing egl-wayland...

installing python-markupsafe...

installing python-beaker...

installing python-mako...

installing gobject-introspection...

installing libdazzle...

installing python-injector...

installing python-peewee...

Optional dependencies for python-peewee

python-psycopg2: for PostgreSQL database support

python-pymysql: for MySQL database support

installing python-py3nvml...

installing python-rx...

installing gwe...

installing nvidia-settings...

installing opencl-nvidia...

Optional dependencies for opencl-nvidia

opencl-headers: headers necessary for OpenCL development

installing lib32-nvidia-utils...

Optional dependencies for lib32-nvidia-utils

lib32-opencl-nvidia [pending]

e[0

;32minstalling 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

linux-lts-headers: build modules against the LTS kernel

linux-zen-headers: build modules against the ZEN kernel [installed]

linux-hardened-headers: build modules against the HARDENED kernel

installing nvidia-dkms...

installing garuda-nvidia-config...

:: Running post-transaction hooks...

( 1/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.

( 2/14) Reloading system manager configuration...

( 3/14) Reloading device manager configuration...

( 4/14) Arming ConditionNeedsUpdate...

( 5/14) Install DKMS modules

==> dkms install --no-depmod nvidia/515.57 -k 5.18.10-zen1-1-zen

Error! Bad return status for module build on kernel: 5.18.10-zen1-1-zen (x86_64)

Consult /var/lib/dkms/nvidia/515.57/build/make.log for more information.

==> WARNING: `dkms install --no-depmod nvidia/515.57 -k 5.18.10-zen1-1-zen' exited 10

( 6/14) Updating linux initcpios...

==> 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.18.10-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]

-> Running build hook: [grub-btrfs-overlayfs]

==> 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.18.10-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: bfa

==> WARNING: Possibly missing firmware for module: qed

==> WARNING: Possibly missing firmware for module: qla1280

==> WARNING: Possibly missing firmware for module: qla2xxx

==> 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]

-> Running build hook: [grub-btrfs-overlayfs]

==> Generating module dependencies

==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img

==> Image generation successful

( 7/14) Foreign/AUR package notification

=> No foreign/AUR packages found.

( 8/14) Compiling GSettings XML schema files...

(

9/14) Updating icon theme caches...

(10/14) Orphaned package notification...

asar 3.1.0-2

containerd 1.6.6-1

libretro-mame-git 83156.b92680badd4-1

libretro-stella2014-git 294.1351a4f-1

perl-clone 0.45-4

(11/14) Checking for .pacnew and .pacsave files...

.pac* files found:

/etc/pamac.conf.pacnew

/etc/paru.conf.pacnew

Please check and merge

(12/14) Updating the desktop file MIME type cache...

(13/14) Performing snapper post snapshots for the following configurations...

==> root: 15

(14/14) Syncing all file systems...

garuda-nvidia-config: install reason has been set to 'explicitly installed'

==> 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.18.10-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]

-> Running build hook: [grub-btrfs-overlayfs]

==> 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.18.10-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: bfa

==> WARNING: Possibly missing firmware for module: qed

==> WARNING: Possibly missing firmware for module: qla1280

==> WARNING: Possibly missing firmware for module: qla2xxx

==> 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]

-> Running build hook: [grub-btrfs-overlayfs]

==> 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

Then I reboot and the system fails to boot. Of course, I had snapshots and rebooted back into a working system.

Now, this is the LTS Kernel install logs that do work.

type or paste code here
:: Synchronizing package databases...


garuda is up to date


core is up to date


extra is up to date


community is up to date


multilib is up to date


chaotic-aur 1889.6 KiB 1389 KiB/s 00:01 [------------------------------------] 100%




--> Refreshing mirrorlists using rate-mirrors, please be patient..


:: Synchronizing package databases...


garuda 75.7 KiB 42.1 KiB/s 00:02 [------------------------------------] 100%


core 157.4 KiB 750 KiB/s 00:00 [------------------------------------] 100%


extra 1721.3 KiB 6.47 MiB/s 00:00 [------------------------------------] 100%


community 6.7 MiB 4.79 MiB/s 00:01 [------------------------------------] 100%


multilib 172.6 KiB 909 KiB/s 00:00 [------------------------------------] 100%


chaotic-aur 1889.6 KiB 2032 KiB/s 00:01 [------------------------------------] 100%


spawn pacman -Su


:: Starting full system upgrade...


warning: libretro-meta: local (2021.08.29-1) is newer than garuda (1-3)


resolving dependencies...


looking for conflicting packages...




Packages (3) dxvk-mingw-git-1.10.1.r220.g00cfee9d-1 linux-lts-5.15.53-2 linux-lts-headers-5.15.53-2




Total Download Size: 160.64 MiB


Total Installed Size: 289.27 MiB


Net Upgrade Size: 0.00 MiB




:: Proceed with installation? [Y/n] Y


:: Retrieving packages...


linux-lts-headers-5.15.53-2-x86_64 24.8 MiB 33.1 MiB/s 00:01 [------------------------------------] 100%


dxvk-mingw-git-1.10.1.r220.g00cf... 7.3 MiB 6.50 MiB/s 00:01 [------------------------------------] 100%


linux-lts-5.15.53-2-x86_64 128.5 MiB 56.6 MiB/s 00:02 [------------------------------------] 100%


Total (3/3) 160.6 MiB 69.2 MiB/s 00:02 [------------------------------------] 100%


(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%


(3/3) checking available disk space [------------------------------------] 100%


:: Running pre-transaction hooks...


(1/4) Performing snapper pre snapshots for the following configurations...


==> root: 25


(2/4) Saving Linux kernel modules...


(3/4) Removing linux initcpios...


(4/4) Remove DKMS modules


:: Processing package changes...


(1/3) upgrading dxvk-mingw-git [------------------------------------] 100%


(2/3) upgrading linux-lts [------------------------------------] 100%


(3/3) upgrading linux-lts-headers [------------------------------------] 100%


:: Running post-transaction hooks...


( 1/11) Restoring Linux kernel modules...


++ uname -r


+ KVER=5.15.53-1-lts


+ test -e /usr/lib/modules/backup/5.15.53-1-lts


+ rsync -AHXal --ignore-existing /usr/lib/modules/backup/5.15.53-1-lts /usr/lib/modules/


+ rm -rf /usr/lib/modules/backup


( 2/11) Arming ConditionNeedsUpdate...


( 3/11) Updating module dependencies...


( 4/11) Install DKMS modules


==> dkms install --no-depmod nvidia/515.57 -k 5.15.53-2-lts


/usr/bin/dkms: line 1033: sha512: command not found


/usr/bin/dkms: line 1033: sha512: command not found


/usr/bin/dkms: line 1033: sha512: command not found


/usr/bin/dkms: line 1033: sha512: command not found


/usr/bin/dkms: line 1033: sha512: command not found


==> depmod 5.15.53-2-lts


( 5/11) 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.15.53-2-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]


-> Running build hook: [grub-btrfs-overlayfs]


==> 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 autodetec
t


==> Starting build: 5.15.53-2-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: bfa


==> WARNING: Possibly missing firmware for module: qed


==> WARNING: Possibly missing firmware for module: qla1280


==> WARNING: Possibly missing firmware for module: qla2xxx


==> 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]


-> Running build hook: [grub-btrfs-overlayfs]


==> Generating module dependencies


==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img


==> Image generation successful


( 6/11) GRUB update after transactions...


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/intel-ucode.img /boot/initramfs-linux-zen.img


Found fallback initrd image(s) in /boot: intel-ucode.img initramfs-linux-zen-fallback.img


Found linux image: /boot/vmlinuz-linux-xanmod-tt


Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-xanmod-tt.img


Found fallback initrd image(s) in /boot: intel-ucode.img initramfs-linux-xanmod-tt-fallback.img


Found linux image: /boot/vmlinuz-linux-lts


Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-lts.img


Found fallback initrd image(s) in /boot: intel-ucode.img initramfs-linux-lts-fallback.img


Warning: os-prober will be executed to detect other bootable partitions.


Its output will be used to detect bootable binaries on them and create new boot entries.


Found Windows Boot Manager on /dev/[email protected]/efi/Microsoft/Boot/bootmgfw.efi


Found Garuda Linux on /dev/nvme1n1p2


Found Garuda Linux on /dev/nvme2n1p2


Adding boot menu entry for UEFI Firmware Settings ...


Detecting snapshots ...


Found snapshot: 2022-07-10 12:19:32 | @/.snapshots/25/snapshot | pre | pacman -Su
|


Found snapshot: 2022-07-10 12:14:55 | @/.snapshots/24/snapshot | post | dkms egl-wayland eglexternalplatfo
rm garuda-nvidia-config gobject-intros |


Found snapshot: 2022-07-10 12:14:39 | @/.snapshots/23/snapshot | pre | pacman --noconfirm --cachedir /var
/cache/pacman/pkg --config /etc/pacman |


Found snapshot: 2022-07-10 11:13:18 | @/.snapshots/22/snapshot | single | Manual Snapshot
|


Found snapshot: 2022-07-09 15:36:18 | @_backup_20221007065439373 | N/A | N/A
|


Found snapshot: 2022-07-09 15:35:38 | @_backup_20220907153618407 | N/A | N/A
|


Found 6 snapshot(s)


Unmount /tmp/grub-btrfs.UXTanK4pAU .. Success


Found memtest86+ image: /boot/memtest86+/memtest.bin


/usr/bin/grub-probe: warning: unknown device type nvme1n1.


done


( 7/11) Foreign/AUR package notification


=> No foreign/AUR packages found.


( 8/11) Orphaned package notification...


asar 3.1.0-2


containerd 1.6.6-1


libretro-mame-git 83156.b92680badd4-1


libretro-stella2014-git 294.1351a4f-1


perl-clone 0.45-4


( 9/11) Checking for .pacnew and .pacsave files...


.pac* files found:


/etc/pamac.conf.pacnew


/etc/paru.conf.pacnew


Please check and merge


(10/11) Performing snapper post snapshots for the following configurations...


==> root: 26


(11/11) Syncing all file systems...




Checking for plugin updates


Uninstalling aspell


Downloading "aspell" (1.3.0) from "https://github.com/priner/micro-aspell-plugin/archive/v1.3.0.zip"


One or more plugins are installed.

Ok, that's all I can think of for now, so what are your guy's thoughts on the issue?

Try some other kernels. Almost all kernels will provide a more recent version than 5.15 (the LTS release is annual). See if you can find one that works with your GPU and has a more up-to-date kernel version.

Regular Linux kernel:

sudo pacman -Syu linux linux-headers

Mainline:

sudo pacman -Syu linux-mainline linux-mainline-headers

Hardened:

sudo pacman -Syu linux-hardened linux-hardened-headers

Bore:

sudo pacman -Syu linux-bore linux-bore-headers

Those are all in the normal repositories so you can install them without having to build from the AUR. Try a few of them out, let us know what you think.

1 Like

Ok, I've installed all the Kernels mentioned, booted into them and then to make sure they work, and then installed the Nvidia drivers and rebooted. They all kernel panic and fail to boot after the Nvidia install.

Is there a way to install a specific older kernel version of saying the Zen1 Kernel before this issue showed up?

Perhaps give the linux-mainline kernel a try.

The driver module isn't building correctly. If you look in the log file it mentions you should see what the problem it's, or at least an indication of what to look at next.

I tried the mainline kernel, the same issue was after attempting to install the Nvidia Drivers.

Hmm on the Build error What logs would contain the info I need to troubleshoot this issue?

I think this is the log you should check.

1 Like

Use ibt=off kernel parameter. Nvidia STILL didn't fix this.

3 Likes

Ok, I'll try that, I did see that when researching the issue but lost the post and couldn't find it again.

Thanks Ill try that next

@mrvictory so turning the ibt=off do I just add it to my grub Linux default line like this?

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Garuda"
GRUB_CMDLINE_LINUX_DEFAULT="quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 resume=UUID=4cc1dab2-ceba-4529-a3fb-1d4e54fd74f9 loglevel=3 ibt=off"
GRUB_CMDLINE_LINUX=""

Do that, then run sudo update-grub.

Ok, I did do that and rebooted and now I took a new snapshot and tried to install the DKMS NVidia drivers. Below is the make file error, I am researching it, but if someone already knows the answer please speak up.

DKMS make.log for nvidia-515.57 for kernel 5.15.53-2-lts (x86_64)
Tue Jul 12 09:22:02 CDT 2022
make[1]: Entering directory '/usr/lib/modules/5.15.53-2-lts/build'
make[1]: cc: No such file or directory
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 12.1.0
You are using:           cc (GCC) 12.1.0
make[1]: make: No such file or directory
make[1]: *** [Makefile:1871: /var/lib/dkms/nvidia/515.57/build] Error 127
make[1]: Leaving directory '/usr/lib/modules/5.15.53-2-lts/build'
make: *** [Makefile:82: modules] Error 2

I'd try to boot to a TTY in the updated / not working system (not after restoring the snapshot) and:

sudo pacman -S linux-lts-headers

then

sudo mhwd -a pci nonfree 0300
1 Like

Ok I'll try that next

I'm a little dense. I guess I couldn't get booted into a text mode to try your suggestion. So how do I get it in that mode?

When in the grub line you normally use, press button E instead of hitting Enter, and add a 3 (with a space before) at the end of the line starting with linux. Then ctrl+x.

1 Like

Oh, I am dense. LOL ok. Will do another install and try that, my question on your command line is for the lots Kernel that one actually works with the Nvidia drivers but the 5.18.10.zen1-1 does not work with the drivers. So why install the lts headers? Just curious is all kind of like to know why. like a three-year-old, but why?

This missing directory is provided by the kernel headers, which are used by the dkms to build the modules.
The headers are normally installed along with the kernels, but who knows, maybe something went wrong somewhere.
The second command does what the Garuda Assistant does to install the drivers, but you can launch it from the command line.
Just an idea anyway! :blush:

1 Like