First remove all currently installed NVIDIA software.
In the GRUB boot menu, select the Ubuntu menu entry and press the E key.
Add nouveau.modeset=0
at the end of the linux line.
Press the F10 key to boot into the Ubuntu system.
When the login screen appears press Ctrl+Alt+F1.
Enter your user name and password and then execute :
sudo apt-get purge nvidia*
sudo reboot
Install the drivers supporting NVIDIA GEFORCE 920M.
In the GRUB boot menu, select the Ubuntu menu entry and press the E key.
Add nouveau.modeset=0
at the end of the linux line.
Press the F10 key to boot into the Ubuntu system.
When the login screen appears press Ctrl+Alt+F1.
Enter your user name and password and then execute :
sudo apt-get update
sudo apt-get install nvidia-361 nvidia-prime
sudo reboot
Note: Leave a Space between the last character in the linux
line and nouveau.modeset=0
.
After the NVIDIA drivers are installed, adding the boot parameter is not necessary any more.
Switch between Intel and NVIDIA graphics with NVIDIA X Server Settings -> PRIME Profiles.