Bumblebee-Project/Bumblebee — Issue #170: optirun doesn't run in Debian Wheezy after configuring and installing Bumblebee common-agnostic-installer branch
Author: aussa
Created: 2011-12-11 04:13:02+00:00
State: open

Debian Wheezy amd64
Linux debian 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64 GNU/Linux
baseboard-manufacturer: ASUSTeK Computer Inc.
baseboard-product-name: N53Jf
baseboard-version : 1.0
system-manufacturer : ASUSTeK Computer Inc.
system-product-name : N53Jf
system-version : 1.0
Bumblebee 2.4.1

First, I installed VirtualGL with a .deb file from here: http://www.virtualgl.org/DeveloperInfo/PreReleases
Then, I installed the nvidia drivers through aptitude install

I downloaded Bumblebee common-agnostic-installer branch like this: git clone git://github.com/Bumblebee-Project/Bumblebee.git -b common-agnostic-installer --depth 1

then:

./configure --driver=nvidia --xorg-module-path=/usr/lib/nvidia --nv-lib-path=/usr/lib/nvidia --nv-lib32-path=/usr/lib32/nvidia
make
make install

Then, I created the group: bumblebee and added my user to it.

then:

cp /usr/local/share/bumblebee/bumblebee.handler /etc/init.d/
cd /etc/init.d/
chmod 755 bumblebee.handler
update-rc.d bumblebee.handler defaults

Then, I configure /usr/local/etc/bumblebee/xorg.conf.nvidia adding the ouput of : lspci -d 10de: -n | grep '030[02]:' | cut -d' ' -f1 | tr . : which was 01:00:0 at the BusID line, like this: http://paste.debian.net/148874/

and I think that was all, at first glxgears was not working, I had to configure the glx alternative from /usr/lib/nvidia to /usr/lib/mesa-diverted and then it worked, but optirun glxgears does not work with neither the alternatives, it always shows this:

optirun glxgears
The Bumblebee X server was not available, please check the
Bumblebee logfile at /var/log/bumblebee.log