Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Can linux be shielded and displayed alone?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces whether linux can shield independent operation, has certain reference value, interested friends can refer to, I hope you have a lot of gains after reading this article, let Xiaobian take you to understand.

Notebook use Ubuntu heat dissipation is very large, so I want to ban the stand-alone, the machine is dual graphics, stand-alone is ATI5650, there are only two options in the BIOS, either only stand-alone, or use graphics switchable mode. It seems that Ubuntu 10.10 already supports graphics switchable mode. Select switchable mode. Googling, roughly to find this file/sys/kernel/debug/vgaswitcheroo/switch. If you don't have this file, it's because you have ATI drivers installed, uninstall them, and restart them. Here's how to uninstall ATI drivers:

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/vgasswitcheroo/switch should already exist, execute the command:

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

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

Centralized display enabled, individual display closed. By default, both are on. The requested URL/sys/kernel/debug/vgasswitchoo/switch was not found on this server.

To do this at boot, add these two sentences to/etc/rc.d/rc.local and restart.

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

If it shows

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

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

Proof of successful closure of stand-alone.

PS:

After writing the command to disable the display and enable the display into/etc/rc.local, it is found that after booting, it is still automatically turned on, and you have to run the command again to check the reason again, saying: "New discovery, if you enter"sudo chmod 4755 /etc/rc.local"in the terminal, you can make the system start before you enter the login password when booting the system. The effect feels more thorough.

Thank you for reading this article carefully. I hope that the article "Can linux block independent operation" shared by Xiaobian will be helpful to everyone. At the same time, I hope that everyone will support it more, pay attention to the industry information channel, and more relevant knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report