16

Does Ubuntu 16.04 support hybrid graphics cards? I ask because of the support of ubuntu snappy core in Ubuntu 16.04.

I use bumblebee to start, for example a game, in better graphics quality. (optirun ./start.sh)

Link to bumblebee

Does that work with Ubuntu 16.04?

user3728501
  • 1,054

6 Answers6

19

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.

Huba Buba
  • 206
  • 1
    Works verry well. But important is, to remove bumlebee and nvidia before restarting the system.

    sudo apt-get purge nvidia* bumblebee

    – JOnathanJOnes Apr 23 '16 at 13:17
  • 1
    You should also sudo apt-get install nvidia-prime as well as nvidia-364 otherwise prime-select will not be available. It wasn't obvious to me that I could install both bumblebee and nvidia-prime, although this seems to be essential on my machine. – ali_m Apr 26 '16 at 19:00
  • Once I get to the point where I should prime-select intel, I am being told that that nvidia-prime needs to be installed... doing this however uninstalls the bumblebee packages. How did you manage to install both simultaneously? – cuichi Nov 13 '16 at 14:36
10

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.

emk2203
  • 4,166
  • 1
  • 21
  • 47
  • This pretty much sums it up. sudo apt-get install nvidia-361 nvidia-prime will add the functionality. – Lemagex Apr 19 '16 at 11:20
  • 4
    nvidia-prime has nowhere near the functionality of primus – Aido May 04 '16 at 00:59
  • the nvidia-prime approach is seemless , you don't have to switch it enables the nivida bits when you need them. It looks like its not using nvidia but is conspicously fast. – Amias May 20 '16 at 13:12
  • I have Ubuntu 16.04 and Bumblebee is working ok for me. – QkiZ Sep 19 '16 at 12:50
  • @AidanEdwards Like which functionality? – jarno Jan 08 '17 at 15:00
  • @jarno Sorry, I can't remember. I haven't had that hybrid setup since the beginning of the school year. – Aido Jan 09 '17 at 18:45
  • Fixed broken system suspend where waking to black screen last three days. One of the steps was System Settings -> Software and Updates -> Additional Drivers and deselect "Nividia proprietary 304and selectNvidia proprietary 375forgot theprime-select` step but did that after reboot with ++F2 console screen. +1 in case this helps others. Note I did three other things in same session so can't guarantee this fix is ultimate reason my suspend/resume is normal now. – WinEunuuchs2Unix Apr 09 '17 at 16:51
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

2

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.

Alrekur
  • 31
0

There are various ways to enable the Optimus technique. Bumblebee is just one of the solution for some supported computers. See this question with a link to the official Ubuntu wiki page. If you prefer to use Bumblebee, I suggest to wait for the Version 4.0 to come (soon) to avoid NVidia driver compatibility problems. Hope this helps.

Xiaodong Qi
  • 2,562
0

Yes, it’s supported. As Huba Buba pointed out, they are some issues that should be solved in the coming 4.0 version of Bumblebee. A pre-version is available through our testing PPA, if you test it please take a look at https://github.com/Bumblebee-Project/Bumblebee/issues/749, 759 and 761. Report your results here to tell us whether you still need editing of the bumblebee.conf file.

Also, note that the prime-select command (and thus installation of nvidia-prime) are not needed at all. And while you can install both, making both work together is a bit more complicated.

Archange
  • 296
  • 1
  • 5