Ubuntu closes the discrete graphics card step

  

Most of the current notebooks are already dual graphics cards, discrete graphics and integrated graphics switching, but in Ubuntu system, discrete graphics is not easy to use, some people want to close, then How to close it? The following small series will introduce you to Ubuntu to close the discrete graphics card.

Before driving to uninstall, and then enable the set was, closed with significant independence, in this excerpt record it:

Ubuntu laptop using a large amount of heat, so want to ban alone significantly The machine is a dual graphics card, the ATI5650 alone, there are only two options in the BIOS, either only use the display alone, or use the graphics card to switch modes. It seems that Ubuntu 10.10 already supports graphics card switchable mode. Select the switchable mode. Google has roughly found this file /sys/kernel/debug/vgaswitcheroo/switch. If you don't have this file, it is because you installed the ATI driver, uninstalled it, and then restarted. Here is how to uninstall the ATI driver:

sudo sh /usr/share/ati/fglrx-uninstall.sh

If there is no such file, execute:

sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx

If the file /sys/kernel/debug/vgaswitcheroo/switch should exist, execute the command:

echo IGD 》 /sys/kernel/debug/vgaswitcheroo/switch

echo OFF 》 /sys/kernel/Debug/vgaswitcheroo/switch

Set display is enabled, and it is turned off. The default is both open. Interested can see this file /sys/kernel/debug/vgaswitcheroo/switch.

To execute when the system starts, add these two sentences to /etc/rc.d/rc.local and restart.

sudo cat /sys/kernel/debug/vgaswitcheroo/switch

, if

0:IGD:+:Pwr:0000:00:02.0

1:DIS: :Off:0000:01:00.0

Prove that the single display was successfully closed.
































Check the reason, said: "New discovery, if you enter "sudo chmod 4755 /etc/rc.local" in the terminal, you can make the system boot when you log in to the system, before you enter the login password, the effect is felt. More thorough.

The above is the introduction of Ubuntu to close the discrete graphics card. If you feel that the discrete graphics card is not easy to use during operation, you can disable the integrated graphics and enable the integrated graphics.

Copyright © Windows knowledge All Rights Reserved