You are not logged in.

#1 2020-04-12 19:26:01

habbasi
Member
Registered: 2020-04-12
Posts: 4

Can't get the Nvidia driver to load

I can't get the Nvidia driver to load on my system. I've gone through the Wiki and many previous posts, and none seem similar. This is on a laptop with Optimus.

$ lspci | grep "VGA\|3D"                                                       
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)

$ xrandr --listproviders                                                       
Providers: number : 1
Provider 0: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting

$ uname -a                                                                     
Linux habbasi-desktop 5.6.3-arch1-1 #1 SMP PREEMPT Wed, 08 Apr 2020 07:47:16 +0000 x86_64 GNU/Linux

$ pacman -Qnn | grep nvidia                                                    
nvidia-dkms 440.82-1
nvidia-prime 1.0-1
nvidia-settings 440.64-1
nvidia-utils 440.82-1

$ modprobe nvidia                                                              
modprobe: FATAL: Module nvidia not found in directory /lib/modules/5.6.3-arch1-1

$ dkms status                                                                  
broadcom-wl, 6.30.223.271, 5.6.3-arch1-1, x86_64: installed
nvidia, 440.82, 5.6.3-arch1-1, x86_64: installed (original_module exists) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)

I assume the warnings are because I installed the driver again. I also made the

mkinitpcio

changes.

dmesg
cat /var/log/Xorg.0.log

Offline

#2 2020-04-13 15:20:20

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,804

Re: Can't get the Nvidia driver to load

[    0.462713] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[    0.462713] TAA CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/tsx_async_abort.html for more details.


[    0.713383] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS01._UPC], AE_ALREADY_EXISTS (20200110/dswload2-323)
[    0.713386] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20200110/psobject-220)
lots of similar messages

Looks like  a low-level problem , try configuring microcode

Nvidia is not mentioned in dmesg at all, post lspci -knn .

Try to build the nvidia dkms module manually and post the output.

# dkms install -m nvidia -v 440.82

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2020-04-13 17:07:35

habbasi
Member
Registered: 2020-04-12
Posts: 4

Re: Can't get the Nvidia driver to load

lspci -knn

$ sudo dkms install -m nvidia -v 440.82                                        
Module nvidia/440.82 already installed on kernel 5.6.3-arch1-1/x86_64

I will try to blacklist nouveau and report back.

Offline

#4 2020-04-13 17:24:14

habbasi
Member
Registered: 2020-04-12
Posts: 4

Re: Can't get the Nvidia driver to load

Hmm, this is strange indeed...

$ cat /usr/lib/modprobe.d/nvidia-dkms.conf                                     
blacklist nouveau

This file already existed, and it still isn't blacklisted. I already ran `mkinitpcio -P` and rebooted, it didn't help.

Offline

#5 2020-04-13 18:18:14

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: Can't get the Nvidia driver to load

habbasi wrote:

Hmm, this is strange indeed...

$ cat /usr/lib/modprobe.d/nvidia-dkms.conf                                     
blacklist nouveau

Don't worry about this, the nouveau module is blacklisted for you correctly. It's not loaded.

If you are worrying because you saw "nouveau" mentioned in the "lspci -k" output earlier, then don't worry. It's not mentioned as loaded there. When a driver is loaded, it's mentioned on the "Kernel driver in use: ..." line of the output, and that line does not exist for your Nvidia card, the nouveau driver is not loaded.

Offline

#6 2020-04-13 18:56:43

loqs
Member
Registered: 2014-03-06
Posts: 18,463

Re: Can't get the Nvidia driver to load

# dkms remove -m nvidia -v 440.82 --all
# dkms install -m nvidia -v 440.82

Last edited by loqs (2020-04-13 18:58:13)

Offline

#7 2020-04-14 08:35:21

habbasi
Member
Registered: 2020-04-12
Posts: 4

Re: Can't get the Nvidia driver to load

loqs wrote:
# dkms remove -m nvidia -v 440.82 --all
# dkms install -m nvidia -v 440.82

Thanks, that solved it.

Offline

Board footer

Powered by FluxBB