I tried installing the Nvidia drivers for my GeForce GTX 760M in various ways:
using the official repository:
downloading an installation file from the Nvidia web site
Even though the installation seemed to be successful, I got
pre-installation script failed message from
.run file (the directly downloaded installation file).
After installation, I ran
sudo nvidia-xconfig and rebooted.
In both cases, the system doesn't seem to use the installed driver. Going to
nvidia-settings gives an error:
You do not appear to be using NVIDIA X driver. Please edit you X configuration file (just run
root), and restart the X server.
nvidia-smi gives an error:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
lsmod command lists nvidia among other modules:
nvidia 10688804 0
So, I'm totally confused. How can I change that OS is using Nvidia driver? How to get rid of the error above?
nvidia-settings opens now, but it has not many settings inside:
In the command line I see the following error:
** (nvidia-settings:4334): WARNING **: PRIME: Failed to execute child process "/usr/bin/prime-supported" (No such file or directory)
** Message: PRIME: is it supported? no
inxi -Gx (whatever it does) gives me:
Graphics: Card: Intel 4th Gen Core Processor Integrated Graphics Controller bus-ID: 00:02.0 X.Org: 1.14.3 drivers: nouveau,intel (unloaded: nvidia,fbdev,vesa) Resolution: email@example.com GLX Renderer: N/A GLX Version: N/A Direct Rendering: N/A
So I can conclude that the Nvidia driver is not used. How to fix it?