hybrid-graphics-linux team mailing list archive
-
hybrid-graphics-linux team
-
Mailing list archive
-
Message #00583
Re: Anyone manage to switch ON discreet graphics?
I have tried with vgaswitcheroo on a Vostro 3500, it doesn't work but
is pretty close.
# lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Arrandale
Integrated Graphics Controller (rev 18)
01:00.0 VGA compatible controller: nVidia Corporation Device 0a75 (rev a2)
# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Pwr:0000:01:00.0
The Intel and Nvidia cards are on. When I try to switch:
#echo DIS > /sys/kernel/debug/vgaswitcheroo/switch
The LVDS turns off! (why? :S), but from a remote login I was able to
check the switching state:
# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD: :Off:0000:00:02.0
1:DIS:+:Pwr:0000:01:00.0
I can turn on the intel card again
# echo ON > /sys/kernel/debug/vgaswitcheroo/switch
# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD: :Pwr:0000:00:02.0
1:DIS:+:Pwr:0000:01:00.0
But when I try to switch back to the intel card the LVDS panel turns
on (it seems like the power is managed by the intel card), and after a
few seconds the system freezes out.
echo IGD > /sys/kernel/debug/vgaswitcheroo/switch && dmesg > paste_v3300.dat
Here is my dmesg with drm.debug=4 http://pastebin.com/Z5BuPQZG
On Thu, Mar 3, 2011 at 6:21 PM, john avery <john.avery.w@xxxxxxxxx> wrote:
> Will this work on a Vostro 3500 w/ Nvidia 310M optimus?
>
> On Thu, Mar 3, 2011 at 2:09 PM, Dave Airlie <airlied@xxxxxxxxx> wrote:
>>
>> On Thu, Mar 3, 2011 at 10:44 PM, Orion <orion2000za@xxxxxxxxxxx> wrote:
>> > As can be seen in subject, my query if anyone has found a working method
>> > to
>> > switch ON discreet graphics and OFF integrated.
>> >
>> > My hardware is a HP Pavilion dm4-1050 with the least usable BIOS I have
>> > ever
>> > seen. One upgrade actually broke the possibility in both Win7 (have kept
>> > a
>> > partition) and Linux to switch wireless on/off. Only good thing is that
>> > it
>> > allows downgrading bios so I got that functionality back.
>> >
>> > OS: Kubuntu 10.10 32-bit with all upgrades
>> > Model details:
>> > HP Pavilion dm4 Notebook PC
>> > 048E100000242B10000020000
>> >
>> > Graphics Details:
>> > 00:02.0 VGA compatible controller [0300]: Intel Corporation Core
>> > Processor
>> > Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA
>> > controller])
>> > 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Manhattan
>> > [Mobility Radeon HD 5000 Series] [1002:68e0] (rev ff) (prog-if ff
>> >
>> > using vga-switcheroo I can switch OFF discreet graphics and run on
>> > integrated only or switch ON both and get a hot, batterychewing
>> > computer.
>> > Vga-switcheroo can not switch over to discreet only, I get this from
>> > dmesg:
>> > [ 6514.974672] radeon 0000:01:00.0: GRBM_STATUS=0x00003828
>> > [ 6514.974676] radeon 0000:01:00.0: GRBM_STATUS_SE0=0x00000007
>> > [ 6514.974680] radeon 0000:01:00.0: GRBM_STATUS_SE1=0x00000007
>> > [ 6514.974684] radeon 0000:01:00.0: SRBM_STATUS=0x200000C0
>> > [ 6514.975044] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00007F6B
>> > [ 6514.975150] radeon 0000:01:00.0: GRBM_STATUS=0x00003828
>> > [ 6514.975154] radeon 0000:01:00.0: GRBM_STATUS_SE0=0x00000007
>> > [ 6514.975158] radeon 0000:01:00.0: GRBM_STATUS_SE1=0x00000007
>> > [ 6514.975162] radeon 0000:01:00.0: SRBM_STATUS=0x200000C0
>> > [ 6514.979764] [drm] Clocks initialized !
>> > [ 6515.020519] [drm] ring test succeeded in 1 usecs
>> > [ 6515.020545] [drm] ib test succeeded in 0 usecs
>> > [ 6515.021186] vga_switcheroo: client 1 refused switch
>> > [ 6515.021188] vga_switcheroo: setting delayed switch to client 1
>> >
>> > and that is it. I tried to compile the module and run the test.off
>> > script.
>> > Managed to compile but the kernel I was in went nonresponsive completely
>> > on
>> > running the script. Lucky I have several generations so managed to sort
>> > that
>> > problem.
>>
>> Did you log out of X after this point?
>>
>> Dave.
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~hybrid-graphics-linux
>> Post to : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
>> More help : https://help.launchpad.net/ListHelp
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~hybrid-graphics-linux
> Post to : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
> More help : https://help.launchpad.net/ListHelp
>
>
--
Dante Javier Paz
Instituto de Astronomía, Teórica y Experimental, IATE
Observatorio Astronómico de Córdoba
Tel: (54) 351-4331066 ext 210
Web: www.iate.oac.uncor.edu
Laprida 854
X5000BGR - Córdoba
ARGENTINA
Follow ups
References