From 49a1e867e3499953c06b88f416c9432a715ac076 Mon Sep 17 00:00:00 2001 From: Cyryl Plotnicki-Chudyk Date: Sat, 30 May 2015 12:52:11 +0200 Subject: [PATCH] enable primus installation for optimus explicitely --- ubuntu/bumblebee.conf | 4 ++-- ubuntu/install_optimus | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ubuntu/bumblebee.conf b/ubuntu/bumblebee.conf index e4fc3a8c..fcdc2d58 100644 --- a/ubuntu/bumblebee.conf +++ b/ubuntu/bumblebee.conf @@ -12,7 +12,7 @@ KeepUnusedXServer=false ServerGroup=bumblebee # Card power state at exit. Set to false if the card shoud be ON when Bumblebee # server exits. -TurnCardOffAtExit=false +TurnCardOffAtExit=true # The default behavior of '-f' option on optirun. If set to "true", '-f' will # be ignored. NoEcoModeOverride=false @@ -27,7 +27,7 @@ XorgConfDir=/etc/bumblebee/xorg.conf.d [optirun] # Acceleration/ rendering bridge, possible values are auto, virtualgl and # primus. -Bridge=auto +Bridge=primus # The method used for VirtualGL to transport frames between X servers. # Possible values are proxy, jpeg, rgb, xv and yuv. VGLTransport=proxy diff --git a/ubuntu/install_optimus b/ubuntu/install_optimus index ada9c54c..035717b0 100755 --- a/ubuntu/install_optimus +++ b/ubuntu/install_optimus @@ -1,8 +1,7 @@ #!/bin/bash set -e set -v -sudo aptitude install -y bumblebee sudo aptitude install -y nvidia-346 -sudo aptitude install -y bumblebee-nvidia +sudo aptitude install -y bumblebee bumblebee-nvidia primus sudo cp -v bumblebee.conf /etc/bumblebee/bumblebee.conf sudo cp -v nouveau.conf /etc/modprobe.d/nouveau.conf