Use Bumblebee to control NVIDIA dual-graphics (ubuntu)

Source: Internet
Author: User
Use Bumblebee to control NVIDIA dual-graphics card (ubuntu) introduction Nvidia dual-graphics card switching technology is called Optimus (Optimus Prime), but unfortunately it can only be implemented under win7 and vista. There is no corresponding technology in Linux, and of course Apple does not. This leads to the independent video card has been enabled, the video card fever, wind... use Bumblebee to control NVIDIA dual-graphics card (ubuntu) introduction Nvidia dual-graphics card switching technology is called Optimus (Optimus Prime), but unfortunately it can only be implemented under win7 and vista. There is no corresponding technology in Linux, and of course Apple does not. This causes the independent video card to be enabled all the time, the video card is heated up, and the fan turns crazy, but there is no normal input. Usually, the laptop battery can be used for 4 hours in Win7, and it takes about two hours for Ubuntu to run out. AMD has already developed a catalyst for Linux for the ATI graphics card. it supports switching between card A and intel. N card users can only talk about it. Optimus technology does not rely on the complex hardware structure of the CrossFire graphics card implementation. Independent graphics cards are rendered on demand and transmitted to integrated graphics cards. integrated graphics cards are used for display. When the notebook is powered by power, the independent graphics card is turned off to prolong battery life. Bumblebee tries to simulate the behavior of Optimus technology. when needed, it uses an independent video card for rendering and disables it when not used. The current version only supports on-demand rendering, and the power management function is still under development. Test Environment: Acer Aspire 5750 GNVIDIA GeForce GT630Mubuntu 12.04 x86_64 I. update the video card information. Otherwise, an error may be detected ~ Sudo update-pciids [sudo] password for congbo: Downloaded daily snapshot dated 2012-09-06 03:15:02 II. view the video card information before updating: Success ~ Lspci | grep-I vga00: 02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09. 0 VGA compatible controller: After NVIDIA Corporation Device 0de9 (rev a1) is updated: Latest ~ Lspci | grep-I vga00: 02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09. 0 VGA compatible controller: the NVIDIA Corporation GeForce GT 630 M (rev a1) is correctly identified after the update. The end of the Nvidia card information is not rev ff, indicating that the dedicated display is enabled. 3. unplug the power adapter and check the power consumption ~ Grep rate/proc/acpi/battery/BAT0/statepresent rate: 2613 mA average about 2000 4. install bumblebee sudo add-apt-repository ppa: bumblebee/stablesudo apt-get updatesudo apt-get install bumblebee-nvidia joins the bumblebee group sudo usermod-a-G bumblebee $ USER does not need to be manually added to the bumblebee group, the current user has been added to the bumblebee group during the installation process. it takes effect after cancellation or restart. Region ~ Grep congbo/etc/groupadm: x: 4: congbocdrom: x: 24: congbosudo: x: 27: congbodip: x: 30: congboplugdev: x: 46: congbolpadmin: x: 109: congbocongbo: x: 1000: sambashare: x: 124: congbobumblebee: x: 1001: congbo before cancellation: Success ~ After groupscongbo adm cdrom sudo dip plugdev lpadmin sambashare is deregistered ~ Groupscongbo adm cdrom sudo dip plugdev lpadmin sambashare bumblebee version: Alibaba ~ Bumblebeed -- versionbumblebeed (Bumblebee) 3.0.1Copyright (C) 2011 The Bumblebee ProjectLicense GPLv3 +: gnu gpl version 3 or later . This is free software: you are free to change and redistribute it. There is no warranty, to the extent permitted by law. 5. test the effect ~ Lspci | grep-I vga00: 02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09. 0 VGA compatible controller: the end of the NVIDIA Corporation GeForce GT 630 M (rev ff) Nvidia card information is rev ff, indicating that the dedicated display has been disabled. Unplug the power adapter again to view power consumption. Region ~ Grep rate/proc/acpi/battery/BAT0/statepresent rate: the average rate of 1523 mA is about 1000, 2000-> 1000. the fan has been crazy before, and there is basically no movement. Bumblebee is used to disable nvidia independent graphics cards. when you need to use an exclusive display, use the optirun program name to manually enable nvidia to run programs that require acceleration, such as optirun vmware. Run the glxgears or glxspheres test on both the centralized display and the dedicated display. take glxgears as an example ~ GlxgearsRunning synchronized to the vertical refresh. the framerate shocould beapproximately the same as the monitor refresh rate.301 frames in 5.0 seconds = 60.107 FPS300 frames in 5.0 seconds = 59.869 FPS300 frames in 5.0 seconds = 59.856 FPS bytes ~ Optirun glxgears2284 frames in 5.0 seconds = 456.677 FPS2358 frames in 5.0 seconds = 471.540 FPS2275 frames in 5.0 seconds = 454.942 FPS enable N card settings: optirun nvidia-settings-c: 8 tips: currently, the I series is generally configured with dual-graphics cards. do not install the nvidia driver on your own. For a dual-graphics machine, you must stop the integrated graphics card to correctly install the nvidia driver. Do not run with the root user, preferably with sudo. If the installation fails, you may not be able to access any interface, including the text interface. Solution: fix the IP address of the host and enable the ssh service to ensure that the host can be accessed through ssh from another host on the LAN. And then try again. if it fails, ssh enters the host, uninstalls the nv driver (sudo apt-get autoremove nvidia-current), and then restarts. When the dual-graphics desktop is tossing this problem, pay attention to connect the display to the output port of the motherboard, otherwise it will be useless. After the installation, "system-> System Management-> nvidia x Server Settings" should not be moved. Some bios can turn off the exclusive display, desktop rendering 3D, etc. the I card is competent. (If Windows 7 is running in the I-Card Virtual Machine, aero effects cannot be enabled)

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.