[RV250] exa acclerated transparecy artifacts at canvas border [EXA enabled]

Bug #270690 reported by wesley
2
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Invalid
Medium
xserver-xorg-video-ati (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-ati

Using EXA RENDER acceleration in the open source radeon driver, on an rv250 (Mobility 9000), certain transparency elements will get artifacts along the border of the "canvas", for lack of a better word. It's not the border of the actual image, but the border of the entire canvas, i.e. a 32x32 image, of which the non-transparent image is only the center 16x16 square, the artifact would be along the "invisible" 32x32 edges.
The artifacts are consistent, in that it's always the same elements that have the problem.

Ubuntu Hardy Heron, 8.04
Xserver 1.4, Xorg 7.3
xserver-xorg-video-ati 6.8

The problem has existed since accelerated RENDER has been implemented. Still persists, even in the newer Intrepid Ibex 8.10 xserver and ati drivers.

Setting RenderAccel to false, or MigrationHeuristic to greedy makes the problem disappear, as this disables RENDER acceleration.

It doesn't seem to affect transparency that's generated by the compositor, but by transparency that's specified by an image.

Most definitely an upstream bug, but I don't know where to report it.
[lspci]
00:00.0 Host bridge [0600]: Intel Corporation 82855PM Processor to I/O Controller [8086:3340] (rev 03)
     Subsystem: IBM Device [1014:0529]
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon RV250 [Mobility FireGL 9000] [1002:4c66] (rev 02)
     Subsystem: IBM Device [1014:054d]

wesley (mrthefter)
description: updated
Revision history for this message
Bryce Harrington (bryce) wrote :

Can you attach a photo or screenshot that shows the corruption? Also please attach your /var/log/Xorg.0.log and the output from lspci -vvnn. Thanks ahead of time.

Changed in xserver-xorg-video-ati:
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

Oh also your /etc/X11/xorg.conf as well.

Revision history for this message
wesley (mrthefter) wrote :

Not on my linux machine at the moment (at work, and the machine is in standby, wireless internet no less, so no remote) so I can't get a screenshot. I will do it when I get back.

I can however, say that it's listed as a FireGL 9000 on spec sheets for my T40p Thinkpad, but shows as a RADEON Mobility 9000 [M9], an rv250 chipset.

As for xorg.conf, I can list off the changes I've made to it for the radeon driver, as I assume that's what you're looking for.
AGPMode 4x
DynamicClock on (tried off, too)
AccelMethod EXA
AccelDFS true (pretty sure I tried off)
ColorTiling off (tried on, too)
EnablePageFlip off (tried on, too)
VGAaccess false (i use radeonfb)
SubPixelOrder NONE (supposedly increases composite acceleration speed, according to man)
DMAforXv on
RenderAccel true

Anything not listed means it's at default. MigrationHeuristic defaults to either smart or always (not greedy, anyway) in the intrepid radeon drivers.
Anyway, like I said, setting RenderAccel to false, MigrationHeuristic to greedy, or AccelMethod to XAA will not produce the problem, because all of these use software RENDER.

I might also note that the transparency edge artifacts change every time the image updates. Easiest way to see results of this is to use cairo-dock with the zoom function (basically, like the mac osx dock when you mouseover). There'll be these white lines along random parts of the border of each element, and every time the image changes size (otherwise, updated) the lines will change position.

And finally, I hope this is obvious, but it only happens with a compositor. There wouldn't be accelerated transparency otherwise.

Revision history for this message
wesley (mrthefter) wrote :

Alright, here's some screenshots.
The dock ones might not be noticeable, but the ClearWeather screenlet ones are very clear. Compare to SmoothWeather, right next to it, which doesn't have the problem.

Revision history for this message
wesley (mrthefter) wrote :
Revision history for this message
wesley (mrthefter) wrote :
Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati:
status: Incomplete → Confirmed
Revision history for this message
In , Bryce Harrington (bryce) wrote :

Forwarding this EXA bug from a Ubuntu tester:
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/270690

[Problem]
White "boxes" appear around images when using Compiz under EXA.

[Original Report]
Using EXA RENDER acceleration in the open source radeon driver, on an rv250 (Mobility 9000), certain transparency elements will get artifacts along the border of the "canvas", for lack of a better word. It's not the border of the actual image, but the border of the entire canvas, i.e. a 32x32 image, of which the non-transparent image is only the center 16x16 square, the artifact would be along the "invisible" 32x32 edges.
The artifacts are consistent, in that it's always the same elements that have the problem.

Ubuntu Hardy Heron, 8.04
Xserver 1.4, Xorg 7.3
xserver-xorg-video-ati 6.8

The problem has existed since accelerated RENDER has been implemented. Still persists, even in the newer Intrepid Ibex 8.10 xserver and ati drivers.

Setting RenderAccel to false, or MigrationHeuristic to greedy makes the problem disappear, as this disables RENDER acceleration.

It doesn't seem to affect transparency that's generated by the compositor, but by transparency that's specified by an image.

[The chipset is] listed as a FireGL 9000 on spec sheets for my T40p Thinkpad, but shows as a RADEON Mobility 9000 [M9], an rv250 chipset.

As for xorg.conf, I can list off the changes I've made to it for the radeon driver:
AGPMode 4x
DynamicClock on (tried off, too)
AccelMethod EXA
AccelDFS true (pretty sure I tried off)
ColorTiling off (tried on, too)
EnablePageFlip off (tried on, too)
VGAaccess false (i use radeonfb)
SubPixelOrder NONE (supposedly increases composite acceleration speed, according to man)
DMAforXv on
RenderAccel true

Anything not listed means it's at default. MigrationHeuristic defaults to either smart or always (not greedy, anyway) in the intrepid radeon drivers.
Anyway, like I said, setting RenderAccel to false, MigrationHeuristic to greedy, or AccelMethod to XAA will not produce the problem, because all of these use software RENDER.

I might also note that the transparency edge artifacts change every time the image updates. Easiest way to see results of this is to use cairo-dock with the zoom function (basically, like the mac osx dock when you mouseover). There'll be these white lines along random parts of the border of each element, and every time the image changes size (otherwise, updated) the lines will change position.

And finally, I hope this is obvious, but it only happens with a compositor. There wouldn't be accelerated transparency otherwise.

[Screenshots]
http://launchpadlibrarian.net/18393667/Screenshot-1.png
http://launchpadlibrarian.net/18393751/screenshot.png

Revision history for this message
In , agd5f (agd5f) wrote :

does:
Option "AccelDFS" "False"
help?

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [RADEON] exa acclerated transparecy artifacts at canvas border [EXA enabled]

Hi Joey,

I'd still like to have your Xorg.0.log, xorg.conf, and the output of lspci -vvnn when you get a chance, but I've gone ahead and forwarded this bug upstream anyway as I'd like to get progress going on EXA bugs (I'm hoping we can switch to it by default in Jaunty).

I've forwarded your bug here: https://bugs.freedesktop.org/show_bug.cgi?id=18401 Please subscribe to this bug in case upstream has more questions or wishes you to test something. Thanks ahead of time, and please attach the above info when it is convenient.

Changed in xserver-xorg-video-ati:
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in xserver-xorg-driver-ati:
status: Unknown → Confirmed
Revision history for this message
In , Michel-tungstengraphics (michel-tungstengraphics) wrote :

(In reply to comment #1)
> does:
> Option "AccelDFS" "False"
> help?

He said:

> AccelDFS true (pretty sure I tried off)

And it looks more like filtering artifacts than migration related anyway.

If it only happens with scaled (or generally transformed) pictures, it could be related to bug 15334.

P.S. Bryce, when forwarding bugs here, please make sure everything is available as attachments here.

Revision history for this message
In , wesley (mrthefter) wrote :

Created an attachment (id=20234)
lspci -vvnn output

Revision history for this message
In , wesley (mrthefter) wrote :

Created an attachment (id=20235)
xorg.conf

Revision history for this message
In , wesley (mrthefter) wrote :

Created an attachment (id=20236)
xorg log

Revision history for this message
wesley (mrthefter) wrote : Re: [RADEON] exa acclerated transparecy artifacts at canvas border [EXA enabled]

It's not a severe enough bug that EXA can't be activated by default, but it does get a little annoying. I'll attatch the files here and on fdo.

Revision history for this message
wesley (mrthefter) wrote :
Revision history for this message
wesley (mrthefter) wrote :
Bryce Harrington (bryce)
description: updated
Bryce Harrington (bryce)
summary: - [RV250 Mobility FireGL 9000] exa acclerated transparecy artifacts at
- canvas border [EXA enabled]
+ [RV250] exa acclerated transparecy artifacts at canvas border [EXA
+ enabled]
Bryce Harrington (bryce)
tags: added: intrepid
Revision history for this message
In , agd5f (agd5f) wrote :

Is this still an issue with xf86-video-ati from git master?

Robert Hooker (sarvatt)
summary: - [RV250] exa acclerated transparecy artifacts at canvas border [EXA
- enabled]
+ [RV250] [RV250] exa acclerated transparecy artifacts at canvas border
+ [EXA enabled]
Robert Hooker (sarvatt)
summary: - [RV250] [RV250] exa acclerated transparecy artifacts at canvas border
- [EXA enabled]
+ [RV250] exa acclerated transparecy artifacts at canvas border [EXA
+ enabled]
Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

Hi Joey,

This bug was reported against an earlier version of Ubuntu, can you
test if it still occurs on Lucid?

Please note we also provide technical support for older versions of
Ubuntu, but not in the bug tracker. Instead, to raise the issue through
normal support channels, please see:

    http://www.ubuntu.com/support

If you are the original reporter and can still reproduce the issue on
Lucid, please run the following command to refresh the report:

  apport-collect 270690

If you are not the original reporter, please file a new bug report, so
we can work with you as the original reporter instead (you can reference
bug 270690 in your report if you think it may be related):

  ubuntu-bug xorg

If by chance you can no longer reproduce the issue on Lucid or if you
feel it is no longer relevant, please mark the bug report 'Fix Released'
or 'Invalid' as appropriate, at the following URL:

  https://bugs.launchpad.net/ubuntu/+bug/270690

Changed in xserver-xorg-video-ati (Ubuntu):
status: Triaged → Incomplete
tags: added: needs-retested-on-lucid-by-june
Revision history for this message
Stefan Nagy (stefan-nagy) wrote :

I had the same problem & I can no longer reproduce this bug on lucid.

stefan@rosa:~$ lspci -nn | grep VGA
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon RV250 [Mobility FireGL 9000] [1002:4c66] (rev 01)

stefan@rosa:~$ uname -a
Linux rosa 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux

Bryce Harrington (bryce)
tags: added: hardy
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
Changed in xserver-xorg-driver-ati:
importance: Medium → Unknown
status: Confirmed → Invalid
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

closing as fixed, thanks.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.