Bug 30329

Summary: [RADEON:KMS:CEDAR:R600C] kwin present windows effect extremely slow and has graphical glitches
Product: Mesa Reporter: Jure Repinc <jlp.bugs>
Component: Drivers/DRI/R600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: dmesg
Xorg.0.log
lspci
dmesg.new
Xorg.0.log on mobility radeon hd 4570
dmesg | grep drm on mobility hd 4570

Description Jure Repinc 2010-09-22 09:16:43 UTC
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.
Comment 1 Jure Repinc 2010-09-22 09:18:16 UTC
Created attachment 38880 [details]
dmesg
Comment 2 Jure Repinc 2010-09-22 09:19:23 UTC
Created attachment 38881 [details]
Xorg.0.log
Comment 3 Jure Repinc 2010-09-22 09:27:02 UTC
Created attachment 38882 [details]
lspci
Comment 4 Michel Dänzer 2010-09-23 02:24:15 UTC
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/ .
Comment 5 Jure Repinc 2010-09-24 14:48:01 UTC
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)
Comment 6 Jure Repinc 2010-09-25 03:34:29 UTC
Created attachment 38949 [details]
dmesg.new
Comment 7 Michele Corazza 2010-10-12 05:47:26 UTC
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.
Comment 8 Michele Corazza 2010-10-12 05:49:12 UTC
Created attachment 39380 [details]
Xorg.0.log on mobility radeon hd 4570
Comment 9 Michele Corazza 2010-10-12 05:50:16 UTC
Created attachment 39381 [details]
dmesg | grep drm on mobility hd 4570
Comment 10 Jerome Glisse 2011-02-09 07:22:53 UTC
Can you try with r600g or more recent version of r600c ?
Comment 11 Jure Repinc 2011-02-10 14:11:23 UTC
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.
Comment 12 Jerome Glisse 2011-02-11 07:10:19 UTC
ok closing as it seems fixed with r600g

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.