I've tried a few things like purging and reinstalling the driver or using an older one , with no luck. I've also tried downloading and running the .run driver from the nvidia website but it failed to install.
I experienced this error when trying to reduce the load on my Nvidia card by selecting my internal graphics within nvidia-settings -> PRIME Profiles -> Select GPU -> Intel (not NVIDIA). This did not have the desired effect as it's not possible to use CUDA on the NVIDIA card without the NVIDIA profile enabled.
I had the same issue and a combination of these posts worked for me:
How to inspect the currently used Nvidia driver version and switch it to another alternative?
How do I know which NVIDIA driver I need?
I did the following:
apt-cache search nvidia grep -P '^nvidia-(driver-)?[0-9]+\s'
This gave me a list of several drivers, so I went installing one by one, until I got to the right one;
sudo apt-get install nvidia-driver-XXX
After that, I could see my nVidia GPU in both hardinfo, dkms status and ubuntu-drivers devices (something I couldn't before).
However, nvidia-settings and nvidia-smi didn't work (which meant that the driver wasn't properly loaded).
My laptop diagnostic shows several pre-fails and has other issues so I am urgently shopping for a new laptop, my second using Ubuntu. I need a laptop with good graphics capabilities and have come across a couple with the Nvidia GeForce 840M graphics card. In other words, I do not have a problem now and am hoping to avoid one.
My research on Ask Ubuntu and elsewhere shows that there have been some bugs with Ubuntu 14.04 and Nvidia drivers (not just for the 840M driver) but that fixes were made or a least suggested. But I have seen nothing definitive, e.g. the Ubuntu Certification for laptops is barely starting with 14.04.
I am about to spend a 1000 dollars and would love a little more assurance before I proceed -- my understanding is that a Live CD cannot perform a full simulation. Are there easy-to-recognize concrete factors which make compatibility (more) predictable, such as specific models of computer and their processors?
First, installing the nvidia-340 drivers would cause Unity and Gnome to fail when launching. I could drop to a shell Ctrl + Alt + F1 and remove the driver sudo apt-get remove nvidia* to get things back to running solely on the Intel Graphics Driver.
After some research, I discovered that having both these interfaces made the system an NVIDIA Optimus (which is actually good just not well supported on Linux yet). Luckily, there is a project called Bumblebee which will help. More info here:
For me, at this point bumblebee was installed but the nvidia-304 package was installed as this is what is installed with nvidia-current. Looking online I found that I needed Driver 337+. At the time of writing this, the best driver for me was nvidia-340. This however is not in the default repo so you will need to add another one.
I installed a Lenovo Z50-70 laptop two days ago with an Intel HD 4400 integrated and with this Nvidia Geforce 840M GPU. I installed an Ubuntu 14.04 trusty thar on it (from an usb stick with UEFI boot). The system worked with the intel vga by default, yes, a current nouveau driver can't recognise the Geforce 840M.
Open the System settings window, than softwares and updates, and the Additional drivers tab. Wait some seconds, and now, you can see at least two component in the Nvidia list. Select the nvidia driver instead of nouveau (current stable version is 340.58), and wait for the automatic install (a progressbar will work in the window).
If you installed bumblebee or any other unsupported tool, you must purge these things first! Or you can try to tricking with this toys. With the official prime support, you can switch between the intel and nvidia chips with the nvidia settings application.
And then install the nvidia-331 driver. Install this exact version, not any newer version. I tried some newer versions (and also lot of other stuff) and they were working but much worse. sudo apt-get install nvidia-331.
Okay, I have an HP Envy 17 laptop that was preloaded with Windows 8.1. I ditched Windows in favour of Linux. My laptop comes with the NVIDIA Geforce 840m. I install Ubuntu 14.04, and go to the Additional Drivers tab, and my GPU is not detected. So I go to the Nvidia website, and was glad to see that they support the Geforce 840m. I followed a Youtube tutorial on how to install the Nvidia driver =pZ-r3gS38RU. All went well until the Nvidia installer said it did not detect a supported GPU. I then proceeded to install the PPA to see if that would activate my GPU. It does, and I am able to select different versions of the driver in the Additional Drivers tab. However, the moment I do anything that uses the GPU, the driver crashes. No matter what driver version I use, I get the same result. Please help, I do a lot of 3D modelling, and I don't want to go back to using Windows!!!
This, however, will still make the machine boot into a black screen. The problem is that the nvidia module is being loaded before the intel one. Bumblebee creates a file /etc/modules/modprobe.d/bumblebee.conf that blacklists nvidia-modules. This file, however, hasn't been updated in a while. Therefore, you must add the following to the end of this file:
after running the elementaryOS update which brings the new AppCenter, I found in the update tab a new section "drivers". It offers in my case to install (not update) three drivers: intel-microcode, nvidia-340 and nvidia-375. I have a notebook with intel on-chip-grafic and an external nvidia grafic chip (geforce 840M). So two drivers, one for intel and one for nvidia seems ok but do I really need two drivers for nvidia?
Normally I tend to accept all updates suggested on the update tab, while I am used to choose from the software options presented on the other tab (startpage) for what I think could be useful to me. So I am puzzled, if the new AppCenter offers on the update tab options that are not made for my computer or if it detects my hardware and I should follow the suggestions and install two different drivers for the nvidia-grafic-card?
On the ubuntu help-page I found the information, that I would need for the nvidia geforce 400 to 1000 series the 375 driver (see ) I did not found any information, that I should install two different drivers.I installed the intel and the nvidia-375 drivers and it seems to work. But still I am puzzled if I need to install the second nvidia-driver, since it is still offered on every system update.
1. Open-Source Nouveau Drivers: At the time of this writing, the open-source Nouveau drivers support only the basic graphics features like 2D/3D accelerations, video decoding accelerations, and so on. It does not support many of the advanced features that the NVIDIA GPUs are capable of. For example, the open-source Nouveau drivers have no CUDA support. So, if you want to run the AI (Artificial Intelligence) codes on your NVIDIA GPUs, there are no currently other options than using the official NVIDIA drivers on Linux.
2. Official NVIDIA Drivers: The official NVIDIA drivers support all the features of the NVIDIA GPUs (including CUDA for AI projects). The official NVIDIA drivers are faster and perform better than the open-source Nouveau drivers on Linux at the time of this writing. So, the official NVIDIA drivers are preferred if you own an NVIDIA GPU.
At the time of this writing, the nvidia-driver-525 is the latest version of the official NVIDIA drivers that you can install on Linux Mint 21. You can see that this version of official NVIDIA drivers is marked as recommended.
A list of all the available official NVIDIA driver versions should be displayed. At the time of this writing, the official NVIDIA driver version 525 (nvidia-driver-525 package) is the latest as marked in the following screenshot:
You should see that the nvidia kernel modules are loaded instead of the nouveau kernel modules as shown in the following screenshot. This means that the official NVIDIA drivers are working just fine on Linux Mint 21.
You can search for the NVIDIA X Server Settings app in the Application Menu of Linux Mint 21. As you can see in the following screenshot, the NVIDIA X Server Settings app is available. Click to open it.
As you can see, the NVIDIA X Server Settings app is running just fine and it shows up all the information about our NVIDIA GPU correctly. So, the official NVIDIA drivers are working just fine on Linux Mint 21.
The third method is to run the nvidia-smi command from the command line and see if it prints the usage information about your NVIDIA GPU. If the official NVIDIA drivers are working, the command should print the NVIDIA GPU usage information correctly.
To see how to completely uninstall the official NVIDIA drivers and prepare the Linux Mint 21 to clean install the official NVIDIA drivers, read the article on How to Clean Install the NVIDIA Drivers on Linux Mint 21.
We showed you how to check whether you have the NVIDIA GPU installed on your computer/laptop from Linux Mint 21 operating system. We also showed you how to install the official NVIDIA drivers on Linux Mint 21 using the Driver Manager app graphically and from the terminal or command line. We also showed you the three methods of checking if the official NVIDIA drivers are working correctly on Linux Mint 21 as well. Finally, we showed you how to switch back to the open-source Nouveau drivers if the official NVIDIA drivers are causing you any problems.
Freelancer & Linux System Administrator. Also loves Web API development with Node.js and JavaScript. I was born in Bangladesh. I am currently studying Electronics and Communication Engineering at Khulna University of Engineering & Technology (KUET), one of the demanding public engineering universities of Bangladesh.
c80f0f1006