OS maintains at "Reached target Graphical Interface” after install linux-zen

I’m using kernel Linux-LTS, and I’ve recently installed linux-zen (and linux-zen-headers), I tried boot with that kernel but the OS stops at the line "Reached target Graphical Interface”. I’ve followed the instructions on this topic but I’m getting erros messages with this line:

MODULES=(crc32c nvidia nvidia_modeset nvidia_uvm nvidia_drm)

Here the error messages:

sudo mkinitcpio -P            
==> 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.64-1-lts
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: 5.15.64-1-lts
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: 5.19.6-zen1-1-zen
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> Starting build: 5.19.6-zen1-1-zen
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.

I have these nvidia packages installed:

sudo pacman -Qs nvidia- 
local/egl-wayland 2:1.1.10-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 515.65.01-1
    NVIDIA drivers utilities (32-bit)
local/nvidia-dkms 515.65.01-2
    NVIDIA drivers - module sources
local/nvidia-hook 1.0-1
    pacman hook for nvidia
local/nvidia-inst 1.2-1
    Script to setup nvidia drivers (dkms version) in EndeavourOS
local/nvidia-installer-common 1.3-1
    Common scripts for nvidia-installer-dkms and nvidia-inst
local/nvidia-installer-db 2.5.8-1
    Database for the script to setup nvidia drivers in EndeavourOS
local/nvidia-installer-dkms 3.5-1
    Script to setup nvidia drivers (dkms version) in EndeavourOS
local/nvidia-settings 515.65.01-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 515.65.01-2
    NVIDIA drivers utilities

If I select to boot with Linux-LTS then all runs fine. Some idea?

Can you share the output of sudo dkms autoinstall -k 5.19.6-zen1-1-zen

Problem solved:

  1. Update OS
  2. Uninstall linux-zen and linux-zen-headers
  3. Boot OS
  4. Install linux-zen and linux-zen-headers
  5. Boot OS with new kernel
  6. Section Graphical Interface should pass now
  7. Edit /etc/mkinitcpio.conf with new values for MODULES
  8. Apply changes, and all should be fine now

Problem was solved, thanks anyways. I posted my experience.

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