Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
40 votes

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

You may want to install cuda toolkit. Using the following command to install it. sudo apt install nvidia-cuda-toolkit Once the installation is done, reboot the machine. nvidia-smi should work.
Jack Chan's user avatar
  • 601
33 votes

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

If your nvidia-smi failed to communicate but you've installed the driver so many times, check prime-select. Run prime-select query to get all possible options. You should see at least nvidia | intel. ...
Phúc Lê's user avatar
  • 439
21 votes

bumblebee doesn't work on Ubuntu 18.04

There was one major change in nvidia driver that prevents bumblebee from working - glvnd (https://github.com/NVIDIA/libglvnd). In short, bumblebee is running a separate instance of xorg on a separate ...
clover's user avatar
  • 530
19 votes

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

I disabled the Secure Boot and it worked pretty fine. @rod-smith aswered another question more specific explaining how to do it, basically is a setup config, but he also write a good article about ...
Rodolfo's user avatar
  • 1,103
18 votes
Accepted

Do I need to install Bumblebee for Hybrid Graphics system to enable Optimus on Ubuntu 16.04?

Currently, you have (at the best of my knowledge) three possibilities regarding Nvidia hybrid graphics (the so-called Optimus technology) under Linux: Bumblebee. While this project might seem dead, ...
Archange's user avatar
  • 296
15 votes

How am I supposed to use nvidia-prime?

you can also do sudo prime-select intel (or nvidia or query) Ubuntu 18.04.1 repositories have been updated with a partial backport of work from 18.10 which dramatically improves the Optimus ...
Tim Richardson's user avatar
15 votes
Accepted

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

The solution by Markus lead me to a better solution. So it has to do with Secure Boot, but it is not necessary to deactivate. To fix the problem, just do 3 steps: Deactivate the Nvidia driver by ...
w-sky's user avatar
  • 1,286
14 votes
Accepted

Screen tearing on Nvidia GTX960m

I have two hybrid laptops running 17.04, an old ThinkPad and a P50 (2016). These are Nvidia Optimus machines, both with the 'enterprise class' Quadro graphics and proper hardware multiplexing which ...
Tim Richardson's user avatar
13 votes

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

since I cannot comment on @Rodolfo's answer above (not enough reputation), I am adding a new answer. On my machine I had to configure Secure Boot accordingly to my OS. I have an ASUS mainboard ...
markus's user avatar
  • 149
12 votes

Installing Ubuntu On Dell Precision 5510

How to Install Ubuntu 16.04 LTS on the Dell Precision 5510 [edit: Aside from the "Allow Linux to see your storage device" step, on newer install media, this guide is no longer necessary. Just install ...
justsomeguy's user avatar
12 votes
Accepted

Ubuntu 20.04 Installing Nvidia drivers

So I had a total disaster with "Bumblebee". I entered the above commands but they caused all sorts of weird responses resulting in me having to give up and just re-install a clean copy of ubuntu 20.04 ...
greenbeast's user avatar
9 votes
Accepted

Ubuntu 18.10 external monitor with intel graphics

The short version: Your laptop's HDMI port is wirred to the nVidia card in Hardware. No software solution can change this, you need to resort to a mini-DP --> HDMI hardware convertor to make this ...
WinEunuuchs2Unix's user avatar
8 votes
Accepted

How to use "prime-select on-demand" in latest Kubuntu 19.10

This is a confusing new 'option' that isn't described and generally of no use to most users. The bug report that lead to this being added stated - "Per current NV and intel GPU driver, if we load ...
doug's user avatar
  • 17k
7 votes
Accepted

Module 'nvidia-361' is not found

As you have a quite new CPU and GPU - there might be some incompatibilities. Use the following method to install the NVIDIA drivers. First of all uninstall the currently installed NVIDIA drivers and ...
cl-netbox's user avatar
  • 31.2k
7 votes

How to use "prime-select on-demand" in latest Kubuntu 19.10

In ubuntu 19.10 xorg needs some patches that are only available for 18.04 and 19.04 here You can read all information here first you need to remove intel drivers to use software based rendering (...
Celebre Asm's user avatar
5 votes
Accepted

Disable NVIDIA Optimus Graphics Card

Uninstall the proprietary NVIDIA drivers and disable the use of the nouveau drivers. Open a terminal and execute : sudo apt-get install gksu gksudo gedit /etc/default/grub Add nouveau.modeset=0 ...
cl-netbox's user avatar
  • 31.2k
5 votes

How to use CUDA with NVIDIA Prime

In my case I found that the NVidia card was not actually turned off, and the only thing I actually needed to do to run CUDA code was: export LD_LIBRARY_PATH=/usr/lib/nvidia-352 in the shell where I ...
David Huggins Daines's user avatar
5 votes
Accepted

Nvidia prime or optimus

I think you're confusing technologies here. NVIDIA Optimus is the codename for the dual graphics card split enjoyed by a wide variety of "gaming" laptops with "dedicated" graphics. It has nothing to ...
Kaz Wolfe's user avatar
  • 34.2k
5 votes

No Audio Over HDMI on NVIDIA GeForce GTX 1050 Ti

Many thanks to Rudi Daemen. The audio problem on my GTX 1060 was solved by his solution. You can try his solution: Create file /etc/systemd/system/fix-hdmi-audio.service [Unit] Description=nVidia ...
Ping Chu Hung's user avatar
5 votes

My Nvidia dGPU isn't detected after updating to 19.10

nvidia-prime has changed yet again between Ubuntu 19.04 and 19.10. Between Ubuntu 16.04 and Ubuntu 18.04, Ubuntu used bbswitch, a community built kernel module, to turn off the Nvidia GPU in Optimus ...
Syfer Polski's user avatar
4 votes

Installing Ubuntu On Dell Precision 5510

On my side I am now using Ubuntu 16.04 LTS (daily build image) which brings kernel 4.4 and it works pretty smoothly out of the box ! http://cdimage.ubuntu.com/daily-live/current/ EDIT : actually I ...
kochouloo's user avatar
4 votes

Kubuntu 16.04 + Bumblebee Failed to load module "mouse" (module does not exist, 0)

Please don't install any packages. Just edit the file /etc/bumblebee/xorg.conf.nvidia to include the following screen-section to make bumblebee work: Section "Screen" Identifier "Default Screen" ...
Manikandaprabu.N's user avatar
4 votes
Accepted

No HDMI output when using Intel Graphics

After doing plenty of research for months, my conclusion is the following: The HDMI port is directly connected to the NVIDIA GPU (as suspected), and there is no way to forward that port to the Intel ...
fgblomqvist's user avatar
4 votes
Accepted

18.04 sudo prime-select intel gives ERROR the installed packages do not support PRIME

Try sudo apt install nvidia-prime Also, you may need to do as described here: sudo systemctl disable nvidia-fallback.service Add nouveau.blacklist=1 in /etc/default/grub in the line ...
Mr.WorshipMe's user avatar
4 votes
Accepted

Ubuntu 20.04 Nvidia prime on Demand and External Monitors

Your external monitors are connected to the Nvidia card and using them while in offload mode is supported only by the 450 family of Nvidia drivers. In summary: if you want to use them with "On ...
Giovanni Beltrame's user avatar
4 votes

Cannot turn off NVIDIA GPU using bbswitch

Ok, I found a way of turning off the NVIDIA card without using bbswitch. I still don't know why the NVIDIA card disappears from lspci when I use the Intel profile instead of any of the NVIDIA profiles....
DeathByDenim's user avatar
3 votes
Accepted

Optirun Cannot access secondary GPU - error: [XORG] Invalid argument for -config

I have found a nice workaround. It was ridiculous. The package primus comes with the primusrun command that does the same as optirun, just better and does not cause that error to appear.
Dugi's user avatar
  • 1,059
3 votes
Accepted

How to use CUDA with NVIDIA Prime

I believe I've found at least a cursory solution to this, as described in the update to my original post. Really there's two solutions I found, though I'm sure there are others. 1 - With Prime in ...
orodbhen's user avatar
  • 279
3 votes

Do I need to install Bumblebee for Hybrid Graphics system to enable Optimus on Ubuntu 16.04?

Ubuntu 16.04 of course supports hybrid graphics solutions, especially notebooks that have intel graphics and NVIDIA graphics with Optimus support. Do NOT install bumblebee, it is not under development ...
cl-netbox's user avatar
  • 31.2k
3 votes

Problems installing Nvidia drivers

First remove all currently installed NVIDIA software. In the GRUB boot menu, select the Ubuntu menu entry and press the E key. Add nouveau.modeset=0 at the end of the linux line. Press the F10 key to ...
cl-netbox's user avatar
  • 31.2k

Only top scored, non community-wiki answers of a minimum length are eligible