View previous topic :: View next topic |
Author |
Message |
davidshen84 Apprentice

Joined: 09 Aug 2008 Posts: 268
|
Posted: Fri May 13, 2016 5:01 pm Post subject: How to disable nvidia module on my dual graphic card system |
|
|
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 |
|
 |
netfab Veteran


Joined: 03 Mar 2005 Posts: 1699 Location: 127.0.0.1
|
Posted: Fri May 13, 2016 5:36 pm Post subject: Re: How to disable nvidia module on my dual graphic card sys |
|
|
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 |
|
 |
davidshen84 Apprentice

Joined: 09 Aug 2008 Posts: 268
|
Posted: Sat May 14, 2016 12:30 am Post subject: |
|
|
Yes, it is "blacklist.conf". Sorry for the confusion. _________________ David Shen |
|
Back to top |
|
 |
netfab Veteran


Joined: 03 Mar 2005 Posts: 1699 Location: 127.0.0.1
|
Posted: Sat May 14, 2016 7:24 am Post subject: Re: How to disable nvidia module on my dual graphic card sys |
|
|
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 |
|
 |
|