Document directory
- I. Check whether your kernel can be switched over to a dual-graphics card.
- Ii. Disable exclusive display
- Iii. Questions
The graphics card driver has always been linux hard. Once my computer is installed with a closed source driver, the GUI will go down. I have heard of another good method recently: Turn off the independent video card! If you do not play games, the Integrated Video Card is sufficient.
The code is very simple. I don't find any problems after I get rid of it and restart it. You can use it with confidence.
Everything I said is executed under ROOT permission, So switch to root.
I. Check whether your kernel can be switched over to a dual-graphics card.
Cat/sys/kernel/debug/vgaswitcheroo/switch
If the following text is displayed, it is feasible.
0: DIS: Pwr: 0000: 01: 00.01: IGD: +: Pwr: 0000: 00: 02.0
Note: IGD is an integrated video card and DIS is an independent video card.
Ii. Disable exclusive display
Echo "OFF">/sys/kernel/debug/vgaswitcheroo/switch
Then view
Cat/sys/kernel/debug/vgaswitcheroo/switch
It should have become
0: DIS: Off: 0000: 01: 00.01: IGD: +: Pwr: 0000: 00: 02.0
Congratulations!
Iii. Questions
It seems that I will go back again after restarting! So I had to write the boot script.