NVIDIA 460 Driver Problem on Ubuntu 20.04


Seem to be a common issue, but still, anything is not working for me from similar topics…

Lenovo Legion Y520

Info from About from Settings

Ubuntu 20.04.2 LTS, 64 bit
GNOME 3.36.8
Windowing X11

Processor Intel® Core™ i7-7700HQ CPU @ 2.80GHz × 8
Graphics Mesa Intel® HD Graphics 630 (KBL GT2)

$ sudo lshw -c display

*-display UNCLAIMED
description: 3D controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128)
description: VGA compatible controller
product: HD Graphics 630
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:132 memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:5000(size=64) memory:c0000-dffff

$ 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.

Here is bug report:
nvidia-bug-report.log.gz (162.3 KB)

$ cc --version

cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO

$ dkms status

nvidia, 460.80, 5.8.0-53-generic, x86_64: installed

$ sudo apt-get install linux-headers-$(uname -r)

Reading package lists… Done
Building dependency tree
Reading state information… Done
linux-headers-5.8.0-53-generic is already the newest version (5.8.0-53.60~20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

$ sudo dkms install nvidia/460.80 --all

Module nvidia/460.80 already installed on kernel 5.8.0-53-generic/x86_64

$ dpkg --list |grep "linux-headers"

ii linux-headers-5.4.0-73 5.4.0-73.82 all Header files related to Linux kernel version 5.4.0
ii linux-headers-5.4.0-73-generic 5.4.0-73.82 amd64 Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
ii linux-headers-5.8.0-50-generic 5.8.0-50.56~20.04.1 amd64 Linux kernel headers for version 5.8.0 on 64 bit x86 SMP
ii linux-headers-5.8.0-53-generic 5.8.0-53.60~20.04.1 amd64 Linux kernel headers for version 5.8.0 on 64 bit x86 SMP
ii linux-headers-generic amd64 Generic Linux kernel headers
ii linux-headers-generic-hwe-20.04 amd64 Generic Linux kernel headers

Appreciate for help!

Set your kernel to the 5.4.0-7x-generic, I was on 5.4.0-74 with Ubuntu 18.04 and it was working.
Ubuntu kernel 5.8 seems to be a newer release and might be less stable.