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
- 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
May be interested
- NVIDIA Jetson chipset contains a series of security holes that allow data theft, DDoS attacksa series of new critical security vulnerabilities have been found in the jetson chip framework (nvidia) that could affect millions of active graphics cards worldwide.
- Why is Ubuntu LTS preferred over regular distros?ubuntu is one of the most widely used linux distributions among software developers and other content creators. ubuntu is also used for many servers around the globe.
- What's new in Ubuntu 18.04 LTS just released?ubuntu 18.04 lts code-named bionic beaver has just been officially launched on april 26th. this version is canonical's up to 5 year support period.
- How to use the NVIDIA Canvas appnvidia canvas, formerly known as nvidia gaugan, is a free painting application that uses sophisticated ai modeling to turn simple drawings into realistic landscapes.
- How to prolong the life of Ubuntu 18.04 installation with Ubuntu Proubuntu 18.04, bionic beaver, is one of the most popular distros in use today, but support will end in may 2023, meaning you won't receive updates or security patches anymore.
- What is the difference between Ubuntu Desktop and Ubuntu Server?ubuntu is divided into ubuntu cloud, ubuntu core, ubuntu kylin, ubuntu desktop and ubuntu server. in this article, we will explore all the similarities and differences between ubuntu server and ubuntu desktop.
- Actual photo of the 'giants' Alienware M18xm18x is like our brothers are equipped with intel core processor i generation 2 sandy bridge, nvidia geforce gt 555m graphics card 1.5gb or 3gb vram memory, nvidia optimus technology, ...
- How to install Steam in Ubuntusteam is the most popular online gaming platform for pc and linux. there are over 2000 steam games available for linux. although steam is available through the official ubuntu repositories, many new linux users still have trouble installing.
- Can't watch YouTube videos in full screen mode in Ubuntu Maverick 10.10if you install and use ubuntu maverick on a computer using intel's vga chipset, you will not be able to watch youtube videos in full screen mode, no matter which browser you use ...
- Ubuntu 21.04 users need to update the system ASAPaccording to the proposed roadmap, it is only a few days before canonical will officially stop providing updates for ubuntu 21.04 'hirsute hippo', which has been available since april last year.