No Boot After Nvidia Proprietary Driver Install

I am stuck at loading the initial ramdisk whenever I boot after installing the Nvidia proprietary drivers. I have managed to do restore the snapshots, but this same issue occurs whenever I install the drivers. How can I install the Nvidia drivers in a way that won't cause booting issues?

System:
  Kernel: 5.15.52-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@_backup_20220707185507844/boot/vmlinuz-linux-lts
    root=UUID=b58a04a9-41f8-4a48-8090-affb202853a0 quiet quiet splash rd.udev.log_priority=3
    vt.global_cursor_default=0 loglevel=3
    rootflags=defaults,noatime,compress=zstd,discard=async,ssd,[email protected]_backup_20220707185507844
  Desktop: LXQt v: 1.1.0 tk: Qt v: 5.15.5 info: cairo-dock, lxqt-panel wm: kwin_x11 vt: 1
    dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B660M DS3H DDR4 v: x.x serial: <superuser required>
    UEFI: American Megatrends LLC. v: F4 date: 12/17/2021
CPU:
  Info: model: 12th Gen Intel Core i5-12400F bits: 64 type: MT MCP 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: 6 tpc: 2 threads: 12 smt: enabled cache: L1: 480 KiB
    desc: d-6x48 KiB; i-6x32 KiB L2: 7.5 MiB desc: 6x1.2 MiB L3: 18 MiB desc: 1x18 MiB
  Speed (MHz): avg: 3238 high: 4200 min/max: 800/5600 scaling: driver: intel_pstate
    governor: powersave cores: 1: 3259 2: 2905 3: 3073 4: 2553 5: 4098 6: 4043 7: 4011 8: 4090
    9: 1798 10: 683 11: 4153 12: 4200 bogomips: 59904
  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 GP106 [GeForce GTX 1060 6GB] vendor: Micro-Star MSI driver: nvidia v: 515.57
    alternate: nouveau,nvidia_drm non-free: 515.xx+ status: current (as of 2022-06) arch: Pascal
    process: TSMC 16nm built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1c03 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: 3840x2160 s-dpi: 60 s-size: 1626x914mm (64.02x35.98")
    s-diag: 1865mm (73.44")
  Monitor-1: HDMI-0 res: 3840x2160 hz: 30 dpi: 61 size: 1600x900mm (62.99x35.43")
    diag: 1836mm (72.27") modes: N/A
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Alder Lake-S HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel
    alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:7ad0 class-ID: 0403
  Device-2: NVIDIA GP106 High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10f1 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.52-1-lts running: yes
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.54 running: yes
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8125 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-7.1:7
    chip-ID: 8087:0029 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 2 state: down bt-service: enabled,running rfk-block:
    hardware: no software: no address: <filter>
Drives:
  Local Storage: total: 2.04 TiB used: 20.03 GiB (1.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda 
maj-min: 8:0 vendor: Kingston model: SA400S37240G size: 223.57 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: B1H5 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DM008-2FR102 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 0001 scheme: GPT
Partition:
  ID-1: / raw-size: 223.27 GiB size: 223.27 GiB (100.00%) used: 20.03 GiB (9.0%) fs: btrfs
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 608 KiB (0.2%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 223.27 GiB size: 223.27 GiB (100.00%) used: 20.03 GiB (9.0%) fs: btrfs
    dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 223.27 GiB size: 223.27 GiB (100.00%) used: 20.03 GiB (9.0%)
    fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 223.27 GiB size: 223.27 GiB (100.00%) used: 20.03 GiB (9.0%)
    fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.47 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 25.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 301 Uptime: 1m wakeups: 0 Memory: 15.47 GiB used: 1.47 GiB (9.5%) Init: systemd
  v: 251 default: graphical tool: systemctl Compilers: gcc: 12.1.0 Packages: pacman: 1341 lib: 430
  Client: shell wrapper v: 5.1.16-release inxi: 3.3.19
Garuda (2.6.4-2):
  System install date:     2022-07-07
  Last full system update: 2022-07-07
  Is partially upgraded:   Yes
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:            

Try switching to a different kernel before installing the drivers and see if you have better luck. For example:

sudo pacman -Syu linux linux-headers

Reboot and select the new kernel from advanced boot options in the grub menu.

2 Likes

Unfortunately, this didn't work. It is giving the exact same issue as it booting from the standard kernel is.

I actually was using the default zen kernel. I must've accidently restored a snapback using the lts kernel. I ended up reinstalling dkms and nvidia-dkms, but now its stuck on Console: switching to colour frame buffer device.

Weird, I managed to boot using the lts kernel despite it not working earlier. I guess reinstalling the dkms did the trick. Thanks for the help.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.