Article 567Y7 NVidia driver doesn't work on new openSuse Leap

NVidia driver doesn't work on new openSuse Leap

by
rdx
from LinuxQuestions.org on (#567Y7)
# /sbin/lspci -nnk | grep -EiA3 'vga|display|3d'
10:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117 [GeForce GTX 1650] [10de:1f82] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:8d92]
Kernel modules: nouveau
10:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev a1)
--
Subsystem: ASRock Incorporation Device [1849:43d0]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
15:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b8] (rev 02)
# cat /var/log/nvidia-installer.log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Jul 28 04:19:17 2020
installer version: 450.57

PATH: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses v6 user interface
-> Detected 8 CPUs online; setting concurrency level to 8.
-> Installing NVIDIA driver version 450.57.
-> Running distribution scripts
executing: '/usr/lib/nvidia/pre-install'...
grep: /etc/sysconfig/kernel: No such file or directory
-> done.
-> The distribution-provided pre-install script completed successfully. If this is the first time you have run the installer, this script may have helped disable Nouveau, but a reboot may be required first. Would you like to continue, or would you prefer to abort installation to reboot the system? (Answer: Continue installation)
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Performing CC check.
ERROR: Unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

I do not understand :"ERROR: Unable to find the kernel source tree for the currently running kernel."latest?d=yIl2AUoC8zA latest?i=v3LAPnYF26s:JLpwXUIuZOU:F7zBnMy latest?i=v3LAPnYF26s:JLpwXUIuZOU:V_sGLiP latest?d=qj6IDK7rITs latest?i=v3LAPnYF26s:JLpwXUIuZOU:gIN9vFwv3LAPnYF26s
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments