Hey @generix !
I really dont mean to bother but I’ve seen you help so many people and I’ve been trying to get my second screen (a tv) to work since i switched over to Linux. Any help would be amazing!
PROBLEM:
Second display (JVC tv) works perfectly in bios and grub menu but turns black after Linux Mint loads, unlike some of the other people I can’t even see the cursor. The display IS detected and shows up in display configuration and xrandr, I can also move applications and the mouse to it but CANNOT see at all.
Although the report says “ERROR: The installation was canceled due to the availability or presence of an alternate driver installation.” I couldn’t find any, I tried using apt purge nvidia* and rebooting (which would use default drivers) and still same thing.
I attached my bug report, I am new to Linux, sorry for the incovenience.nvidia-bug-report.log (457.7 KB)
There’s no nvidia driver installed and nouveau is loaded. Please run
sudo apt install nvidia-driver-440 nvidia-prime
sudo prime-select nvidia
and reboot. Afterwards, please post the output of
dkms status
@generix I’m editing this reply since new users have a limit of 3 replies for topic.
I can’t find Gnome’s control center in Linux Mint, I believe that Display Settings will do the trick. I tried to switch between resolutions, refresh rates, and various configurations but nothing seems to work, also, the display is set as “active”.
I guess this is what I get for buying a laptop, in windows I used to download Intel graphics driver for my laptop from ROG GL552VW - Support but for some reason they decided not to upload drivers for Linux.
Either way, do you have any other ideas on how to fix the problem?
I really don’t want to use Windows but if the problem persists I’m afraid I’ll have no choice until I buy a new computer.
Sincere apologies for bothering,
and thank you so much
The hdmi is connected to the intel igpu anyway, so the nvidia gpu/driver can’t do anything about it. At least it works now.
The tv is detected but not added for unknown reasons, please check if you can enable it in gnome’s control center.
Edit: please also try different resolutions/refresh rates.
@generix Hello, I have a 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.
There was only an outdated, incompatible driver from repo installed. Please do a system upgrade and install the current driver:
sudo apt update
sudo apt upgrade
sudo apt install nvidia-driver-440
If existent, please delete /etc/X11/xorg.conf
Yes, the currently by Ubuntu provided nvidia driver doesn’t compile with kernel 5.7. You would either need to patch the 440 driver https://gitlab.com/snippets/1965550
or wait for the 450 driver to be provided by Ubuntu or use the .run installer (not recommended).
Furthermore, the kernel you installed was compiled with gcc 9.3 but the 18.04 system compiler is 7.5 which means problems ahead. Rather install Ubuntu 20.04 (which has gcc 9.3), install the kernel, fully update system, then install the 440 driver and patch it manually (not difficult). Or wait for the 450 driver to show up in Ubuntu repo.
nvidia-bug-report.log (639.9 KB) @generix, I am trying to install the nvidia driver, I have Ubuntu 18.04, Samsung Expert X50.
I installed this
sudo apt update
sudo apt upgrade
sudo apt install nvidia-driver-440
I deleted the /etc/X11/xorg.conf but after reboot, the nvidia-smi cant comunicate with the nvidia driver:
nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Thanks
EDIT: I solved this problem. I checked that mimimum requirements (file:///usr/share/doc/nvidia-driver-440/html/minimumrequirements.html) were not met. The glibc was not available. I installed with
sudo apt install glibc-source
After, I reinstalled the nvidia-driver-440 and worked.
nvidia-smi
Sat Jul 4 10:45:34 2020
±----------------------------------------------------------------------------+
| NVIDIA-SMI 440.100 Driver Version: 440.100 CUDA Version: 10.2 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce MX110 Off | 00000000:01:00.0 Off | N/A |
| N/A 58C P0 N/A / N/A | 269MiB / 2004MiB | 73% Default |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 3591 G /usr/lib/xorg/Xorg 87MiB |
| 0 3914 G /usr/bin/gnome-shell 66MiB |
| 0 4646 G …AAAAAAAAAAAACAAAAAAAAAA= --shared-files 111MiB |
±----------------------------------------------------------------------------+
lspci -v | grep 3D
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev a2)
nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
Installed the driver ubuntu recommended.
Disabled the secure boot.
Re-installed the driver for several times.
I have tried so many things on this thread, but not getting any traction. Apologies, but I am using Ubuntu 20.04. The same issue was happening on 18.10 and I used it as motivation to upgrade.
Basic symptoms:
$ dkms status
nvidia, 440.100, 5.7.9-050709-generic, x86_64: installed
and
$ prime-select query
nvidia
trying nvidia-smi yields a similar error to those reported above:
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 can’t find any obvious issues based on what is described above in terms of the different blacklist scenarios.
So the upshot is that I don’t understand what is going on here, and I as far as I can tell the driver is supposed to work on the Linux 5.7 kernel. And as far as I can tell this problem started immediately after a recent upgrade on Ubuntu 18.10, but can’t nail down the cause there using the Googlebot just yet.
I experienced this problem after a kernel update to 5.4.0-42 via apt (on Ubuntu 20.04 Focal in my case). The Nvidia driver loaded on my old kernel (5.4.0-40), but not my new one.
The fix turned out to be that apt didn’t automatically install headers for the new kernel, so downstream parts of the kernel upgrade process didn’t recompile the Nvidia module for the new kernel.
Doing sudo apt install linux-headers-5.4.0-42-generic fixed everything. The hooks for installing the headers automatically recompiled the Nvidia kernel module (amazing!), and everything worked right on a reboot to the new kernel.
Having similar problems on Ubuntu 18.04
I have tried:
uninstalling then reinstalling nvidia drivers
disabling secure boot
deleting blacklist-nvidia.conf (well, not that exact file but something v similar - it had nvidia, blacklist, and .conf in the name iirc)
installing linux-headers-5.4.0-42 (already had them)
probably some other stuff I’ve forgotten
None of these appear to have worked for me. In software updates settings it appears I have nvidia-driver-435
Here’s the nvidia-bug-report. nvidia-bug-report.log.gz (204.2 KB)
Hello,
I have the same problem, I have Ubuntu 20.04.
$ nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
$ nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
My graphic card is an NVIDIA GM108M [GeForce 840M]
The driver: nvidia-driver-450 (recommended)
I’ve tried everything I’ve read in this forum, please help.
while trying to remove /etc/X11/xorg.conf --got output as no such file/directory exist
sudo reboot,
nvidia-smi I get this, but not sure as my settings->details isn’t showing graphic as nvidia 450.66. Also, no usage status through smi command
nvidia-smi
**I am running 2 OS on this razer blade, let me know if this has something to do! Thanks
±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
±----------------------------------------------------------------------------+
sanket@sanket-Blade:~$
I am experiencing the same issue just like everyone, I am having GTX 1050 and installed its drivers using
sudo ubuntu-drivers autoinstall
which seemed to workfine (checked using nvidia-smi) but after installing cuda 10.0 using run file I am unable to load Nvidia drivers
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.