Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Nouveau ----> Nvidia, trouble changing driver  (Read 1689 times)

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.373
    • Land of the Buckeye
[EN] Re: Nouveau ----> Nvidia, trouble changing driver
« Reply #15 on: 2024/04/03, 13:51:34 »
... 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, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline ro_sid

  • User
  • Posts: 247
Re: Nouveau ----> Nvidia, trouble changing driver
« Reply #16 on: 2024/04/04, 17:42:51 »
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.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.373
    • Land of the Buckeye
Re: Nouveau ----> Nvidia, trouble changing driver
« Reply #17 on: 2024/04/04, 21:52:55 »
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
Code: [Select]
modprobe nvidia*.  I was surprised to see this error output, which did not come out of
Code: [Select]
modprobe nvidia-current:

Code: [Select]
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, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline ro_sid

  • User
  • Posts: 247
Re: Nouveau ----> Nvidia, trouble changing driver
« Reply #18 on: 2024/04/04, 23:53:10 »
[...]
Code: [Select]
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":
Code: [Select]
-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.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.373
    • Land of the Buckeye
Re: Nouveau ----> Nvidia, trouble changing driver
« Reply #19 on: 2024/04/05, 13:15:42 »
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, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO