Skip to main content
Topic: Disable nvidia drivers & use nouveau drivers (Read 788 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Disable nvidia drivers & use nouveau drivers

In order to use kde-plasma-wayland i must use opensource nouveau-drivers.
But my system loads nvidia drivers on boot.
How can i disable nvidia & force nouveau.
Which configurations to perform.
Which software to install & remove ?

Re: Disable nvidia drivers & use nouveau drivers

Reply #1
Perhaps check any .conf files (some might be unrelated) under /etc/X11 and other places that an xorg.conf file might reside - "man xorg.conf" might help too for more possible locations. You can use "pacman -Qo </path/filename>" to check if a package owns them too.

Re: Disable nvidia drivers & use nouveau drivers

Reply #2
Launching sway i get:
"Proprietary nvidia drivers are not supported. Use nouveau"


Re: Disable nvidia drivers & use nouveau drivers

Reply #4
The following worked :
/etc/modprobe.d/blacklist.conf
blacklist nvidia_drm
blacklist nvidia_modeset
blacklist nvidia_uvm
blacklist nvidia

mkinitcpio -p linux
reboot
modprobe nouveau
dbus-run-session  -- startplasma-wayland

How can i automatic "modprobe nouveau" on boot ?

Re: Disable nvidia drivers & use nouveau drivers

Reply #5
How can i automatic "modprobe nouveau" on boot ?
create the file
/etc/modules-load.d/nouveau.conf
Put
Quote
nouveau
in it.

At least that works with init openrc. I'm assuming it's the same with the others ?

Re: Disable nvidia drivers & use nouveau drivers

Reply #6
This did not worked. The module did not get loaded.
lsmod | grep nouveau show nothing.
As root modprobe nouveau works however, the font of the terminal changes.
Weird.

Re: Disable nvidia drivers & use nouveau drivers

Reply #7
This did not worked. The module did not get loaded.
lsmod | grep nouveau show nothing.
As root modprobe nouveau works however, the font of the terminal changes.
Weird.
Put it in the MODULES array of /etc/mkinitcpio.conf?
https://wiki.archlinux.org/title/Nouveau#Enable_early_KMS

Re: Disable nvidia drivers & use nouveau drivers

Reply #8
This did not worked. The module did not get loaded.
lsmod | grep nouveau show nothing.
As root modprobe nouveau works however, the font of the terminal changes.
Weird.

Try adding in /usr/lib/modules-load.d 

And then:

sudo mkinitcpio -P