Manage Nvidia Optimus chipset in Ubuntu with Bumblebee
Bumblebee is a software tool for Linux with the aim of supporting laptops using NVIDIA Optimus technology for GNU / Linux distributions. Optimus is a hybrid display technology - where the CPU is integrated to display the screen while dedicated GPU (nVidia graphics card) performs all processing and sends the results to the integrated GPU. When a laptop runs on battery power, dedicated GPUs will be turned off to save energy and extend battery life.
Bumblebee tried to mimic Optimus's technology behavior by using GPU-specific rendering when needed and turning off the power when not in use.
Ubuntu systems that come with Nvidia Prime provide a way for users to switch between Intel and Nvidia GPUs. The problem is that it only works for the desktop and does not allow users to set up GPUs for certain applications. Some systems have reported heat and malfunction issues when the Nvidia GPU is set for the entire desktop. Therefore, using Bumblebee is probably useful in this case.
- Instructions to install Ubuntu directly from the hard drive
- Instructions for accessing Ubuntu Bash files on Windows
Install Bumblebee
Before you start installing Bumblebee, if you have not installed Nvidia graphics, you can open the terminal and run the following command:
sudo apt-get install nvidia-prime
You can also run this command to use an Intel graphics card:
sudo prime-select intel
The Bumblebee installation will be determined by Nvidia graphics that you want to use included. The following are the options.
nVidia-361
To use it with nVidia-361, you can run this command to install Bumblebee:
sudo apt-get install bumblebee
nVidia-370
If you want to use Bumblebee with nvidia-370 and are running Ubuntu 16.04 or earlier, you can use Bumblebee Development PPA to install:
sudo add-apt ppa repository: bumblebee / testing sudo apt-get update sudo apt-get install bumblebee
If you are using Ubuntu 16.10 or later, you will not need the Bumblebee Development PPA, because the patches already exist in the Ubuntu repositories. Run the following command to install:
sudo apt-get install bumblebee
Here, I am installing Bumblebee on Ubuntu 16.04
Configuration and usage
After successfully installing Bumblebee, you need to configure it to work properly. The Bumblebee configuration file will be located at ' /etc/bumblebee/bumblebee.conf "Open it with the text editor of your choice. Open the configuration file and scroll down to the area shown below.
If you are using nvidia-361, change the following options from the image above to set it up:
- Set the Driver to 'nvidia'.
- Put KernelDriver into 'nvidia-361'.
- Set the LibraryPath to '/ usr / lib / nvidia-361: / usr / lib32 / nvidia-361'.
- Put XorgModulePath into '/ usr / lib / nvidia-361 / xorg, / usr / lib / xorg / modules'.
- Save the file.
If using nvidia-370:
- Set the Driver to 'nvidia'.
- Put KernelDriver into 'nvidia-370'.
- Set the LibraryPath to '/ usr / lib / nvidia-370: / usr / lib32 / nvidia-370'.
- Put XorgModulePath into '/ usr / lib / nvidia-370 / xorg, / usr / lib / xorg / modules'.
- Finally, save the file.
If you have another version of nVidia installed, be sure to change the configuration file to suit that version.
The final step to Bumblebee working is to restart your computer. Removable card will be disabled. If you want to run Bumblebee with an application, run the command below where some_app_or_game is the name of the application or game:
optirun app_name
Bumblebee is extremely important for users running intensive graphics applications on computers. With Bumblebee, you can switch between specialized and integrated graphics when needed, and it will maintain the performance of the machine without affecting battery life.
You should read it
- Official: Ubuntu 19.10 includes Nvidia driver in ISO
- Asus continues to stick with Nvidia Optimus with N82J
- The first laptop uses Nvidia Optimus technology
- Asus high-end entertainment netbook
- MSI introduced the Nvidia Optimus F series application
- How to fix the NVIDIA graphics card error is not displayed in Device Manager
- How to fix broken packages in Ubuntu
- What's New in Ubuntu 21.10?
- How to speed up Ubuntu system
- How to use the NVIDIA Canvas app
- Why is Ubuntu LTS preferred over regular distros?
- How to Install Themes in Ubuntu
Maybe you are interested
Nvidia discontinues one of its most powerful graphics cards
Many people pronounce Nvidia's name incorrectly
Cerebras Launches World's Fastest AI Inference Technology, 20x Performance Than NVIDIA
Nvidia launches RTX 4070 version with 'super fast' GDDR6 memory
NVIDIA quietly launched the RTX 2000E 'Ada' graphics card, what's remarkable?
NVIDIA and MediaTek cooperate to develop AI chips, competing with Intel, AMD and Qualcomm