You are not logged in.

#1 2016-05-26 18:04:25

KristVB
Member
Registered: 2016-05-24
Posts: 10

blacklisting nouveau driver

Hello,

I've succesfully installed Arch Linux on a Lenovo Laptop. (W541). I've been able to get most stuff working splendidly with the excellent docs in the wiki.

But I have on little problem.

The system is set to boot in graphical mode  and most of the times when I boot sddm hangs. I cannot move a mouse or enter a password. CTRL-ALT-F2 gets me to a terminal ,where I stop sddm, then unload the nouveau driver, then start sddm again and all is well.
So I want to permanently blacklist nouveau.

I tried creating a /etc/modprobe.d/blacklist-nouveau.conf file with "blacklist nouveau" in, but that didn't help, and after a boot this file is gone.
I added rdblacklist=nouveau to the kernel command line. But nouveau is still there after I boot.

So how do I get properly rid of nouveau in arch linux?

Krist

Offline

#2 2016-05-26 20:14:46

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: blacklisting nouveau driver

I may be missing something but why do you have nouveau installed if you don't want to use it?

edit:  If you just want to blacklist the module:  https://wiki.archlinux.org/index.php/ke … acklisting

Last edited by loafer (2016-05-26 20:27:27)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2016-05-26 20:39:19

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: blacklisting nouveau driver

loafer wrote:

I may be missing something but why do you have nouveau installed if you don't want to use it?

$ modinfo nouveau
filename:       /lib/modules/4.5.4-1-ARCH/kernel/drivers/gpu/drm/nouveau/nouveau.ko.gz
....
$ pacman -Qo /lib/modules/4.5.4-1-ARCH/kernel/drivers/gpu/drm/nouveau/nouveau.ko.gz
/usr/lib/modules/4.5.4-1-ARCH/kernel/drivers/gpu/drm/nouveau/nouveau.ko.gz is owned by linux 4.5.4-1

Offline

#4 2016-05-26 22:35:45

i_love_r34
Member
From: Mexico
Registered: 2016-02-14
Posts: 87

Re: blacklisting nouveau driver

Hi!
To correctly put the driver nouveau in the blacklist is necessary to blacklist the following modules:

blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
blacklist nv
blacklist uvcvideo

I recommend to doing a file called blacklist.conf and put here the blacklisted modules. (In /etc/modprobe.d/)

Regards!

Last edited by i_love_r34 (2016-05-26 22:36:07)

Offline

#5 2021-03-20 07:54:22

u666sa
Member
Registered: 2020-08-01
Posts: 69

Re: blacklisting nouveau driver

i_love_r34 wrote:

Hi!
To correctly put the driver nouveau in the blacklist is necessary to blacklist the following modules

WRONG. Blacklist uvcvideo will prevent WebCam from functioning.

Offline

#6 2021-03-20 11:01:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,420

Re: blacklisting nouveau driver

While you are right that this is an overkill of a configuration that will not solve the original issue, the thread is 4 years old and it's unlikely the OP is still searching for help with this after that time.

Closing this old thread.

Offline

Board footer

Powered by FluxBB