I have notebook hp dm3-2015er with two graphic cards.
$ lspci | grep VGA
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880M [Mobility Radeon HD 4225/4250]
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430]
Both powered.
$ sudo cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:01:05.0
1:DIS: :Pwr:0000:02:00.0
But executing of echo OFF > /sys/kernel/debug/vgaswithceroo/switch
leads to kernel failure or something. I have to shut down by holding power button. I'm new to linux so I don't know where to find messages shown before freezing.
Please help.
oops
for some reason too. – user2418306 Sep 15 '13 at 13:48IGD
orDIS
thensudo cat /sys/kernel/debug/vgaswitcheroo/switch
then you will notice the change. – Braiam Sep 15 '13 at 14:02sudo cat /sys/kernel/debug/vgaswitcheroo/switch
after each of three commands but it (output) stays the same. That's what I mean by no effect. – user2418306 Sep 15 '13 at 15:02sudo
? The complete command should besudo sh -c "echo ON > /sys/kernel/debug/vgaswitcheroo/switch"
, replacingON
with the desired command. – Braiam Sep 15 '13 at 15:05