Nvidia Drivers help

I need a cable to run wifi ? :slight_smile:

Seriously this was a major blow. I was trying to get NVIDIA working, and now WIFI disappeard. There is at the moment no realistic way to get a connection whitout wifi. Ill guess I’ll have to think about next step.

People with newer or odd hardware often need wired network in order to get required drivers off the internet to configure that newer or odd wireless hardware. The other option is some other computer to fetch those drivers and save them on something the newer can read from and install to enable successful configuring of wireless.

Ok, now I have internet again (through powercord)! Never again do I need to shabble with rpm packages on usb stick.
Now its just the NVIDIA left. :slight_smile:

where did we left of?

One thing that Ive noticed is that when I type: ā€œsudo zypper install kernel-develā€ he downloads a lot of files, but I dont get /usr/src/linux/include/linux/version.h which the NVIDIA installer complained about

Perhaps thats the source of my troubles? How to get that file?

No such file here and no problems with Nvidia either, so first please post:

zypper se -si kernel-def kernel-dev nvidia

then maybe you should retry what I suggested here

staffan@h-46-59-93-100:~/Downloads> zypper se -si kernel-def kernel-dev nvidia
Loading repository data...
Reading installed packages...

S  | Name                                      | Type    | Version                  | Arch   | Repository
---+-------------------------------------------+---------+--------------------------+--------+------------------
i+ | kernel-default                            | package | 6.11.5-1.1               | x86_64 | (System Packages)
i+ | kernel-default                            | package | 6.11.6-2.1               | x86_64 | repo-oss
i  | kernel-default-devel                      | package | 6.11.6-2.1               | x86_64 | repo-oss
i+ | kernel-devel                              | package | 6.11.6-2.1               | noarch | repo-oss
i  | kernel-firmware-nvidia                    | package | 20241018-1.1             | noarch | repo-oss
i  | libnvidia-egl-wayland1                    | package | 1.1.16-2.1               | x86_64 | (System Packages)
i+ | nvidia-compute-G06                        | package | 550.127.05-27.1          | x86_64 | repo-non-free
i  | nvidia-compute-G06-32bit                  | package | 550.127.05-27.1          | x86_64 | repo-non-free
i+ | nvidia-gl-G06                             | package | 550.127.05-27.1          | x86_64 | repo-non-free
i  | nvidia-gl-G06-32bit                       | package | 550.127.05-27.1          | x86_64 | repo-non-free
i+ | nvidia-open-driver-G06-signed-kmp-default | package | 550.127.05_k6.11.6_2-1.4 | x86_64 | repo-oss
i+ | nvidia-video-G06                          | package | 550.127.05-27.1          | x86_64 | repo-non-free
i  | nvidia-video-G06-32bit                    | package | 550.127.05-27.1          | x86_64 | repo-non-free
i+ | openSUSE-repos-Tumbleweed-NVIDIA          | package | 20240712.dd8c2eb-1.2     | x86_64 | repo-oss
staffan@h-46-59-93-100:~/Downloads>

Based on that, what do you suggest?

kernel-firmware-nvidia-gspx-G06

is missing.
Also make sure that /usr/src/linux points to the 6.11.6 kernel:

bruno@LT-B:~> ls -l /usr/src/linux
lrwxrwxrwx 1 root root 14 nov  6 21:43 /usr/src/linux -> linux-6.11.6-2
bruno@LT-B:~> 

ok, I installed the missing package, so now:

staffan@h-46-59-93-100:~/Downloads> zypper se -si kernel-def kernel-dev nvidia
Loading repository data...
Reading installed packages...

S  | Name                                      | Type    | Version                  | Arch   | Repository
---+-------------------------------------------+---------+--------------------------+--------+------------------
i+ | kernel-default                            | package | 6.11.5-1.1               | x86_64 | (System Packages)
i+ | kernel-default                            | package | 6.11.6-2.1               | x86_64 | repo-oss
i  | kernel-default-devel                      | package | 6.11.6-2.1               | x86_64 | repo-oss
i+ | kernel-devel                              | package | 6.11.6-2.1               | noarch | repo-oss
i  | kernel-firmware-nvidia                    | package | 20241018-1.1             | noarch | repo-oss
i+ | kernel-firmware-nvidia-gspx-G06           | package | 550.127.05-69.1          | x86_64 | repo-non-free
i  | libnvidia-egl-wayland1                    | package | 1.1.16-2.1               | x86_64 | (System Packages)
i+ | nvidia-compute-G06                        | package | 550.127.05-27.1          | x86_64 | repo-non-free
i  | nvidia-compute-G06-32bit                  | package | 550.127.05-27.1          | x86_64 | repo-non-free
i+ | nvidia-gl-G06                             | package | 550.127.05-27.1          | x86_64 | repo-non-free
i  | nvidia-gl-G06-32bit                       | package | 550.127.05-27.1          | x86_64 | repo-non-free
i+ | nvidia-open-driver-G06-signed-kmp-default | package | 550.127.05_k6.11.6_2-1.4 | x86_64 | repo-oss
i+ | nvidia-video-G06                          | package | 550.127.05-27.1          | x86_64 | repo-non-free
i  | nvidia-video-G06-32bit                    | package | 550.127.05-27.1          | x86_64 | repo-non-free
i+ | openSUSE-repos-Tumbleweed-NVIDIA          | package | 20240712.dd8c2eb-1.2     | x86_64 | repo-oss
staffan@h-46-59-93-100:~/Downloads>

and also

staffan@h-46-59-93-100:~/Downloads> ls -l /usr/src/linux
lrwxrwxrwx 1 root root 14 Nov 13 09:26 /usr/src/linux -> linux-6.11.6-2
staffan@h-46-59-93-100:~/Downloads> ^C
staffan@h-46-59-93-100:~/Downloads>

but somehow still lsmod | grep nvidia only return a few rows :frowning:

Staffan@h-46-59-93-100:~/Downloads> lsmod | grep nvidia
i2c_nvidia_gpu         12288  0
i2c_ccgx_ucsi          12288  1 i2c_nvidia_gpu

even after reboot

What does

bruno@LT-B:~/Downloads> ls /usr/lib/modules/6.11.6-2-default/updates
nvidia-drm.ko  nvidia.ko  nvidia-modeset.ko  nvidia-peermem.ko  nvidia-uvm.ko
bruno@LT-B:~/Downloads> sudo modinfo nvidia

report?

Thanks for not giving up.
Here is the first one:

staffan@h-46-59-93-100:~/Downloads> ls /usr/lib/modules/6.11.6-2-default/updates a-drm.ko nvidia-drm.ko  nvidia.ko  nvidia-modeset.ko  nvidia-peermem.ko  nvidia-uvm.ko
ls: cannot access 'a-drm.ko': No such file or directory
ls: cannot access 'nvidia-drm.ko': No such file or directory
ls: cannot access 'nvidia.ko': No such file or directory
ls: cannot access 'nvidia-modeset.ko': No such file or directory
ls: cannot access 'nvidia-peermem.ko': No such file or directory
ls: cannot access 'nvidia-uvm.ko': No such file or directory
/usr/lib/modules/6.11.6-2-default/updates:
nvidia-drm.ko.zst  nvidia.ko.zst  nvidia-modeset.ko.zst  nvidia-uvm.ko.zst

and the second one:

staffan@h-46-59-93-100:~/Downloads> sudo modinfo nvidia
[sudo] password for root: 
filename:       /usr/lib/modules/6.11.6-2-default/updates/nvidia.ko.zst
import_ns:      DMA_BUF
alias:          char-major-195-*
version:        550.127.05
supported:      external
license:        Dual MIT/GPL
firmware:       nvidia/550.127.05/gsp_tu10x.bin
firmware:       nvidia/550.127.05/gsp_ga10x.bin
softdep:        pre: ecdh_generic,ecdsa_generic
suserelease:    openSUSE Tumbleweed
srcversion:     E021EBA21ED617729128042
alias:          pci:v000010DEd*sv*sd*bc06sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        
retpoline:      Y
name:           nvidia
vermagic:       6.11.6-2-default SMP preempt mod_unload modversions 
sig_id:         PKCS#7
signer:         openSUSE Secure Boot CA
sig_key:        FA:BE:D8:BF:40:9A:5E:65
sig_hashalgo:   sha256
signature:      24:1B:E0:CC:D9:63:AC:A2:6C:84:79:CE:D9:4C:28:22:59:A2:36:2D:
                49:C1:DD:5D:49:6D:09:AF:83:C3:94:27:51:CA:98:EE:92:D5:07:BE:
                CB:BB:3F:14:7B:C5:19:A3:5B:46:D1:70:8A:DA:36:1C:46:0E:1C:59:
                59:26:09:61:0B:AD:85:F2:46:38:28:55:44:E8:F6:C5:37:A7:F4:F3:
                50:C0:CF:61:4C:74:66:91:31:9F:A8:AE:6C:6E:15:93:3D:FD:D4:91:
                74:2E:85:1B:ED:4F:7F:5B:F7:8C:65:A3:01:52:F8:FB:EA:62:E5:DF:
                DD:28:F5:3C:02:CD:FB:2D:AE:15:FF:12:C3:92:30:90:C7:C4:CB:8E:
                31:A0:6B:37:83:1E:64:97:D7:A8:0C:51:55:AB:D5:E4:00:54:77:13:
                F1:7D:95:80:E0:40:87:06:CE:A7:E9:77:E9:27:24:33:9C:92:56:75:
                D9:96:F2:4B:7C:50:A0:1D:77:92:EE:E8:DC:8E:11:A1:A8:BF:D9:DF:
                1C:42:A0:E4:DA:DB:B8:E0:45:2D:95:28:28:6E:05:96:7D:1E:0C:3B:
                B3:FE:9F:64:E4:6B:4C:CE:3D:DD:B4:9C:A8:BB:A1:ED:72:F4:E2:00:
                7D:68:CB:DD:4C:CC:CB:A3:90:24:C6:36:9E:56:1D:6C
parm:           NvSwitchRegDwords:NvSwitch regkey (charp)
parm:           NvSwitchBlacklist:NvSwitchBlacklist=uuid[,uuid...] (charp)
parm:           NVreg_ResmanDebugLevel:int
parm:           NVreg_RmLogonRC:int
parm:           NVreg_ModifyDeviceFiles:int
parm:           NVreg_DeviceFileUID:int
parm:           NVreg_DeviceFileGID:int
parm:           NVreg_DeviceFileMode:int
parm:           NVreg_InitializeSystemMemoryAllocations:int
parm:           NVreg_UsePageAttributeTable:int
parm:           NVreg_EnablePCIeGen3:int
parm:           NVreg_EnableMSI:int
parm:           NVreg_TCEBypassMode:int
parm:           NVreg_EnableStreamMemOPs:int
parm:           NVreg_RestrictProfilingToAdminUsers:int
parm:           NVreg_PreserveVideoMemoryAllocations:int
parm:           NVreg_EnableS0ixPowerManagement:int
parm:           NVreg_S0ixPowerManagementVideoMemoryThreshold:int
parm:           NVreg_DynamicPowerManagement:int
parm:           NVreg_DynamicPowerManagementVideoMemoryThreshold:int
parm:           NVreg_EnableGpuFirmware:int
parm:           NVreg_EnableGpuFirmwareLogs:int
parm:           NVreg_OpenRmEnableUnsupportedGpus:int
parm:           NVreg_EnableUserNUMAManagement:int
parm:           NVreg_MemoryPoolSize:int
parm:           NVreg_KMallocHeapMaxSize:int
parm:           NVreg_VMallocHeapMaxSize:int
parm:           NVreg_IgnoreMMIOCheck:int
parm:           NVreg_NvLinkDisable:int
parm:           NVreg_EnablePCIERelaxedOrderingMode:int
parm:           NVreg_RegisterPCIDriver:int
parm:           NVreg_EnableResizableBar:int
parm:           NVreg_EnableDbgBreakpoint:int
parm:           NVreg_EnableNonblockingOpen:int
parm:           NVreg_RegistryDwords:charp
parm:           NVreg_RegistryDwordsPerDevice:charp
parm:           NVreg_RmMsg:charp
parm:           NVreg_GpuBlacklist:charp
parm:           NVreg_TemporaryFilePath:charp
parm:           NVreg_ExcludedGpus:charp
parm:           NVreg_DmaRemapPeerMmio:int
parm:           NVreg_RmNvlinkBandwidth:charp
parm:           NVreg_ImexChannelCount:int
parm:           rm_firmware_active:charp

Hmm I see the words secure boot in there. I dont have secure boot enabled though.

Thats a lot of hex and stuff. Hope it makes sense :slight_smile:

The modules appear to be there, let’s find why they don’t engage.
Please post (as already asked above):

/sbin/lspci -nnk | grep -EiA3 'vga|display|3d'

then

sudo modprobe nvidia

including the command line, the full output and the trailing prompt.

ok, they both come here:

staffan@h-46-59-93-100:~/Downloads> /sbin/lspci -nnk | grep -EiA3 'vga|display|3d'
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1660] [10de:2184] (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device [1043:86bb]
        Kernel driver in use: nouveau
        Kernel modules: nouveau, nvidia_drm, nvidia
staffan@h-46-59-93-100:~/Downloads> sudo modprobe nvidia
[sudo] password for root: 
modprobe: ERROR: could not insert 'nvidia': No such device
staffan@h-46-59-93-100:~/Downloads> 

I also tried sudo modprobe NVIDIA (capital letters) and got something else:

staffan@h-46-59-93-100:~/Downloads> sudo modprobe NVIDIA
modprobe: FATAL: Module NVIDIA not found in directory /usr/lib/modules/6.11.6-2-default
staffan@h-46-59-93-100:~/Downloads>

Can you force the reinstallation of the kernel module via
sudo zypper in --force nvidia-open-driver-G06-signed-kmp-default
and capture the complete output.

Sure thing!

staffan@h-46-59-93-100:~/Downloads> sudo zypper in --force nvidia-open-driver-G06-signed-kmp-default
[sudo] password for root: 
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Forcing installation of 'nvidia-open-driver-G06-signed-kmp-default-550.127.05_k6.11.6_2-1.4.x86_64' from repository 'repo-oss'.
Resolving package dependencies...

The following package is going to be reinstalled:
  nvidia-open-driver-G06-signed-kmp-default-550.127.05_k6.11.6_2-1.4

1 package to reinstall.

Package download size:     6.5 MiB

Package install size change:
            |       6.4 MiB  required by packages that will be installed
       0 B  |  -    6.4 MiB  released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: nvidia-open-driver-G06-signed-kmp-default-550.127.05_k6.11.6_2-1.4.x86_64 (repo-oss)
                                                                                          (1/1),   6.5 MiB    
Retrieving: nvidia-open-driver-G06-signed-kmp-default-550.127.05_k6.11.6_2-1.4.x86_64.rpm ..[done (2.1 MiB/s)]

Checking for file conflicts: ...........................................................................[done]
warning: %triggerin(nvidia-open-driver-G06-signed-kmp-default-550.127.05_k6.11.6_2-1.4.x86_64) scriptlet failed, exit status 1
(1/1) Installing: nvidia-open-driver-G06-signed-kmp-default-550.127.05_k6.11.6_2-1.4.x86_64 ............[done]
Running post-transaction scripts .......................................................................[done]
staffan@h-46-59-93-100:~/Downloads>

If the GPU is engaged by the nouveau driver, the proprietary nvidia driver doesn’t load of course.
Please see:

bruno@LT-B:~/Downloads> ls /lib/modprobe.d/ |grep nvidia
50-nvidia-default.conf
50-nvidia-default.conf.rpmsave
nvidia-default.conf
bruno@LT-B:~/Downloads>

The nvidia-default.conf (if there is one) should read:

bruno@LT-B:~/Downloads> cat /lib/modprobe.d/nvidia-default.conf
blacklist nouveau
bruno@LT-B:~/Downloads>

I think were on to somehting now :slight_smile:

staffan@h-46-59-93-100:~/Downloads> ls /lib/modprobe.d/ |grep nvidia
59-nvidia-default.conf
61-nvidia-default.conf
staffan@h-46-59-93-100:~/Downloads> cat /lib/modprobe.d/nvidia-default.conf
cat: /lib/modprobe.d/nvidia-default.conf: No such file or directory
staffan@h-46-59-93-100:~/Downloads>

Shall I just create the nvidia-default.conf and add ā€œblacklist nouveauā€?

Better to test first adding ā€œmodprobe.blacklist=nouveauā€ (without quotes) to the boot command line and reboot; if that works, yes, create nvidia-default.conf with the single line ā€œblacklist nouveauā€.
To add to the boot command line hit ā€œEā€ for ā€œEditā€ at the grub menu screen, look for the line beginning with ā€œlinuxefiā€ and append modprobe.blacklist=nouveau then F10 to boot.

Friends! You helped me so far and answered quickly, so I fell obligated to tell you that Im putting this down for the evening. I will tell you tomorrow or in the next few days if it worked :slight_smile:

Post:
grep -i 'blacklist nouveau' /lib/modprobe.d/*
and
grep -i 'blacklist nouveau' /etc/modprobe.d/*

to see, if nouveau is blacklisted by a file.

OK, I coudnt hold myself :slight_smile:
I entered the grub, coudnt find a linuxefi line, but I did find a linux line, and this post Can't find command linuxefi and initrdefi while booting from uefi - #8 by ghuntress - Rocky Linux Tech Help - Rocky Linux Forum saying that linuxefi was deprecated.

So I pressed E and added modprobe.blacklist=nouveau to the linux line… and now…

staffan@h-46-59-93-100:~/Downloads> lsmod | grep nvidia
nvidia_drm            126976  26
nvidia_modeset       1888256  52 nvidia_drm
nvidia_uvm           6815744  0
nvidia              10186752  864 nvidia_uvm,nvidia_modeset
drm_ttm_helper         16384  2 nvidia_drm
i2c_nvidia_gpu         12288  0
i2c_ccgx_ucsi          12288  1 i2c_nvidia_gpu
video                  81920  2 asus_wmi,nvidia_modeset

You cannot understand how much joy this gives me! :slight_smile:
So, should I now remove the line from grub and create that file with modprobe.blacklist=nouveau instead?

Im so happy!