A Performance Overhaul Of KDE's KWin

Posted by Michael Larabel on August 30, 2011

Martin Gräßlin has successfully boosted the performance of KDE's KWin for the upcoming 4.7.2 point release and more so for the KDE SC 4.8 release. This is an attempt to make the KWin compositing window manager handle rendering at sixty frames per second, which it hasn't been able to scale to that frame-rate due to deficiencies in the project's code-paths.

Fixed for the KDE SC 4.7.2 point release in one month is a bug in KWin's effect chain that was taking much longer than expected, but greater performance will come out of KDE SC 4.8 by fully addressing an issue in the effects chain with only calling the active effects. From there, Martin made other optimizations in the effect chain. With the effect chain being more optimized, Martin is beginning to look at how to optimize KWin's paint paths so they can achieve 60+ FPS rendering on the KDE desktop.

Martin is also looking at moving the compositor into its own thread so that heavy operations in window management and decorations don't slow down the repainting of the compositor. Texture loading might also be looked at as one of the first steps into moving the process into its own thread.

"Overall very nice improvements, I'm happy with, but not yet satisfied as we do not yet reach the constant 60 frames/second." Read more on Martin's blog.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite