Bug 31465 - [R420] KMS: Compositing unusably slow
Summary: [R420] KMS: Compositing unusably slow
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 06:07 UTC by Michael R
Modified: 2014-07-07 16:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xserver log (31.10 KB, patch)
2010-11-08 06:07 UTC, Michael R
Details | Splinter Review
DMESG output (52.84 KB, patch)
2010-11-08 06:07 UTC, Michael R
Details | Splinter Review

Description Michael R 2010-11-08 06:07:16 UTC
Created attachment 40120 [details] [review]
Xserver log

When I enable desktop compositing with KMS things get so slow that it's basically unusable. The card I use is a Radeon X800 R420. Of course I'm aware that this is not the latest model, but IMHO it should be perfectly usable for simple desktop compositing. This is with KDE 4.5.2 btw.
Comment 1 Michael R 2010-11-08 06:07:56 UTC
Created attachment 40121 [details] [review]
DMESG output
Comment 2 Alex Deucher 2010-11-08 07:21:04 UTC
Are you using GL or render for composite?  Does removing the MigrationHeuristic line from your config help?  Does upgrading to xf86-video-ati 6.13.2 or newer help?
Comment 3 Michael R 2010-11-09 08:48:47 UTC
(In reply to comment #2)
> Are you using GL or render for composite?
GL

> Does removing the MigrationHeuristic line from your config help?
Jep, this helps quite a bit. Things like scrolling webpages, dragging windows or expose effect are still stuttering, but this is also with UMS.

> Does upgrading to xf86-video-ati 6.13.2 or newer help?
No. I tried 6.13.2 from the Ubuntu X-Updates repository. (I only tried this in addition to removing MigrationHeuristic.)
Comment 4 Alex Deucher 2010-11-09 09:06:37 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Are you using GL or render for composite?
> GL

In that case, this is an issue with the 3D driver.  kde is apparently hitting some slow path.  What version of mesa are you using?  You might try mesa 7.9 or the r300 gallium driver if you are using the r300 classic driver.
Comment 5 Michael R 2010-11-09 10:15:27 UTC
Ok, I upgraded mesa to Ubuntu xorg-edgers packages.
glxinfo now says:

OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on R420
OpenGL version string: 2.1 Mesa 7.10-devel

No noticeable speed improvement however. 

Anyway, this is now more a general speed issue. I'd *expect* things to be faster with this card, but may it's just too slow for this kind of usage. Removing MigrationHeuristic=greedy brought KMS on par with UMS for me and that was what the original report was about. So I guess it can be closed. Perhaps it would be good to document this in the radeon manpage, as greedy is suggested in most tutorials on the web about getting radeon faster.
Comment 6 Martin Stolpe 2010-11-10 10:24:42 UTC
I'm also experiencing this problem. The notebook has a X1400 card installed and I'm also using KMS + Gallium (git). I've opened a bug report at KDE: https://bugs.kde.org/show_bug.cgi?id=253903 but so far there's no solution to the problem.
Comment 7 Andreas Boll 2014-07-07 16:43:42 UTC
The classic r300 driver has been abandoned long ago.
It was replaced by the Gallium driver r300g.

If you have issues with r300g please file a new bug report with component Drivers/Gallium/r300

Thanks.


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.