Lenovo Y470 enable dual-graphics switch in ubuntu

Source: Internet
Author: User


Lenovo Y470 opened the dual-graphics switch in ubuntu to express the excitement. The Notebook can finally use the dual-graphics switch in ubuntu, and the temperature has finally dropped !! Www.2cto.com originally installed win7 and Fedora dual systems in his notebook, but Fedora was rarely used in China. He looked at its Chinese forum, which was too deserted and there were no solutions to many problems, but I have to say that the Chinese homepage of the Fedora project is still quite good and attractive. I was originally using its Chinese interface and a close friend of RedHat, but I should switch back to ubuntu, after all, forums are active and problems can be found. Key Point: Since NVIDIA introduced optimus technology, a bumblbee program has also been launched in linux, which can also support switching between N-card dual-graphics cards. A popular system like ubuntu will certainly support it !! I changed ubuntu 12.04 and tried to install bumblbee. At that time, according to the online tutorial, after the installation, I found that the temperature was still very high and the fan sound was still so loud. I went to the ubutnu Chinese forum to check it, lenovo's notebook was special and does not support bumblbee for the time being. Alas, it took a long time, and this was depressing. No more queries have been made since then. Today, in May November 23, I suddenly thought that the independent video card could be disabled in the BIOS. When I went home in the evening, I quickly turned on my computer and watched it. How did the BIOS look like SONY, in this simple way, there is no such thing as a video card, and you can search for it online. It seems that Y480P supports BIOS to disable the independent video card. In fact, dual-card technology is good. Do you want to blame the linux system? Alas, I am unwilling to use the notebook so hot .... I hesitated and went to the Internet to search for it. I only wanted to search for the Y470 ubuntu dual-graphics card switch. I didn't expect the first page to pop up to solve the problem. Follow the instructions provided by the experts, after executing the command again, I thought it would be okay. I was so happy to hear about it. Next, I first pasted the method and saved it. Then I can see it again, it can also solve the problem. Of course, I don't know what the command is. Let's solve the problem first. I have installed ubuntu 12.04, Lenovo Y470, core i5 in my notebook, and GT550M in my graphics card. 1. Since the system was just installed, we chose to install the system-recommended restricted driver. Therefore, you must first Delete the restricted driver. Code: sudo apt-get purge nvidia-current 2. Add bumblebee source code: sudo add-apt-repository ppa: bumblebee/stable if the system is Ubuntu 11.04 or an older version, run the code for the driver to be updated: sudo add-apt-repository ppa: ubuntu-x-swat/x-updates 3. Run the code: sudo apt-get update 4. Install bumblebee code with a Nvidia private driver: sudo apt-get install bumblebee-nvidia 5. Add the code to the bumblebee Group: sudo usermod-a-G bumblebee $ USER 6. The 32-bit library may be used, so run the code: sudo apt-get install virtualgl-libs: i386 libgl1-mesa-glx: i386 libc6: i386 7. The hackish solution for Y470 and Y570 is as follows. The author asked the user to remind him that this is hackish solution, and improper installation may damage the machine. Please consider yourself. I did it step by step, but I still need to emphasize it. (I was a little confused when I saw this sentence. I was afraid that I had broken the host. But I thought about it. I still had a Quality Assurance !!!) 8. If git is not installed on the machine, run the code sudo apt-get install git 9. Download the hackish bbswitch code of the original author Peter Lekensteyn: git clone git: // github.com/Bumblebee-Project/bbswitch.git-B hack-lenovo 10. Code: cd bbswitch mkdir/usr/src/acpi-handle-hack-0.0.1, however, to reduce the difficulty of linux, ubuntu disables the root account by default. To enable the root account, run the sudo passwd root command and set the root password, switch to the root account for execution .) sudo cp Makefile acpi-handle-hack.c/usr/src/acpi-handle-hack-0.0.1 sudo cp dkms/acpi-handle-hack.conf/usr/src/acpi-handle-hack-0.0.1/dkms. conf sudo dkms add acpi-handle-hack/0.0.1 sudo dkms build acpi-hand Le-hack/0.0.1 sudo dkms install acpi-handle-hack/0.0.1 11. If everything above is normal, you can run the code echo acpi-handle-hack | sudo tee-a/etc/modules for Ubuntu and Debian users: sudo update-initramfs-u 12. Restart the machine. In this case, run the code: lspci | grep-I vga. The end of the Nvidia card information should be rev ff, indicating that the Nvidia card has been disable. Run the code: optirun glxspheres to view the 3D test screen. So far, the original version of Bumblebee is successfully fixed on Lenovo Ideapad Y470/Y570.

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.