lbertolotti Oct 28, 2013 @ 6:08am
Bumblebee for Ubuntu
So I have a Geforce 610M which runs perfectly on Win7, now I'm told that on ubuntu i need to install bumblebee and use optirun to run source games. I tried that but couldn't use the optirun command. Please help.
Showing 1-15 of 38 comments
< >
123456789 Oct 28, 2013 @ 6:14am 
What version of Ubuntu are you using? If 13.10 then Bumblebee is in the official repositories.

1. Install primus
2. Please post the results of:

less /etc/bumblebee/bumblebee.conf

3. Which nvidia driver have you installed? To find out, type the following and output the results:

dpkg -l | grep NVIDIA | less
HollowKiller [Linux] Oct 28, 2013 @ 9:23am 
In the latest ubuntu version, nvidia introduced nvidia-prime, FINALLY by default it takes care of automaticly activating nvidia card when needed. That is some very very good news.

It is VERY NEW, haven't tried it, not using ubuntu, but will try it just because of nvidia-prime support
lbertolotti Oct 28, 2013 @ 2:21pm 
Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=
# Directory with a dummy config file to pass as a -configdir to secondary X
:

XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
# bbswitch - new in BB 3, recommended if available
# switcheroo - vga_switcheroo method, use at your own risk
# none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
:
## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

lbertolotti Oct 28, 2013 @ 2:21pm 
ii bumblebee 3.2.1-3 i386 NVIDIA Optimus support for Linux
ii bumblebee-nvidia 3.2.1-3 i386 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-304 304.88-0ubuntu8 i386 NVIDIA binary Xorg driver, kernel module and VDPAU library
ii nvidia-settings-304 304.88-0ubuntu2 i386 Tool for configuring the NVIDIA graphics driver
(END)
123456789 Oct 28, 2013 @ 2:35pm 
You're running 32-bit version of Ubuntu, why?
lbertolotti Oct 28, 2013 @ 2:43pm 
Long story, dind't want to reinstall everything.
lbertolotti Oct 28, 2013 @ 2:47pm 
So let's say i wanna optirun TF2, what should I do?
123456789 Oct 28, 2013 @ 3:09pm 
Originally posted by lbertolotti:
So let's say i wanna optirun TF2, what should I do?

optirun %command%
through the launch options. Right click your game and use those options then. I still think you should use primus; install it and you can then do:

primusrun %command%
lbertolotti Oct 28, 2013 @ 3:13pm 
yeah right i got them both, but what %command% I use for tf2?
^1Gentoo Oct 28, 2013 @ 3:21pm 
From what I can see you should be running atleast nvidia-310 drivers, which is the minimum requirement. The latest driver that's out now is nvidia-331.17.
123456789 Oct 28, 2013 @ 3:21pm 
Originally posted by lbertolotti:
yeah right i got them both, but what %command% I use for tf2?

What? Just type
optirun %command%
%command% looks like some sort of exec key to me.
lbertolotti Oct 28, 2013 @ 3:32pm 
optirun %command%
/usr/bin/vglrun: 303: exec: %command%: not found
|Pro Kittens| Medic Plz Oct 28, 2013 @ 3:44pm 
Originally posted by lbertolotti:
optirun %command%
/usr/bin/vglrun: 303: exec: %command%: not found

Noob.

He said to put it in "Set launch options..." for the particular game in Steam, not in the command line.
lbertolotti Oct 28, 2013 @ 3:59pm 
the game doesnt boot that way, however the game boots with just optirun or primusrun
lbertolotti Oct 28, 2013 @ 4:18pm 
Are u sure I should be typing this on the launch options?
Showing 1-15 of 38 comments
< >
Per page: 15 30 50
Date Posted: Oct 28, 2013 @ 6:08am
Posts: 38