You are not logged in.

#1 2024-03-16 20:23:21

devosalain
Member
Registered: 2024-03-16
Posts: 6

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 ?

Offline

#2 2024-03-16 20:26:28

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: Disable nvidia drivers & use nouveau drivers

No, unless you're on old drivers, in order to use plasma on wayland, you need to enable DRM KMS. See the nvidia wiki page.

Offline

#3 2024-03-16 20:38:15

devosalain
Member
Registered: 2024-03-16
Posts: 6

Re: Disable nvidia drivers & use nouveau drivers

My video card does not allow proprietary drivers for wayland.

Offline

#4 2024-03-16 20:47:49

loqs
Member
Registered: 2014-03-06
Posts: 18,872

Re: Disable nvidia drivers & use nouveau drivers

devosalain wrote:

My video card does not allow proprietary drivers for wayland.

Please post the output of `lspci -nnk` for the video card.  What related packages are currently installed?  What configuration have you performed?

Offline

#5 2024-03-16 20:51:23

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: Disable nvidia drivers & use nouveau drivers

That's not up to your card, that's up to the drivers.

Offline

#6 2024-03-16 21:03:11

devosalain
Member
Registered: 2024-03-16
Posts: 6

Re: Disable nvidia drivers & use nouveau drivers

lspci -nnk | egrep -i "nouveau|nvidia|drm|vga"
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106 [GeForce RTX 2060 12GB] [10de:1f03] (rev a1)
    Kernel driver in use: nvidia
    Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation TU106 High Definition Audio Controller [10de:10f9] (rev a1)

Installed:
libdrm 2.4.120-1
nvidia 550.54.14-5
nvidia-utils 550.54.14-4
xf86-video-nouveau 1.0.17-2

Last edited by devosalain (2024-03-16 21:14:28)

Offline

#7 2024-03-16 21:18:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,315

Re: Disable nvidia drivers & use nouveau drivers

The 550xx drivers support wayland / GBM perfectly fine and you can also opt for https://archlinux.org/packages/extra/x8 … idia-open/

Offline

#8 2024-03-16 23:20:32

devosalain
Member
Registered: 2024-03-16
Posts: 6

Re: Disable nvidia drivers & use nouveau drivers

Launching sway i get.
Proprietary nvidia drivers are not supported. Use nouveau.

Offline

#9 2024-03-16 23:23:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,315

Re: Disable nvidia drivers & use nouveau drivers

That has nothing to do w/ wayland or nvidia, that's just the sway devs venting a bit wink
https://wiki.archlinux.org/title/Sway#Installation

Offline

#10 2024-03-17 17:40:18

devosalain
Member
Registered: 2024-03-16
Posts: 6

Re: Disable nvidia drivers & use nouveau drivers

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 ?

Last edited by devosalain (2024-03-17 17:41:00)

Offline

#11 2024-03-17 17:52:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,315

Re: Disable nvidia drivers & use nouveau drivers

Just uninstalling the nvidia packages would be too simple, would it?

But I'll say it again: the nvidia driver can run wayland perfectly fine.

Offline

#12 2024-03-17 18:03:50

loqs
Member
Registered: 2014-03-06
Posts: 18,872

Re: Disable nvidia drivers & use nouveau drivers

Why did you install any of the following if you intended to run kde-plasma-wayland on nouveau?

nvidia 550.54.14-5
nvidia-utils 550.54.14-4
xf86-video-nouveau 1.0.17-2

Offline

#13 2024-03-17 18:57:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: Disable nvidia drivers & use nouveau drivers

devosalain wrote:

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 ?

You don't do any of that. You go back and read post #2.

You got an idea stuck in your head that's completely and totally wrong. Stop, disregard what you think you know, and listen to what people are telling you.

Last edited by Scimmia (2024-03-17 18:58:51)

Offline

#14 2024-03-17 23:20:52

devosalain
Member
Registered: 2024-03-16
Posts: 6

Re: Disable nvidia drivers & use nouveau drivers

Main question how to automatically load nouveau driver. My thing works. Nothing wrong with nouveau.
Currently "modprobe nouveau" as root.

Offline

#15 2024-03-17 23:26:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,315

Re: Disable nvidia drivers & use nouveau drivers

Install Ubuntu.

Offline

#16 2024-03-17 23:32:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: Disable nvidia drivers & use nouveau drivers

SMH. You can't help some people.

Offline

#17 2024-03-17 23:58:57

loqs
Member
Registered: 2014-03-06
Posts: 18,872

Re: Disable nvidia drivers & use nouveau drivers

devosalain wrote:

Main question how to automatically load nouveau driver.

It would be automatically on supported hardware before you installed the nvidia packages.  Why would you install the nvidia kernel module when you stated goal is already achieved before you installed it?  Life_is_a_two-way_street.

Offline

Board footer

Powered by FluxBB