Does Ubuntu 16.04 support hybrid graphics cards (bumblebee)

Solution 1:

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.

Solution 2:

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.

Solution 3:

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

Solution 4:

The bumblebee version in the repos and the default nvidia-361 driver do not work. You either have to install an older nvidia driver and manually edit multiple config files or install bumblebee and nvidia drivers from ppa's and also manually edit files. The alternative is to use nvidia-prime to switch graphics drivers but this requires that you log out each time. Bumblebee works out of the box in several other distros so its disappointing to have to jump through so many hoops to get it working in a major distro like ubuntu.