Switch dual graphics on Linux to adjust the screen brightness (simple two commands to fix)

Source: Internet
Author: User

Cat/sys/kernel/debug/vgaswitcheroo/switch//view current video card status

IGD: Integrated display, integrated graphics; DIS:D iscrete display, discrete graphics

[Email protected] kiosk]# cat/sys/kernel/debug/vgaswitcheroo/switch0:igd:+:P wr:0000:00:02.01:dis:: Off:0 000:01:00.0

0 and 1 are serial numbers PWR indicates running off you know

echo off >/sys/kernel/debug/vgaswitcheroo/switch Close the currently unused video card

echo DIGD >/sys/kernel/debug/vgaswitcheroo/switch switch to Integrated graphics

General use off the current card can be switched to integrated video to protect the power supply and reduce heat dissipation ok!!!!

Down is the way to adjust the brightness of the screen

Echo 1800 >/sys/class/backlight/intel_backlight/brightness

1800 is the number you want to adjust is not very easy

Down and wrote them separately./etc/rc.local Boot PS Remember to check the/etc/rc.loca exist link to link file permissions plus x!!!

Haha simple share hope that more new people will see the protection of our eyesight and computer OH

Switch dual graphics on Linux to adjust the screen brightness (simple two commands to fix)

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.