https://bugs.freedesktop.org/show_bug.cgi?id=30329
Summary: [r600c/evergreen] KWin Present Windows effect extremely slow and has graphical glitches Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: Drivers/DRI/R600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: jlp.bugs@gmail.com
I've just tried the opensource Mesa driver on this eMachines E640G laptop with integrated ATI Mobility Radeon HD 5470. I'm using Linux kernel 2.6.36 RC5. The problem is, that desktop effects in KDE Kwin 4.5.1 work quite OK (a bit slow) but one effect is extremely slow: the Present Windows onw. When I trigger it, it takes about two minutes until all open windows on the current desktop are shrinked so they are simulatinusly shown. This was with only two Konqueror windows open. After the windows were shrinked there was also a problem that they had a lot of red dots all over them.
https://bugs.freedesktop.org/show_bug.cgi?id=30329
--- Comment #1 from Jure Repinc jlp.bugs@gmail.com 2010-09-22 09:18:16 PDT --- Created an attachment (id=38880) --> (https://bugs.freedesktop.org/attachment.cgi?id=38880) dmesg
https://bugs.freedesktop.org/show_bug.cgi?id=30329
--- Comment #2 from Jure Repinc jlp.bugs@gmail.com 2010-09-22 09:19:23 PDT --- Created an attachment (id=38881) --> (https://bugs.freedesktop.org/attachment.cgi?id=38881) Xorg.0.log
https://bugs.freedesktop.org/show_bug.cgi?id=30329
--- Comment #3 from Jure Repinc jlp.bugs@gmail.com 2010-09-22 09:27:02 PDT --- Created an attachment (id=38882) --> (https://bugs.freedesktop.org/attachment.cgi?id=38882) lspci
https://bugs.freedesktop.org/show_bug.cgi?id=30329
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #38881|text/x-log |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=30329
--- Comment #4 from Michel Dänzer michel@daenzer.net 2010-09-23 02:24:15 PDT --- If the CPU is pegged during those two minutes, a profile from sysprof or oprofile should be interesting.
Otherwise, it might be interesting to (from a remote login) attach gdb to the kwin process and during those two minutes get backtraces at regular intervals, to see if there's any particular place(s) where it ends up most of the time.
P.S. The attached dmesg doesn't seem to contain any DRM related information, maybe you can find it somewhere in /var/log/ .
https://bugs.freedesktop.org/show_bug.cgi?id=30329
--- Comment #5 from Jure Repinc jlp.bugs@gmail.com 2010-09-24 14:48:01 PDT --- I just connected to the laptop with ssh and triggered the effect and I couldn't see any high CPU usage during the test (at least with htop)
https://bugs.freedesktop.org/show_bug.cgi?id=30329
Jure Repinc jlp.bugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #38880|0 |1 is obsolete| |
--- Comment #6 from Jure Repinc jlp.bugs@gmail.com 2010-09-25 03:34:29 PDT --- Created an attachment (id=38949) --> (https://bugs.freedesktop.org/attachment.cgi?id=38949) dmesg.new
https://bugs.freedesktop.org/show_bug.cgi?id=30329
--- Comment #7 from Michele Corazza ashmikuz@gmail.com 2010-10-12 05:47:26 PDT --- I can confirm general slowness with ati mobility 4570 and open driver (using xorg-edgers ubuntu ppa and latest 2.6.36 kernel from mainline). I read about problems using blur and lanczos effects on kde 4.5 and disabled blur, as lanczos cannot be disabled (afaik). I also turned off vsync for kwin as i noticed this has increased performance. Present windows effects is at 6fps also for me.
https://bugs.freedesktop.org/show_bug.cgi?id=30329
--- Comment #8 from Michele Corazza ashmikuz@gmail.com 2010-10-12 05:49:12 PDT --- Created an attachment (id=39380) --> (https://bugs.freedesktop.org/attachment.cgi?id=39380) Xorg.0.log on mobility radeon hd 4570
https://bugs.freedesktop.org/show_bug.cgi?id=30329
--- Comment #9 from Michele Corazza ashmikuz@gmail.com 2010-10-12 05:50:16 PDT --- Created an attachment (id=39381) --> (https://bugs.freedesktop.org/attachment.cgi?id=39381) dmesg | grep drm on mobility hd 4570
https://bugs.freedesktop.org/show_bug.cgi?id=30329
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[r600c/evergreen] KWin |[RADEON:KMS:CEDAR:R600C] |Present Windows effect |kwin present windows effect |extremely slow and has |extremely slow and has |graphical glitches |graphical glitches
--- Comment #10 from Jerome Glisse glisse@freedesktop.org 2011-02-09 07:22:53 PST --- Can you try with r600g or more recent version of r600c ?
https://bugs.freedesktop.org/show_bug.cgi?id=30329
--- Comment #11 from Jure Repinc jlp.bugs@gmail.com 2011-02-10 14:11:23 PST --- I'm running only r600g for some time now and it appears to be fine with it on Evergreen. I can also try r600c if needed, but only after a few hours.
https://bugs.freedesktop.org/show_bug.cgi?id=30329
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Jerome Glisse glisse@freedesktop.org 2011-02-11 07:10:19 PST --- ok closing as it seems fixed with r600g
dri-devel@lists.freedesktop.org