[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VGA out (mirror) on PowerBook IV (radeon 9000 M9)



This one time, at band camp, Jamie Wilkinson wrote:
>I might give 4.3 a try today, though, and see if I can get RandR to
>eliminate the virtual screen size scrolling on the external.  Michel, you've
>mentioned you're using 4.3 along with your drm packages, which versions and
>are there any gotchas I should be aware of?

Woot!  xrandr rocks!

So, for the intrepid powerbook presentation giver, here's what I've done:

Backup your /etc/X11/XF86Config-4 somewhere, just in case.

Add experimental to your sources.list:
deb http://public.planetmirror.com/pub/debian/ ../project/experimental main

Then something like the following commands need to be run, as the current
unstable debs don't do the dependencies properly for a clean upgrade:

apt-get install -d -t experimental xlibmesa-{gl,glu}{,-dev}
dpkg -r --force-depends xlibmesa3-{gl,glu}{,-dev} xlibmesa-gl1-dri-trunk
dpkg -i --force-depends /var/cache/apt/archives/xlibmesa-{gl,glu}{,-dev}_4.3.0-0pre1v1*deb
dpkg -r --force-depends xlibmesa3
apt-get install -t experimental xlibs xserver-xfree86 xfree86-common xlibmesa-dri
COLUMNS=200 dpkg -l | grep 4.2.1-10 | grep '^ii' | awk '{print $2}' | xargs apt-get install -u -t experimental

That should get you all set up with the new experimental debs.  Your old 4.2
configuration file should work with the new server without problems, see
http://spacepants.org/conf/XF86Config-4 for mine.

Then, you plug in your external display, which is running at 1024x768
(significantly lower than your LCD at 1280x854), and type xrandr.  Choose
the 1024x768 size, and type xrandr -s SIZE, where SIZE is the number of the
size you're choosing.  Presto, your LCD shows an image 1024x768 scaled up to
1280x854, and the external display fills the screen!  Now your fullscreen
presentation app looks correct on both monitors so you don't have to twist
your neck when giving your presentation!

willow% xrandr
 SZ:    Pixels          Physical       Refresh
*0   1280 x 854    ( 322mm x 221mm )  *59
 1    640 x 350    ( 322mm x 221mm )   59
 2    640 x 400    ( 322mm x 221mm )   59
 3    720 x 400    ( 322mm x 221mm )   59
 4    640 x 480    ( 322mm x 221mm )   59
 5    800 x 600    ( 322mm x 221mm )   59
 6   1024 x 768    ( 322mm x 221mm )   59
 7    832 x 624    ( 322mm x 221mm )   59
 8   1152 x 768    ( 322mm x 221mm )   59
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none

Only thing broken now is that I had to remove the xlibmesa-lg1-dri-trunk
package, so I'll see if that still installs, and the broken symbols in Ben's
latest rsync.

-- 
jaq@debian.org                               http://people.debian.org/~jaq



Reply to: