Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to disable nvidia module on my dual graphic card system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
davidshen84
Apprentice
Apprentice


Joined: 09 Aug 2008
Posts: 268

PostPosted: Fri May 13, 2016 5:01 pm    Post subject: How to disable nvidia module on my dual graphic card system Reply with quote

Hi,

I have x11-drivers/nvidia-drivers emerged on my system. But I do not want to load the nvidia modules. I added

blacklist nvidia

in /etc/modprobe.d/blacklist.conf

But the nvidia module is still loaded every time. Any idea?


Thanks~
_________________
David Shen


Last edited by davidshen84 on Sat May 14, 2016 12:30 am; edited 1 time in total
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1699
Location: 127.0.0.1

PostPosted: Fri May 13, 2016 5:36 pm    Post subject: Re: How to disable nvidia module on my dual graphic card sys Reply with quote

davidshen84 wrote:

I added

blacklist nvidia

in /etc/modprobe.d/blacklist.

But the nvidia module is still loaded every time. Any idea?

From man modprobe.d :
Quote:

DESCRIPTION
Because the modprobe command can add or remove more than one module, due to modules having dependencies, we need a
method of specifying what options are to be used with those modules. All files underneath the /etc/modprobe.d directory
which end with the .conf extension specify those options as required.
Back to top
View user's profile Send private message
davidshen84
Apprentice
Apprentice


Joined: 09 Aug 2008
Posts: 268

PostPosted: Sat May 14, 2016 12:30 am    Post subject: Reply with quote

Yes, it is "blacklist.conf". Sorry for the confusion.
_________________
David Shen
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1699
Location: 127.0.0.1

PostPosted: Sat May 14, 2016 7:24 am    Post subject: Re: How to disable nvidia module on my dual graphic card sys Reply with quote

davidshen84 wrote:

But the nvidia module is still loaded every time. Any idea?

Is the module loaded when the system starts, or when Xorg starts ?
Try this in /etc/X11/xorg.conf (if you don't have one, create it) :
Code:

Section "Module"
        Disable     "nvidia"
EndSection

This disable the nvidia module autoloading when xorg starts.
More info in man xorg.conf.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum