Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to load NVIDIA module
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
gentoouser1234567
n00b
n00b


Joined: 09 Jun 2022
Posts: 2

PostPosted: Thu Jun 09, 2022 8:35 pm    Post subject: Unable to load NVIDIA module Reply with quote

I am having some issues using the proprietary NVIDIA driver(470,129.06). I have not downloaded the nouveau driver and I have disabled the option within my kernel, yet when I run lspci -k, I can clearly see that my NVIDIA graphics card is using the "Kernel modules: nouveau". Furthermore, when I try to activate the driver using "modprobe nvidia", the module could not be found and is not loaded. I do not know how my card is using nouveau and I would like to know both how to completely disable the open source driver as well as enable the proprietary one upon boot. I can provide any logs you need.

Code:
Section "Module"
        Disable         "nouveau"
EndSection

Is within my xorg.conf[/code]
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9892
Location: almost Mile High in the USA

PostPosted: Thu Jun 09, 2022 8:42 pm    Post subject: Reply with quote

What you need to do is to blacklist the nouveau kernel module, or simply delete the module from /lib/modules/(your kernel version).
This is provided you didn't build the module into the kernel - which should be evident if you lsmod.

More data about blacklisting kernel drivers here: https://wiki.gentoo.org/wiki/Kernel_Modules
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54848
Location: 56N 3W

PostPosted: Thu Jun 09, 2022 8:52 pm    Post subject: Reply with quote

gentoouser1234567,

Welcome to Gentoo.

It souds like you are building one kernel and running a different one.
Look at the time and date in
Code:
uname -a
That's the build time/date of the running kernel. Is it what you expected?

Forgetting to mount /boot for the kernel install is a popular way to make that error.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2893

PostPosted: Fri Jun 10, 2022 5:38 am    Post subject: Reply with quote

lspci -k's modules line doesn't show which modules are loaded, it just shows which modules are usable

Look at lsmod if you want to see loaded modules, and/or activation in dmesg's output

Note that nvidia-drivers already blacklist nouveau by default, so being built as a module (=m) is not harmful (in fact it helps ensuring all options are set properly in the kernel like DRM_KMS_HELPER, and gives you a fallback.. so I can even recommend it), only builtin can be a problem (=y).

That aside, do ensure you're using the right kernel as pointed above. Using wrong kernel may even imply you're using the wrong nvidia-drivers modules too which could be the real cause of issues.
Back to top
View user's profile Send private message
saturnalia0
Apprentice
Apprentice


Joined: 13 Oct 2016
Posts: 163

PostPosted: Sat Jun 11, 2022 8:30 pm    Post subject: Reply with quote

I'm not sure if this is the case for you but when I faced a similar problem in the past when upgrading my kernel it was because I did not emerge @modules-rebuild or did it in the wrong order. If you're performing a kernel upgrade check this:

https://wiki.gentoo.org/wiki/Kernel/Upgrade#Reinstalling_external_kernel_modules
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