https://bugs.freedesktop.org/show_bug.cgi?id=28955
Summary: [r300g]: refresh/update/damage issues using compiz. Product: DRI Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: oreaus@gmail.com
Created an attachment (id=36846) --> (https://bugs.freedesktop.org/attachment.cgi?id=36846) example
Can reproduce reliably, running any compiz with r300g on rv350. While the screen is not being damaged (you can see with showrepaint plugin) any change in a window is not updated until some other window moves in front of it or animation happens in the area. It used to work a few months ago as far as I can remember, but I could not find a good commit to bisect with that would build and wouldn't crash compiz when trying to start it.
Steps to reproduce: 1) Start compiz with r300g on rv350 2) Make sure the screen isn't already being damaged, then click on something in ccsm or go to a different webpage in a browser or use an irc client with text scrolling up (a terminal or any other window can also be affected) 3) Observe issue
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #1 from Alex Deucher agd5f@yahoo.com 2010-07-29 07:15:55 PDT --- Does 'make clean' help?
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #2 from Kristian Høgsberg krh@bitplanet.net 2010-07-29 15:38:34 PDT --- Dup of 28438?
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #3 from Scott Moreau oreaus@gmail.com 2010-07-31 00:55:35 PDT --- (In reply to comment #1)
Does 'make clean' help?
No, it does not. I tried make distclean and realclean as well.
https://bugs.freedesktop.org/show_bug.cgi?id=28955
Giacomo Perale ghepeu@virgilio.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ghepeu@virgilio.it
--- Comment #4 from Giacomo Perale ghepeu@virgilio.it 2010-07-31 14:28:38 PDT --- I'm having the same issue here (r300g on a rv370).
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #5 from Marek Olšák maraeo@gmail.com 2010-08-03 05:40:08 PDT --- Does r300c have this issue?
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #6 from Scott Moreau oreaus@gmail.com 2010-08-03 23:19:29 PDT --- (In reply to comment #5)
Does r300c have this issue?
No it does not. I have been using it without this issue.
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #7 from Droste tdroste@gmx.de 2010-08-05 18:08:53 PDT --- I'm having the same issue with r300g on a rv570 and kwin (compositing enabled, KDE SC 4.5rc2).
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #8 from Droste tdroste@gmx.de 2010-08-05 18:18:35 PDT --- Created an attachment (id=37612) --> (https://bugs.freedesktop.org/attachment.cgi?id=37612) Example scrolling in firefox + kwin compositing and r300g
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #9 from Marek Olšák maraeo@gmail.com 2010-08-05 19:56:09 PDT --- Created an attachment (id=37614) View: https://bugs.freedesktop.org/attachment.cgi?id=37614 Review: https://bugs.freedesktop.org/review?bug=28955&attachment=37614
possible workaround
Could both of you please try this patch? Don't be happy if it fixes the issue for you, it's not a real fix and it hurts performance a lot.
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #10 from Droste tdroste@gmx.de 2010-08-06 08:37:29 PDT --- I tried it and it doesn't solve the problem.
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #11 from Scott Moreau oreaus@gmail.com 2010-08-16 17:34:56 PDT --- (In reply to comment #9)
Created an attachment (id=37614)
View: https://bugs.freedesktop.org/attachment.cgi?id=37614 Review: https://bugs.freedesktop.org/review?bug=28955&attachment=37614
possible workaround
Could both of you please try this patch? Don't be happy if it fixes the issue for you, it's not a real fix and it hurts performance a lot.
The bug is still reproduceable with this patch,
It is noteworthy that the bug does not happen right away after starting compiz, but anywhere from 30secs-1min or more of using the system before it starts, then all windows are affected. For example on my system, I minimize all windows except for ccsm, then click on a plugin, then back and do this several different times and then the bug starts happening. It is important to not have any damage happening in the background, such as anything animating, moving or otherwise being damaged. Otherwise, you will never see the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #12 from Scott Moreau oreaus@gmail.com 2010-08-26 16:57:09 PDT --- I am closing this bug since it no longer occurs with latest components. It must have got fixed somewhere in the mix.
https://bugs.freedesktop.org/show_bug.cgi?id=28955
Scott Moreau oreaus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #13 from Scott Moreau oreaus@gmail.com 2010-08-26 16:58:00 PDT --- Closed: Resolved/Fixed.
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #14 from Christophe Saout christophe@saout.de 2010-08-28 05:02:10 PDT --- Scott, can you tell me what the "latest components" are exactly? Mesa git master HEAD and xorg-server-1.9.0 on an Mobility X1400 (r500) give the exact same effect you describe on my machine here. r300 "classic" is fine.
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #15 from Giacomo Perale ghepeu@virgilio.it 2010-08-28 06:07:23 PDT --- (In reply to comment #14)
Scott, can you tell me what the "latest components" are exactly? Mesa git master HEAD and xorg-server-1.9.0 on an Mobility X1400 (r500) give the exact same effect you describe on my machine here. r300 "classic" is fine.
It works here too. Are you using xf86-video-ati from git? There were a few commits lately who could be related to this bug.
https://bugs.freedesktop.org/show_bug.cgi?id=28955
--- Comment #16 from Christophe Saout christophe@saout.de 2010-08-28 06:42:19 PDT --- Good call, that fixes it! Thanks!
dri-devel@lists.freedesktop.org