Bug 17232

Summary: EXA image rendering problems
Product: xorg Reporter: Tadej Janež <tadej.j>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
EXA image rendering problem
none
Xorg.0.log
none
xorg.conf
none
Xorg.0.log
none
xorg.conf none

Description Tadej Janež 2008-08-20 15:53:24 UTC
Created attachment 18422 [details]
EXA image rendering problem

I had problems with playing videos on my new Fedora 9 desktop as described in downstream Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=445395

The solution was to enable EXA instead of XAA.

However, this uncovered the bug I'm reporting.
Basically, parts of images don't show up in Firefox and elsewhere (a light gray
rectangle is rendered in its place).

Screenshot:
See the attachment.

Configuration file:
See the attachment

Log file:
See the attachment

Versions of applicable components:
xorg-x11-drv-ati-6.8.0-14.fc9.i386
xorg-x11-server-Xorg-1.4.99.905-2.20080702.fc9.i386
Comment 1 Tadej Janež 2008-08-20 15:56:48 UTC
Created attachment 18423 [details]
Xorg.0.log
Comment 2 Tadej Janež 2008-08-20 15:58:33 UTC
Created attachment 18424 [details]
xorg.conf
Comment 3 Michel Dänzer 2008-08-21 01:43:32 UTC
Does Option "RenderAccel" "off" work around the problem?
Comment 4 Tadej Janež 2008-08-21 02:43:49 UTC
No, the problem persists.

I must add that images are sometimes displayed for a tenth of a second and then they become gray again.
Also, images are usually properly displayed in Firefox when less that half of their canvas is visible on display. Example: images of movie trailers in the 3rd row of the attached screenshot.
Comment 5 Michel Dänzer 2008-08-21 02:52:30 UTC
(In reply to comment #4)
> No, the problem persists.

Did you verify in the log file that the option took effect as intended?

What about Option "AccelDFS" "off"?

Does disabling compositing have any effect on the problem?
Comment 6 Tadej Janež 2008-08-21 03:59:22 UTC
(In reply to comment #5)
> 
> Did you verify in the log file that the option took effect as intended?

Yes, I did. I'm attaching a new Xorg.0.log.

> What about Option "AccelDFS" "off"?

I've tried this option and it didn't fix the problem, however, computer became really slow with this option "off" and after a few minutes it completely froze.
Only the mouse pointer was still moving and I had to do a hard reset.
 
> Does disabling compositing have any effect on the problem?

You mean Option "Composite" "Disable"?
I tried that and the result was the same.

BTW, computer also froze with my latest xorg.conf with compositing disabled and AccelDFS on while I was writing this comment.
Comment 7 Tadej Janež 2008-08-21 04:00:36 UTC
Created attachment 18445 [details]
Xorg.0.log
Comment 8 Tadej Janež 2008-08-21 04:01:32 UTC
Created attachment 18446 [details]
xorg.conf
Comment 9 Alex Deucher 2008-08-21 07:13:03 UTC
(In reply to comment #6)
> > Does disabling compositing have any effect on the problem?
> 
> You mean Option "Composite" "Disable"?
> I tried that and the result was the same.

Add the following to your config:

Section "Extensions"
        Option  "Composite"     "Disable"
EndSection

Or disable desktop effects (compiz, etc.).
Comment 10 Tadej Janež 2008-08-21 07:35:24 UTC
(In reply to comment #9) 
> Add the following to your config:
> 
> Section "Extensions"
>         Option  "Composite"     "Disable"
> EndSection

I did that and it doesn't help. For details see the attached xorg.conf.

The only thing that helps is to use XAA instead of EXA.


Comment 11 Tadej Janež 2008-08-25 06:20:40 UTC
Today I updated the xorg-x11-drv-ati package to the one in Fedora Updates Testing repository and the problem went away.

Version of the new package, which works is:
xorg-x11-drv-ati-6.8.0-19.fc9.i386

If anyone wants to persue the difference between the old and new driver version, which fixed this bug, I'll be glad to help. Else, this bug is fixed for me.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.