I’m honestly not sure if the issue is Prime or just the drivers.
- Brand new Dell XPS 15 9560, Intel IDG and Nvidia 1050
- Ubuntu 16.04.1
- Kernel 4.4.0-62-generic
Without the nvidia drivers and prime, works great in “Intel mode”.
I then install the native drivers (nvidia-378, nvidia-prime, nvidia-settings). After logging in, everything is great. I checked and I was using the Nvidia drivers (the only issue being that not all screen resolutions were available).
However, anything that causes X to shutdown completely freezes the laptop - video stops, can’t ping, even the Caps lock button is disabled.
At first I couldn’t figure out the problem. I was just trying to switch from Intel to Nvidia and back and it froze. Then I went to the console to restart lightdm, which restarts X and it froze. Then I realized just logging off, which also causes X to reset made the machine freeze.
Then I simply uninstalled the Nvidia drivers and everything worked again.
Wondering if anyone else has seen anything similar. Googling the issue I do see some similar problems.