Install NVIDIA Optimus Card Ubuntu
10:28 PM
Bumblebee project is an open source project for Nvidia graphic card that support optimus technology. I am using Nvidia GeForce GT540M that supported with optimus technology. Here is step by step bumblebee instalation
We can display our nvidia card properties with this command
Might be a bit complicated to run applications with the terminal, with optirun anyway. I have two tips for running applications with bumblebee.
Using Gnome Shell
If you are using gnome shell you can using shortcut Alt + F2. You will get an box and write
Using Bumblebee-UI
You can using UI for running an application that must use bumblebee. There is step by step install the bumblebee ui on your machine. You must connected into internet first before follow this step.
- Check your vga card using command
sudo lspci -vnn |grep '\[030[02]\]'
VGA has been detected in my laptop, so i get message below00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller]) 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 540M] [10de:0df4] (rev a1) (prog-if 00 [VGA controller])
- Add Bumblebee Repository
sudo apt-add-repository ppa:bumblebee/stable sudo apt-add-repository ppa:Ubuntu-x-swat/x-updates
- Update nvidia-current package if you've install optimus card before
sudo apt-get purge nvidia-current
- Update repository list
sudo apt-get update
- Install bumblebee with the nvidia driver
sudo apt-get install bumblebee bumblebee-nvidia
- Restart your machine
optirun blender
We can display our nvidia card properties with this command
optirun nvidia-settings -c :8
nvidia gt540m |
Might be a bit complicated to run applications with the terminal, with optirun anyway. I have two tips for running applications with bumblebee.
Using Gnome Shell
If you are using gnome shell you can using shortcut Alt + F2. You will get an box and write
optirun blenderso you can run without terminal. But i think it's same with using terminal. The differences you don't need to keep terminal open
Using Bumblebee-UI
You can using UI for running an application that must use bumblebee. There is step by step install the bumblebee ui on your machine. You must connected into internet first before follow this step.
- Install git first
sudo apt-get install git
- Create a folder for git
mkdir git
- Go to the git folder with terminal
cd git
- Download bumblebee-ui from git repositroy
git clone https://github.com/Bumblebee-Project/bumblebee-ui.git
- Go to folder bumblebee-ui
cd bumblebee-ui
- Install bumblebee-ui
sudo ./INSTALL
- After install Bumblebee UI, open Startup Application menu and add bumblebee aplication that you can run when computer on with this command
/usr/local/bin/bumblebee-indicator
- Restart ccomputer and you will get an icon on top (unity) and bottom (gnome-shell) that you can use to select which program that will be run using bumblebee.
If you are Blender user and want to use cycles in Ubuntu, you need more instalation i will write in next post.
Tulisan ini dalam bentuk bahasa Indonesia: Cara Install Nvidia Optimus di Ubuntu
Tulisan ini dalam bentuk bahasa Indonesia: Cara Install Nvidia Optimus di Ubuntu
2 comments
Hello,
ReplyDeleteI have just installed blender 2.68a 64bits under Ubuntu 13.04 64bits with the last Bumblebee drivers.
Unfortunately when I run "optirun Blender" in the shell, it say :
"connect failed: No such file or directory"
and there's no cuda cards detected in blender...
Do you know what could be the problem ? Should I must install cuda toolkit ?
optirun is package from bumblebee. if you can't run optirun, it means your bumblebee not installed correctly.
ReplyDeleteIf the problem no cuda, you need install cuda toolkit, because cuda toolkit not bumblebee package.