Ubuntu 18.04 stuck 640x480 video with nvidia after upgrade and reboot

I searched all over and the only solution that worked for me was:

$ sudo ubuntu-drivers autoinstall
$ shutdown -r now

This upgraded me from nvidia-390 to nvidia-435  successfully on Ubuntu 18.04.3.  Now I am back to my full 4K resolution.

 

Thanks just did Ubuntu updates and had the same problem, this fixed it!