enable primus installation for optimus explicitely
This commit is contained in:
parent
0c1d6f8811
commit
49a1e867e3
2 changed files with 3 additions and 4 deletions
|
@ -12,7 +12,7 @@ KeepUnusedXServer=false
|
||||||
ServerGroup=bumblebee
|
ServerGroup=bumblebee
|
||||||
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
|
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
|
||||||
# server exits.
|
# server exits.
|
||||||
TurnCardOffAtExit=false
|
TurnCardOffAtExit=true
|
||||||
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
|
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
|
||||||
# be ignored.
|
# be ignored.
|
||||||
NoEcoModeOverride=false
|
NoEcoModeOverride=false
|
||||||
|
@ -27,7 +27,7 @@ XorgConfDir=/etc/bumblebee/xorg.conf.d
|
||||||
[optirun]
|
[optirun]
|
||||||
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
|
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
|
||||||
# primus.
|
# primus.
|
||||||
Bridge=auto
|
Bridge=primus
|
||||||
# The method used for VirtualGL to transport frames between X servers.
|
# The method used for VirtualGL to transport frames between X servers.
|
||||||
# Possible values are proxy, jpeg, rgb, xv and yuv.
|
# Possible values are proxy, jpeg, rgb, xv and yuv.
|
||||||
VGLTransport=proxy
|
VGLTransport=proxy
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
set -v
|
set -v
|
||||||
sudo aptitude install -y bumblebee
|
|
||||||
sudo aptitude install -y nvidia-346
|
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 bumblebee.conf /etc/bumblebee/bumblebee.conf
|
||||||
sudo cp -v nouveau.conf /etc/modprobe.d/nouveau.conf
|
sudo cp -v nouveau.conf /etc/modprobe.d/nouveau.conf
|
||||||
|
|
Loading…
Reference in a new issue