Most of today's notebooks have dual graphics cards, switching between independent graphics cards and integrated graphics cards. However, in the Ubuntu system, the independent graphics card is not easy to use. Some people want to turn it off. Today, the editor of Huajun will share with you how to turn off the independent graphics card in Ubuntu. The steps and careful selection process are simple and easy to learn. Friends who like it can come and learn together! .
First uninstall the previous driver, then enable the integrated display and turn off the independent display. I will record the excerpt here:
The notebook uses Ubuntu to dissipate a lot of heat, so I want to disable the independent graphics card. The machine has dual graphics cards and the independent graphics card is ATI5650. There are only two options in the BIOS, either only use independent graphics, or use the graphics card to switch mode. It seems that Ubuntu 10.10 already supports graphics card switchable mode. Select to switch modes. After searching Google, I roughly want to find this file /sys/kernel/debug/vgaswitcheroo/switch. If there is no such file, it is because you have installed the ATI driver. Just uninstall it and then restart. Here is how to uninstall the ATI driver:
sudo sh /usr/share/ati/fglrx-uninstall.sh
If it says 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 already exist, execute the command:
echo IGD》/sys/kernel/debug/vgaswitcheroo/switch
echo OFF》/sys/kernel/debug/vgaswitcheroo/switch
The integrated display is enabled and the independent display is disabled. Both are enabled by default. If you are interested, you can take a look at this file /sys/kernel/debug/vgaswitcheroo/switch.
To execute it when the system starts, add these two sentences to /etc/rc.d/rc.local and restart.
sudo cat /sys/kernel/debug/vgaswitcheroo/switch
, if it displays
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Off:0000:01:00.0
Prove that the independent graphics is successfully closed.
PS:
After writing the command to disable the independent graphics and enable the integrated graphics into /etc/rc.local, I found that the independent graphics was still automatically turned on after booting. I had to run the command again and checked the reason again. It said: "New discovery, if you enter in the terminal" sudo chmod 4755 /etc/rc.local "After confirmation, the system will start before you enter the login password when you boot up and log in to the system, and the effect will be more thorough.
The above is the editor's summary of how to turn off the independent graphics card in Ubuntu. If you feel that the independent graphics card is not useful during operation and want to turn it off, you can enter the relevant commands to disable it and enable the integrated graphics card.