Does Ubuntu 16.04 support hybrid graphics cards (bumblebee)
I got it working after some trying (nvidia-364, from ubuntu graphics ppa).
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-364
sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic
sudo systemctl enable bumblebeed
After that sudo gedit /etc/modules
and add 2 lines:
i915
bbswitch
then
sudo prime-select intel
sudo gedit /etc/bumblebee/bumblebee.conf
in line 22: Driver=nvidia
Make sure to change lines change every nvidia-current
to nvidia-364
(or whatever version you have).
After that, you can safely reboot your computer.
Bumblebee had no development since 2013 and is deprecated in 16.04, installation of nvidia-361
and nvidia-prime
should take care of the bumblebee functionality. pilot6 gave the usage details here.
Don't let the "it's broken" comment influence you. There were lots of improvements in the meantime.
Still nothing on the vsync problem. We'll need kernel 4.5, xorg patch (1.19) and nvidia patch.
You can follow up the thread here.
https://devtalk.nvidia.com/default/topic/775691/linux/vsync-issue-nvidia-prime-ux32vd-with-gt620-m-/3