Hi,
I have a problem with Nvidia driver.
When I run nvidia-smi I get:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the
latest NVIDIA driver is installed and running.
Running nvidia-settings :
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
Running lspci | grep -i nvidia
06:00.0 VGA compatible controller: NVIDIA Corporation Device 2503 (rev a1)
06:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
I spent a long time searching to solve this problem including the following:
sudo apt install nvidia-driver-460
and
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=realloc"
sudo update-grub
sudo reboot
Running grep 10de /lib/udev/rules.d/*
/lib/udev/rules.d/71-nvidia.rules:SUBSYSTEM=="pci", ATTRS{vendor}=="0x10de", DRIVERS=="nvidia", TAG+="seat", TAG+="master-of-seat"
Running sudo modprobe nvidia
modprobe: ERROR: could not insert 'nvidia': Operation not permitted
Running dkms status
nvidia, 460.73.01, 5.8.0-59-generic, x86_64: installed
and running
sudo dkms remove nvidia/460.73.01 --all
sudo dkms install --force nvidia/460.73.01 -k $(uname -r)
sudo update-initramfs -u
sync
reboot
and also some trying like this:
- Run
prime-select query
to get all possible options. You should see at leastnvidia
. - Choose
prime-select nvidia
.
Running sudo lshw -c display
*-display UNCLAIMED
description: VGA compatible controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:06:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller cap_list
configuration: latency=0
resources: iomemory:7f0-7ef iomemory:7f0-7ef memory:fb000000-fbffffff memory:7fe0000000-7fefffffff memory:7ff0000000-7ff1ffffff ioport:e000(size=128) memory:fc000000-fc07ffff
Running grep nvidia /etc/modprobe.d/ /lib/modprobe.d/**
Output: /etc/modprobe.d/blacklist-framebuffer.conf:blacklist nvidiafb
Here are the info about the pc.
Graphic card: nvidia RTX 3070
OS:Ubuntu 20.04.2 LTS
Kernel version: 5.8.0-59-generic
Thanks in advance. I really spent too much time here and still got stuck. I need your help, pls.
Kind regards,
Wayne