Bug 39648

Summary: compositor goes crazy after a game has run
Product: DRI Reporter: almos <aaalmosss>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: mario.kleiner
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description almos 2011-07-28 13:53:35 UTC
With kernel 3.0 the system boots up OK, and 3d accelerated composite desktop works as expected (with compiz 0.8.4), but if I run a game (I only tried this with ut2004 at fullscreen), and exit it, the compositor goes crazy: windows appear at random positions, on wrong virtual deskops, parts of windows appear instead of other windows, some windows become black, and these go on at random. On top of this, every animation flickers, and basically everything becomes a mess.

With 2.6.37.6 everything is fine.
Comment 1 Alex Deucher 2011-07-28 13:57:11 UTC
Can you bisect?
Comment 2 almos 2011-07-28 14:13:09 UTC
Well, I know how to bisect, but this one seems like a week-long job to me. I'll see what I can do about it.
Comment 3 Ville Syrjala 2011-07-29 04:40:04 UTC
The symptoms sound somewhat familiar. Can you try the patches from this thread: http://lists.x.org/archives/xorg-devel/2011-May/021908.html
Comment 4 almos 2011-07-29 10:36:49 UTC
(In reply to comment #3)
> The symptoms sound somewhat familiar. Can you try the patches from this thread:
> http://lists.x.org/archives/xorg-devel/2011-May/021908.html

I git cloned the xf86-video-ati repository, applied both patches from that ml-thread, replaced the radeon and ati driver modules of xorg with the compiled ones, and now everything seems to work correctly.
Comment 5 Alex Deucher 2011-08-01 08:41:54 UTC
I've gone ahead and pushed the patches:
9493563c1ef4b51af0ee8a44cb4e7c5bb280347e
d29bab632e9ecccba518d4107d52620bf75eb1cf
104b2d7c071f29266b1bc4184a74e9714d14febc

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.