Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:mint16_bumblebee [2013/12/18 17:36]
bkraul [A note on running nvidia-settings]
linux:mint16_bumblebee [2017/12/13 17:34] (current)
Line 1: Line 1:
 +
 +
 ====== Installing and Configuring Bumblebee on Optimus-designed laptops (XPS 15 9530) ====== ====== Installing and Configuring Bumblebee on Optimus-designed laptops (XPS 15 9530) ======
 Newer, high-end laptops have a hybrid techology composed of a high-performance HD display adapter and a 3D-accelerated adapter. For nVidia chipsets, this is called Optimus. It is designed so that the 3D acceleration is only used when needed, optimizing power consumption. This is done automatically in Windows systems through the nVidia driver. However, in Linux systems, implementing this feature and actually making use of the 3D capabilities is more complex, because as of ~~LASTMOD~~,​ there is no nVidia-native Optimus support in the Linux driver. Newer, high-end laptops have a hybrid techology composed of a high-performance HD display adapter and a 3D-accelerated adapter. For nVidia chipsets, this is called Optimus. It is designed so that the 3D acceleration is only used when needed, optimizing power consumption. This is done automatically in Windows systems through the nVidia driver. However, in Linux systems, implementing this feature and actually making use of the 3D capabilities is more complex, because as of ~~LASTMOD~~,​ there is no nVidia-native Optimus support in the Linux driver.
  
-<wrap important>​This guide only applies to **Ubuntu ​13.10 Saucy Salamander ​64-bit** (under Linux Mint 16 Petra)</​wrap>​+<wrap important>​This guide only applies to **Ubuntu ​14.04 Trusty Tahr 64-bit** (under Linux Mint 17 Qiana), using the **nvidia-331 driver** from xorg-edgers.</​wrap>​
  
 In order to overcome this issue, a solution exists, called Bumblebee. This runtime allows for the interaction of the operating system with the 3D-capabilities of the card, allowing the use of the nVidia driver for gaming or applications as needed. In order to overcome this issue, a solution exists, called Bumblebee. This runtime allows for the interaction of the operating system with the 3D-capabilities of the card, allowing the use of the nVidia driver for gaming or applications as needed.
  
-<wrap info>It is recommended that you perform a full update of all packages in system before attempting to install the Bumblebee packages / nVidia drivers.</​wrap>+It is recommended that you perform a full update of all packages in system before attempting to install the Bumblebee packages / nVidia drivers. ​Also if you have nvidia-current or other version of the nvidia-drivers,​ you are advised to purge them with <code console>​sudo purge nvidia*</code>\\ 
 +(Do not forget to reboot). nVidia ppa's other than xorg-edgers need to be disabled or removed for the sake of this particular example.
  
 ===== Adding the PPAs ===== ===== Adding the PPAs =====
Line 15: Line 18:
 </​code>​ </​code>​
  
-<WRAP important>​**<​color red>​Important:</​color>​** Because of missing packages in the Saucy repo, we need to manually change the bumblebee ppa URL after adding it. Do so by opening the Package Sources application from the menu, find the bumblebee repository, and edit the URL replacing saucy with **raring**, for both package and source entries.</​WRAP>​ +After adding the repositories,​ perform a sources update, and then proceed to install the packages. ​**<color red>This example uses the nVidia 331 drivers from the edgers repository</​color>​**. This is bound to change as newer versions of the driver are released through the xorg-edgers PPA.
- +
-After adding the repositories ​(and manually adjusting the Bumblebee repository), perform a sources update, and then proceed to install the packages. This example uses the nVidia 331 drivers from the edgers repository. This is bound to change as newer versions of the driver are released through the xorg-edgers PPA.+
 <WRAP prewrap> <WRAP prewrap>
 <code console> <code console>
 sudo apt-get update sudo apt-get update
-sudo apt-get install nvidia-331 nvidia-331-settings bumblebee bumblebee-nvidia primus primus-libs primus-libs-ia32 virtualgl virtualgl-libs virtualgl-libs-ia32 linux-headers-generic+sudo apt-get install nvidia-331 nvidia-settings-331 bumblebee bumblebee-nvidia primus primus-libs primus-libs-ia32 virtualgl virtualgl-libs virtualgl-libs-ia32 linux-headers-generic
 </​code></​WRAP>​ </​code></​WRAP>​
  
Line 27: Line 28:
  
 ===== Configuring Bumblebee ===== ===== Configuring Bumblebee =====
-After restarting, the settings for Bumblebee/​nVidia need to be configured. The following files will need to be edited to match the current ​installed hardware/​packages:​+After restarting, the settings for Bumblebee/​nVidia need to be configured. The following files will need to be edited to match the currently ​installed hardware/​packages:​
    * /​etc/​bumblebee/​bumblebee.conf    * /​etc/​bumblebee/​bumblebee.conf
    * /​etc/​bumblebee/​xorg.conf.nouveau    * /​etc/​bumblebee/​xorg.conf.nouveau
Line 34: Line 35:
 ==== Editing /​etc/​bumblebee/​bumblebee.conf ==== ==== Editing /​etc/​bumblebee/​bumblebee.conf ====
 Open the file with sudo as follows: Open the file with sudo as follows:
-<code console>​sudo gedit /​etc/​bumblebee.conf</​code>​+<code console>​sudo gedit /etc/bumblebee/​bumblebee.conf</​code>​
 And change the contents of the file to match the following. And change the contents of the file to match the following.
 <code ini> <code ini>
Line 194: Line 195:
 <code console>​sudo ln -s /​usr/​lib/​x86_64-linux-gnu/​libturbojpeg.so.0 /​usr/​lib/​x86_64-linux-gnu/​libturbojpeg.so</​code>​ <code console>​sudo ln -s /​usr/​lib/​x86_64-linux-gnu/​libturbojpeg.so.0 /​usr/​lib/​x86_64-linux-gnu/​libturbojpeg.so</​code>​
  
-==== Restarting and testing ​Bumblebee ====+===== Testing ​Bumblebee ​=====
 After all configuration changes and fixes have been completed, **reboot your system**. In order to test bumblebee, run any of the following command(s). After all configuration changes and fixes have been completed, **reboot your system**. In order to test bumblebee, run any of the following command(s).
 <code console> <code console>
Line 228: Line 229:
 http://​askubuntu.com/​questions/​61792/​you-do-not-appear-to-be-using-the-nvidia-x-serverscreenshot-included\\ http://​askubuntu.com/​questions/​61792/​you-do-not-appear-to-be-using-the-nvidia-x-serverscreenshot-included\\
 http://​askubuntu.com/​questions/​285885/​primus-failed-to-load-libraries-in-raring\\ http://​askubuntu.com/​questions/​285885/​primus-failed-to-load-libraries-in-raring\\
 +https://​ask.fedoraproject.org/​question/​29138/​failed-to-open-vdpau-backend-libvdpau_nvidiaso-cannot-open-shared-object-file-no-such-file-or-directory/​\\
 +
  • linux/mint16_bumblebee.1387388209.txt.gz
  • Last modified: 2017/12/13 17:33
  • (external edit)