Bug 20918

Summary: Qt redraw problems with EXA enabled
Product: xorg Reporter: Andrej Krutak <andree>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: arekm, galtgendo, ojab, rasasi78
Version: 7.4 (2008.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
X.org config file
none
screenshot of a amarok directory listview (1)
none
screenshot of a amarok directory listview (2)
none
a Qt app edit view
none
X.org log file
none
kmail dialog none

Description Andrej Krutak 2009-03-28 00:50:59 UTC
Created attachment 24331 [details]
X.org config file

When using EXA, I am occasionally getting bad background redraws for some Qt (4.5) widgets - line edit, list views (see attached screenshots)... No (graphics) bugs seem to appear for GTK apps. Also, it doesn't matter, whether I enabled 'desktop effects' in the KDE (4.2).

The bug doesn't appear with XAA enabled. Well, to be precise, the acceleration is disabled competely when using XAA, right? :

(II) RADEON(0): XAA Render acceleration unsupported on Radeon 9500/9700 and newer. Please use EXA instead.
(II) RADEON(0): Render acceleration disabled

:-)


I've attached the "bad" EXA configuration (a pretty generic one), screenshots what happens and log file.

If you need any more asistance, I'll help gladly - I could probably handle compiling of driver by myself and/or even try to find and fix the issue, if someone provided me with hints where to look :-)
Comment 1 Andrej Krutak 2009-03-28 00:52:02 UTC
Created attachment 24332 [details]
screenshot of a amarok directory listview (1)
Comment 2 Andrej Krutak 2009-03-28 00:52:20 UTC
Created attachment 24333 [details]
screenshot of a amarok directory listview (2)
Comment 3 Andrej Krutak 2009-03-28 00:54:01 UTC
Created attachment 24334 [details]
a Qt app edit view

notice the double-drawn text on the left side of cursor.. I did this by clicking on the start of text a and pressing right arrow to move cursor. While doing this, the text got this scrambled (as the background wasn't probably reset to white)
Comment 4 Andrej Krutak 2009-03-28 00:54:28 UTC
Created attachment 24335 [details]
X.org log file
Comment 5 Andrej Krutak 2009-03-28 00:56:46 UTC
Created attachment 24336 [details]
kmail dialog

This time, the 'uninitialized background' phenomenon occurs - the
lineedit on the left contains previous contents along with newly typed text. On
the right, the black backrounds contains some white 'dots' (looks like some uninitialized bitmap to me)...
Comment 6 Michel Dänzer 2009-03-30 03:09:40 UTC
Does

    Option "EXAOptimizeMigration" "off"

help?
Comment 7 Andrej Krutak 2009-03-30 13:15:36 UTC
yep, that seem to have removed those artifacts... The only thing that bothers me is that redraws of screen (e.g. krusader dir list, or firefox webpage scrolling) is way like 2-3x (i.e. really visible) slower using exa (with composite manager or not), than using no acceleration at all..

It's really uncomfortably slow to be used, thus I guess I'll have to stick with the old-fashined desktop afterall ;-( However I'm not sure, whether it's driver bug or some kind of a "normal acceleration architecture feature"...
Comment 8 Rafał Mużyło 2009-04-03 18:11:38 UTC
This sound a bit similar to my bug 19940.
Comment 9 Michel Dänzer 2009-05-09 10:53:24 UTC
I'm having a hard time reproducing this with EXA from current upstream xserver Git. Can you try that?
Comment 10 Andrej Krutak 2009-05-09 10:57:04 UTC
well, the next few days I personally won't have the time to do it - however I'll try as soon as I can (of course, only in case I'll be able to compile Xserver in the way, that won't completely mess up my system :-))
Comment 11 Alex Deucher 2009-11-11 11:04:17 UTC
Is this still an issue with xf86-video-ati from git master?
Comment 12 Raúl 2010-04-22 09:27:39 UTC
Hello:

I'm also seeing artifacts, but I'm not sure I'm seeing those explained in this bug. Maybe you could upgrade your graphics stack and tell us if you see any improvement.

Thanks.
Comment 13 Adam Jackson 2018-06-12 19:09:20 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.

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.