Can't boot with kernel 6.12 zen

New kernel upgrade, 6.12 zen will not boot. Stops at loading ram disk. I’m using snapshot to communicate at this time. There is no error message.

Looks like an ‘nvidia-drm’ thing again. Is there a different modeset that should be using instead of ‘1’?

System:
 Kernel: 6.11.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
   clocksource: tsc avail: acpi_pm
   parameters: BOOT_IMAGE=/@/.snapshots/310/snapshot/boot/vmlinuz-linux-zen
   root=UUID=e90ca2b0-67a6-4c0a-b20a-f86e65d133fc quiet loglevel=3
   nvidia-drm.modeset=1 ibt=off
   rootflags=defaults,noatime,compress=zstd,subvol=@/.snapshots/310/snapshot
 Desktop: KDE Plasma v: 6.2.3 tk: Qt v: N/A info: frameworks v: 6.8.0
   wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
 Type: Laptop System: System76 product: Adder WS v: addw3
   serial: <superuser required> Chassis: type: 9 serial: <superuser required>
 Mobo: System76 model: Adder WS v: addw3 serial: <superuser required>
   UEFI: coreboot v: 2024-07-08_926f73d date: 06/28/2024
Battery:
 ID-1: BAT0 charge: 68.8 Wh (97.3%) condition: 70.7/70.8 Wh (99.8%)
   volts: 17.4 min: 15.4 model: Notebook BAT type: Li-ion serial: <filter>
   status: not charging cycles: 3
 Device-1: hidpp_battery_0 model: Logitech M720 Triathlon Multi-Device
   Mouse serial: <filter> charge: 55% (should be ignored) rechargeable: yes
   status: discharging
CPU:
 Info: model: 13th Gen Intel Core i9-13900HX bits: 64 type: MST AMCP
   arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
   process: Intel 7 (10nm) family: 6 model-id: 0xB7 (183) stepping: 1
   microcode: 0x12B
 Topology: cpus: 1x dies: 1 clusters: 12 cores: 24 threads: 32 mt: 8 tpc: 2
   st: 16 smt: enabled cache: L1: 2.1 MiB desc: d-16x32 KiB, 8x48 KiB; i-8x32
   KiB, 16x64 KiB L2: 32 MiB desc: 8x2 MiB, 4x4 MiB L3: 36 MiB desc: 1x36 MiB
 Speed (MHz): avg: 800 min/max: 800/5200:5400:3900 scaling:
   driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 800
   5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 13: 800 14: 800
   15: 800 16: 800 17: 800 18: 800 19: 800 20: 800 21: 800 22: 800 23: 800
   24: 800 25: 800 26: 800 27: 800 28: 800 29: 800 30: 800 31: 800 32: 800
   bogomips: 154828
 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
 Vulnerabilities: <filter>
Graphics:
 Device-1: Intel Raptor Lake-S UHD Graphics vendor: CLEVO/KAPOK driver: i915
   v: kernel alternate: xe arch: Gen-13 process: Intel 7 (10nm) built: 2022+
   ports: active: eDP-2 empty: DP-2, DP-3, DP-4, HDMI-A-2, HDMI-A-3, HDMI-A-4
   bus-ID: 00:02.0 chip-ID: 8086:a788 class-ID: 0300
 Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile]
   vendor: CLEVO/KAPOK driver: nvidia v: 565.57.01
   alternate: nouveau,nvidia_drm non-free: 550.xx+
   status: current (as of 2024-09) arch: Lovelace code: AD1xx
   process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 8
   ports: active: none empty: DP-1,HDMI-A-1,eDP-1 bus-ID: 01:00.0
   chip-ID: 10de:28a0 class-ID: 0300
 Device-3: Bison BisonCam NB Pro driver: uvcvideo type: USB rev: 2.0
   speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-11:2 chip-ID: 5986:9102
   class-ID: 0e02
 Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
   compositor: kwin_wayland driver: X: loaded: modesetting,nvidia
   unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris
   gpu: i915,nvidia display-ID: 0
 Monitor-1: eDP-2 res: 1920x1080 size: N/A modes: N/A
 API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
   drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
   surfaceless: drv: nvidia wayland: drv: iris x11: drv: iris
   inactive: device-1
 API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.2.7-arch1.1
   glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (RPL-S)
   device-ID: 8086:a788 memory: 15.23 GiB unified: yes display-ID: :1.0
 API: Vulkan v: 1.3.295 layers: 8 device: 0 type: integrated-gpu
   name: Intel Graphics (RPL-S) driver: mesa intel v: 24.2.7-arch1.1
   device-ID: 8086:a788 surfaces: xcb,xlib,wayland device: 1
   type: discrete-gpu name: NVIDIA GeForce RTX 4060 Laptop GPU driver: nvidia
   v: 565.57.01 device-ID: 10de:28a0 surfaces: xcb,xlib,wayland device: 2
   type: cpu name: llvmpipe (LLVM 18.1.8 256 bits) driver: mesa llvmpipe
   v: 24.2.7-arch1.1 (LLVM 18.1.8) device-ID: 10005:0000
   surfaces: xcb,xlib,wayland
Audio:
 Device-1: Intel Raptor Lake High Definition Audio vendor: CLEVO/KAPOK
   driver: snd_hda_intel v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_tgl
   bus-ID: 00:1f.3 chip-ID: 8086:7a50 class-ID: 0403
 Device-2: NVIDIA AD107 High Definition Audio driver: snd_hda_intel
   v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 8 bus-ID: 01:00.1
   chip-ID: 10de:22be class-ID: 0403
 API: ALSA v: k6.11.9-zen1-1-zen status: kernel-api with: aoss
   type: oss-emulator tools: N/A
 Server-1: PipeWire v: 1.2.6 status: active with: 1: pipewire-pulse
   status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
   4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
 Device-1: Intel Raptor Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel
   bus-ID: 00:14.3 chip-ID: 8086:7a70 class-ID: 0280
 IF: wlp0s20f3 state: up mac: <filter>
 Device-2: Intel vendor: CLEVO/KAPOK driver: e1000e v: kernel port: N/A
   bus-ID: 00:1f.6 chip-ID: 8086:0dc8 class-ID: 0200
 IF: eno0 state: down mac: <filter>
 Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
 Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
   speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:3 chip-ID: 8087:0033
   class-ID: e001
 Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
   lmp-v: 12 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
 Local Storage: total: 931.51 GiB used: 17.35 GiB (1.9%)
 SMART Message: Unable to run smartctl. Root privileges required.
 ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
   size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
   lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 43.9 C
   scheme: GPT
Partition:
 ID-1: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
   used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
 ID-2: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
   used: 17.35 GiB (1.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
 ID-3: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
   used: 17.35 GiB (1.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
 ID-4: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
   used: 17.35 GiB (1.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
 Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
 ID-1: swap-1 type: zram size: 31.18 GiB used: 0 KiB (0.0%) priority: 100
   comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 32 dev: /dev/zram0
Sensors:
 System Temperatures: cpu: 63.0 C mobo: 50.0 C
 Fan Speeds (rpm): cpu: 1489
Info:
 Memory: total: 32 GiB note: est. available: 31.18 GiB used: 3.41 GiB (10.9%)
 Processes: 524 Power: uptime: 1m states: freeze,mem,disk suspend: deep
   avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
   suspend, test_resume image: 12.42 GiB services: org_kde_powerdevil,
   power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
   tool: systemctl
 Packages: 1599 pm: pacman pkgs: 1590 libs: 497 tools: pacaur, pakku,
   pamac, paru, pikaur, trizen, yay pm: flatpak pkgs: 0 pm: snap pkgs: 9
   Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: garuda-inxi default: fish
   v: 3.7.1 running-in: konsole inxi: 3.3.36
Garuda (2.6.26-1):
 System install date:     2024-11-23
 Last full system update: 2024-11-23
 Is partially upgraded:   No
 Relevant software:       snapper NetworkManager dracut nvidia-dkms
 Windows dual boot:       No/Undetected
 Failed units:            systemd-remount-fs.service

Okay, i got a 4080 and faced the same trouble, even after a new install.

This is what i did to get it running.

i installed Garuda with open source drivers, so i can boot into the new installation, then do the first run update, and install the Nivdia drivers afterwards, as well as the LTS kernel but do not reboot. (The LTS kernel is really handy if future updates break your system, for then you can report the trouble, and use the LTS kernel instead, while future updates can attempt to fix the issue.)

Now i have been told not to do this, but so far i have not been able to find another way to do a clean install of Garuda without doing that. So i will explain what i do, and leave the rest up to you.

i install the Nvidia-all drivers and pick, starting with highest version of the drivers, and drop one version, each time the compiling of the Nvidia DKMS fails. Though so far i have been able to used the latest Nvidia driver version. So it is important to watch you terminal when the DKMS modules are being compiled, to see if any errors are being thrown up, if not you can now safely reboot.

However i have been told by the Garuda team that doing this would stuff up future updates, and to try instead of downloading the Nvidia-all drivers, to choose open source DKMS modules instead of the propriety ones.

Running this command.

sudo pacman -R garuda-nvidia-config garuda-nvidia-prime-config && sudo pacman -S nvidia-open-dkms

However personally i have had no troubles updating my system, and am using the latest Nvidia drivers even now, and i have not needed to reinstall Garuda on my system to try out if the above code would fix my troubles. So if the above code fails you can try the one below, for i know this one works fine.

Here is the code to use the Nvidia-all drivers.

git clone https://github.com/Frogging-Family/nvidia-all.git
cd nvidia-all
makepkg -si
sudo dracut-rebuild
sudo update-grub

(In case you have also troubles suspending your system like i did use this code to fix that.)

sudo micro /etc/modprobe.d/nvidia-preserve-video-memory.conf
#paste the line below
options nvidia NVreg_PreserveVideoMemoryAllocations=1
#press Ctrl s, and then Ctrl q, to save and close the file.
#activate suspend services.
sudo systemctl enable --now nvidia-suspend.service
sudo systemctl enable --now nvidia-hibernate.service
sudo systemctl enable --now nvidia-resume.service

Cheers. :person_raising_hand:

1 Like

Hi
Thank you.
The answer the Garuda team gave you solved the problem. I’m keeping your info handy in case I hit a brick wall again.

Then again it didn’t. I’ll try your way

That didn’t work either unfortunately. I’m putting Garuda’s version back in.

Looks like I’ll be living on LTS until somebody fixes this.

While grub is running, it stops at ‘swap’.

Are we waiting for a kernel update?

Endeavour o/s will not boot either with their Nvidia drivers.
Thought you might want to know.

1 Like