Re-install old kernel default

Again no kernel GPU module loaded.

@Prexy and the lsinitrd | grep -E "nvidia|nouveau" again.

Can you also paste the output from;

cat /usr/lib/modprobe.d/50-nvidia-default.conf

cat /usr/lib/modprobe.d/nvidia-default.conf

Sorry about this file. There are no line breaks.modeprobe 50

And here is the other file.Second modprobe
That second file has only one line: blacklist nouveau

I am just confused about what to do. Should I un-blacklist nouveau? Delete every file with the word nouveau? Delete every file with the word nvidia in it? At this point, I’m afraid of touching anything for fear of making a blunder.

@Prexy and the lsinitrd output again? No leave everything as it is, no deleting

lsinitrd
I ran this as user and got only 4 lines. The file above was run as root and is very large. The previous two files were run as user. Should I have run them as root?

@Prexy Did you run as root user dracut -f --regenerate-all command and check the output locally of lsinitrd | grep -E ā€œnvidia|nouveauā€ the following lines should be gone?

drwxr-xr-x   2 root     root            0 Sep 13 09:27 usr/lib/modules/6.10.11-1-default/kernel/drivers/gpu/drm/nouveau
-rw-r--r--   1 root     root      1475729 Sep 13 09:27 usr/lib/modules/6.10.11-1-default/kernel/drivers/gpu/drm/nouveau/nouveau.ko.zst

I ran both commands as root and the two files are still there. They are at the very bottom of the file, if you want to look. They are in the same position as in the previous file I pasted.

I don’t know if it’s useful, but these are the last two lines of initrd

-rw-r--r--   1 root     root        14068 Sep 13 09:27 usr/lib/modules/6.10.11-1-default/kernel/drivers/hid/hid-nvidia-shield.ko.zst
-rw-r--r--   1 root     root         3040 Sep 13 09:27 usr/lib/modules/6.10.11-1-default/kernel/drivers/usb/typec/altmodes/typec_nvidia.ko.zst

@Prexy so something is overriding, so as root user I want you to;

 cp /usr/lib/modprobe.d/nvidia-default.conf /etc/modprobe.d/50-nvidia.conf

dracut -f --regenerate-all

Then check they nouveau lines are gone. If not reboot and check.

I ran the commands and rebooted. The files are still there and, of course, the resolution is the same.

Should I try the rm command? I’m afraid to do the wrong thing!

@Prexy No, they need to be removed properly else they will re-appear

What does the output from fgrep -r nouveau /usr/lib/modprobe.d/ and zypper se -i nouveau show.

/usr/lib/modprobe.d/nvidia-default.conf:blacklist nouveau

and

type or zypper se -i nouveau
Loading repository data...
Reading installed packages...

S  | Name               | Summary                                                      | Type
---+--------------------+--------------------------------------------------------------+--------
i+ | libdrm_nouveau2    | Userspace interface for Kernel DRM services for NVIDIA chips | package
i+ | Mesa-dri-nouveau   | Mesa DRI plug-in for 3D acceleration via Nouveau             | package
i+ | xf86-video-nouveau | Accelerated Open Source driver for nVidia cards              | package

@Prexy If you zypper rm Mesa-dri-nouveau xf86-video-nouveau and rebuild initrd, reboot and check lsinitrd output again.

I used dracut -f --regenerate-all to rebuild initrd. Then rebooted.

This command gives only

nouveau": command not found

Finally, zypper se -i nouveau gave me only libdrm_nouveau2 but rebooting did not solve the issue. Sorry to be so difficult and I’m grateful for your continued help.

That makes no sense. Did you copy/paste the entire command as it was given? In fact, run it with sudo like this…

sudo lsinitrd | grep -E "nvidia|nouveau"

Copy and pasted as shown. Here is the result:
latest lsinitrd

@Prexy All very strange… have no idea how that nouveau module is there…

I’m on the run file here with the open driver on a Turing card, but as you can see, no nouveau in sight;


lsinitrd | grep -E "nvidia|nouveau"
-rw-r--r--   1 root     root          672 Jul 13 20:23 etc/modprobe.d/50-nvidia.conf
drwxr-xr-x   2 root     root            0 Sep 13 08:27 usr/lib/firmware/nvidia
drwxr-xr-x   2 root     root            0 Sep 13 08:27 usr/lib/firmware/nvidia/560.35.03
-r--r--r--   1 root     root     42530352 Sep 13 08:27 usr/lib/firmware/nvidia/560.35.03/gsp_ga10x.bin
-r--r--r--   1 root     root     26264552 Sep 13 08:27 usr/lib/firmware/nvidia/560.35.03/gsp_tu10x.bin
-rw-r--r--   1 root     root           76 Nov 14  2022 usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf
-rw-r--r--   1 root     root        14068 Sep 13 08:27 usr/lib/modules/6.10.11-1-default/kernel/drivers/hid/hid-nvidia-shield.ko.zst
-rw-r--r--   1 root     root         3040 Sep 13 08:27 usr/lib/modules/6.10.11-1-default/kernel/drivers/usb/typec/altmodes/typec_nvidia.ko.zst
-rw-r--r--   1 root     root       268240 Sep 13 08:27 usr/lib/modules/6.10.11-1-default/updates/nvidia-drm.ko
-rw-r--r--   1 root     root      4164856 Sep 13 08:27 usr/lib/modules/6.10.11-1-default/updates/nvidia-modeset.ko
-rw-r--r--   1 root     root      6598408 Sep 13 08:27 usr/lib/modules/6.10.11-1-default/updates/nvidia-uvm.ko
-rw-r--r--   1 root     root     19717400 Sep 13 08:27 usr/lib/modules/6.10.11-1-default/updates/nvidia.ko

@Prexy and you actually have the appropriate nvidia rpms installed?

Don’t know. I have the G05 files which I believe are correct for Nvidia GT730. Someone in this thread said so.

@Prexy Can you show the output from zypper se -si nvidia

Here it is

zypper se -si nvidia
Loading repository data...
Reading installed packages...

S  | Name                      | Type    | Version                    | Arch   | Repository
---+---------------------------+---------+----------------------------+--------+------------------------
i+ | kernel-firmware-nvidia    | package | 20240913-1.1               | noarch | Main Repository (OSS)
i+ | libnvidia-egl-wayland1    | package | 1.1.16-1.1                 | x86_64 | Main Repository (OSS)
i+ | nvidia-computeG05         | package | 470.256.02-62.2            | x86_64 | nVidia Graphics Drivers
i+ | nvidia-computeG05-32bit   | package | 470.256.02-62.2            | x86_64 | nVidia Graphics Drivers
i+ | nvidia-gfxG05-kmp-default | package | 470.256.02_k6.10.5_1-62.14 | x86_64 | nVidia Graphics Drivers
i+ | nvidia-glG05              | package | 470.256.02-62.2            | x86_64 | nVidia Graphics Drivers
i+ | nvidia-glG05-32bit        | package | 470.256.02-62.2            | x86_64 | nVidia Graphics Drivers
i+ | x11-video-nvidiaG05       | package | 470.256.02-62.2            | x86_64 | nVidia Graphics Drivers
i+ | x11-video-nvidiaG05-32bit | package | 470.256.02-62.2            | x86_64 | nVidia Graphics Drivers