Ask Your Question
3

How to disable Nvidia in dual-graphics systems

asked 2016-11-11 17:48:54 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

So you have a dual-graphics laptop, but you almost wished you didn't have the Nvidia bit. Yes, you should file bug reports agains the "nouveau" driver, but you don't want to deal with it anymore. How would you disable it if you wanted ? Simple!

Just in case you don't have it already, install 'nano' the console text editor:

sudo dnf install nano

nano is pretty easy to use, as the shortcuts to use are shown at the bottom of the screen.

Let's prevent the kernel from loading nouveau when it probes your hardware on boot:

sudo nano /etc/modprobe.d/nouveau_blacklist.conf

This will open a new file with the name nouveau_blacklist.conf. Just put this text in it:

blacklist nouveau

And save and exit (press CTRL+X and type Y when prompted to save).

We'll also have to edit grub's (boot loader) configuration:

sudo nano /etc/default/grub

At the line that starts with GRUB_CMDLINE_LINUX="... type at the end of it, before the end quotations ":

rd.driver.blacklist=nouveau

Then save and exit

Now apply grub's configuration. If you have a system _without_ UEFI, do:

sudo grub-mkconfig -o /etc/grub2.cfg

If you have a system _with_ UEFI, do:

sudo grub2-mkconfig -o /etc/grub2-efi.cfg

Now the final test, reboot. In your new boot type:

lsmod | grep nouveau

if it comes empty, nouveau is no longer loaded in this and future boots of your system.

edit retag flag offensive close merge delete

Comments

1

Hi Guys, this is a wiki "question", feel free to improve it. I though of adding this quick tutorial of how to permanently disable nouveau, since I went through it myself and found another user needing it.

HoboPrimate gravatar imageHoboPrimate ( 2016-11-11 18:14:11 -0500 )edit

Starting with Fedora 26 I don't need this guide anymore, as nouveau isn't messing with my laptop suspension anymore :) . And in Gnome 3.24 (wayland) all aplications now have an extra option to launch them using "the dedicated graphic card"(nouveau), which is nice.

HoboPrimate gravatar imageHoboPrimate ( 2017-08-18 13:54:41 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2017-07-07 18:19:21 -0500

Hey, I know I'm late on the chain, but just to confirm, this completely turns off the GPU, as in disabled? Thanks for the great guide; it's super easy to follow.

edit flag offensive delete link more

Comments

It removes the open source driver for the nvidia gpu, efectively disabing it, yes. Although it doesn't stop you from enabling it with the proprietary driver of course, just not with nouveau.

HoboPrimate gravatar imageHoboPrimate ( 2017-08-18 13:52:12 -0500 )edit
0

answered 2016-12-22 05:39:15 -0500

Work with fedora 25 ! Thanks a lot!

Why this is not the default ?

edit flag offensive delete link more
0

answered 2017-05-12 20:16:01 -0500

In F26 when reboot there are nouveau in lsmod.

edit flag offensive delete link more

Comments

I have not tested this guide in Fedora 26, as my nouveau is working correctly now. But I don't see why it wouldn't still work though.

HoboPrimate gravatar imageHoboPrimate ( 2017-08-18 13:57:43 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-11-11 17:48:54 -0500

Seen: 3,403 times

Last updated: Nov 11 '16