enable primus installation for optimus explicitely

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-05-30 12:52:11 +02:00
parent 0c1d6f8811
commit 49a1e867e3
2 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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