Install Bumblebee to solve the hot issue of Ubuntu notebook

Source: Internet
Author: User
Bumblebee implements dual-graphics card switching in linux, and then develops ironhide Based on Bumblebee. However, ironhide is not very effective, and sometimes it is very popular. Now we have finally waited for the new version of Bumblebee3.0 "Tumbleweed", saving the majority of users who are in the hot water of Dual-card games. I have written a simple tutorial through translation and some of my own experiences, hoping to help new users. The installation steps are as follows. 1. If you have installed the old version of bumble

Bumblebee implements dual-graphics card switching in linux, and then develops ironhide Based on Bumblebee. However, ironhide is not very effective, and sometimes it is very popular. Now we have finally waited for the new version of Bumblebee 3.0 "Tumbleweed", saving the majority of users who are in the hot water of Dual-card games. I have written a simple tutorial through translation and some of my own experiences, hoping to help new users.

The installation steps are as follows.

1. If you have installed an earlier version of bumblebee or ironhide, uninstall the PPA source first.
Sudo ppa-purge ppa: mj-casalogic/bumblebee
Sudo ppa-purge ppa: mj-casalogic/ironhide

2. Uninstall ironhide
Sudo apt-get purge ironhide
Error prompted "Sub-process/usr/bin/dpkg returned an error code (1 )"

Modify ironhide. postrm
Sudo gedit/var/lib/dpkg/info/ironhide. postrm
Find the following sentence and comment it out with "#" in each line. The text changes from the color of the command to the color of the comment.
If ['cat/etc/group | grep ironhide | wc-l'> 0]; then
Groupdel ironhide
Fi

Uninstall again
Sudo apt-get purge ironhide
Successful!

3. If you want to use the latest graphics card driver (especially the new hardware), run the following command to install the new version of bumblebee.
Sudo apt-get purge nvidia-current
Sudo add-apt-repository ppa: Ubuntu-x-swat/x-updates

4. Add and install Bumblebee 3.0 Source
Sudo add-apt-repository ppa: bumblebee/stable
Sudo apt-get update
Sudo apt-get install bumblebee-nvidia
Are you prompted to install three software without verification? Select y and press Enter.
If a failure occurs in the middle, run sudo apt-get install bumblebee-nvidia again.

The prompt is similar to "building ......
Processing the trigger for initramfs-tools...
Update-initramfs: Generating/boot/initrd. img-3.2.0-10-generic"
Installation is successful!

5. After installation, run your own account to get the permission to run bumblebee (replace "$ USER" with your own system username)
Sudo usermod-a-G bumblebee $ USER

6. Restart your computer

7. Run the following command for 30 seconds and you will see the colorful Circular Sphere rotating.
Glxspheres
Close the window and you will see the result shown in the terminal. The result is
19.687679 frames/sec-21.971449 Mpixels/sec
Then run
Compared with optirun glxspheres, the result of the author is:
67.338315 frames/sec-75.149560 Mpixels/sec

Because it runs on a low level of hardware information, it cannot run on a VM like a VM.

8. If you use 32-bit software in ubuntu 11.10 Oneiric, install
Sudo apt-get install virtualgl-libs: i386 libgl1-mesa-glx: i386 libc6: i386

Appendix
New Features of Bumblebee 3.0:
1. The acpi_call module replaces bbswitch and vga_switcheroo.
2. Nouveau supports the Ubuntu PPA package
3. Automatic Power Management is effective during sleep
4. Improved error detection and reporting
5. Better system integration packages
6. The "optirun-status" command displays the status of the current Bumblebee and the second video card.
7. Xorg configuration is greatly simplified and provides default parameters for daily work.

Related Article

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.