I installed nvidia proprietary driver (331.38 on ubuntu 14.04 by sudo apt-get install nvidia-331) and now the Ubuntu load screen is with a bad resolution (640x480). I followed some recommendations from previous questions but I can not increase the resolution. I would like to return to 1920x1080 resolution.
I had this problem a few days ago, removing the xorg.conf created by Nvidia seems to fix the problem. Execute the commands below after pressing CTRL+ALT+F1 on GDM screen or within GNOME.
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old sudo touch /etc/X11/xorg.conf
I installed the
nvidia-396 driver through the .deb file for CUDA Toolkit 9.2, downloaded from here. Running Ubuntu 18.04.
I somehow ended up with a complete blank
xorg.conf and was also stuck at 640x480 resolution.
I solved by running
sudo nvidia-xconfig. This generated a populated
xorg.conf which overrode the blank one. Resolution was fixed after a reboot.
When I did that on my xps 15 (optimus gt 540) the screen was blank, So I removed the drivers (sudo apt-get remove --purge nvidia-*) and then reinstalled ubuntu-desktop, then the resolution was fine.