Sample Header Ad - 728x90

What's the point of removing KMS with nvidia drivers? It seems to only cause errors

0 votes
0 answers
134 views
> Remove kms from the HOOKS array in /etc/mkinitcpio.conf and [regenerate the initramfs](https://wiki.archlinux.org/title/Regenerate_the_initramfs) . This will prevent the initramfs from containing the nouveau module making sure the kernel cannot load it during early boot. The [nvidia-utils](https://archlinux.org/packages/?name=nvidia-utils) package contains a file which blacklists the nouveau module once you reboot. The above quote from the Arch Linux wiki page for [NVIDIA](https://wiki.archlinux.org/title/NVIDIA) says to remove the kms hook after installing nvidia drivers so that nouveau can't conflict with them (or at least I think that's what it means!). However upon removing it, I experience problems with my vconsole tty on boot, including the font not being set correctly and the login prompt being (visually) corrupted by a kernel error msg:
[[bottom 20% of an ascii art defined in /etc/issue that had displayed fully when kms wasn't deleted]]
emmy login: [    5.559980] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
Then I saw that even with the kms hook added lsmod | grep nouveau shows nouveau isn't loaded. So what's the point of removing the kms hook when it seems that all it does is cause errors from weird loading orders of modules? And what does the hook actually do? Here is my journalctl for both cases (I am using a intel i915 integrated graphics card + an nvidia GTX 1650 card): KMS removed: journalctl -b | grep -E "nvidia|drm|fbcon|i915"
May 04 23:39:11 emmy kernel: Command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=UUID=c0f85f88-6e8a-4002-8367-52c4141be5c6 rw nvidia_drm.modeset=1
May 04 23:39:11 emmy kernel: The simpledrm driver will not be probed
May 04 23:39:11 emmy kernel: Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=UUID=c0f85f88-6e8a-4002-8367-52c4141be5c6 rw nvidia_drm.modeset=1
May 04 23:39:11 emmy kernel: ACPI: bus type drm_connector registered
May 04 23:39:11 emmy kernel: fbcon: Deferring console take-over
May 04 23:39:11 emmy kernel: fbcon: Taking over console
May 04 23:39:11 emmy systemd: Starting Load Kernel Module drm...
May 04 23:39:11 emmy systemd: modprobe@drm.service: Deactivated successfully.
May 04 23:39:11 emmy systemd: Finished Load Kernel Module drm.
May 04 23:39:11 emmy kernel: nvidia: loading out-of-tree module taints kernel.
May 04 23:39:11 emmy kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
May 04 23:39:11 emmy kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 238
May 04 23:39:11 emmy kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
May 04 23:39:11 emmy systemd-modules-load: Inserted module 'nvidia_uvm'
May 04 23:39:12 emmy kernel: nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for x86_64  570.144  Release Build  (archlinux-builder@echo archlinux)
May 04 23:39:12 emmy kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
May 04 23:39:13 emmy kernel: i915 0000:00:02.0: [drm] Found coffeelake (device ID 3e9b) integrated display version 9.00 stepping N/A
May 04 23:39:15 emmy kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
May 04 23:39:15 emmy kernel: i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
May 04 23:39:15 emmy kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
May 04 23:39:15 emmy kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
May 04 23:39:15 emmy kernel: [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 0
May 04 23:39:15 emmy kernel: nvidia 0000:01:00.0: [drm] No compatible format found
May 04 23:39:15 emmy kernel: nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes
May 04 23:39:15 emmy kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
May 04 23:39:15 emmy kernel: [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
May 04 23:39:15 emmy kernel: fbcon: i915drmfb (fb0) is primary device
May 04 23:39:15 emmy kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
May 04 23:39:15 emmy kernel: i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
KMS not removed (login screen and ascii art works fine):
May 04 23:47:03 emmy kernel: Command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=UUID=c0f85f88-6e8a-4002-8367-52c4141be5c6 rw nvidia_drm.modeset=1
May 04 23:47:03 emmy kernel: The simpledrm driver will not be probed
May 04 23:47:03 emmy kernel: Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=UUID=c0f85f88-6e8a-4002-8367-52c4141be5c6 rw nvidia_drm.modeset=1
May 04 23:47:04 emmy kernel: ACPI: bus type drm_connector registered
May 04 23:47:04 emmy kernel: fbcon: Deferring console take-over
May 04 23:47:04 emmy kernel: fbcon: Taking over console
May 04 23:47:04 emmy kernel: i915 0000:00:02.0: [drm] Found coffeelake (device ID 3e9b) integrated display version 9.00 stepping N/A
May 04 23:47:04 emmy kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
May 04 23:47:04 emmy kernel: i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
May 04 23:47:04 emmy kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
May 04 23:47:04 emmy kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
May 04 23:47:04 emmy kernel: [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 0
May 04 23:47:04 emmy kernel: fbcon: i915drmfb (fb0) is primary device
May 04 23:47:04 emmy kernel: i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
May 04 23:47:04 emmy systemd: Starting Load Kernel Module drm...
May 04 23:47:04 emmy systemd: modprobe@drm.service: Deactivated successfully.
May 04 23:47:04 emmy systemd: Finished Load Kernel Module drm.
May 04 23:47:04 emmy kernel: nvidia: loading out-of-tree module taints kernel.
May 04 23:47:04 emmy kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
May 04 23:47:04 emmy kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 236
May 04 23:47:04 emmy kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
May 04 23:47:04 emmy systemd-modules-load: Inserted module 'nvidia_uvm'
May 04 23:47:04 emmy kernel: nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for x86_64  570.144  Release Build  (archlinux-builder@echo archlinux)
May 04 23:47:04 emmy kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
May 04 23:47:04 emmy kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
May 04 23:47:05 emmy kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
May 04 23:47:06 emmy kernel: [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 1
May 04 23:47:06 emmy kernel: nvidia 0000:01:00.0: [drm] No compatible format found
May 04 23:47:06 emmy kernel: nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes
I don't see what the difference is because both end up with my i915 card using the framebuffer.
Asked by SmolScorbunny (1 rep)
May 4, 2025, 11:08 PM
Last activity: May 5, 2025, 08:24 AM