Yet Another Leap 15.2 Nvidia Question

Saw the notice where they were shutting off support for 15.1. Once my system is stable I stick with it until support is gone so I upgraded to 15.2. All went well (not as good as the upgrade to 15.1 which was flawless) except 2 areas. Nvidia chipset and HP MFP LaserJet Printer. I am focusing on the Nvidia issue until resolved. Have always used Suse and this is my first Nvidia issue in years.

I cannot get the Nvidia modules to load. I am using a GeForce GTX-650 based card on an older Intel motherboard. Still uses bios so I do not have to worry about secure boot issues. I verified secure boot is disabled. I first installed the G04 drivers with no success. I am now trying the G05 drivers, should be okay since i am using the 650 chipset. In 15.1 I was using the G04 drivers. They just will not load. Funny thing is lsmod says the nouveau driver is not loaded either so I am not sure what is driving this x session.

I have been reading this forum and faqs from just about everywhere. I have blacklisted the nouveau driver with the command: echo “blacklist nouveau” >> /etc/modprobe.d/50-blacklist.conf. When I checked /etc/modprobe.d/blacklist.conf it shows the nouveau driver as being blacklisted. There is also a nvidia-default.conf file that also has the nouveau driver black listed.

When I run the command: hwinfo --gfxcard, the output about the driver says:

Driver Info #0:
Driver Status: nouveau is not active
Driver Activation Cmd: “modprobe nouveau”

I have gone to init 3 and run the command: modprobe nvidia. The output says: modprobe: ERROR: could not find module by name=‘nvidia’

All 4 G05 packages have been installed using yast. The Nvidia X Server app does not work with the G05 packages and did not successfully configure the G04 packages forcing me to boot to init 3 to get rid of a xorg.conf file.

In the directory /lib/modules/ there are 26 folders containing only nvidia modules dating back to 2018. Looks like every nvidia update is there. The 2 directories that contain all of the other kernel modules do not have the nvidia modules in them. Could this be a path problem?

How can I get the Nvidia drivers working? What is currently driving my x session since nouveau is blacklisted and not loaded?

  1. Post your /var/log/Xorg.0.log
  2. Post:
/sbin/lspci -nnk | grep -EiA3 'display|3d|vga'
  1. Post:
grep -i 'blacklist nouveau' /etc/modprobe.d/*
  1. Post:
zypper se -si kernel nvidia

5 Post:

zypper lr -d

Please use Code-Tags for each command seperatly:
https://forums.opensuse.org/showthread.php/536143-Using-Code-Tags-Around-Your-Paste

  1. /sbin/lspci -nnk | grep -EiA3 ‘display|3d|vga’
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107 [GeForce GTX 650] [10de:0fc6] (rev a1)
    Subsystem: ZOTAC International (MCO) Ltd. Device [19da:2263]
    Kernel modules: nouveau
    01:00.1 Audio device [0403]: NVIDIA Corporation GK107 HDMI Audio Controller [10de:0e1b] (rev a1)

  2. grep -i ‘blacklist nouveau’ /etc/modprobe.d/*
    /etc/modprobe.d/50-blacklist.conf:blacklist nouveau
    /etc/modprobe.d/nvidia-default.conf:blacklist nouveau

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

S | Name | Type | Version | Arch | Repository
—±--------------------------±--------±-----------------------------------±-------±-------------------------
i+ | kernel-default | package | 4.12.14-lp151.28.91.1 | x86_64 | (System Packages)
i+ | kernel-default | package | 5.3.18-lp152.60.1 | x86_64 | openSUSE-Leap-15.2-Update
i+ | kernel-default-devel | package | 4.12.14-lp151.28.91.1 | x86_64 | (System Packages)
i+ | kernel-default-devel | package | 5.3.18-lp152.60.1 | x86_64 | openSUSE-Leap-15.2-Update
i+ | kernel-devel | package | 4.12.14-lp151.28.91.1 | noarch | (System Packages)
i+ | kernel-devel | package | 5.3.18-lp152.60.1 | noarch | openSUSE-Leap-15.2-Update
i+ | kernel-firmware | package | 20200107-lp152.2.3.1 | noarch | openSUSE-Leap-15.2-Update
i+ | kernel-macros | package | 5.3.18-lp152.60.1 | noarch | openSUSE-Leap-15.2-Update
i+ | nvidia-computeG05 | package | 460.39-lp152.34.1 | x86_64 | nVidia Graphics Drivers
i | nvidia-gfxG05-kmp-default | package | 460.39_k5.3.18_lp152.19-lp152.34.1 | x86_64 | nVidia Graphics Drivers
i | nvidia-glG05 | package | 460.39-lp152.34.1 | x86_64 | nVidia Graphics Drivers
i | purge-kernels-service | package | 0-lp152.4.1 | noarch | openSUSE-Leap-15.2-Oss
i | texlive-l3kernel | package | 2017.133.svn44483-lp152.7.2 | noarch | openSUSE-Leap-15.2-Oss
i | texlive-l3kernel-doc | package | 2017.133.svn44483-lp152.7.2 | noarch | openSUSE-Leap-15.2-Oss
i | x11-video-nvidiaG05 | package | 460.39-lp152.34.1 | x86_64 | nVidia Graphics Drivers

  1. zypper lr -d

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service

—±--------------------------±----------------------------------------±--------±----------±--------±---------±-------±-----------------------------------------------------------------------------±-------
1 | Google-Chrome | Google-Chrome | Yes | (r ) Yes | Yes | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
2 | download.nvidia.com-leap | nVidia Graphics Drivers | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.nvidia.com/opensuse/leap/15.2 |
3 | google-chrome | google-chrome | Yes | (r ) Yes | Yes | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
4 | graphics | Graphics Project (openSUSE_Leap_15.2) | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/graphics/openSUSE_Leap_15.2/ |
5 | openSUSE-Leap-15.1-1 | openSUSE-Leap-15.2 | No | ---- | ---- | 99 | NONE | cd:/?devices=/dev/disk/by-id/ata-ATAPI_iHAS424_B_3524253_2E8104500836 |
6 | opensuse-guide.org-repo | Libdvdcss Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.2/ |
7 | packman.inode.at-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.2/ |
8 | repo-debug | openSUSE-Leap-15.2-Debug | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.2/repo/oss/ |
9 | repo-debug-non-oss | openSUSE-Leap-15.2-Debug-Non-Oss | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.2/repo/non-oss/ |
10 | repo-debug-update | openSUSE-Leap-15.2-Update-Debug | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.2/oss/ |
11 | repo-debug-update-non-oss | openSUSE-Leap-15.2-Update-Debug-Non-Oss | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.2/non-oss/ |
12 | repo-non-oss | openSUSE-Leap-15.2-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/non-oss/ |
13 | repo-oss | openSUSE-Leap-15.2-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/oss/ |
14 | repo-source | openSUSE-Leap-15.2-Source | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.2/repo/oss/ |
15 | repo-source-non-oss | openSUSE-Leap-15.2-Source-Non-Oss | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.2/repo/non-oss/ |
16 | repo-update | openSUSE-Leap-15.2-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.2/oss/ |
17 | repo-update-non-oss | openSUSE-Leap-15.2-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.2/non-oss/ |
18 | skype-stable | skype (stable) | Yes | (r ) Yes | Yes | 99 | rpm-md | https://repo.skype.com/rpm/stable/ |
19 | snappy | snappy | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.2 |

Thanks for taking time to figure this out. It appears the nouveau driver is being loaded. A really bad driver. Does not even use the full monitor screen, there is about an inch wide edge of black around the entire window.

Why not using Code-Tags?
Makes reading easier.

Please post:

uname -a

And use Code-Tags, see link in my first post.

Never thought about it. Will do from now on. Any ideas on this?
uname -a
Linux Voyager 5.3.18-lp152.60-default #1 SMP Tue Jan 12 23:10:31 UTC 2021 (9898712) x86_64 x86_64 x86_64 GNU/Linux

I would:

  • delete kernel 4.12, this kernel is from Lepa 15.1.
zypper rm kernel-default-4.12.14-lp151.28.91.1
  • install kernel-default 5.3.18-lp152.57.1 as fallback and use them:
zypper in -f kernel-default-5.3.18-lp152.57.1

-install nvidia once more:

zypper in -f nvidia-computeG05 nvidia-gfxG05-kmp-default nvidia-glG05 x11-video-nvidiaG05

Only for security:

Building initrd:

dracut -f

Building grub2:

grub2-mkconfig -o /boot/grub2/grub.cfg

Reboot and use the kernel 5.3.18-lp152.57.1

That did it!

 /sbin/lspci -nnk | grep -EiA3 'display|3d|vga'
01:00.0 **VGA** compatible controller [0300]: NVIDIA Corporation GK107 [GeForce GTX 650] [10de:0fc6] (rev a1)
        Subsystem: ZOTAC International (MCO) Ltd. Device [19da:2263]
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia

How can I make the 57 kernel the default boot option? I never have been very good editing grub2, LILO was so much easier to modify.

Thanks again

goto Yast----Sosftware----install Software----search for: kernel-----mark the kernel-default----goto versions tab and delete the kernel-default-xxxxxxx.60.
After this, same procedure but now not delete, only lock them by clicking…

Thank you for your assistance. Learned some new things in the process. Always nice. I feel the issue is totally resolved and this thread is closed.

Now to open a new thread about my printer after I test it with the new kernel.