Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to stop module 'nouveau' loading
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
Xander314
n00b
n00b


Joined: 16 Apr 2012
Posts: 61

PostPosted: Thu Apr 19, 2012 10:12 am    Post subject: How to stop module 'nouveau' loading Reply with quote

Sorry if this is the wrong forum area for this - I wasn't sure where else to put it.

I'm working on getting an X server set up with my dual monitor setup (from a single nVidia graphics card). Anyway, so I can better experiment I wanted both the nVidia proprietary driver and the nouveau driver compiled into the kernel as modules.

However, whenever I boot, nouveau is automatically loaded. The only uncommented line in my /etc/conf.d/modules file is
modules="atl1e ntfs"

Are there any other files which specify modules to load at startup? If not, why is nouveau starting automatically?
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Thu Apr 19, 2012 10:25 am    Post subject: Reply with quote

take one path of the following:
  • remove the module from the kernel
  • http://en.gentoo-wiki.com/wiki/Nouveau#Blacklisting_other_nvidia_modules - apply as needed

_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1897
Location: 127.0.0.1

PostPosted: Thu Apr 19, 2012 12:09 pm    Post subject: Reply with quote

Code:

Section "Module"
        Disable     "nouveau"
EndSection

in xorg.conf.
Back to top
View user's profile Send private message
Xander314
n00b
n00b


Joined: 16 Apr 2012
Posts: 61

PostPosted: Thu Apr 19, 2012 12:12 pm    Post subject: Reply with quote

Sorry, I forgot to mention - I haven't got Xorg working yet. I am simply talking about the text console you get by default when Gentoo boots. Running "lsmod" at this showed that nouveau and associated modules were loaded. There was also a long wait during boot while the kernel tried (and failed) to load the "nvidia" module as well. So why are both these modules loading at startup when I haven't told them to?
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Thu Apr 19, 2012 12:22 pm    Post subject: Reply with quote

netfab wrote:
Code:

Section "Module"
        Disable     "nouveau"
EndSection

in xorg.conf.

to relevant to his question.

Xander314 wrote:
Sorry, I forgot to mention - I haven't got Xorg working yet. I am simply talking about the text console you get by default when Gentoo boots. Running "lsmod" at this showed that nouveau and associated modules were loaded. There was also a long wait during boot while the kernel tried (and failed) to load the "nvidia" module as well. So why are both these modules loading at startup when I haven't told them to?

why? because boot process thinks you need it.

how to fix it? see my post above.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Apr 19, 2012 3:15 pm    Post subject: Reply with quote

Xander314,

If you have an /etc/modprobe.d/blacklist.conf file add blacklist nouveau line otherwise create the file and add it.

Good Luck :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
Xander314
n00b
n00b


Joined: 16 Apr 2012
Posts: 61

PostPosted: Sat Apr 28, 2012 11:14 am    Post subject: Reply with quote

Thanks everyone for your help. Blacklisting the nouveau driver did just what I wanted.
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