Nouveau ----> Nvidia, trouble changing driver

Started by dibl, 2024/04/01, 15:34:06

Previous topic - Next topic

dibl

Quote from: ro_sid on 2024/04/03, 01:33:11
... if it (=nvidia(-current)) is (now) really included in the initramfs-image, you might be able to use the "module-load=nvidia-current" kernel option now with grub.

Tried this -- after unloading nouveau, and building nvidia-current, and "modprobe nviidia-current", I updated initramfs, edited the grub-cmd line, updated grub, and rebooted.

nouveau driver was automatically loaded and working beautifully.    :'(
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

ro_sid

Thanks for reporting. I am really mystified! Your system must be something special :).
I have looked it up in "my" configuration: the package "nvidia-kernel-support" should make it impossible for the nouveau driver/module to load by blacklisting it. That package is normally installed by the nvidia driver metapackage.

At this time, I am clueless, sorry.

dibl

Thanks, @ro_sid, for your efforts.  Today, we can be slightly less clueless.

I carefully stepped through the kubuki dance of edits to the grub command options and the /etc/modprobe.d/blacklist.nouveau, and rebuilt the nvidia modules and modprobed, and saw the same result.  Frustrated, I issued modprobe nvidia*.  I was surprised to see this error output, which did not come out of modprobe nvidia-current:

modprobe: FATAL: Module nvidia-driver_error.txt not found in directory /lib/modules/6.8.3-1-siduction-amd64

I'm way over my head on this, but does this mean something is missing from the driver package?
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

ro_sid

Quote from: dibl on 2024/04/04, 21:52:55
[...]
modprobe: FATAL: Module nvidia-driver_error.txt not found in directory /lib/modules/6.8.3-1-siduction-amd64

I'm way over my head on this, but does this mean something is missing from the driver package?
I do not think so. This is the contents of my directory "/lib/modules/6.8.3-1-siduction-amd64/updates/dkms":
-rw-r--r-- 1 root root    24720 Apr  4 00:06 bbswitch.ko
-rw-r--r-- 1 root root   203864 Apr  4 00:07 nvidia-current-drm.ko
-rw-r--r-- 1 root root  1758288 Apr  4 00:07 nvidia-current-modeset.ko
-rw-r--r-- 1 root root     6776 Apr  4 00:07 nvidia-current-peermem.ko
-rw-r--r-- 1 root root  2839576 Apr  4 00:07 nvidia-current-uvm.ko
-rw-r--r-- 1 root root 62502600 Apr  4 00:07 nvidia-current.ko

where bbswitch.ko is from another, although related, package.

dibl

I have the same 5 nvidia-x modules and the file sizes match yours.

During boot, I noticed an error about nvidia-persistenced.service not starting. I'm looking into that.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.