Saturday, January 11, 2014

Installing Linux Mint on a Asus UX32VD Laptop (or any laptop) PART 2 - Graphics Ubuntu Bumblebee


This will be a short post today as my week has been busy. However, it's an important one.

To get the integrated graphics working with UX32VD or any other laptop with NVIDIA Optimus for that matter, you must use Bumblebee. It's officially supported by Ubuntu Saucy (13.10) or later, which includes Linux Mint Petra or higher.

See here for the details. (Note I am only giving instructiosn for 13.10, see Ubuntu documentation for earlier versions).

Basically you will need to do the following:

1. Add bumblebee PPA

sudo add-apt-repository ppa:bumblebee/stable

2. Enable universe and multiverse

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
sudo vim /etc/apt/sources.list  
Uncomment/add the following lines for universe and multiverse

deb saucy universe
deb-src saucy universe
deb saucy-updates universe
deb-src saucy-updates universe
deb saucy multiverse
deb-src saucy multiverse
deb saucy-updates multiverse
deb-src saucy-updates multiverse 

3. Install Bumblebee including 32-bit support

sudo apt-get install bumblebee bumblebee-nvidia primus primus-libs-ia32 linux-headers-generic

4.  Install NVIDIA 319 Updates

sudo apt-get install nvidia-319-updates nvidia-settings-319-updates 

5. Install nvidia-settings

sudo apt-get install nvidia-settings

5. Modify /etc/bumblebee/bumblebee.conf file. Find the section [bumblebeed] and change Driver=nvidia .

Also find the section under [driver-nvidia] and also add Driver=nvidia (it is in two places).

Next under the [driver-nvidia] section modify the following:
Save the file  and restart the Bumblebee daemon with
sudo restart bumblebeed 
6. Finally, use the discrete graphics by testing optirun and comparing framerates

sudo apt-get install mesa-utils
optirun glxgears

See the Ubuntu documentation on Bumblebee for more details including how to uninstall it and go back to the nouveau driver if you're unsatisfied.

Now, whenever you run a graphics intensive application (games and so on) start it with optirun.


  1. Hi Brian

    thanks for your post.

    I followed your instructions, however when i do optirun glxgears i get the following error:
    [ERROR]You've no permission to communicate with the Bumblebee daemon. Try adding yourself to the 'bumblebee' group
    [ 2260.490083] [ERROR]Could not connect to bumblebee daemon - is it running?

    then i tried with sudo and got the following error

    [ 2325.665978] [ERROR]Cannot access secondary GPU, secondary X is not active.

    [ 2325.666199] [ERROR]Aborting because fallback start is disabled.

    if you can help me i will apreciate it


    1. Hi Sorry,

      I missed the step to blacklist the Nouveau driver. Also I missed the step to remove existing NVIDIA driver.

      sudo apt-get purge nvidia-current

      And try my steps again

      Also try Driver=nvidia-current or Driver=
      (leave after = sign blank). There are several sections in bumblebee.conf that need to be changed I may have missed some I will post this file later in the week.

      To blacklist nouveau, modify grub as shown here and let me know how it goes. Unfortunately I don't have time to clean my UX32VD and rewrite the tutorial for the next few weeks. I will rewrite with perfect steps once we are sure.

      If that does not work look at thread here .

      Also make sure you have access to second computer and everything is backed up because its possible to get black screen.

      Thanks for visiting my blog,

    2. Hi brian

      i reboot the laptop and it worked
      however thanks for the idea about to eliminate the nvidia current driver

      thanks a lot and keep posting

  2. This comment has been removed by the author.