View previous topic :: View next topic |
Author |
Message |
gentoouser1234567 n00b

Joined: 09 Jun 2022 Posts: 2
|
Posted: Thu Jun 09, 2022 8:35 pm Post subject: Unable to load NVIDIA module |
|
|
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 |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 9900 Location: almost Mile High in the USA
|
Posted: Thu Jun 09, 2022 8:42 pm Post subject: |
|
|
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 |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54884 Location: 56N 3W
|
Posted: Thu Jun 09, 2022 8:52 pm Post subject: |
|
|
gentoouser1234567,
Welcome to Gentoo.
It souds like you are building one kernel and running a different one.
Look at the time and date in 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 |
|
 |
Ionen Developer


Joined: 06 Dec 2018 Posts: 2897
|
Posted: Fri Jun 10, 2022 5:38 am Post subject: |
|
|
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 |
|
 |
saturnalia0 Apprentice

Joined: 13 Oct 2016 Posts: 163
|
|
Back to top |
|
 |
|