Ubuntu12.04Nvidia dual-card Bumblebee strategy

Source: Internet
Author: User
T: This software contains N-card drivers. Don't install N-card drivers on your own. & Ldquo; additional driver & rdquo; any tips about the video card, just ignore the current version, and then let it go. Ubuntu is really convenient... Once all pass. Install bumblebee: plugin/

T: This software contains N-card drivers. Don't install N-card drivers on your own. "Additional driver" is ignored for any prompt about the video card.

Today, this is the only time to complete. Ubuntu is really convenient... Once all pass.
Install bumblebee: https://wiki.ubuntu.com/Bumblebee#Installation

Code:Sudo add-apt-repository ppa: bumblebee/stable
Sudo apt-get update
Sudo apt-get install bumblebee-nvidia
Sudo 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)
0:00. 0 VGA compatible controller: NVIDIA Corporation Device 0de9 (rev ff)


N cards are successfully switched off.

------------------------ The following is not required. You may need to install the extension to run the following command --------------------------------------------------
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 ....

Brightness, which may not 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 vi/etc/default/grub


Find

Reference:GRUB_CMDLINE_LINUX = ""

Change

Reference:GRUB_CMDLINE_LINUX = "acpi_backlight = vendor"


Upgrade grub to generate grub. cfg again and restart

Code:Sudo su
Echo 500>/sys/class/backlight/intel_backlight/brightness


In addition, add

Reference:Acpi_backlight = vendor

You can use FN for adjustment.
TIPS: grub2 configuration file in/etc/default/grub
Write the gamma and brightness to/etc/rc. local to enable automatic setting upon startup.

Code:Echo 'echo 500>/sys/class/backlight/intel_backlight/brightness '>/etc/rc. local



I used

Code:Acpi_osi = Linux acpi_backlight = legacy

, Feeling good
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



=) ====================================

If you find that optirun is used. Your n card has a certain probability of starting... At this time... Run

Code:Echo 'devpath = "/module/nvidia", ACTION = "remove ", RUN + = "/bin/rm-f/dev/nvidiactl/dev/nvidia0/dev/nvidia1" '>/etc/udev/rules. d/99-remove-nvidia-dev.rules

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.