Bug#461153: xserver-xorg-video-ati: rotation corrupts screen

Xavier Bestel xavier.bestel at free.fr
Fri Jan 18 09:08:02 PST 2008


On jeu, 2008-01-17 at 15:47 -0500, Alex Deucher wrote:
> On Jan 17, 2008 2:48 PM, Xavier Bestel <xavier.bestel at free.fr> wrote:
> >
> >
> > On jeu, 2008-01-17 at 13:00 -0500, Alex Deucher wrote:
> > > On Jan 17, 2008 12:52 PM, Xavier Bestel <xavier.bestel at free.fr> wrote:
> > > >
> > > >
> > > > On jeu, 2008-01-17 at 10:50 -0500, Alex Deucher wrote:
> > > > > On Jan 17, 2008 10:47 AM, Xavier Bestel <xavier.bestel at free.fr> wrote:
> > > > > >
> > > > > > On Thu, 2008-01-17 at 10:42 -0500, Alex Deucher wrote:
> > > > > > > On Jan 17, 2008 4:27 AM, Xavier Bestel <xavier.bestel at free.fr> wrote:
> > > > > > > > On Thu, 2008-01-17 at 10:00 +0100, Michel Dänzer wrote:
> > > > > > > > > On Wed, 2008-01-16 at 23:26 +0100, Xavier Bestel wrote:
> > > > > > > > > > Package: xserver-xorg-video-ati
> > > > > > > > > > Version: 1:6.7.198~git20080109.10e7636c-1
> > > > > > > > > > Severity: normal
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi again ...
> > > > > > > > > >
> > > > > > > > > > when I rotate display using
> > > > > > > > > > xrandr -o 1
> > > > > > > > > > or
> > > > > > > > > > xrandr --output DVI-0 --rotation left
> > > > > > > > > > the display is corrupted. I can see some parts of the windows rotated,
> > > > > > > > > > some part non-rotated, and some garbage everywhere.
> > > > > > > > > > I'm using compiz.
> > > > > > > > >
> > > > > > > > > Then it can't work until xserver 1.5 due to previously missing AIGLX
> > > > > > > > > damage reporting.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > 01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AR [Radeon 9600]
> > > > > > > > >
> > > > > > > > > Note that even without a GLX compositing manager, support for
> > > > > > > > > accelerated rotation with R300 generation cards was only just pushed to
> > > > > > > > > the upstream Git repository. Also, AFAIK it's only working correctly
> > > > > > > > > with EXA at this point.
> > > > > > > >
> > > > > > > > Ok, fair enough.
> > > > > > > > I've tried with metacity, and you're right it's damn slow.
> > > > > > > > But the display is also corrupted. All the pixel on the right of the
> > > > > > > > (non-rotated) screen are garbled, I'd say on the last fifth of the
> > > > > > > > display.
> > > > > > > > I took a screenshot, but on the screenshot everything is allright. So
> > > > > > > > the corruption happens only on-screen.
> > > > > > >
> > > > > > > What version of the driver/xserver are you using?  Earlier version of
> > > > > > > radeon had some bugs when it came to rotation.
> > > > > >
> > > > > > xserver 2:1.4.1~git20080105-1
> > > > > > xserver-xorg-video-ati 1:6.7.198~git20080109.10e7636c-1
> > > > >
> > > > > Can you get a picture of the corruption maybe with a digital camera?
> > > > > Also are you using EXA or XAA?
> > > >
> > > > Here are the pictures (1 from afar, 1 nearer).
> > > > I hope attaching big files to a bug is ok.
> > >
> > > Can you post your xorg log and config?  Does rotation work ok under
> > > XAA?  How about if you disable tiling (Option "ColorTiling" "False")?
> > > Looks like an issue with damage and tiling.
> >
> > Disabling colortiling makes it work.
> > Do I need to test something else ?
> 
> does making your virtual area square help?
> Virtual		2400 2400

Apparently yes.
But now I tried the latest driver (including your rotated acceleration),
and the lowest fifth of the screen isn't updated anymore (with
colortiling on or off, virtual area square or rectangular).
Still a damage problem apparently.

	Xav







More information about the xorg-driver-ati mailing list