I have two kinds of problems depending on what I tried.
1.NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver.
I have tried (based on several forums):
sudo apt purge nvidia*
1b. install nvidia driver from Software & Updates > Additional Driver. Select nvidia-driver-470 (proprietary, tested) [also have tried other version too, e.g. nvidia-driver-510 or nvidia-driver-515 after purging]
1c. remove /lib/modprobe.d/blacklist-nvidia.conf
sudo prime-select nvidia
1e. confirmed installed status from
1f. reboot. Then it goes to the problem number 2
- Can boot but no display. Just black screen with one underscore white cursor. Can enter tty. Logged in, nvidia-smi works well here. Can return to problem number 1 if
sudo prime-select intelthen reboot. Also, problem 2 will not happen if I didn’t (forgot to) delete /lib/modprobe.d/blacklist-nvidia.conf (but problem 1 persists in this case)
Attached is the bug report that I generate in tty during problem 2.
nvidia-bug-report.gz (303.1 KB)