Hello everyone. I have problem with NVIDIA drivers.
I want install it but i have a some problems.
I use GPU: NVIDIA GeForce 940MX
And the kernel is 6.5.13-7-MANJARO
I want install drivers for my GPU. I install file
I had install file with name NVIDIA-Linux-x86_64-550.67.run
And run it with sudo bash NVIDIA-Linux-x86_64-550.67.run, and then i see the error
And in log file
cat /var/log/nvidia-installer.log 1 ✘ 10s amir
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Apr 8 23:33:54 2024
installer version: 550.67
PATH: /home/amir/bin:/home/amir/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
nvidia-installer command line:
./nvidia-installer
Unable to load: nvidia-installer ncurses v6 user interface
Unable to load: nvidia-installer ncurses user interface
Using: nvidia-installer ncurses v6 user interface (widechar)
-> Detected 4 CPUs online; setting concurrency level to 4.
-> Unable to scan initramfs: no tool found
-> Installing NVIDIA driver version 550.67.
-> 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.
Please help me
Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text