Artix Linux Forum

Artix Linux => System => Topic started by: devosalain on 16 March 2024, 21:04:11

Title: Disable nvidia drivers & use nouveau drivers
Post by: devosalain on 16 March 2024, 21:04:11
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 ?
Title: Re: Disable nvidia drivers & use nouveau drivers
Post by: ####### on 16 March 2024, 22:15:59
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.
Title: Re: Disable nvidia drivers & use nouveau drivers
Post by: devosalain on 17 March 2024, 00:19:42
Launching sway i get:
"Proprietary nvidia drivers are not supported. Use nouveau"
Title: Re: Disable nvidia drivers & use nouveau drivers
Post by: gripped on 17 March 2024, 01:15:37
https://wiki.archlinux.org/title/Nouveau

And I'm pretty sure you can use the the proprietary drivers with sway ? Or could at least.
One quick web search found this
https://github.com/tyqualters/sway-nvidia-guide

Have you researched this yourself at all ?
Title: Re: Disable nvidia drivers & use nouveau drivers
Post by: devosalain on 17 March 2024, 18:41:24
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 ?
Title: Re: Disable nvidia drivers & use nouveau drivers
Post by: gripped on 17 March 2024, 19:52:33
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 ?
Title: Re: Disable nvidia drivers & use nouveau drivers
Post by: devosalain on 17 March 2024, 20:53:36
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.
Title: Re: Disable nvidia drivers & use nouveau drivers
Post by: nous on 19 March 2024, 22:17:34
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
Title: Re: Disable nvidia drivers & use nouveau drivers
Post by: TheExplorer on 24 March 2024, 17:21:07
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