I just downloaded the driver for Nvidia Geforce 940MX on Deepin Linux 15.5 - 64 bit. But when I ran the installer, It gave the following warning:
WARNING: You do not appear to have an NVIDIA GPU supported by the 387.34 NVIDIA Linux graphics driver installed in this system. For further details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README available on the Linux driver download page at www.nvidia.com.
Unable to load: nvidia-installer ncurses v6 user interface
Using: nvidia-installer ncurses user interface
→ Detected 4 CPUs online; setting concurrency level to 4.
WARNING: You do not appear to have an NVIDIA GPU supported by the 387.34 NVIDIA Linux graphics driver installed in this system. For further details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README available on the Linux driver download page at www.nvidia.com.
→ The file ‘/tmp/.X0-lock’ exists and appears to contain the process ID ‘544’ of a runnning X server.
Also always prefer your distro drivers over NVIDIA drivers because NVIDIA drivers are not safe to use if you don’t understand how to use them properly.
It’s an optimus system, you shouldn’t have used the .run installer but the driver from repositories, like birdie said. You should uninstall it, then reinstall mesa using
after that install the drivers from the repositories and the package nvidia-prime
If the driver is then still complaining about no nvidia gpu found, try kernel parameter
pcie_port_pm=off
well, I didn’t go through with the installer as soon as I saw that warning. I’m using the drivers from driver manager but I think it is still using the Intel driver. Should I still follow all these commands? and how to do that kernel parameter thing?
ok. To have more info, please run nvidia-bug-report.sh as root and attach the tar.gz file it creates to your post.
Might be in /usr/lib/nvidia-XXX/bin with XXX being the major version of the nvidia driver.
So, I ran this but I didn’t find that file in there. Here was the output:
nvidia-bug-report.sh will now collect information about your
system and create the file ‘nvidia-bug-report.log.gz’ in the current
directory. It may take several seconds to run. In some
cases, it may hang trying to capture data generated dynamically
by the Linux kernel and/or the NVIDIA kernel module. While
the bug report log file will be incomplete if this happens, it
may still contain enough data to diagnose your problem.
Please include the ‘nvidia-bug-report.log.gz’ log file when reporting
your bug via the NVIDIA Linux forum (see devtalk.nvidia.com)
or by sending email to ‘linux-bugs@nvidia.com’.
Running nvidia-bug-report.sh…ls: cannot access ‘/proc/driver/nvidia/./gpus/’: No such file or directory
If the bug report script hangs after this point consider running with
–safe-mode command line argument.
bbswitch is shutting off the nvidia gpu so the binary driver didn’t detect it. You can forget about the kernel parameter.
Do you happen to have bumblebee installed? If so, uninstall it, it blacklists the nvidia driver.
when i try to do sudo apt-get install nvidia-prime, I get this:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package nvidia-prime is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘nvidia-prime’ has no installation candidate