As you get the following error:
Error: alternatives are not set up properly
You may try to set the alternatives yourself.
When I switch to Intel I see:
update-alternatives: using /usr/lib/nvidia-331-prime/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in manual mode
update-alternatives: using /usr/lib/nvidia-331-prime/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in manual mode
When I switch to NVIDIA I see:
update-alternatives: using /usr/lib/nvidia-331/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in manual mode
update-alternatives: using /usr/lib/nvidia-331/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in manual mode
So you could try this to switch to Intel:
sudo update-alternatives --set x86_64-linux-gnu_gl_conf /usr/lib/nvidia-331-prime/ld.so.conf
sudo update-alternatives --set i386-linux-gnu_gl_conf /usr/lib/nvidia-331-prime/alt_ld.so.conf
Obviously you should replace 331 by your own version.
Now you could try a few things to trigger the switch:
Log out and log in again
to restart the X server as you normally would do
Reboot your whole PC
for the same purpose of the above
Execute sudo prime-select nvidia
as your alternatives are now set for Intel, I hope this will also fix any other settings so that everything is as it should be again (obviously you should still restart the X server)
I hope that I've interpreted the error right.
Also, you could use prime-select query
to check which card is currently selected, and fix the alternatives for that card (for example NVIDIA) as you may somehow have set alternatives for the other card (for example Intel), but the tool is still thinking that you're using the other card (for example NVIDIA), thus giving an error saying that the alternatives are not set up properly.
I think it is not Intel adapter crashing, but the problem is with the open source Nvidia driver.
Install the correct driver by
sudo apt-get install nvidia-352
Reboot and switch to Nvidia
sudo prime-select nvidia
Then log off and on.
But I suspect that Intel will work OK too.
Best Answer
You can check in System Settings -> Details which graphic card you are using.
And to switch between graphics use:
and for nvidia use