By Sheldon L | Published at 2020-05-11 | Updated at 2020-05-11 |
sudo hwinfo --gfxcard --short
# check which card is being used, CHOOSE ONE
sudo prime-select query
sudo lshw -c display | grep NVIDIA
sudo lspci -nnk | grep -iA3 vga
sudo lspci | grep -i --color 'vga\|3d\|2d'
sudo inxi -Gx
sudo ubuntu-drivers devices
sudo ubuntu-drivers autoinstall
sudo apt install nvidia-driver-390
sudo shutdown -r now
nvidia-smi
sudo nvidia-settings
sudo apt purge nvidia-*
sudo apt install xserver-xorg-video-nouveau # switch back
sudo shutdown -r now