Boot stuck in ramdisk init after installing the Nvidia driver

Hello Garuda users. I recently switched to Garuda with a fresh Cinnamon installation. Everything seams to work fine until i try to install the Nvidia driver from the Garuda settings Manager.

So far I've tried adding the ibt=off kernel parameter with the same outcome.
I've read that it might take quite a while to boot after installation I've waited for about 30min with no change for either the video-nvidia-dkms or video-nvidia-470xx-dkms.
Bellow i post some logs. I am quite new to this so i would appreciate some suggestions as to how i could resolve this issue.

garuda.inxi log:

System:
  Kernel: 6.2.10-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=73c7d686-aaea-418e-9443-a716a0faa3d4 rw [email protected]
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=03bad14d-584f-4bab-bcd5-ec2205a3d7f1 loglevel=3 ibt=off
  Desktop: Cinnamon v: 5.6.8 tk: GTK v: 3.24.37 wm: muffin vt: 7 dm: LightDM
    v: 1.32.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: X570 AORUS MASTER v: -CF
    serial: <superuser required>
  Mobo: Gigabyte model: X570 AORUS MASTER serial: <superuser required>
    UEFI: American Megatrends LLC. v: F36f date: 07/20/2022
CPU:
  Info: model: AMD Ryzen 9 3900X bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
  Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
    L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 6 MiB desc: 12x512 KiB
    L3: 64 MiB desc: 4x16 MiB
  Speed (MHz): avg: 2333 high: 3800 min/max: 2200/4672 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3800 2: 2200
    3: 2200 4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200
    12: 2200 13: 2200 14: 2200 15: 2200 16: 2200 17: 2200 18: 2200 19: 2200
    20: 2200 21: 3800 22: 2197 23: 2200 24: 2200 bogomips: 182410
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA TU102 [GeForce RTX 2080 Ti Rev. A] vendor: Gigabyte
    driver: nouveau v: kernel non-free: 530.xx+ status: current (as of 2023-03)
    arch: Turing code: TUxxx process: TSMC 12nm FF built: 2018-22 pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s ports:
    active: HDMI-A-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 0a:00.0
    chip-ID: 10de:1e07 class-ID: 0300 temp: 43.0 C
  Display: x11 server: X.Org v: 21.1.8 driver: X:
    loaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: nouveau
    gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48")
    s-diag: 1165mm (45.88")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Philips PHL 436M6VBP
    serial: <filter> built: 2018 res: 3840x2160 hz: 60 dpi: 104 gamma: 1.2
    size: 941x529mm (37.05x20.83") diag: 1080mm (42.5") ratio: 16:9 modes:
    max: 3840x2160 min: 640x480
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.
Audio:
  Device-1: NVIDIA TU102 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 1-6.2:4 chip-ID: 0d8c:0005 pcie:
    gen: 1 class-ID: 0300 serial: <filter> speed: 2.5 GT/s lanes: 16 link-max:
    gen: 3 speed: 8 GT/s bus-ID: 0a:00.1 chip-ID: 10de:10f7 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0c:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: C-Media Blue Snowball type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Device-4: Razer USA BlackShark V2 Pro type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-4:4 chip-ID: 1532:0528
    class-ID: 0300
  API: ALSA v: k6.2.10-zen1-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 0.3.68 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 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: down mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: Gigabyte driver: igb
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp5s0 state: down mac: <filter>
  Device-3: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: d000 bus-ID: 06:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-5:2
    chip-ID: 8087:0029 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 2.27 TiB used: 1.23 TiB (54.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 970 EVO Plus 500GB size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 2B2QEXM7 temp: 48.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 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: 431.07 GiB size: 431.07 GiB (100.00%)
    used: 40.44 GiB (9.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 608 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 431.07 GiB size: 431.07 GiB (100.00%)
    used: 40.44 GiB (9.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 431.07 GiB size: 431.07 GiB (100.00%)
    used: 40.44 GiB (9.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 431.07 GiB size: 431.07 GiB (100.00%)
    used: 40.44 GiB (9.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 34.4 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-2: swap-2 type: zram size: 31.27 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 37.8 C mobo: N/A gpu: nouveau temp: 43.0 C
  Fan Speeds (RPM): fan-1: 1068 gpu: nouveau fan: 759
Info:
  Processes: 474 Uptime: 3m wakeups: 1 Memory: 31.27 GiB used: 2.83 GiB (9.1%)
  Init: systemd v: 253 default: graphical tool: systemctl Compilers:
  gcc: 12.2.1 Packages: pm: dpkg pkgs: 0 pm: pacman pkgs: 1236 libs: 340
  tools: paru Shell: fish v: 3.6.1 default: Zsh v: 5.9
  running-in: gnome-terminal inxi: 3.3.26
Garuda (2.6.16-1):
  System install date:     2023-04-06
  Last full system update: 2023-04-11
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:

Log from doing the Auto install Proprietary Driver:

Starting
> Using config 'video-nvidia-dkms' for device: 0000:0a:00.0 (0300:10de:1e07) Display controller nVidia Corporation TU102 [GeForce RTX 2080 Ti Rev. A]
> 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 (27) egl-wayland-2:1.1.11-4  eglexternalplatform-1.1-2  gobject-introspection-1.76.1-1  gwe-0.15.5-3.1  lib32-nvidia-utils-530.41.03-1  lib32-opencl-nvidia-530.41.03-1  libdazzle-3.44.0-1  libxnvctrl-530.41.03-1  nvidia-dkms-530.41.03-1  nvidia-settings-530.41.03-1  nvidia-utils-530.41.03-1  opencl-nvidia-530.41.03-1  python-contourpy-1.0.7-1  python-cycler-0.11.0-1  python-dateutil-2.8.2-4  python-fonttools-4.39.3-1  python-injector-0.20.1-2.1  python-kiwisolver-1.4.4-2  python-markdown-3.4.3-1  python-matplotlib-3.7.1-1  python-peewee-3.15.4-1  python-py3nvml-0.2.7-1.1  python-pyparsing-3.0.9-1  python-rx-3.2.0-3  python-xlib-0.33-1  qhull-2020.2-4  garuda-nvidia-config-1:r63.2f652e8-3

Total Installed Size:  1139.81 MiB

:: Proceed with installation? [Y/n] 
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: 43
:: 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-markdown...
Optional dependencies for python-markdown
    python-yaml: parse Python in YAML metadata
installing gobject-introspection...
installing libdazzle...
installing python-injector...
installing python-contourpy...
Optional dependencies for python-contourpy
    python-matplotlib: matplotlib renderer [pending]
installing python-cycler...
installing python-dateutil...
installing python-fonttools...
Optional dependencies for python-fonttools
    python-brotli: to compress/decompress WOFF 2.0 web fonts
    python-fs: to read/write UFO source files
    python-lxml: faster backend for XML files reading/writing
    python-lz4: for graphite type tables in ttLib/tables
    python-matplotlib: for visualizing DesignSpaceDocument and resulting VariationModel [pending]
    python-pyqt5: for drawing glyphs with Qt’s QPainterPath
    python-reportlab: to drawing glyphs as PNG images
    python-scipy: for finding wrong contour/component order between different masters
    python-sympy: for symbolic font statistics analysis
    python-uharfbuzz: to use the Harfbuzz Repacker for packing GSUB/GPOS tables
    python-unicodedata2: for displaying the Unicode character names when dumping the cmap table with ttx
    python-zopfli: faster backend fom WOFF 1.0 web fonts compression
installing python-kiwisolver...
installing python-pyparsing...
Optional dependencies for python-pyparsing
    python-railroad-diagrams: for generating Railroad Diagrams
    python-jinja: for generating Railroad Diagrams
installing qhull...
installing python-matplotlib...
Optional dependencies for python-matplotlib
    tk: Tk{Agg,Cairo} backends
    pyside2: alternative for Qt5{Agg,Cairo} backends
    pyside6: alternative for Qt6{Agg,Cairo} backends
    python-pyqt5: Qt5{Agg,Cairo} backends
    python-pyqt6: Qt6{Agg,Cairo} backends
    python-gobject: for GTK{3,4}{Agg,Cairo} backend [installed]
    python-wxpython: WX{Agg,Cairo} backend
    python-cairo: {GTK{3,4},Qt{5,6},Tk,WX}Cairo backends [installed]
    python-cairocffi: alternative for Cairo backends
    python-tornado: WebAgg backend
    ffmpeg: for saving movies [installed]
    imagemagick: for saving animated gifs [installed]
    ghostscript: usetex dependencies
    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
    python-pymysql: for MySQL database support
installing python-py3nvml...
installing python-rx...
installing python-xlib...
installing gwe...
installing libxnvctrl...
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]
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/16) 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/16) Reloading system manager configuration...
( 3/16) Reloading device manager configuration...
( 4/16) Arming ConditionNeedsUpdate...
( 5/16) Install DKMS modules
==> dkms install --no-depmod nvidia/530.41.03 -k 6.2.10-zen1-1-zen
==> depmod 6.2.10-zen1-1-zen
==> ERROR: Missing 6.1.23-1-lts kernel modules tree for module nvidia/530.41.03.
==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/530.41.03.
( 6/16) Updating initramfs...
:: Building initramfs for linux-zen (6.2.10-zen1-1-zen)
:: Building fallback initramfs for linux-zen (6.2.10-zen1-1-zen)
( 7/16) Updating linux initcpios...
( 8/16) Foreign/AUR package notification
=> No foreign/AUR packages found.
( 9/16) Orphaned package notification...
cython 0.29.34-1
perl-parse-yapp 1.21-5
(10/16) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
/etc/plymouth/plymouthd.conf.pacnew
Please check and merge
(11/16) Reloading system bus configuration...
(12/16) Compiling GSettings XML schema files...
(13/16) Updating icon theme caches...
(14/16) Updating the desktop file MIME type cache...
(15/16) Performing snapper post snapshots for the following configurations...
==> root: 44
(16/16) Syncing all file systems...
garuda-nvidia-config: install reason has been set
to 'explicitly installed'
/var/lib/mhwd/db/pci/graphic_drivers/nvidia-dkms/MHWDCONFIG: line 38: mkinitcpio: command not found
> Successfully installed video-nvidia-dkms


Done ...

Hi there, welcome to the forum!

Try

sudo pacman -S linux-headers linux-lts-headers

Edit: I keep the welcome :grinning: but I'm afraid a read the error message wrongly, and what I suggested won't help...

1 Like

Problem 1:

==> ERROR: Missing 6.1.23-1-lts kernel modules tree for module nvidia/530.41.03.
==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/530.41.03.

This likely means that installed kernels and kernel headers do not match, you should make sure that you have headers for every kernel (and kernel for every headers package).


Problem 2:

/var/lib/mhwd/db/pci/graphic_drivers/nvidia-dkms/MHWDCONFIG: line 38: mkinitcpio: command not found
  Relevant software:       snapper NetworkManager dracut

For some reason the dkms installer is trying to rebuild the initramfs with the wrong tool (mkinitcpio was used until recently, but you already have dracut). How comes, I don't know.

> Successfully installed video-nvidia-dkms

Oh well... I guess dkms is trolling confused.


Problem 3:

(10/16) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
/etc/plymouth/plymouthd.conf.pacnew
Please check and merge

Most likely a non-problem in this case, but in general make sure to check the differences and apply them if it makes sense (ask if not sure).


I advise running garuda-update after installing the necessary kernel and headers packages, then report back any puzzling messages. Reboot afterwards and :crossed_fingers: .
Hopefully someone can make sense of #2, I don't really know.

3 Likes

Thank you for the replies!

As you proposed I tried to install the headers with:

sudo pacman -S linux-headers linux-lts-headers

after that i did:

sudo dkms autoinstall

for automatic dkms module install and proceeded with a restart.

After boot i run the Garuda update and install:

below I add the log of garuda-update:

:: Synchronising package databases...
 garuda is up to date
 core                                  154,0 KiB  1149 KiB/s 00:00 [------------------------------------] 100%
 extra                                1762,7 KiB  6,47 MiB/s 00:00 [------------------------------------] 100%
 community                               7,2 MiB  19,5 MiB/s 00:00 [------------------------------------] 100%
 multilib                              161,2 KiB  1027 KiB/s 00:00 [------------------------------------] 100%
 chaotic-aur                             2,4 MiB  6,79 MiB/s 00:00 [------------------------------------] 100%

--> Refreshing mirrorlists using rate-mirrors, please be patient..šŸµ

:: Synchronising package databases...
 garuda downloading...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
 chaotic-aur downloading...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (17) alsa-card-profiles-1:0.3.68-2  gst-plugin-pipewire-1:0.3.68-2  lib32-libpipewire-1:0.3.68-2
              lib32-pipewire-1:0.3.68-2  lib32-pipewire-jack-1:0.3.68-2  libpipewire-1:0.3.68-2
              pipewire-1:0.3.68-2  pipewire-alsa-1:0.3.68-2  pipewire-audio-1:0.3.68-2
              pipewire-jack-1:0.3.68-2  pipewire-pulse-1:0.3.68-2  pipewire-v4l2-1:0.3.68-2
              pipewire-x11-bell-1:0.3.68-2  pipewire-zeroconf-1:0.3.68-2  systemd-253.3-3
              systemd-libs-253.3-3  systemd-sysvcompat-253.3-3

Total Installed Size:  46.43 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 
(17/17) checking keys in keyring                                   [------------------------------------] 100%
(17/17) checking package integrity                                 [------------------------------------] 100%
(17/17) loading package files                                      [------------------------------------] 100%
(17/17) checking for file conflicts                                [------------------------------------] 100%
(17/17) checking available disk space                              [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 47
:: Processing package changes...
( 1/17) upgrading alsa-card-profiles                               [------------------------------------] 100%
( 2/17) upgrading libpipewire                                      [------------------------------------] 100%
( 3/17) upgrading systemd-libs                                     [------------------------------------] 100%
( 4/17) upgrading pipewire                                         [------------------------------------] 100%
( 5/17) upgrading systemd                                          [------------------------------------] 100%
( 6/17) upgrading gst-plugin-pipewire                              [------------------------------------] 100%
( 7/17) upgrading lib32-libpipewire                                [------------------------------------] 100%
( 8/17) upgrading lib32-pipewire                                   [------------------------------------] 100%
( 9/17) upgrading pipewire-audio                                   [------------------------------------] 100%
(10/17) upgrading pipewire-jack                                    [------------------------------------] 100%
(11/17) upgrading lib32-pipewire-jack                              [------------------------------------] 100%
(12/17) upgrading pipewire-alsa                                    [------------------------------------] 100%
(13/17) upgrading pipewire-pulse                                   [------------------------------------] 100%
(14/17) upgrading pipewire-v4l2                                    [------------------------------------] 100%
(15/17) upgrading pipewire-x11-bell                                [------------------------------------] 100%
(16/17) upgrading pipewire-zeroconf                                [------------------------------------] 100%
(17/17) upgrading systemd-sysvcompat                               [------------------------------------] 100%
:: Running post-transaction hooks...
( 1/16) Creating system user accounts...
( 2/16) Updating journal message catalog...
( 3/16) Reloading system manager configuration...
( 4/16) Updating udev hardware database...
( 5/16) Applying kernel sysctl settings...
( 6/16) Creating temporary files...
( 7/16) Reloading device manager configuration...
( 8/16) Arming ConditionNeedsUpdate...
( 9/16) Updating initramfs...
:: Building initramfs for linux-zen (6.2.10-zen1-1-zen)
:: Building fallback initramfs for linux-zen (6.2.10-zen1-1-zen)
(10/16) Updating linux initcpios...
(11/16) Foreign/AUR package notification
=> No foreign/AUR packages found.
(12/16) Orphaned package notification...
cython 0.29.34-1
perl-parse-yapp 1.21-5
(13/16) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
/etc/plymouth/plymouthd.conf.pacnew
Please check and merge
(14/16) Reloading system bus configuration...
(15/16) Performing snapper post snapshots for the following configurations...
==> root: 48
(16/16) Syncing all file systems...

after which i proceed with the automatic install of the Nvidia driver through the Garuda Hardware Config:

Starting
> Using config 'video-nvidia-dkms' for device: 0000:0a:00.0 (0300:10de:1e07) Display controller nVidia Corporation TU102 [GeForce RTX 2080 Ti Rev. A]
> 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 (27) egl-wayland-2:1.1.11-4  eglexternalplatform-1.1-2  gobject-introspection-1.76.1-1  gwe-0.15.5-3.1  lib32-nvidia-utils-530.41.03-1  lib32-opencl-nvidia-530.41.03-1  libdazzle-3.44.0-1  libxnvctrl-530.41.03-1  nvidia-dkms-530.41.03-1  nvidia-settings-530.41.03-1  nvidia-utils-530.41.03-1  opencl-nvidia-530.41.03-1  python-contourpy-1.0.7-1  python-cycler-0.11.0-1  python-dateutil-2.8.2-4  python-fonttools-4.39.3-1  python-injector-0.20.1-2.1  python-kiwisolver-1.4.4-2  python-markdown-3.4.3-1  python-matplotlib-3.7.1-1  python-peewee-3.15.4-1  python-py3nvml-0.2.7-1.1  python-pyparsing-3.0.9-1  python-rx-3.2.0-3  python-xlib-0.33-1  qhull-2020.2-4  garuda-nvidia-config-1:r63.2f652e8-3

Total Installed Size:  1139.81 MiB

:: Proceed with installation? [Y/n] 
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: 49
:: 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-markdown...
Optional dependencies for python-markdown
    python-yaml: parse Python in YAML metadata
installing gobject-introspection...
installing libdazzle...
installing python-injector...
installing python-contourpy...
Optional dependencies for python-contourpy
    python-matplotlib: matplotlib renderer [pending]
installing python-cycler...
installing python-dateutil...
installing python-fonttools...
Optional dependencies for python-fonttools
    python-brotli: to compress/decompress WOFF 2.0 web fonts
    python-fs: to read/write UFO source files
    python-lxml: faster backend for XML files reading/writing
    python-lz4: for graphite type tables in ttLib/tables
    python-matplotlib: for visualizing DesignSpaceDocument and resulting VariationModel [pending]
    python-pyqt5: for drawing glyphs with Qt’s QPainterPath
    python-reportlab: to drawing glyphs as PNG images
    python-scipy: for finding wrong contour/component order between different masters
    python-sympy: for symbolic font statistics analysis
    python-uharfbuzz: to use the Harfbuzz Repacker for packing GSUB/GPOS tables
    python-unicodedata2: for displaying the Unicode character names when dumping the cmap table with ttx
    python-zopfli: faster backend fom WOFF 1.0 web fonts compression
installing python-kiwisolver...
installing python-pyparsing...
Optional dependencies for python-pyparsing
    python-railroad-diagrams: for generating Railroad Diagrams
    python-jinja: for generating Railroad Diagrams
installing qhull...
installing python-matplotlib...
Optional dependencies for python-matplotlib
    tk: Tk{Agg,Cairo} backends
    pyside2: alternative for Qt5{Agg,Cairo} backends
    pyside6: alternative for Qt6{Agg,Cairo} backends
    python-pyqt5: Qt5{Agg,Cairo} backends
    python-pyqt6: Qt6{Agg,Cairo} backends
    python-gobject: for GTK{3,4}{Agg,Cairo} backend [installed]
    python-wxpython: WX{Agg,Cairo} backend
    python-cairo: {GTK{3,4},Qt{5,6},Tk,WX}Cairo backends [installed]
    python-cairocffi: alternative for Cairo backends
    python-tornado: WebAgg backend
    ffmpeg: for saving movies [installed]
    imagemagick: for saving animated gifs [installed]
    ghostscript: usetex dependencies
    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
    python-pymysql: for MySQL database support
installing python-py3nvml...
installing python-rx...
installing python-xlib...
installing gwe...
installing libxnvctrl...
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]
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/16) 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/16) Reloading system manager configuration...
( 3/16) Reloading device manager configuration...
( 4/16) Arming ConditionNeedsUpdate...
( 5/16) Install DKMS modules
==> dkms install --no-depmod nvidia/530.41.03 -k 6.2.10-zen1-1-zen
==> depmod 6.2.10-zen1-1-zen
==> ERROR: Missing 6.1.23-1-lts kernel modules tree for module nvidia/530.41.03.
==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/530.41.03.
( 6/16) Updating initramfs...
:: Building initramfs for linux-zen (6.2.10-zen1-1-zen)
:: Building fallback initramfs for linux-zen (6.2.10-zen1-1-zen)
( 7/16) Updating linux initcpios...
( 8/16) Foreign/AUR package notification
=> No foreign/AUR packages found.
( 9/16) Orphaned package notification...
cython 0.29.34-1
perl-parse-yapp 1.21-5
(10/16) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
/etc/plymouth/plymouthd.conf.pacnew
Please check and merge
(11/16) Reloading system bus configuration...
(12/16) Compiling GSettings XML schema files...
(13/16) Updating icon theme caches...
(14/16) Updating the desktop file MIME type cache...
(15/16) Performing snapper post snapshots for the following configurations...
==> root: 50
(16/16) Syncing all file systems...
garuda-nvidia-config: install reason has been set
to 'explicitly installed'
/var/lib/mhwd/db/pci/graphic_drivers/nvidia-dkms/MHWDCONFIG: line 38: mkinitcpio: command not found
> Successfully installed video-nvidia-dkms

Done ...

following with another garuda-update just to be sure before restart:

[sudo] password for sadmachine:             
... and it used to be so popular...
[sudo] password for sadmachine:             
:: Synchronising 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 is up to date

--> Refreshing mirrorlists using rate-mirrors, please be patient..šŸµ

:: Synchronising package databases...
 garuda downloading...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
 chaotic-aur downloading...
:: Starting full system upgrade...
 there is nothing to do

--> A problem with the NVIDIA drivers has been detected

---> Building NVIDIA DKMS module for kernel 6.1.23-1-lts
Module nvidia 530.41.03 is not installed for kernel 6.1.23-1-lts (x86_64). Skipping...
Module nvidia 530.41.03 is not built for kernel 6.1.23-1-lts (x86_64). Skipping...
Sign command: /usr/lib/modules/6.1.23-1-lts/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' -j24 IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=6.1.23-1-lts modules........
Signing module /var/lib/dkms/nvidia/530.41.03/build/nvidia.ko
Signing module /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm.ko
Signing module /var/lib/dkms/nvidia/530.41.03/build/nvidia-modeset.ko
Signing module /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm.ko
Signing module /var/lib/dkms/nvidia/530.41.03/build/nvidia-peermem.ko
Cleaning build area...

nvidia.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/6.1.23-1-lts/updates/dkms/

nvidia-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/6.1.23-1-lts/updates/dkms/

nvidia-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/6.1.23-1-lts/updates/dkms/

nvidia-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/6.1.23-1-lts/updates/dkms/

nvidia-peermem.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/6.1.23-1-lts/updates/dkms/
depmod...
depmod: WARNING: could not open modules.order at /lib/modules/6.1.23-1-lts: No such file or directory
depmod: WARNING: could not open modules.builtin at /lib/modules/6.1.23-1-lts: No such file or directory
depmod: WARNING: could not open modules.builtin.modinfo at /lib/modules/6.1.23-1-lts: No such file or directory
---> NVIDIA DKMS module for kernel 6.1.23-1-lts built successfully

---> Building NVIDIA DKMS module for kernel 6.2.10-arch1-1
Module nvidia 530.41.03 is not installed for kernel 6.2.10-arch1-1 (x86_64). Skipping...
Module nvidia 530.41.03 is not built for kernel 6.2.10-arch1-1 (x86_64). Skipping...
Sign command: /usr/lib/modules/6.2.10-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' -j24 IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=6.2.10-arch1-1 modules.......
Signing module /var/lib/dkms/nvidia/530.41.03/build/nvidia.ko
Signing module /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm.ko
Signing module /var/lib/dkms/nvidia/530.41.03/build/nvidia-modeset.ko
Signing module /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm.ko
Signing module /var/lib/dkms/nvidia/530.41.03/build/nvidia-peermem.ko
Cleaning build area...

nvidia.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/6.2.10-arch1-1/updates/dkms/

nvidia-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/6.2.10-arch1-1/updates/dkms/

nvidia-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/6.2.10-arch1-1/updates/dkms/

nvidia-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/6.2.10-arch1-1/updates/dkms/

nvidia-peermem.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/6.2.10-arch1-1/updates/dkms/
depmod...
depmod: WARNING: could not open modules.order at /lib/modules/6.2.10-arch1-1: No such file or directory
depmod: WARNING: could not open modules.builtin at /lib/modules/6.2.10-arch1-1: No such file or directory
depmod: WARNING: could not open modules.builtin.modinfo at /lib/modules/6.2.10-arch1-1: No such file or directory
---> NVIDIA DKMS module for kernel 6.2.10-arch1-1 built successfully

System updated! 🐧

Seems the DKMS installed. Gonna try and restart will update on the progress.

Edit 1: So far 22 minutes in still no result.
Stuck in:

Loading Linux linux-zen ...
Loading initial ramdisk ...
_

Might just revert to a recent snapshot if nothing changes after 30 min mark.

Edit 2:
Still, no change going to revert to the previous snapshot. Been stuck like that for 34 min.
Don't think this is a hardware issue and I think it shouldn't be that long. The worst part is not having any logs or info. Not able to determine if stuck or actually doing something.

reverted to post:

sudo pacman -S linux-headers linux-lts-headers

gonna search some more, will update if I find anything.

1 Like

For this, maybe check:
https://wiki.archlinux.org/title/Dracut#Early_kernel_module_loading
And then

sudo dracut-rebuild
3 Likes

Thank you!

Proceeded with creating the myflags.conf in the /etc/dracut.conf.d/
(The directory was empty don't know if it's supposed to be that way just stating the fact)
added to the file:

force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "

Saved the file and followed with the:

sudo dracut-rebuild

with the output:

:: Building initramfs for linux-zen (6.2.10-zen1-1-zen)
dracut-install: Failed to find module 'nvidia'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D /var/tmp/dracut.Vi3wY3/initramfs --kerneldir /lib/modules/6.2.10-zen1-1-zen/ -m nvidia nvidia_modeset nvidia_uvm nvidia_drm
:: Building fallback initramfs for linux-zen (6.2.10-zen1-1-zen)
dracut-install: Failed to find module 'nvidia'

I suspect this is due to the recovery point so i follow again with the install of the driver in the same manner with the log:

Starting
> Using config 'video-nvidia-dkms' for device: 0000:0a:00.0 (0300:10de:1e07) Display controller nVidia Corporation TU102 [GeForce RTX 2080 Ti Rev. A]
> 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 (27) egl-wayland-2:1.1.11-4  eglexternalplatform-1.1-2  gobject-introspection-1.76.1-1  gwe-0.15.5-3.1  lib32-nvidia-utils-530.41.03-1  lib32-opencl-nvidia-530.41.03-1  libdazzle-3.44.0-1  libxnvctrl-530.41.03-1  nvidia-dkms-530.41.03-1  nvidia-settings-530.41.03-1  nvidia-utils-530.41.03-1  opencl-nvidia-530.41.03-1  python-contourpy-1.0.7-1  python-cycler-0.11.0-1  python-dateutil-2.8.2-4  python-fonttools-4.39.3-1  python-injector-0.20.1-2.1  python-kiwisolver-1.4.4-2  python-markdown-3.4.3-1  python-matplotlib-3.7.1-1  python-peewee-3.15.4-1  python-py3nvml-0.2.7-1.1  python-pyparsing-3.0.9-1  python-rx-3.2.0-3  python-xlib-0.33-1  qhull-2020.2-4  garuda-nvidia-config-1:r63.2f652e8-3

Total Installed Size:  1139.81 MiB

:: Proceed with installation? [Y/n] 
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: 51
:: 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-markdown...
Optional dependencies for python-markdown
    python-yaml: parse Python in YAML metadata
installing gobject-introspection...
installing libdazzle...
installing python-injector...
installing python-contourpy...
Optional dependencies for python-contourpy
    python-matplotlib: matplotlib renderer [pending]
installing python-cycler...
installing python-dateutil...
installing python-fonttools...
Optional dependencies for python-fonttools
    python-brotli: to compress/decompress WOFF 2.0 web fonts
    python-fs: to read/write UFO source files
    python-lxml: faster backend for XML files reading/writing
    python-lz4: for graphite type tables in ttLib/tables
    python-matplotlib: for visualizing DesignSpaceDocument and resulting VariationModel [pending]
    python-pyqt5: for drawing glyphs with Qt’s QPainterPath
    python-reportlab: to drawing glyphs as PNG images
    python-scipy: for finding wrong contour/component order between different masters
    python-sympy: for symbolic font statistics analysis
    python-uharfbuzz: to use the Harfbuzz Repacker for packing GSUB/GPOS tables
    python-unicodedata2: for displaying the Unicode character names when dumping the cmap table with ttx
    python-zopfli: faster backend fom WOFF 1.0 web fonts compression
installing python-kiwisolver...
installing python-pyparsing...
Optional dependencies for python-pyparsing
    python-railroad-diagrams: for generating Railroad Diagrams
    python-jinja: for generating Railroad Diagrams
installing qhull...
installing python-matplotlib...
Optional dependencies for python-matplotlib
    tk: Tk{Agg,Cairo} backends
    pyside2: alternative for Qt5{Agg,Cairo} backends
    pyside6: alternative for Qt6{Agg,Cairo} backends
    python-pyqt5: Qt5{Agg,Cairo} backends
    python-pyqt6: Qt6{Agg,Cairo} backends
    python-gobject: for GTK{3,4}{Agg,Cairo} backend [installed]
    python-wxpython: WX{Agg,Cairo} backend
    python-cairo: {GTK{3,4},Qt{5,6},Tk,WX}Cairo backends [installed]
    python-cairocffi: alternative for Cairo backends
    python-tornado: WebAgg backend
    ffmpeg: for saving movies [installed]
    imagemagick: for saving animated gifs [installed]
    ghostscript: usetex dependencies
    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
    python-pymysql: for MySQL database support
installing python-py3nvml...
installing python-rx...
installing python-xlib...
installing gwe...
installing libxnvctrl...
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]
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/16) 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/16) Reloading system manager configuration...
( 3/16) Reloading device manager configuration...
( 4/16) Arming ConditionNeedsUpdate...
( 5/16) Install DKMS modules
==> dkms install --no-depmod nvidia/530.41.03 -k 6.2.10-zen1-1-zen
==> depmod 6.2.10-zen1-1-zen
==> ERROR: Missing 6.1.23-1-lts kernel modules tree for module nvidia/530.41.03.
==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/530.41.03.
( 6/16) Updating initramfs...
:: Building initramfs for linux-zen (6.2.10-zen1-1-zen)
:: Building fallback initramfs for linux-zen (6.2.10-zen1-1-zen)
( 7/16) Updating linux initcpios...
( 8/16) Foreign/AUR package notification
=> No foreign/AUR packages found.
( 9/16) Orphaned package notification...
cython 0.29.34-1
perl-parse-yapp 1.21-5
(10/16) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
/etc/plymouth/plymouthd.conf.pacnew
Please check and merge
(11/16) Reloading system bus configuration...
(12/16) Compiling GSettings XML schema files...
(13/16) Updating icon theme caches...
(14/16) Updating the desktop file MIME type cache...
(15/16) Performing snapper post snapshots for the following configurations...
==> root: 52
(16/16) Syncing all file systems...
garuda-nvidia-config: install reason has been set
to 'explicitly installed'
/var/lib/mhwd/db/pci/graphic_drivers/nvidia-dkms/MHWDCONFIG: line 38: mkinitcpio: command not found
> Successfully installed video-nvidia-dkms

Done ...

followed by garuda-update
(no log because i pressed wrong buttons and the windows closed...)
Anyway followed again with the:

sudo dracut-rebuild

with the output:

:: Building initramfs for linux-zen (6.2.10-zen1-1-zen)
:: Building fallback initramfs for linux-zen (6.2.10-zen1-1-zen)

Seems like it finished with no errors. Gonna restart it and report back if it works again.


Edit 1:
Don't think I used the force_drivers part correctly...
I might have confused it and it supposed to be something related to:

dracut

Maybe something like:

force_drivers+=" dracut "

Don't really know please confirm.
(with the one I did on top of this reply it doesn't work so far)


Edit 2:
No change in 30 min reverting to the same point.


Edit 3:
Can't seem to find solution rn. Going to continue the search in the morning.
Successfully reverted to the previous snapshot and completed the garuda-update with the log:

:: Synchronising package databases...
 garuda is up to date
 core                                  154,0 KiB  1540 KiB/s 00:00 [------------------------------------] 100%
 extra                                1762,7 KiB  13,1 MiB/s 00:00 [------------------------------------] 100%
 community                               7,2 MiB  33,9 MiB/s 00:00 [------------------------------------] 100%
 multilib                              161,2 KiB  1507 KiB/s 00:00 [------------------------------------] 100%
 chaotic-aur                             2,4 MiB  8,93 MiB/s 00:00 [------------------------------------] 100%

--> Refreshing mirrorlists using rate-mirrors, please be patient..šŸµ

^R
^E^R
^E:: Synchronising package databases...
 garuda downloading...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
 chaotic-aur downloading...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (17) alsa-card-profiles-1:0.3.68-2  gst-plugin-pipewire-1:0.3.68-2  lib32-libpipewire-1:0.3.68-2
              lib32-pipewire-1:0.3.68-2  lib32-pipewire-jack-1:0.3.68-2  libpipewire-1:0.3.68-2
              pipewire-1:0.3.68-2  pipewire-alsa-1:0.3.68-2  pipewire-audio-1:0.3.68-2
              pipewire-jack-1:0.3.68-2  pipewire-pulse-1:0.3.68-2  pipewire-v4l2-1:0.3.68-2
              pipewire-x11-bell-1:0.3.68-2  pipewire-zeroconf-1:0.3.68-2  systemd-253.3-3
              systemd-libs-253.3-3  systemd-sysvcompat-253.3-3

Total Installed Size:  46.43 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y  
(17/17) checking keys in keyring                                   [------------------------------------] 100%
(17/17) checking package integrity                                 [------------------------------------] 100%
(17/17) loading package files                                      [------------------------------------] 100%
(17/17) checking for file conflicts                                [------------------------------------] 100%
(17/17) checking available disk space                              [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 55
:: Processing package changes...
( 1/17) upgrading alsa-card-profiles                               [------------------------------------] 100%
( 2/17) upgrading libpipewire                                      [------------------------------------] 100%
( 3/17) upgrading systemd-libs                                     [------------------------------------] 100%
( 4/17) upgrading pipewire                                         [------------------------------------] 100%
( 5/17) upgrading systemd                                          [------------------------------------] 100%
( 6/17) upgrading gst-plugin-pipewire                              [------------------------------------] 100%
( 7/17) upgrading lib32-libpipewire                                [------------------------------------] 100%
( 8/17) upgrading lib32-pipewire                                   [------------------------------------] 100%
( 9/17) upgrading pipewire-audio                                   [------------------------------------] 100%
(10/17) upgrading pipewire-jack                                    [------------------------------------] 100%
(11/17) upgrading lib32-pipewire-jack                              [------------------------------------] 100%
(12/17) upgrading pipewire-alsa                                    [------------------------------------] 100%
(13/17) upgrading pipewire-pulse                                   [------------------------------------] 100%
(14/17) upgrading pipewire-v4l2                                    [------------------------------------] 100%
(15/17) upgrading pipewire-x11-bell                                [------------------------------------] 100%
(16/17) upgrading pipewire-zeroconf                                [------------------------------------] 100%
(17/17) upgrading systemd-sysvcompat                               [------------------------------------] 100%
:: Running post-transaction hooks...
( 1/16) Creating system user accounts...
( 2/16) Updating journal message catalog...
( 3/16) Reloading system manager configuration...
( 4/16) Updating udev hardware database...
( 5/16) Applying kernel sysctl settings...
( 6/16) Creating temporary files...
( 7/16) Reloading device manager configuration...
( 8/16) Arming ConditionNeedsUpdate...
( 9/16) Updating initramfs...
:: Building initramfs for linux-zen (6.2.10-zen1-1-zen)
:: Building fallback initramfs for linux-zen (6.2.10-zen1-1-zen)
(10/16) Updating linux initcpios...
(11/16) Foreign/AUR package notification
=> No foreign/AUR packages found.
(12/16) Orphaned package notification...
cython 0.29.34-1
perl-parse-yapp 1.21-5
(13/16) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
/etc/plymouth/plymouthd.conf.pacnew
Please check and merge
(14/16) Reloading system bus configuration...
(15/16) Performing snapper post snapshots for the following configurations...
==> root: 56
(16/16) Syncing all file systems...

System updated! 🐧

Update on what I have tried:

I installed the lts kernel through the Garuda settings manager. It installed successfully restarted the pc and booted with it. Additionally I set it as a default launch option. the install nvidia-dkms still gives me the same error in the end:

/var/lib/mhwd/db/pci/graphic_drivers/nvidia-dkms/MHWDCONFIG: line 38: mkinitcpio: command not found

don't know if I should install it or how to safely do it because of the conflict with the dracut.
it seems that it is the way to go because the MHWDCONFIG file in /var/lib/mhwd/db/pci/graphic_drivers/nvidia-dkms/ explicitly states
mkinitcpio -P

NAME="video-nvidia-dkms"
INFO="Closed source NVIDIA drivers for linux."
VERSION="2023.01.15"
FREEDRIVER="false"
PRIORITY="30"

CLASSIDS="0300 0302"
VENDORIDS="10de"
DEVICEIDS=">/var/lib/mhwd/ids/pci/nvidia.ids"

# Conflicts with other mhwd configs
MHWDCONFLICTS="video*nvidia* video*optimus*"

# Dependencies
DEPENDS="garuda-nvidia-config"

post_install()
{
	if [ ! "$(pgrep X)" ];	then
		modprobe nvidia-drm
		modprobe nvidia-uvm
	fi
	if [[ $(hwinfo --cpu | grep Vendor: -m1 | cut -d '"' -f2) == "GenuineIntel" ]] ; then
#		if [ -f /etc/mkinitcpio.conf ]; then
#			sed -re 's/(MODULES=\([^)]*)/\1 crc32c-intel nvidia nvidia_modeset nvidia_uvm nvidia_drm/gi;s/(MODULES=\"[^"]*)/\1 crc32c-intel nvidia nvidia_modeset nvidia_uvm nvidia_drm/gi' -i /etc/mkinitcpio.conf
#		fi
		if [ -f /etc/default/grub ]; then
			sed -re 's/(GRUB_CMDLINE_LINUX_DEFAULT=\"[^"]+)/\1 ibt=off/gi;s/(GRUB_CMDLINE_LINUX_DEFAULT=\".+ibt=off\")/\1/gi' -i /etc/default/grub
		fi
#	else
#		if [ -f /etc/mkinitcpio.conf ]; then
#			sed -re 's/(MODULES=\([^)]*)/\1 crc32c nvidia nvidia_modeset nvidia_uvm nvidia_drm/gi;s/(MODULES=\"[^"]*)/\1 crc32c nvidia nvidia_modeset nvidia_uvm nvidia_drm/gi' -i /etc/mkinitcpio.conf
#		fi
	fi

	mkinitcpio -P
}

post_remove()
{
	mhwd-gpu --check
}

Any ideas as to how to either modify the installer or how to resolve the issue?
I'm not that well versed in the linux driver configs.

1 Like

I know even less, but that smells like a :bug: .
I confirm that file is the same on my box. It belongs to mhwd-db-garuda-git.
That said, I would have expected running sudo dracut-rebuild afterwards to work.
I think the other "problem 1" is still there.

( 5/16) Install DKMS modules
==> dkms install --no-depmod nvidia/530.41.03 -k 6.2.10-zen1-1-zen
==> depmod 6.2.10-zen1-1-zen
==> ERROR: Missing 6.1.23-1-lts kernel modules tree for module nvidia/530.41.03.
==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/530.41.03.
( 6/16) Updating initramfs...
:: Building initramfs for linux-zen (6.2.10-zen1-1-zen)
:: Building fallback initramfs for linux-zen (6.2.10-zen1-1-zen)
( 7/16) Updating linux initcpios...

Your install is recent, maybe check /var/log/pacman.log for traces of what could have gone wrong.
Considering

:: Building initramfs for linux-zen (6.2.10-zen1-1-zen)
:: Building fallback initramfs for linux-zen (6.2.10-zen1-1-zen)

try booting -zen.

Is garuda-dracut-support installed?

1 Like

No when it says that it is not found locally.

Going to reboot to zen.
and this is the pacman.log file:

(Link as it exceeds the char limit)

found some errors like:

[2023-04-12T11:55:04+0200] [ALPM-SCRIPTLET] depmod: WARNING: could not open modules.order at /lib/modules/6.2.10-arch1-1: No such file or directory
[2023-04-12T11:55:04+0200] [ALPM-SCRIPTLET] depmod: WARNING: could not open modules.builtin at /lib/modules/6.2.10-arch1-1: No such file or directory
[2023-04-12T11:55:04+0200] [ALPM-SCRIPTLET] depmod: WARNING: could not open modules.builtin.modinfo at /lib/modules/6.2.10-arch1-1: No such file or directory

any idea how to fix:

 ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module

Edit 1:
Went ahead and rebooted to zen kernel.
Installed the linux zen headers with:

sudo pacman -S linux-zen-headers

this is the log:

[šŸ”“] Ɨ sudo pacman -S linux-zen-headers
[sudo] password for sadmachine:             
warning: linux-zen-headers-6.2.10.zen1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux-zen-headers-6.2.10.zen1-1

Total Installed Size:  162,18 MiB
Net Upgrade Size:        0,00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                     [------------------------------------] 100%
(1/1) checking package integrity                                   [------------------------------------] 100%
(1/1) loading package files                                        [------------------------------------] 100%
(1/1) checking for file conflicts                                  [------------------------------------] 100%
(1/1) checking available disk space                                [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/2) Performing snapper pre snapshots for the following configurations...
==> root: 67
(2/2) Remove upgraded DKMS modules
==> dkms remove --no-depmod openrazer-driver/3.5.1 -k 6.2.10-zen1-1-zen
:: Processing package changes...
(1/1) reinstalling linux-zen-headers                               [------------------------------------] 100%
:: Running post-transaction hooks...
(1/8) Arming ConditionNeedsUpdate...
(2/8) Updating module dependencies...
(3/8) Install DKMS modules
==> dkms install --no-depmod openrazer-driver/3.5.1 -k 6.2.10-zen1-1-zen
==> depmod 6.2.10-zen1-1-zen
(4/8) Foreign/AUR package notification
=> No foreign/AUR packages found.
(5/8) Orphaned package notification...
cython 0.29.34-1
perl-parse-yapp 1.21-5
(6/8) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
/etc/plymouth/plymouthd.conf.pacnew
Please check and merge
(7/8) Performing snapper post snapshots for the following configurations...
==> root: 68
(8/8) Syncing all file systems...

after that did garuda-update

[šŸ”“] Ɨ sudo pacman -S linux-zen-headers
[sudo] password for sadmachine:             
warning: linux-zen-headers-6.2.10.zen1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux-zen-headers-6.2.10.zen1-1

Total Installed Size:  162,18 MiB
Net Upgrade Size:        0,00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                     [------------------------------------] 100%
(1/1) checking package integrity                                   [------------------------------------] 100%
(1/1) loading package files                                        [------------------------------------] 100%
(1/1) checking for file conflicts                                  [------------------------------------] 100%
(1/1) checking available disk space                                [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/2) Performing snapper pre snapshots for the following configurations...
==> root: 67
(2/2) Remove upgraded DKMS modules
==> dkms remove --no-depmod openrazer-driver/3.5.1 -k 6.2.10-zen1-1-zen
:: Processing package changes...
(1/1) reinstalling linux-zen-headers                               [------------------------------------] 100%
:: Running post-transaction hooks...
(1/8) Arming ConditionNeedsUpdate...
(2/8) Updating module dependencies...
(3/8) Install DKMS modules
==> dkms install --no-depmod openrazer-driver/3.5.1 -k 6.2.10-zen1-1-zen
==> depmod 6.2.10-zen1-1-zen
(4/8) Foreign/AUR package notification
=> No foreign/AUR packages found.
(5/8) Orphaned package notification...
cython 0.29.34-1
perl-parse-yapp 1.21-5
(6/8) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
/etc/plymouth/plymouthd.conf.pacnew
Please check and merge
(7/8) Performing snapper post snapshots for the following configurations...
==> root: 68
(8/8) Syncing all file systems...

followed by the sudo dracut-rebuild which finished with no error.

Should I installing the dkms driver again?
Still think the installer will throw error with:

mkinitcpio

garuda-dracut-support

I meant the package, but it was a silly question of mine, dracut-rebuild comes from there.
I forgot to mention, I have not yet migrated to dracut because I planned to reinstall anyway, which I never found the time for.

All seems good with linux-zen, but try reinstalling pacman -S linux linux-lts (if you need them, else alternatively remove their headers).

Still trying to make sense of why mkinitcpio is being called.

Thank you again for the reply.

I am also trying to get my head around it new to dracut and Garuda in general.
Ill uninstall them when i get my nvidia problem solved. Might be wrong but i think it won't interfere with the install for now anyway while I'm running zen.

But i think without getting around that mkinitcpio so it works with dracut it will be stuck.

Also I got some logs from the boot. I got them from changing the messages boot option to Regular grub.

Welcome to Garuda Linux dracut-856

[ OK ] Reached target Initrd /usr File System.
[ OK ] Reached target Local File Systems 
[ OK ] Reached target Slice Units.
[ OK ] Reached target Swaps.
[ OK ] Reached target Timer Units.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Reached target Socket Units.
       Starting Create List of Static Device Nodes...
       Starting Journal Service... 
       Starting Load Kernel Modules...
       Starting Setup Virtual Console...
[ OK ] Finished Create List of Static Device Nodes.
       Starting Create Static Device Nodes in /dev...
[ OK ] Finished Setup Virtual Console.
       Starting dracut ask for additional cmdline parameters...
[ OK ] Finished Create Static Device Nodes in /dev.
[ OK ] Finished dracut ask for additional cmdline parameters.
       Starting dracut cmdline hook...
[ OK ] Started Journal Service.
       Starting Create Volatile Files and Directories...
[ OK ] Finished Create Volatile Files and Directories.
[ OK ] Finished dracut cmdline hook.
       Starting dracut pre-udev hook... 
[ OK ] Finished dracut pre-udev hook.
       Starting Rule-based Manager for Device Events and Files...
[ OK ] Started Rule-based Manager for Device Events and Files.
       Starting Coldplug All udev Devices... 
[ OK ] Finished Coldplug All udev Devices.
[ OK ] Reached target Preparation for Remote File Systems.
[ OK ] Reached target Remote File Systems.
       Starting Show Plymouth Boot Screen... 

it gets stuck in the Starting Show Plymouth Boot Screen...

Ill uninstall them when i get my nvidia problem solved

I think my wording was not clear, I'm not saying you should remove them, but make sure both the kernels and their headers are installed together, either both or none.
From the pacman.log it looks like you have their headers but not the kernels, maybe as a consequence of restoring a snapshot.

edit: correction, linux-lts is there :thinking:

grep arch1-1 SadMachine_pacman.log
[2023-04-06T23:47:31+0200] [ALPM] installed linux-headers (6.2.9.arch1-1)
[2023-04-07T00:39:10+0200] [ALPM-SCRIPTLET] ==> ERROR: Missing 6.2.9-arch1-1 kernel modules tree for module openrazer-driver/3.5.1.
[2023-04-11T15:49:44+0200] [ALPM] upgraded linux-headers (6.2.9.arch1-1 -> 6.2.10.arch1-1)
[2023-04-11T15:49:59+0200] [ALPM-SCRIPTLET] ==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module openrazer-driver/3.5.1.
[2023-04-11T16:39:45+0200] [ALPM-SCRIPTLET] ==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/530.41.03.
[2023-04-11T19:08:03+0200] [ALPM-SCRIPTLET] ==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/530.41.03.
[2023-04-11T19:55:06+0200] [ALPM-SCRIPTLET] ==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/470.182.03.
[2023-04-11T20:14:30+0200] [ALPM-SCRIPTLET] ==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/530.41.03.
[2023-04-11T22:20:33+0200] [ALPM] reinstalled linux-headers (6.2.10.arch1-1)
[2023-04-11T22:20:35+0200] [ALPM-SCRIPTLET] ==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module openrazer-driver/3.5.1.
[2023-04-11T22:33:23+0200] [ALPM-SCRIPTLET] ==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/530.41.03.
[2023-04-11T23:33:09+0200] [ALPM-SCRIPTLET] ==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/530.41.03.
[2023-04-12T11:43:28+0200] [ALPM-SCRIPTLET] ==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/530.41.03.
[2023-04-12T11:55:02+0200] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/530.41.03 -k 6.2.10-arch1-1
[2023-04-12T11:55:04+0200] [ALPM-SCRIPTLET] ==> depmod 6.2.10-arch1-1
[2023-04-12T11:55:04+0200] [ALPM-SCRIPTLET] depmod: WARNING: could not open modules.order at /lib/modules/6.2.10-arch1-1: No such file or directory
[2023-04-12T11:55:04+0200] [ALPM-SCRIPTLET] depmod: WARNING: could not open modules.builtin at /lib/modules/6.2.10-arch1-1: No such file or directory
[2023-04-12T11:55:04+0200] [ALPM-SCRIPTLET] depmod: WARNING: could not open modules.builtin.modinfo at /lib/modules/6.2.10-arch1-1: No such file or directory
[2023-04-12T11:57:07+0200] [ALPM-SCRIPTLET] ==> ERROR: Missing 6.2.10-arch1-1 kernel modules tree for module nvidia/530.41.03.

For the dracut/mkinitcpio thing, I think for now running dracut-rebuild any time you see that MHWDCONFIG: line 38: mkinitcpio: command not found error should do.
I'd also try pacman -S garuda-dracut-support just in case (it won't hurt).
Maybe even "reinstall all packages" from the Garuda Assistant (assuming my "consequence of restoring a snapshot" theory is correct, that is).

1 Like

What I did last time was:

  1. Install the nvidia driver through the garuda automatic installer in which I get the error.
  2. do garuda-update
  3. do dracut-rebuild
  4. restart to check if it works

Which doesn't work so far with neither of the kernels selected. One was installed by default and the other i installed through the Garuda Settings Manager -> Kernel

I might just reinstall fresh.
install the headers
do garuda-update
than the dracut-rebuild
nvidia install
dracut-rebuild again
and restart

2 posts were split to a new topic: After install the boot hangs at the ramdisk initialization