No KDE login when using 6,5.3 kernel

Hi -
I am trying to solve another problem (sound) and it was suggested that I try to use the 6.1 or 6.5 kernel. I have 6.1.53-1 kernel installed and it boots fine (sound aside). The 6.4.16-1 kernel also works. I installed the 6.5.3-1 kernel using the “Kernel” tool in Manjaro. When I try to boot to the 6.5.3 kernel I see the three loading dots then a blank screen. I do not get the KDE login screen. I can Alt-F2 or F3 to a different terminal and log in the text based terminal, so the system is running, but no gui login. Any idea why 6.5.3 would react differently? I am using a Ryzen 5600x CPU and Nvidia RTX 2080 Super Graphics card. Thanks, GS

provide full system info:
inxi -zav7
then boot with the 6.5, then boot with a functioning kernel and provide logs from the failed boot:
journalctl -b-1 -p4 --no-pager

and does the sound works with the 6.4?

Did you try removing quiet boot or at least pressing ESC during boot to see some info?
Did you take a look at the journal after switching to a different tty?

Here are the results of inxi -zav7

inxi -zav7                                                                                     ✔ 
System:
  Kernel: 6.4.16-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.4-x86_64
    root=UUID=33ff6c12-5319-4bb2-9bc0-c278865d1986 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME B450M-A II v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 4204
    date: 08/14/2023
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 32 GiB available: 31.25 GiB used: 2.65 GiB (8.5%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 2 microcode: 0xA20120A
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 2338 high: 3445 min/max: 2200/4650 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2200 2: 2200
    3: 2200 4: 2200 5: 2589 6: 2232 7: 3445 8: 2200 9: 2200 10: 2200 11: 2200
    12: 2200 bogomips: 88671
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni
    popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep
    sha_ni skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3
    stibp succor svm svm_lock syscall tce topoext tsc tsc_scale umip
    v_spec_ctrl v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq
    wbnoinvd wdt x2apic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  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: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2080 SUPER] vendor: eVga.com.
    driver: nvidia v: 525.125.06 alternate: nouveau,nvidia_drm non-free: 535.xx+
    status: current (as of 2023-08) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 08:00.0 chip-ID: 10de:1e81 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.0
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 93 s-size: 524x312mm (20.63x12.28")
    s-diag: 610mm (24.01")
  Monitor-1: DP-4 res: 1920x1080 hz: 60 dpi: 82
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.125.06 renderer: NVIDIA GeForce RTX 2080
    SUPER/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: NVIDIA TU104 HD Audio vendor: eVga.com. driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 08:00.1
    chip-ID: 10de:10f8 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.4.16-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.80 status: active with: wireplumber
    status: active tools: pw-cat,pw-cli,wpctl
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pavucontrol
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 07:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.96 TiB used: 208.37 GiB (10.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Corsair model: CMFSSD-128GBG2D
    size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 8C1Q scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Leven model: JAJS600M1TB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 8A0 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Toshiba model: DT01ACA100
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: A750 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 953.57 GiB size: 937.53 GiB (98.32%)
    used: 208.34 GiB (22.2%) fs: ext4 dev: /dev/sdb2 maj-min: 8:18 label: N/A
    uuid: 33ff6c12-5319-4bb2-9bc0-c278865d1986
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 25.7 MiB (8.6%) fs: vfat dev: /dev/sdb1 maj-min: 8:17 label: N/A
    uuid: 18B2-F251
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 16 MiB fs: ext4 label: N/A
    uuid: 1aec6445-8b14-4fbd-a6e3-4a41ece6de3a
  ID-2: /dev/sda2 maj-min: 8:2 size: 119.23 GiB fs: ntfs label: N/A
    uuid: 364A10AE4A106D3D
  ID-3: /dev/sdc1 maj-min: 8:33 size: 732.42 GiB fs: ntfs label: N/A
    uuid: 5AEC8DF0EC8DC6AB
  ID-4: /dev/sdc2 maj-min: 8:34 size: 189.32 GiB fs: ntfs label: N/A
    uuid: 2463DAED19103F95
  ID-5: /dev/sdc3 maj-min: 8:35 size: 9.77 GiB fs: ntfs
    label: win10Installer uuid: 1E8617F7040D45D1
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 10 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-8:2 info: Logic3 PDP Wired Controller for Xbox Series X - Red
    Camo type: <vendor specific> driver: xpad interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 500mA
    chip-ID: 0e6f:02df class-ID: ff00 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 5-3:2 info: Microsoft Microsoft Nano Transceiver v1.0
    type: keyboard,mouse,HID driver: hid-generic,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 045e:07b1 class-ID: 0300
  Device-2: 5-4:3 info: Razer USA RZ03-0203 Gaming Keyboard [BlackWidow
    Chroma V2] type: keyboard,mouse driver: razerkbd,usbhid interfaces: 3
    rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 500mA
    chip-ID: 1532:0221 class-ID: 0300
  Hub-6: 6-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 38.1 C mobo: N/A gpu: nvidia temp: 27 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 37%
Info:
  Processes: 306 Uptime: 4m wakeups: 0 Init: systemd v: 254 default: graphical
  tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6 Packages: 1430
  pm: pacman pkgs: 1414 libs: 452 tools: pamac pm: flatpak pkgs: 16 Shell: Zsh
  v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.29

The rest to follow. Thanks.
GS

Maybe there is a problem with sddm?

ls /etc/sddm.conf.d
systemctl status sddm

Maybe Early KMS and DRM would help?

All of the following will assume there are no other options existing

kms:
/etc/mkinitcpio.conf.d/kms.conf

MODULES=( nvidia nvidia_modeset nvidia_uvm nvidia_drm )

drm:
Add to boot options (/etc/default/grub)

GRUB_CMDLINE_LINUX="nvidia_drm.modeset=1"

Then run

sudo mkinitcpio -P
sudo update-grub

Here are the results of journalctl -b-1 -p4 --no-pager after first booting the 6.5.3 kernel and them booting the 6.1.53 kernel:

journalctl -b-1 -p4 --no-pager                                                                 ✔ 
Sep 25 16:32:39 gamer kernel: Speculative Return Stack Overflow: IBPB-extending microcode not applied!
Sep 25 16:32:39 gamer kernel: Speculative Return Stack Overflow: WARNING: See https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for mitigation options.
Sep 25 16:32:38 gamer systemd-vconsole-setup[315]: KD_FONT_OP_GET failed while trying to get the font metadata: Invalid argument
Sep 25 16:32:38 gamer systemd-vconsole-setup[315]: Fonts will not be copied to remaining consoles
Sep 25 16:32:40 gamer kernel: razerkbd: loading out-of-tree module taints kernel.
Sep 25 16:32:39 gamer systemd-vconsole-setup[432]: KD_FONT_OP_GET failed while trying to get the font metadata: Invalid argument
Sep 25 16:32:39 gamer systemd-vconsole-setup[432]: Fonts will not be copied to remaining consoles
Sep 25 16:32:40 gamer kernel: kvm_amd: SVM disabled (by BIOS) in MSR_VM_CR on CPU 0
Sep 25 16:32:40 gamer (udev-worker)[386]: event7: Failed to call EVIOCSKEYCODE with scan code 0x7c, and key code 190: Invalid argument
Sep 25 16:32:40 gamer kernel: nvidia-gpu 0000:08:00.3: i2c timeout error e0000000
Sep 25 16:32:40 gamer kernel: ucsi_ccg 3-0008: i2c_transfer failed -110
Sep 25 16:32:40 gamer kernel: ucsi_ccg 3-0008: ucsi_ccg_init failed - -110
Sep 25 16:32:40 gamer kernel: ucsi_ccg: probe of 3-0008 failed with error -110
Sep 25 16:32:44 gamer sddm[598]: Failed to read display number from pipe
Sep 25 16:32:44 gamer sddm[598]: Attempt 1 starting the Display server on vt 2 failed
Sep 25 16:32:46 gamer sddm[598]: Failed to read display number from pipe
Sep 25 16:32:46 gamer sddm[598]: Attempt 2 starting the Display server on vt 2 failed
Sep 25 16:32:48 gamer sddm[598]: Failed to read display number from pipe
Sep 25 16:32:48 gamer sddm[598]: Attempt 3 starting the Display server on vt 2 failed
Sep 25 16:32:48 gamer sddm[598]: Could not start Display server on vt 2
Sep 25 16:33:17 gamer kernel: pulseaudio[638]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
Sep 25 16:33:18 gamer pulseaudio[638]: Failed to open module module-esound-protocol-tcp.so: module-esound-protocol-tcp.so: cannot open shared object file: No such file or directory
Sep 25 16:33:18 gamer pulseaudio[638]: Failed to open module "module-esound-protocol-tcp".
Sep 25 16:33:18 gamer pulseaudio[638]: pa_module_load() failed
Sep 25 16:33:18 gamer pulseaudio[638]: Failed to open module module-zeroconf-discover.so: module-zeroconf-discover.so: cannot open shared object file: No such file or directory
Sep 25 16:33:18 gamer pulseaudio[638]: Failed to open module "module-zeroconf-discover".
Sep 25 16:33:18 gamer pulseaudio[638]: pa_module_load() failed
Sep 25 16:33:18 gamer pulseaudio[638]: stat('/etc/pulse/default.pa.d'): No such file or directory
Sep 25 16:33:43 gamer pulseaudio[638]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Sep 25 16:35:03 gamer sddm[598]: Signal received: SIGTERM
Sep 25 16:35:05 gamer kernel: watchdog: watchdog0: watchdog did not stop!

Also, no sound with the 6,1 or 6,4 kernel - I was trying to load 6.5 to see if it would fix the sound per a suggestion on the Sound forum. That is a different issue and started after I installed Godot.

Thanks,
GS

Yep the journal shows the same errors I posted in the journal output.

When not in quiet mode the last boot message is
“Starting Terminate Plymouth Boot Screen…”

There was no kms.conf file, so I made one, however when I ran “sudo mkinitcpio - P”. I saw multiple errors indicating the modules listed are not found.

It might be helpful to see … but if you mean on the ‘fallback’ image creation that is normal.
ex:

==> Building image from preset: /etc/mkinitcpio.d/linux65.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.5-x86_64 -g /boot/initramfs-6.5-x86_64.img --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'mine.conf'
==> Starting build: '6.5.5-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [autodetect]
  -> Running build hook: [systemd]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating lzop-compressed initcpio image: '/boot/initramfs-6.5-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux65.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.5-x86_64 -g /boot/initramfs-6.5-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'mine.conf'
==> Starting build: '6.5.5-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [systemd]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [filesystems]

some explanation: the fallback image is looking for extra hardware modules that you might not even have. You can also install the missing firmware packages. But again - this should not usually be required. mkinitcpio - ArchWiki

I tried directing the output of sudo mkinitcpio -P to a text file - but the output to the file seems to have skipped all lines that included an ERROR - which I think is not helpful because there was an error on the "nvidia, nvidia_modeset, nvidia_uvm, and nvidia_drm, modules, and errors saying there were missing modules for each kernel, here is the output it. I don’t think it is very helpful because it omitted all the errors. Is there a better way to capture/log mkinitcpio output?

cat mkinitcpioOutput.txt                                                                                                                                                     ✔ 
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64.img --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.1.53-1-MANJARO'
  -> 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: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.1-x86_64.img'
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.1.53-1-MANJARO'
  -> 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: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.1-x86_64-fallback.img'
==> Building image from preset: /etc/mkinitcpio.d/linux64.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.4-x86_64 -g /boot/initramfs-6.4-x86_64.img --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.4.16-1-MANJARO'
  -> 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: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.4-x86_64.img'
==> Building image from preset: /etc/mkinitcpio.d/linux64.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.4-x86_64 -g /boot/initramfs-6.4-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.4.16-1-MANJARO'
  -> 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: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.4-x86_64-fallback.img'
==> Building image from preset: /etc/mkinitcpio.d/linux65.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.5-x86_64 -g /boot/initramfs-6.5-x86_64.img --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.5.3-1-MANJARO'
  -> 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: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.5-x86_64.img'
==> Building image from preset: /etc/mkinitcpio.d/linux65.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.5-x86_64 -g /boot/initramfs-6.5-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.5.3-1-MANJARO'
  -> 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: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.5-x86_64-fallback.img'
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.6.0-1-MANJARO'
  -> 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: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.6.0-1-MANJARO'
  -> 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: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.6-x86_64-fallback.img'

Regards,
GS

Er. Yeah, I dont see any of the errors.
I just copied it out of konsole.

One thing I notice is your statement uses commas … note the MODULES line should be in parentheses and separated by spaces.

I also notice your hooks seem outdated.

Namely it is missing kms which is included by default now and needed for … kernel mode setting.
(things like base and udev not being needed if using systemd hook is probably a wider manjaro argument that needs to be made at some point … but I digress)

So you will want to add kms to your hooks … either in mkinitcpio.conf itself, or a drop-in file like we did already.

… this may also indicate some pacnews are around?
You can check with

pacdiff -o

Right, there are no commas in the kms.conf file - I was just listing - here is the actual file contents:

MODULES=( nvidia nvidia_modeset nvidia_uvm nvidia_drm )

I am not sure regarding kms - the base install I am using is Manjaro 23, which I don’t think is that old, but is this something I should add? I don’t know what it is.

Here is the output of pacdiff -o (I am not sure what this is telling me - I have just been running updates when the package manager tells me it is time):

pacdiff -o                                           ✔  6m 13s  
/etc/shells.pacnew
/etc/pacman.conf.pacnew
/etc/pam.d/sddm.pacnew

Thanks.

Yes, it should be added after modconf. You may reference this for what they all do:
https://wiki.archlinux.org/title/Mkinitcpio#Common_hooks
kms is for early kernel mode setting:
https://wiki.archlinux.org/title/Kernel_mode_setting#Early_KMS_start

And whenever you are done with these thing you should run again:

sudo mkinitcpio -P
sudo update-grub

(and we are still interested in whatever errors if they still occur)

This is just a guess, but what if you redirect stderr to file descriptor 1?

sudo mkinitcpio -P > mkinitcpioOutput.txt 2>&1

I am outside of my realm of understanding but I am capable of following directions. Here is what I have done.

Read the links you sent,
Installed the kms-core package
checked the /usr/lib/initcpio/hooks folder (looking for something like kms) - it is not there. Here is the contents of that directory:

    /usr/lib/initcpio/hooks  pwd                                                            ✔ 
/usr/lib/initcpio/hooks
    /usr/lib/initcpio/hooks  ls -al                                                         ✔ 
total 88
drwxr-xr-x 2 root root 4096 Sep 19 00:25 .
drwxr-xr-x 6 root root 4096 Sep 19 00:25 ..
-rw-r--r-- 1 root root   85 Sep 14 00:18 btrfs
-rw-r--r-- 1 root root  478 Sep  7 22:26 consolefont
-rw-r--r-- 1 root root  314 Oct 11  2022 dmraid
-rw-r--r-- 1 root root 6351 May 18 12:43 encrypt
-rw-r--r-- 1 root root  683 Jun 15 04:12 grub-btrfs-overlayfs
-rw-r--r-- 1 root root   55 Apr 11  2022 haveged
-rw-r--r-- 1 root root  483 Sep  7 22:26 keymap
-rw-r--r-- 1 root root  335 Sep  7 22:26 memdisk
-rw-r--r-- 1 root root 1554 Sep 12 10:24 mhwd-fb
-rw-r--r-- 1 root root  802 Dec 26  2019 openswap
-rw-r--r-- 1 root root  697 May 25 17:25 plymouth
-rw-r--r-- 1 root root 5546 May 25 17:25 plymouth-encrypt
-rw-r--r-- 1 root root 1402 Sep  7 22:26 resume
-rw-r--r-- 1 root root  167 Sep  7 22:26 shutdown
-rw-r--r-- 1 root root  378 Sep  7 22:26 sleep
-rw-r--r-- 1 root root  669 Sep  9 07:35 udev
-rw-r--r-- 1 root root  860 Sep  7 22:26 usr
-rw-r--r-- 1 root root   40 May 10  2022 v86d

checked the package manager to see if there is an mkinitcpio package I missed, and there is a package called “mkinitcpio-kms” that is not installed, so I attempted to install it. I recieved the following error:

conflicting files:
- mkinitcpio-kms: /usr/lib/initcpio/install/kms already exists in filesystem (owned by mkinitcpio) 

So, I am not sure what that means.

If we can crack this then I can try sudo mkinitcpio -P again

Thanks.

Good call adding 2>&1 to the command did capture the warnings and errors , so here is the output from: sudo mkinitcpio -P

    ~  cat mkinitcpioOutput.txt                                                                                                                                                     ✔ 
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64.img --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.1.53-1-MANJARO'
  -> 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]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia_modset'
==> ERROR: file not found: '/lib/modules/6.1.53-1-MANJARO/kernel/drivers/video/nvidia.ko'
==> ERROR: file not found: '/lib/modules/6.1.53-1-MANJARO/kernel/drivers/video/nvidia-uvm.ko'
==> ERROR: file not found: '/lib/modules/6.1.53-1-MANJARO/kernel/drivers/video/nvidia-drm.ko'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.1-x86_64.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.1.53-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia_modset'
==> ERROR: file not found: '/lib/modules/6.1.53-1-MANJARO/kernel/drivers/video/nvidia.ko'
==> ERROR: file not found: '/lib/modules/6.1.53-1-MANJARO/kernel/drivers/video/nvidia-uvm.ko'
==> ERROR: file not found: '/lib/modules/6.1.53-1-MANJARO/kernel/drivers/video/nvidia-drm.ko'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.1-x86_64-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux64.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.4-x86_64 -g /boot/initramfs-6.4-x86_64.img --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.4.16-1-MANJARO'
  -> 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]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia_modset'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.4-x86_64.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux64.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.4-x86_64 -g /boot/initramfs-6.4-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.4.16-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia_modset'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.4-x86_64-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux65.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.5-x86_64 -g /boot/initramfs-6.5-x86_64.img --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.5.3-1-MANJARO'
  -> 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]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia_modset'
==> ERROR: file not found: '/lib/modules/6.5.3-1-MANJARO/updates/dkms/nvidia.ko'
==> ERROR: file not found: '/lib/modules/6.5.3-1-MANJARO/updates/dkms/nvidia-uvm.ko'
==> ERROR: file not found: '/lib/modules/6.5.3-1-MANJARO/updates/dkms/nvidia-drm.ko'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.5-x86_64.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux65.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.5-x86_64 -g /boot/initramfs-6.5-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.5.3-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia_modset'
==> ERROR: file not found: '/lib/modules/6.5.3-1-MANJARO/updates/dkms/nvidia.ko'
==> ERROR: file not found: '/lib/modules/6.5.3-1-MANJARO/updates/dkms/nvidia-uvm.ko'
==> ERROR: file not found: '/lib/modules/6.5.3-1-MANJARO/updates/dkms/nvidia-drm.ko'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.5-x86_64-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.6.0-1-MANJARO'
  -> 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]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Using drop-in configuration file: 'kms.conf'
==> Starting build: '6.6.0-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.6-x86_64-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
    ~                                                                             

This is an unrelated AUR package for “Kurento media server”, whatever that is.

This should not be required … and the conflicting files double-verifies that I suppose.

For kernel mode setting kms just needs to be added to HOOKS, for example mine is:

HOOKS=(autodetect systemd modconf kms block keyboard keymap filesystems)

(in either /etc/mkinitcpio.conf or in a drop-in file like /etc/mkinitcpio.conf.d/kms.conf)

This is maybe not required … but if you want the package for it then you can install upd72020x-fw from the AUR.

This is because you have the consolefont hook with no font configured. To me that means it shouldnt be there and can be removed … but its up to you.

This is a typo I guess - should be modeset.

These are also typos. Should be underscores _ not -.

And of course we want to re-run the mkinit and update-grub commands after edits.

This one is odd though.
Can you return:

mhwd -l -li

you are running out of date nvidia drivers…
did you blacklists nvidia from updating?
or did you installed nvidia from third party sites?

Installed the Nvidia drivers from Nvidia, The latest on their site listed for my card was 535 which would not load the KDE login screen with any kernel (released in September) I rolled back to 525 and can get the KDE login screen with the 6.1 and 6.4 kernel, but not with 6.5 or 6.6. I thin the latest in the package tool is 525, which is what I should have installed.

Thats not how to do it. It could definitely cause problems.
Please remove your manual installation and use mhwd …

mhwd -l -li

will show us what is detected and available for your hardware.

1 Like