apt update
apt upguarde
sudo apt install nvidia-driver-510
sudo vim /etc/modprobe.d/blacklist.conf
blacklist nouveau options nouveau modeset=0
sudo reboot
[ 118.796249] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid: NVRM: BAR1 is 0M @ 0x0 (PCI:0000:01:00.0) [ 119.932622] nvidia: probe of 0000:01:00.0 failed with error -1 [ 119.932673] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid: NVRM: BAR1 is 0M @ 0x0 (PCI:0000:02:00.0) [ 119.932683] nvidia: probe of 0000:02:00.0 failed with error -1 [ 119.932749] NVRM: The NVIDIA probe routine failed for 2 device(s). [ 119.932756] NVRM: None of the NVIDIA devices were initialized. [ 119.933768] nvidia-nvlink: Unregistered Nvlink Core, major device number 234 [ 120.322935] nvidia-nvlink: Nvlink Core is being initialized, major device number 234
NVRM: This PCI I/O region assigned to your NVIDIA device is invalid