--- layout: post status: publish published: true title: Using bumblebee for opteron graphics on Ubuntu 12.10 on a Samsung Chronos 7 Series laptop wordpress_id: 2563 wordpress_url: https://www.martineve.com/?p=2563 date: !binary |- MjAxMi0xMi0zMCAxMzoyMDo0MSArMDEwMA== date_gmt: !binary |- MjAxMi0xMi0zMCAxMzoyMDo0MSArMDEwMA== categories: - Technology - Linux tags: - Linu comments: [] --- <p>Getting this to work has been the bane of my morning, so here's what I did to eventually get it working:</p> {% highlight bash %} sudo add-apt-repository ppa:bumblebee/stable sudo add-apt-repository ppa:ubuntu-x-swat/x-updates sudo apt-get update sudo apt-get install bumblebee bumblebee-nvidia linux-headers-generic sudo apt-get install linux-headers-$(uname -r) sudo apt-get install nvidia-current {% endhighlight %} <p>Edit /etc/bumblebee/bumblebee.conf (as root). <a href="http://ubuntuforums.org/showthread.php?t=2043971">Change</a>:</p> <blockquote><p> Driver=<br /> to<br /> Driver=nvidia</p> <p>and</p> <p>KernelDriver=nvidia-current<br /> to<br /> KernelDriver=nvidia </p></blockquote> <p>Edit /etc/bumblebee/xorg.conf.nvidia (as root). <a href="https://github.com/Bumblebee-Project/Bumblebee/wiki/Troubleshooting">Change</a>:</p> <p>Option "ConnectedMonitor" "DFP"</p> <p>to</p> <p>Option "ConnectedMonitor" "CRT"</p> <p>A reboot now should enable you to do: "optirun glxgears" without any problems. If it isn't working, make sure that bumblebee-nvidia is actually installed. Also, when the nvidia-current package was installed, make sure it can find the kernel source and isn't giving an error showing that it didn't actually build the module.</p> <p>My next step is to verify that bbswitch is actually working to give the power saving.</p>