← Back to team overview

hp-envy team mailing list archive

switcheeroo on Envy 13 feedback

 

Hello,

I tryed successfully the switcheeroo patch v13 by switching to radeon in
console before starting X, I didn't try another way on Envy 13
(1050ef).  This patch is for testing purpose currently, imo only
advanced linux user should try it.

Patch can be dowloaded here :
http://people.freedesktop.org/~airlied/vgaswitcheroo/0001-vga_switcheroo-initial-implementation-v13.patch

I used the vanilla kernel 2.6.33.2 and patch it with switcheeroo v13 on
gentoo with a recent Xorg radeon driver currently  6.13.0 in gentoo
denomination.

In my case I made i915 and radeon driver as module with modeset disable
by default. Then I made a little init.d script that load those modules
with modeset enable, then switch to radeon card. The durty little script
look like folowing and do any check, use it without waranty :

 modprobe i915 modeset=1
 sleep 1
 modprobe radeon modeset=1
 sleep 1
 if [ ! -e /sys/kernel/debug/vgaswitcheroo/switch ]; then
  mount -t debugfs none /sys/kernel/debug
 fi
 echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch
 sleep 1

I don't know if the load order have impact but for my linux that order work.

Note that error in script or mistake on loading this modules can leave
you with a blank screen, and some time freeze the computeur.

Since I use this script I have not a lot of trouble. The first bug I
noticed is that in radeon as output the britghness of the screen cannot
be changed.
The second issue is, when I closse the screen and I open it back, the
computer seems to freeze.

I hope this help, if I have time I will produce a step by step tutorial :)

Best regards.










Follow ups