Black screen after installing nvidia driver 470 in ubuntu 21.04

After a clean install of ubuntu 21.04, I tried to install the recommended graphics driver from additional drivers, which was the 470 one. I’ve attached an Nvidia bug report run in sudo env.nvidia-bug-report.log.gz (282.6 KB)

The driver loads fine, but it seems you are on the intel card.
Make sure nouveau and nvidiafb drivers are blacklisted:

grep -r -E “nouveau|nvidiafb” /etc/modprobe.d/

then run sudo prime-select intel, then sudo prime-select-nvidia and reboot.

That solved the issue, thank you.