I have a Dell XPS-7590 for 1 year now and have recently upgraded my ubuntu to 20.04. Since that, I’m not able anymore to use my nvidia graphic card whereas it looks like the drivers is correctly installed. Here is some output:
$ 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.
There doesn’t seem to be any nvidia driver installed. Please install it using the Software&Updates application or use
sudo apt install nvidia-driver-440 nvidia-prime
Odd, there’s no trace of any driver in the logs. Please post the output of
cc --version
and
dkms status
Maybe just the kernel headers are missing, please install using
Looks like you’re running a non-standard kernel, why? IDK if the Ubuntu provided 440.64 driver compiles with that at all. Please run
sudo dkms install nvidia/440.64 --all
and post any errors you’re getting.
ii linux-headers-5.3.0-050300 5.3.0-050300.201909152230 all Header files related to Linux kernel version 5.3.0
ii linux-headers-5.3.0-050300-generic 5.3.0-050300.201909152230 amd64 Linux kernel headers for version 5.3.0 on 64 bit x86 SMP
ii linux-headers-5.3.0-050300-lowlatency 5.3.0-050300.201909152230 amd64 Linux kernel headers for version 5.3.0 on 64 bit x86 SMP
ii linux-headers-5.4.0-29 5.4.0-29.33 all Header files related to Linux kernel version 5.4.0
ii linux-headers-5.4.0-29-generic 5.4.0-29.33 amd64 Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
ii linux-headers-5.4.0-31 5.4.0-31.35 all Header files related to Linux kernel version 5.4.0
ii linux-headers-5.4.0-31-generic 5.4.0-31.35 amd64 Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
ii linux-headers-5.5.0-050500 5.5.0-050500.202001262030 all Header files related to Linux kernel version 5.5.0
hi linux-headers-generic 5.4.0.31.36 amd64 Generic Linux kernel headers
It took some time because it was working … but not really. I finally got the good GC running, thank you ! But got some problems with my wifi driver after that… Finally, I decided to give a new try to header 5.4, and to remove the backport iwlwifi drivers. Wifi was now working correctly, and I just had to repeat the commands you gave me today to me the graphic card works too !
I’m having the same problem. I started with a non-standard kernel (5.6.14 better performance than 5.4 shipped with
Ubuntu 20.04) but went to the kernel shipped with Ubuntu, still no joy. I’m trying to get a GTX 1660 Super to work under
Ubuntu 20.04.
@nanook, please open a new thread, run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post. You will have to rename the file ending to something else since the forum software doesn’t accept .gz files (nifty!).