Bumblebee 3.0 install NVIDIA Optimus on Ubuntu to power dual-graphics card

Source: Internet
Author: User

sudo add-apt-repository ppa:bumblebee/stablesudo apt-get updatesudo apt-get install bumblebee bumblebee-nvidiasudo reboot

Bbb3.0 for Ubuntu is very intelligent... All configured, including the power management

Code:
lspci |grep VGA

Output

Reference:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)01:00.0 VGA compatible controller: NVIDIA Corporation Device 0de9 (rev ff)

N cards are successfully switched off.
Enable n card settings

Code:
optirun nvidia-settings -c :8

Run

Code:
glxgears

 

Code:
optirun glxgears

The comparison results show the effect, but the speed of enabling n cards is really slow... I card 3D performance is almost 0.

There is a certain probability that the feature will be automatically enabled after the feature is disabled. Here is an issue. For more information, see Debian. However, UBUNTU works normally when my arch appears.
Https://github.com/Bumblebee-Project/Bumblebee/issues/144
After running optirun

Code:
rm /dev/nvdia*

It can prevent auto-starting of N-card random egresses.

Code:
#!/bin/bashoptirun $1sudo rm /dev/nvidia*

Then there is the GAMMA value and brightness.

Code:
xgamma -gamma .7

Adjust the GAMMA value to 0.7... For more information, see man xgamma.
Brightness, which cannot be adjusted with FN. FN adjusts the/sys/class/backlight/acpi_video0/brightness file, while the I card file is/sys/class/backlight/intel_backlight/brightness.

Code:
sudo suecho 500 > /sys/class/backlight/intel_backlight/brightness

In addition, add

Reference:
acpi_backlight=vendor

You can use FN for adjustment.
Write the gamma and brightness to/etc/rc. Local to enable automatic setting upon startup.
Over

If something goes wrong, check the https://github.com/Bumblebee-Project/Bumblebee/wiki/Troubleshooting first
Warning if you already have/etc/X11/Xorg. conf or have generated it by yourself, please

Code:
sudo rm /etc/X11/xorg.conf
[Http://forum.ubuntu.org.cn/viewtopic.php? F = 126 & t = 374321 & SID = 8d5163f7cc696d89bc44258049944a4]

This entry was posted in
Linux and tagged
Bumblebee, NVIDIA, Optimus, ThinkPad byzm.
Bookmark thepermalink.

.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.