It’s very strange that despite your grep nvidia
output your log still indicates the previous issues:
WARNING: You do not appear to have an NVIDIA GPU supported by the 460.39 NVIDIA Linux graphics driver installed in this system. For further details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README available on the Linux driver download page at www.nvidia.com.
-> Installing NVIDIA driver version 460.39.
-> An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer.
Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:
The NVIDIA driver provided by Ubuntu can be installed by launching the "Software & Updates" application, and by selecting the NVIDIA driver from the "Additional Drivers" tab.
Nevertheless here’s my recommedation:
-
Check your BIOS settings for the following:
- Primary GPU: Auto ( or Discrete if you’re going to only use your NVIDIA but power usage will increase. )
- CSM Support: Disabled (Usually present only when OS is set to Windows 8
- Secure Boot: Disabled
-
Completely remove NVIDIA drivers:
sudo apt remove --purge '^nvidia-.*'
sudo apt remove --purge '^libnvidia-.*'
-
Remove any residues:
sudo rm /etc/X11/xorg.conf
sudo rm /etc/X11/xorg.conf.d/90-nvidia-primary.conf
sudo rm /usr/share/X11/xorg.conf.d/10-nvidia.conf
sudo rm /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf
-
Make sure NVIDIA modules are not blacklisted:
grep blacklist /etc/modprobe.d/* /lib/modprobe.d/*
- If nvidia shows up in the above
grep
output , remove the corresponding blacklist file
-
Reboot
-
Update and cleanup your system
sudo apt update -y && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt clean -y && sudo apt autoclean -y
-
Install NVIDIA drivers through Software & Updates → Additional Drivers Tab
-
Enable NVIDIA DRM KMS:
-
sudo bash -c "echo options nvidia_drm modeset=1 > /etc/modprobe.d/nvidia-kms.conf"
-
sudo update-initramfs -u
-
-
Reboot
-
Configure PRIME:
sudo nvidia-xconfig
sudo prime-select nvidia