Nvidia dual-graphics switch using Optimus in Ubuntu 11.10

Source: Internet
Author: User

Original article link

Nvidia's dual-graphics switching technology is Optimus (Optimus Prime). Unfortunately, it can only be implemented under win7 and vista. There is no corresponding technology in Linux, and of course Apple does not. 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. In Linux, the graphics service is X11 server, so someone developed bumblebee (bumblebee) X server to replace the native graphics service to support switching between N-card and I-card, however, bumblebee's software source has expired and is replaced by ironhide (TIN) x server. The strange thing is that these names are all transformers. Isn't it possible to have a Megatron in the future? Okay. I will introduce myself in ASUS.
UL30VT implements dual-Card Switching.

1. Add software sources to install ironhide. The system automatically installs the nvidia-current driver and the nvidia-settings control panel. Terminal input:
Sudo apt-add-repository ppa: mj-casalogic/ironhide & sudo apt-get update & sudo apt-get install ironhide-ui
How can I know whether my machine can be switched? Is to view the pci interface device, terminal input: lspci | grep-I vga
2. on the displayed page, set ironhide parameters. Select Yes and default. If the installation fails, uninstall and reinstall ironhide.
Sudo apt-get purge ironhide
Sudo apt-get install ironhide
How to open the Nvidia Control Panel: nvidia-settings
Reset the ironhide parameter and enter ironhide-configuration or ironhide-settings.
Result of my general settings: XV, PbO,: 8, energy-saving mode, auto-disable exclusive yes, always enable exclusive yes before disabling
3. Modify the Ironhide settings, for the ul30vt configuration, the software in/usr/share/Ironhide/examples/gives the default script, one is to start the exclusive script ironhide-enablecard.asus.UL30Vt, the other is to disable the exclusive script ironhide-disablecard.asus.UL30Vt. Change the two default scripts under/usr/local/bin/to the corresponding local model:
Sudo RM/usr/local/bin/Ironhide-enablecard
Sudo RM/usr/local/bin/Ironhide-disablecard
Sudo CP/usr/share/Ironhide/examples/ironhide-enablecard.asus.UL30Vt/usr/local/bin/Ironhide-enablecard
Sudo CP/usr/share/Ironhide/examples/ironhide-disablecard.asus.UL30Vt/usr/local/bin/Ironhide-disablecard
When the terminal executes/usr/local/bin/Ironhide-disablecard, it will find that the terminal prompts/proc/module lacks a module or the acpi_call.ko module is missing in the kernel. I think it is not necessary to manually inject acpi_call.ko, this module is available in a hidden folder update in the current kernel. Restart.
4. Install the glxgears test software: Open the Software Center, enter the keyword "glxgears", find the miscellaneous Mesa utilities software, and install it. Enter glxgears to see that the three gears are accelerating. It turns out that the primary gear is enabled. When the window is closed, the primary gear is disabled. Restart to enter the desktop. Some netizens reported that this technology may cause a pop-up screen, but I did not find it.
5. Shut down for several hours. After the machine cools down, it enters the desktop and tests whether the air outlet of this book is cold and cold? I found that the effect is similar to that of collecting images in Windows 300. Sometimes it is even cooler. Windows occupies at least MB of memory, while ubuntu only occupies less than MB. Another pity is that the hard drive temperature in ubuntu is higher than that in win7. I don't know why.
After about two years of technical support, I finally got out of it ...... Originally, acpi_call.ko was used to disable exclusive display. after entering the desktop in version 10.10, it crashed. I had no choice but to switch to the desktop and then manually execute the script to disable it; even if the script is executed on the desktop, the 11.04 version crashes. In the 11.10 era, it is very good to have the tin technology, but sometimes it will become invalid. For example, it feels hot to enter the desktop after sleep. Ubuntu 11.10 Oneiric Ocelot still has a lot of bugs, and it feels like a semi-finished product. We still look forward to the birth of 12.04 Long Term Surpport.

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.