← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: Anyone manage to switch ON discreet graphics?

 

On 04/03/2011 13:16, Dave Airlie wrote:
On Fri, Mar 4, 2011 at 7:41 PM, Orion<orion2000za@xxxxxxxxxxx>  wrote:
On 03/03/2011 22:09, Dave Airlie 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.

I wish I could - my computer refuses to logout. It is reboot or shutdown. Am
thinking I may have tinkered something "once too many" and am contemplating
reinstall. But at this moment productivity has to come first so have to wait
Well it won't switch until  X exits, worth trying sudo killall Xorg.

Dave.

Well I'll be darned - that worked. Just have to figure out how to "use" it now. Thing is at this moment one CPU is at constant 100% (this is an iCore5) and temp shot up from around 50 to 70 C....




Follow ups

References