[ltp] Re: Re: need help with T43p, fglrx display drivers and suspend to ram

Alex Deucher linux-thinkpad@linux-thinkpad.org
Sat, 11 Aug 2007 23:34:49 -0400


On 8/11/07, Raanan Manor <raanan@opcat.com> wrote:
>
> On Sat, 2007-08-11 at 14:51 -0400, Alex Deucher wrote:
> > On 8/11/07, Raanan Manor <raanan@opcat.com> wrote:
> > >
> > > On Sat, 2007-08-11 at 12:17 -0400, Alex Deucher wrote:
> > > > On 8/11/07, Raanan Manor <raanan@opcat.com> wrote:
> > > > >
> > > > > On Sat, 2007-08-11 at 11:02 -0400, Alex Deucher wrote:
> > > > > > On 8/11/07, Raanan Manor <raanan@opcat.com> wrote:
> > > > > > >
> > > > > > > On Sat, 2007-08-11 at 12:01 +0200,
> > > > > > > linux-thinkpad-request@linux-thinkpad.org wrote:
> > > > > > > > On 8/10/07, Raanan Manor <raanan@opcat.com> wrote:
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > I am running Ubuntu on a thinkpad T43p, everything works except the
> > > > > > > > > suspend to ram and hibernation. I am using the the fglrx drivers
> > > > > > > > version
> > > > > > > > > 8.37 and i also tried the new 8.39.
> > > > > > > > >
> > > > > > > > > I have spent more then 10 hours trying to make this work, trying
> > > > > > > > allot
> > > > > > > > > of xorg.conf options. I really don't want to get back to Windows so
> > > > > > > > any
> > > > > > > > > help will be appreciated.
> > > > > > > > >
> > > > > > > > > Thanks for any info.
> > > > > > > >
> > > > > > > > Why not use the open source radeon driver?
> > > > > > > >
> > > > > > > > Alex
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I tried the radeon driver but I could not configure it to enable 3D
> > > > > > > acceleration or to support two monitors configuration on the LCD -
> > > > > > > 1600x1200 resolution and one the CRT1 - 1680x1050. Maybe my card is not
> > > > > > > supported by it.
> > > > > >
> > > > > > 3D should be supported just fine on this card.  what problems were you
> > > > > > having?  if you tried to mix the radeon driver with fglrx, you might
> > > > > > have run into problem with left over fglrx libs conflicting with the
> > > > > > regular xorg versions.  For dualhead, you can use mergedfb with the
> > > > > > currently released radeon driver, or grab the randr-1.2 branch and you
> > > > > > will have full output control (turn outputs on/off, switch between
> > > > > > dual/single head on the fly).
> > > > > >
> > > > > > Alex
> > > > >
> > > > > Also, is this the url of the randr-1.2 ?
> > > > >
> > > > >  git://git.freedesktop.org/git/xorg/driver/xf86-video-ati
> > > > >
> > > >
> > > > that's the git repository.  That contains all branches.  Here's what
> > > > you'll need to do.
> > > >
> > > > 1. make sure you have at least xserver 1.3 or higher
> > > > 2. install your distro's xorg-dev, xserver-dev, mesa-dev packages
> > > > 3. backup your old ati_drv.so and radeon_drv.so
> > > > 4. grab the ati git tree:
> > > > git clone git://git.freedesktop.org/git/xorg/driver/xf86-video-ati
> > > > 5. switch to the newly cloned directory
> > > > cd xf86-video-ati
> > > > 6. check out the randr-1.2 branch
> > > > git 1.4:
> > > > git checkout randr-1.2
> > > > git 1.5:
> > > > git checkout origin/randr-1.2
> > > > 7. ./autogen.sh --prefix=/usr
> > > > 8. make
> > > > 9. as root:
> > > > make install
> > > >
> > > > if you want to play with tv-out, you also need the latest xrandr package:
> > > > 1. git clone git://anongit.freedesktop.org/git/xorg/app/xrandr
> > > > 2. cd xrandr
> > > > 3. ./autogen.sh --prefix=/usr
> > > > 4. make
> > > > 5. as root:
> > > > make install
> > > >
> > > > Once you've done that you can use xrandr to control your outputs and
> > > > crtc orientations.
> > > >
> > > > Alex
> > >
> > > Thanks.
> > > I have it compiled and running, but still i can not make the LVDS
> > > 1600x1200 and the VGA-1 1680x1050.
> > >
> > > When i use xrandr and turn off the LVDS (1600x1200) the VGA-1 max
> > > resolution is set to 1600x1200 so i can not change it to 1680x1050 as
> > > 1680 is larger then 1600.
> >
> > the default max desktop size is 1600x1200 (until we get a decent
> > memory manager for X/drm).  to make it bigger, edit your xorg.conf and
> > add a virtual line to the screen section with the biggest desktop
> > you'd like to be able to switch to:
> >
> > e.g.,
> > Virtual 1680 1200
> > or
> > Virtual 3280 1200
> > if you want to do 1600x1200 + 1680x1050 dualhead
> >
> > Alex
>
> Thanks.
>
>
> Is there a way only to operate one screen at a time with it's full
> resolution. i.e. not dual head but only one head working in any given
> time, and if I need to replace screens i can restart the X-server or
> boot and work on the other screen.
>

you don't even have to restart the X server.  Just use xrandr.  some examples:
# turn vga output off
xrandr --output VGA-0 --off
# move vga output right of LVDS output
xrandr --output VGA-0 -right-of LVDS
# switch the mode on DVI to 1280x1024
xrandr --output DVI-0 --mode 1280x1024
# automatically set up all connected outputs
xrandr --auto

by default xrandr will turn on all outputs with monitors detected.
you can turn off any outputs you don't want on.  the desktop will
automatically resize to the size of the largest active output.

Alex