HardwareInstall Bumblebee 3.2, and Bumblebee indicator on 13.04

Hardware guides for your ultimate pleasure!
User avatar

Topic Author
ryanvade
Forum Administrator
Forum Administrator
Posts: 2162
Joined: Wed May 09, 2012 12:23 pm
Has thanked: 2 times
Been thanked: 3 times
Status: Offline

Install Bumblebee 3.2, and Bumblebee indicator on 13.04

Postby ryanvade » Sat May 04, 2013 1:43 pm

Hello everyone. I have spent a few weeks working on this one. I will explain what I found out about installing Bumblebee 3.2 on Ubuntu 13.04 with the Nvidia 313 driver.

First off we need to add the Bumblebee PPA

Code: Select all

sudo add-apt-repository ppa:bumblebee/testing

*NOTE This installs the testing ppa. As of the writing of this tutorial 3.2 was moved back to testing. If it is ever put in stable replace testing with stable.

Code: Select all

sudo add-apt-repository ppa:bumblebee/stable

Now we have to install bumblebee:

Code: Select all

sudo apt-get update && sudo apt-get install bumblebee virtualgl linux-headers-generic

okay great. Now restart. After the reinstall you can either keep the current driver, or upgrade. For this tutorial I will be using the recommended nvidia-313.
Now we install 313:

Code: Select all

sudo apt-get install nvidia-313-updates

With that done we have to tell bumblebee to use the new driver and kernel module:

Code: Select all

sudo nano /etc/bumblebee/bumblebee.conf


- on line 22, make sure "Driver=" is set to "nvidia", like this:
Driver=nvidia

- change the "KernelDriver=" (on line 47) to "nvidia-313-updates", like this:
KernelDriver=nvidia-313-updates

- change "LibraryPath=" (on line 51) to "/usr/lib/nvidia-313-updates:/usr/lib32/nvidia-313-updates", so it looks like this:
LibraryPath=/usr/lib/nvidia-313-updates:/usr/lib32/nvidia-313-updates

- change the "XorgModulePath=" (line 54) to "XorgModulePath=/usr/lib/nvidia-313-updates/xorg,/usr/lib/xorg/modules" so it looks like this:
XorgModulePath=/usr/lib/nvidia-313-updates/xorg,/usr/lib/xorg/modules

okay now we edit the xorg file for nvidia:

Code: Select all

sudo nano /etc/bumblebee/xorg.conf.nvidia

Be sure to double check the Nvidia card BusID with lspci
Here is my file:

Code: Select all

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "true"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"
    BusID "PCI:01:00:0"
    Option "NoLogo" "false"
    Option "UseEDID" "true"
    Option "UseDisplayDevice" "none"
    Option "ConnectedMonitor" "DFP"
EndSection


Now you should restart the bumblebee daemon

Code: Select all

sudo service bumblebeed restart

With that being done you can try to use bumblebeed:

Code: Select all

optirun -vvv glxgears

*NOTE glxgears is available with mesa-utils

IF all goes well, your done. If not:
reboot
Now, with bumblebee working, lets setup the bumblebee indicator. This is (supposedly) only for Unity.
First, navigate to a folder that you are going to work in.
Then if git is not installed, install it. Git is essential for almost ALL linux projects.
Now lets download bumblebee indicator:

Code: Select all

git clone https://github.com/Bumblebee-Project/bumblebee-ui.git

Code: Select all

cd bumblebee-ui

Code: Select all

sudo ./INSTALL

Okay, so lets make sure the indicator is installed every time you log in.
Go to Startup Applications and add /usr/local/bin/bumblebee-indicator
bumblebee-indicator.png

bumblebee-applications.png
Image

Laptop: HP dv6t-7000 CTO Desktop: Compaq Presario SR21632wm
i5 2450m Pentium D 960 @ 4 GHz
6 GB ram 2 GB ram
Intel HD 3000 Graphics / Nvidia GT 630M Nvidia GT 520 @ 820 MHz
Diamond II-B KDE 3.11 /Windows 7 Home Premium KDE | Windows 7 Starter/ Diamond II-B KDE 3.10.10-ck1



User avatar

Topic Author
ryanvade
Forum Administrator
Forum Administrator
Posts: 2162
Joined: Wed May 09, 2012 12:23 pm
Has thanked: 2 times
Been thanked: 3 times
Status: Offline

Re: Install Bumblebee 3.2, and Bumblebee indicator on 13.04

Postby ryanvade » Tue Jul 16, 2013 11:30 am

Working with Nvidia-325, bumblebee 3.2.1, and Linux-3.11-rc1 ;smile
nvidia-325.png


*EDIT:

Code: Select all

sudo add-apt-repository ppa:bumblebee/stable
is working fine now. ;grin

User avatar

Topic Author
ryanvade
Forum Administrator
Forum Administrator
Posts: 2162
Joined: Wed May 09, 2012 12:23 pm
Has thanked: 2 times
Been thanked: 3 times
Status: Offline

Re: Install Bumblebee 3.2, and Bumblebee indicator on 13.04

Postby ryanvade » Tue Jul 30, 2013 9:36 am

Working great with Cuda!!!
oceanFFT.png

User avatar

Blackwolf
Forum Administrator
Forum Administrator
Posts: 8580
Joined: Sun Dec 13, 2009 6:07 pm
Has thanked: 18 times
Been thanked: 2 times
Status: Offline

Re: Install Bumblebee 3.2, and Bumblebee indicator on 13.04

Postby Blackwolf » Tue Jul 30, 2013 7:49 pm

Great tutorial. Thanks ryanvade ;grin
System: Host: Arch Kernel: 4.0.4-1-MANJARO x86_64 (64 bit gcc: 4.9.2)
Desktop: Xfce 4.12.2 (Gtk 2.24.28)
nVidia EVGA Geforce GTX580 1536MB
Intel Core i7 2600K Quad Core Overclocked to 4.4GHz
Gigabyte Z68 UD7 Chipset, Corsair 16GB Kit (4x4GB) 1600MHz DDR3, OCZ 120GB Vertex 3 SSD
Corsair 8GB Kit (2x4GB) 1600MHz DDR3, OCZ 120GB Agility 3 SSD (WD 1TB Caviar SATA-III HDD)

HP DV6 Laptop 8x Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Oz Unity Diamond IIB


Image
Image

Image


Image


Return to “Hardware”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests