Where/When do you get the blank screen? Is it when the grub menu should appear upon boot, or when the Ubuntu Unity login screen should appear? If it's the latter, try the following:
Add nomodeset
on your Ubuntu grub entry. Highlight the entry you use to boot, press e, then add replace
...ro quiet splash
...
with
...ro nomodeset quiet splash
...
If that boots to the login screen correctly, press Ctrl + Alt + F2, login, then run sudo prime-select intel
. Then reboot and see if that fixes it.
Also, how are you installing NVidia drivers? DOuble-check at nvidia.com if you're using the correct ones.
From Nvidia customer service....
The following worked for me:
NVIDIA Driver Installation for Ubuntu 16.04
for Ubuntu 16.04, please try the following manual driver installation procedure:
blacklist open source nouveau driver by the command
sudo printf "blacklist nouveau\nblacklist lbm-nouveau" | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
blacklist lbm-nouveaulisam@Atlas-PC:~$
to update the boot process run the command
sudo update-initramfs -u
update-initramfs: generating /boot/initrd.img-4.4.0-36-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1.bin for module i915_bpo
W: Possible missing firmware /lib/firmware/i915/skl_guc_ver6.bin for module i915_bpo
Reboot
use ctrl+alt+F1 to go to a console, then login and use the command
sudo service lightdm stop (command to exit the gui)
change directory to the Download folder where you usually download the NVIDIA driver
cd /home/usr/Downloads
run sudo sh and follow on screen instructions
sudo sh ./NVIDIA-Linux-x86_64-367.44.run
It may say that the pre-installation script failed and do you want to continue and answer Yes.
The target kernel has CONFIG_MODULE_SIG set, which means that it supports cryptographic signatures on kernel modules. On some systems, the kernel may refuse to load modules without a valid signature from a trusted key. This system also has UEFI Secure Boot enabled; many distributions enforce module signature verification on UEFI systems when Secure Boot is enabled. Would you like to sign the NVIDIA kernel module?
<Install without signing>
I tried installing without installing and I get an error message saying I needed to sign the kernel module or signing was necessary for secure boot up.
I tried to disable secure boot:
plug in USB
Restart and enter BIOS
Advanced mode> secure boot
Windows UEFI mode OS
Save secure boot keys
Select USB drive as file system
Saved four key files PK, KEK, DB, DBX to USB
Delete PK to disable secure boot
Save and restart with Other OS type and Secure Boot state disabled
WARNING: Unable to find a suitable destination to install 32-bit comptability libraries. Your system may not be set up for 32-bit compatibility. 32-bit compatibility files will not be installedl if you wish to install them, re-run the installation and set a valid directory with the –compat32-libdir option.
<OK>
Would you like to run the nvidia-xconfig utility to automatically update your X configuration file so that NVIDIA X driver will be used when you restart X? Any pre-existing X configuration file will be backed up
<YES>
reboot or run this command to start the gui:
sudo service lightdm start
Best Answer
I found out that the issue is that the graphical "splash" screen that asks for the passphrase that is causing the issue with Nvidia drivers.
The fix is to remove the graphical splash and switch to pure text mode. Like that, I get a text passphrase prompt and then it goes on to boot the GUI without issue.
Steps to do after:
/etc/default/grub
quiet splash
and replace withtext
in the lineGRUB_CMDLINE_LINUX_DEFAULT
sudo update-grub