Bug 23024

Summary: Video artefacts on some apps with EXA enabled
Product: xorg Reporter: BugsBane <bugsbane>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED NOTOURBUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: rasasi78
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log - no visible errors
none
Updated xorg.conf none

Description BugsBane 2009-07-29 11:37:58 UTC
DESCRIPTION:
Video artefacts on particular windows, especially when they are updating. Seems to happen more on some apps (Kate, Kpackagekit) than others. Some it happens on, but only infrequently.


HOW TO REPRODUCE:
1. Use ATI video driver with EXA enabled.
2. Open kate.
3. Write some stuff.
4. Resize the window and scroll a bit. Within 30 seconds problem should be visible.


TECH SPECS:
***machine 1 - happens more on this machine***
xserver-xorg-video-ati 1:6.12.1-0ubuntu2 (i386) from Ubuntu repos
Kubuntu Jaunty 32bit (AMD dual core 64 bit cpu)
ATI Technologies Inc RS482 [Radeon Xpress 200M]
KDE 4.2.2
Xorg.conf:
Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1280x800"
                Virtual         1280 800
        EndSubSection
EndSection

Section "Device"
        Identifier      "Configured Video Device"
        Driver          "ati"
        Option          "XAANoOffscreenPixmaps"
        Option          "AccelMethod"    "EXA"
EndSection

Section "ServerFlags"
        Option  "DontZap"       "False"
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection





***machine 2 - happens less on this machine***
xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu1 (amd64) from Ubuntu repos
Kubuntu Karmic 64bit (AMD quad core 64 bit cpu)
ATI HD4850
KDE 4.2.98 (4.3 RC3)
Default xorg (UXA?)
Comment 1 Alex Deucher 2009-07-29 11:40:18 UTC
Please attach your xorg logs and configs.  Does disabling the EXA DFS hook fix it?
Option "EXANoDownloadFromScreen"
Comment 2 BugsBane 2009-07-29 11:42:40 UTC
Just realised this probably isn't entirely EXA as it seems to happen (albeit less) on the machine I didn't enable EXA on (unless Karmic does that by default).

Anyway, you can see a video demonstration (ogg video) at:
http://www.mediafire.com/?g4gziwmcziz
Comment 3 BugsBane 2009-07-30 23:57:24 UTC
xorg.conf is in the first post. I added the option suggested and that seems to clear it up perfectly (at least thus far).

Thanks!
Comment 4 BugsBane 2009-07-31 00:56:22 UTC
Created attachment 28216 [details]
Xorg.0.log - no visible errors
Comment 5 BugsBane 2009-07-31 00:57:05 UTC
Created attachment 28217 [details]
Updated xorg.conf
Comment 6 BugsBane 2009-07-31 00:58:29 UTC
Gah! Spoke too soon. It's still there, although now artefacts occasionally seem to dissapear after about 1/2 a second.
Comment 7 Michel Dänzer 2009-07-31 02:04:54 UTC
Does

    Option "EXAOptimizeMigration" "off"

work around the problem? If so, that's the default upstream since xserver 1.6.2, Ubuntu should follow suit.
Comment 8 BugsBane 2009-08-01 00:05:22 UTC
Hmmm... 

That does indeed seem to work around the problem. I'll take this up on Ubuntu's bug tracker.

Thanks for the help everyone!

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.