NVIDIA drivers does not being used

Hi, guys,
I upgraded my laptop from openSUSE 15.2 to 15.3 but it seams the system doesnt use the nvidia proprietary drivers that I installed following this guide

https://en.opensuse.org/SDB:NVIDIA_drivers

My system info:


ilian@localhost:~> sudo lshw -short
H/W path              Device          Class          Description
================================================================
                                      system         TUF Gaming FX705DT_FX705DT
/0                                    bus            FX705DT
/0/0                                  memory         64KiB BIOS
/0/a                                  memory         16GiB System Memory
/0/a/0                                memory         8GiB SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2667 MHz (0,4 ns)
/0/a/1                                memory         8GiB SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2667 MHz (0,4 ns)
/0/c                                  memory         384KiB L1 cache
/0/d                                  memory         2MiB L2 cache
/0/e                                  memory         4MiB L3 cache
/0/f                                  processor      AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx
/0/100                                bridge         Raven/Raven2 Root Complex
/0/100/0.2                            generic        Raven/Raven2 IOMMU
/0/100/1.1                            bridge         Raven/Raven2 PCIe GPP Bridge [6:0]
/0/100/1.1/0                          display        TU117M [GeForce GTX 1650 Mobile / Max-Q]
/0/100/1.1/0.1                        multimedia     NVIDIA Corporation
/0/100/1.2                            bridge         Raven/Raven2 PCIe GPP Bridge [6:0]
/0/100/1.2/0          eth0            network        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
/0/100/1.3                            bridge         Raven/Raven2 PCIe GPP Bridge [6:0]
/0/100/1.3/0          /dev/nvme0      storage        WDC PC SN520 SDAPMUW-128G-1101
/0/100/1.3/0/0        hwmon0          disk           NVMe disk
/0/100/1.3/0/1        /dev/nvme0n1    disk           128GB NVMe disk
/0/100/1.3/0/1/1      /dev/nvme0n1p1  volume         528MiB Windows NTFS volume
/0/100/1.3/0/1/2      /dev/nvme0n1p2  volume         99MiB Windows FAT volume
/0/100/1.3/0/1/3      /dev/nvme0n1p3  volume         15MiB reserved partition
/0/100/1.3/0/1/4      /dev/nvme0n1p4  volume         98GiB Windows NTFS volume
/0/100/1.3/0/1/5      /dev/nvme0n1p5  volume         206MiB Windows FAT volume
/0/100/1.3/0/1/6      /dev/nvme0n1p6  volume         499MiB Windows FAT volume
/0/100/1.3/0/1/7      /dev/nvme0n1p7  volume         8191KiB BIOS Boot partition
/0/100/1.3/0/1/8      /dev/nvme0n1p8  volume         19GiB EFI partition
/0/100/1.7                            bridge         Raven/Raven2 PCIe GPP Bridge [6:0]
/0/100/1.7/0          wlan0           network        RTL8821CE 802.11ac PCIe Wireless Network Adapter
/0/100/8.1                            bridge         Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
/0/100/8.1/0                          display        Picasso
/0/100/8.1/0.2                        generic        Family 17h (Models 10h-1fh) Platform Security Processor
/0/100/8.1/0.3                        bus            Raven USB 3.1
/0/100/8.1/0.3/0      usb1            bus            xHCI Host Controller
/0/100/8.1/0.3/0/2                    input          USB Receiver
/0/100/8.1/0.3/0/4                    communication  Bluetooth Radio
/0/100/8.1/0.3/1      usb2            bus            xHCI Host Controller
/0/100/8.1/0.4                        bus            Raven USB 3.1
/0/100/8.1/0.4/0      usb3            bus            xHCI Host Controller
/0/100/8.1/0.4/0/1                    multimedia     USB2.0 HD UVC WebCam
/0/100/8.1/0.4/1      usb4            bus            xHCI Host Controller
/0/100/8.1/0.6                        multimedia     Family 17h (Models 10h-1fh) HD Audio Controller
/0/100/8.2                            bridge         Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B
/0/100/8.2/0          scsi1           storage        FCH SATA Controller [AHCI mode]
/0/100/8.2/0/0.0.0    /dev/sda        disk           1TB ST1000LX015-1U71
/0/100/8.2/0/0.0.0/1  /dev/sda1       volume         467GiB Windows NTFS volume
/0/100/8.2/0/0.0.0/2  /dev/sda2       volume         499MiB Windows FAT volume
/0/100/8.2/0/0.0.0/3  /dev/sda3       volume         461GiB EXT4 volume
/0/100/8.2/0/0.0.0/4  /dev/sda4       volume         2GiB Linux swap volume
/0/100/14                             bus            FCH SMBus Controller
/0/100/14.3                           bridge         FCH LPC Bridge
/0/101                                bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
/0/102                                bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
/0/103                                bridge         Raven/Raven2 Device 24: Function 0
/0/104                                bridge         Raven/Raven2 Device 24: Function 1
/0/105                                bridge         Raven/Raven2 Device 24: Function 2
/0/106                                bridge         Raven/Raven2 Device 24: Function 3
/0/107                                bridge         Raven/Raven2 Device 24: Function 4
/0/108                                bridge         Raven/Raven2 Device 24: Function 5
/0/109                                bridge         Raven/Raven2 Device 24: Function 6
/0/10a                                bridge         Raven/Raven2 Device 24: Function 7
/0/1                                  system         PnP device PNP0c01
/0/2                                  system         PnP device PNP0b00
/0/3                                  system         PnP device PNP0c02
/0/4                                  input          PnP device PNP0303

I also tried The hard way but ended with a black screen with a non-flashing cursor and unable to do anything. After that i made a fresh install of 15.3, denied the installation of nouveau driver and then installed nvidia drivers via Yast. The system is UEFI with SecureBoot enabled, but I stuck on that part. I have no directory called /var/lib/nvidia-pubkeys/ (double checked this from console and Dolphin), so I cant execute the command

mokutil --import /var/lib/nvidia-pubkeys/MOK-nvidia-gfxG05-460.80_k5.3.18_57-lp153.38.1.der --root-pw

as it’s described in the guide.
Can anyone help me with this issue. I’m not feeling very comfortable in the console, so any help with this will be appreciated too. Thanks in advance.

Try to disable secure boot.
You need drivers for Leap 15.3.

  1. I disabled SecureBoot from BIOS before installation
  2. Downloaded drivers from nvidia website, the file name is NVIDIA-Linux-x86_64-460.84.run
  3. First, installed drivers via Yast, not working
  4. Disabled Nouveau, GUI gone, installed drivers from the .run script via the CLI. The result was drivers installed successfuly but no GUI (broken X Server)
  5. Those 4 points took me 5 days and uncountable reinstallations of openSUSE and the nvidia drivers in any possible way
  6. I STILL DONT HAVE WORKING NVIDIA DRIVERS

What he hell should I do to get this **** work for me?

Why do all people mean they have to uninstall nouveau when they install an nvidia driver?
I have not done that in 10 years, using the nvidia drivers from repo and the last years from the webside.

didnt uninstalled them, just blacklisted, as it is said here. I know I’m doing something wrong, but can’t figure out what it is. This part here is not very clear for me. What exactly should I do to boot without nouveau - write splash=silent quiet nomodeset 3 showopts in Yast, or reboot and write the same in GRUB (I tried that and broke the system)

What exactly should I do to boot without nouveau - write splash=silent quiet nomodeset 3 showopts in Yast, or reboot and write the same in GRUB (I tried that and broke the system)

3 means= boot in multiuser.target, init 3 no graphical session.
This is only temporarily to build the drivers from the run-file.

Delete it.

@Sauerland

OK, lets start over. Thats my laptop
ASUS TUF Gaming FX705DD/DT/DU

[ilian@localhost:~> sudo hwinfo --gfxcard | grep Model
[sudo] password for root: 
  Model: "nVidia TU117M [GeForce GTX 1650 Mobile / Max-Q]"
  Model: "ATI Picasso"
ilian@localhost:~> hwinfo --arch
Пълният път до „hwinfo“ е „/usr/sbin/hwinfo“, което предполага изискването на администраторски права (напр. root).
ilian@localhost:~> sudo hwinfo --arch
Arch: X86_64/grub                                               
ilian@localhost:~> 

Now I have a clean install of openSUSE 15.3 with blacklisted nouveau during the installation. In my /home directory I have downloaded 2 nvidia drivers - the stable one (460.84) and the newest one (465.31) and Yast offers 460.80 via the nvidia community repo. Actually I dont care which one I should install, I just want it to work. So please, tell me, what are my next steps

Now I have a clean install of openSUSE 15.3 with blacklisted nouveau during the installation

Why blacklisting so early?
Should all be done automatically by the nvidia driver.

Please post:

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

To get all graphic cards and the used drivers .

[QUOTE=
Please post:

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

To get all graphic cards and the used drivers .[/QUOTE]

That’s the output

ilian@localhost:~> /sbin/lspci -nnk | grep -EiA3 'vga|3d|display'
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] [10de:1f91] (rev ff)
        Kernel driver in use: nouveau
        Kernel modules: nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev ff)
--
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c1)
        Subsystem: ASUSTeK Computer Inc. Device [1043:18f1]
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
ilian@localhost:~> 


https://i.imgur.com/0qWV5Ck.png

So you have a AMD and Nvidia Card inside…

Have you disabled the AMD in the UEFI/Bios?

Yes, and no, didnt found any option for that in BIOS, but I’ve never did this before, when installed nvidia drivers on previous versions of openSUSE.

I am not a friend of 2 graphic cards in a computer.

So I have not spend any time with this.

I suppose the driver will take care of this, at lest as I said, that was the case on previous versions of openSUSE (15.0, 15.1, 15.2) when I installed nvidia drivers on this laptop.

See inside the logs:
/var/log/nvidia-installer.log

Yes, I will, but first I must install the driver. I will try to install it via Yast. And this is what i recieve when adding the community repo (my system is in bulgarian)


This means: The repo file is signed with unknown GnuPG key. Using it is a big security risk for your system.

If you have not added the key…

Still not added it

  1. Nvidia recommends it.
  2. I was able to install and run Nvidia’s drivers only after deleting nouveau drivers.

Without adding this key you cannot use that repo.

Can you post me the Recommendation of Nvidia?
I think not uninstall, only blacklisting…

zypper se -si nouveau
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S  | Name                  | Type  | Version           | Arch   | Repository
---+-----------------------+-------+-------------------+--------+-----------
i+ | Mesa-dri-nouveau      | Paket | 19.3.4-lp152.27.1 | x86_64 | OSS
i+ | libdrm_nouveau2       | Paket | 2.4.100-lp152.1.4 | x86_64 | OSS
i+ | libdrm_nouveau2-32bit | Paket | 2.4.100-lp152.1.4 | x86_64 | OSS
i+ | libvdpau_nouveau      | Paket | 19.3.4-lp152.27.1 | x86_64 | OSS
i  | xf86-video-nouveau    | Paket | 1.0.15-lp152.5.6  | x86_64 | OSS