my gpu:
lspci | grep VGA
9:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
my ubuntu pc was working just fine but today it decided to not detect my gpu (starting in 480p). I purged nvidia*
and installed sudo apt install nvidia-utils-460 nvidia-cuda-toolkit nvidia-prime
.
If I install nvidia-driver-460
(or sudo apt install nvidia-utils-$VERSION nvidia-driver-$VERSION
[any version]), the system boots in 480p mode (which I assume is disentangling my display driver)
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's a list of installed nvidia packages:
$ sudo dpkg -l nvidia* | grep ii
ii nvidia-compute-utils-460 460.80-0ubuntu0.20.04.2 amd64 NVIDIA compute utilities
ii nvidia-cuda-dev 10.1.243-3 amd64 NVIDIA CUDA development files
ii nvidia-cuda-doc 10.1.243-3 all NVIDIA CUDA and OpenCL documentation
ii nvidia-cuda-gdb 10.1.243-3 amd64 NVIDIA CUDA Debugger (GDB)
ii nvidia-cuda-toolkit 10.1.243-3 amd64 NVIDIA CUDA development toolkit
ii nvidia-dkms-460 460.80-0ubuntu0.20.04.2 amd64 NVIDIA DKMS package
ii nvidia-driver-460 460.80-0ubuntu0.20.04.2 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-460 460.80-0ubuntu0.20.04.2 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-460 460.80-0ubuntu0.20.04.2 amd64 NVIDIA kernel source package
ii nvidia-opencl-dev:amd64 10.1.243-3 amd64 NVIDIA OpenCL development files
ii nvidia-prime 0.8.16~0.20.04.1 all Tools to enable NVIDIA's Prime
ii nvidia-profiler 10.1.243-3 amd64 NVIDIA Profiler for CUDA and OpenCL
ii nvidia-settings 460.73.01-0ubuntu0.20.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-460 460.80-0ubuntu0.20.04.2 amd64 NVIDIA driver support binaries
ii nvidia-visual-profiler 10.1.243-3 amd64 NVIDIA Visual Profiler for CUDA and OpenC
extra hardware infromation - I have a asus rog strix x470 motherboard with secure boot off).