Linuxdeepin community 42316965:
As long as you still remember me (530797999) 16:46:46
If you are using a laptop with Optimus Technology (that is, an Intel integrated graphics card and an NVIDIA independent graphics card), and Linux is not required at ordinary times, we don't have to worry about waiting for NVIDIA to provide Optimus for us. Now we can enjoy it in advance.
There is no third-party support tutorial provided by a foreign website. This website uses the Ubuntu system as an example, use a third-party Bumblebee to introduce in detail the installation and use of Optimus (strictly speaking, if Optimus is not supported by NVIDIA, is it also called Optimus ?), If you are interested, try it.
Run the following command to install Bumblebee on the terminal:
Sudo add-Apt-repository PPA: Bumblebee/stable
Next, run the following command to download the available software package updates: sudo apt-Get update
Run the following command to install Optimus technical support: sudo apt-Get install Bumblebee bumblebee-NVIDIA
Run this command to restart your computer or log on again to make Optimus take effect.
After we restart the computer or log out and log on again, we can use Optimus, but it is not directly usable.
Switch between the integrated graphics card and the NVIDIA graphics card. At this time, the notebook still uses the Intel integrated graphics card,
If you want to use an independent video card to run a game or other programs (if you want to run a program named game), you can enter the following command on the terminal:
When optirun game runs a program with the optirun command, the NVIDIA independent graphics card is enabled. If the program exits or optirun is disabled, the notebook will automatically switch to the integrated graphics card. Isn't it easy?
To test whether the independent video card is working, you can use the glxspheres graphic demonstration tool,
First, run the glxspheres program without optirun: glxspheres
Next, run the glxspheres program with optirun: optirun glxspheres
If FPS is greatly improved, it means you are using an independent video card.