You are not logged in.

#1 2024-06-19 12:17:57

benm
Member
Registered: 2021-03-28
Posts: 90

[SOLVED]Kernel loads nouveau drivers with proprietary nvidia installed

Problem: My system continually loads nouveau despite having nvidia installed.

lspci -k gives

01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
        Subsystem: NVIDIA Corporation Device 11d7
        Kernel driver in use: nouveau
        Kernel modules: nouveau, nvidia_drm, nvidia

I just completed a hardware upgrade for my system and I followed the wiki page about migration with a few extra steps. There were a lot of hardware changes:
- I migrated from an Intel i5 to a Ryzen 7700x.
- I migrated from a SATA SSD for my root partition to a new NVME SSD for my root.
- I migrated from legacy boot mode to EFI

My GPU stayed the same. In addition, I copied my old home folder, including dotfiles to my new home folder, and I have been selectively copying over contents of /etc/ from old to knew as applicable. For now, I am running X11.

I have a suspicion that this problem has something to do with the way that GRUB is handling the boot configuration. mesa is installed (pulled as a dependency from something else) but it looks like an invasive amount of other things will need uninstalled to remove it if I needed to. I was under the understanding that installing nvidia and nvidia-utils would blacklist nouveau. Additionally, I have tried installing nvidia-dkms and it was the same effect so I went back to nvidia.

Additionally, note the following error when running sudo pacman -S nvidia nvidia-utils to reinstall drivers.

==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-linux'
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-linux'
error: command failed to execute correctly

I am looking into why. I may have incorrectly set up the EFI

Edit:

The root problem was that I had not properly configured my fstab to mount my EFI partition to /boot and therefore when pacman tried to update kernel related things it would fail because it could not find the image in /boot. By fixing my fstab, this problem went away. I reinstalled nvidia and nvidia-utils and this time the process was successful. Rebooting again and I was using nvidia drivers.

Last edited by benm (2024-06-19 12:39:06)

Offline

#2 2024-06-19 13:56:33

cryptearth
Member
Registered: 2024-02-03
Posts: 2,116

Re: [SOLVED]Kernel loads nouveau drivers with proprietary nvidia installed

thanks for replying with the actual issue

Offline

Board footer

Powered by FluxBB