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.
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. Mir's GPLv3 License Is Now Raising Concerns
  2. NVIDIA Driver Soon Likely To Support EGL, Mir
  3. OpenMandriva Goes Into Alpha Form, Russian-Based
  4. NVIDIA Brings Their Linux Driver To ARM
  5. D Language Still Showing Promise, Advancements
  6. Planetary Annihilation Released For Linux Gamers
  7. Gentoo Starts Work On KDE-Wayland Support
  8. NVIDIA To License Its Kepler GPU Technology
  9. KDE's KWin Made Lots Of Progress In 4.11
  10. Ubuntu Announces Carrier Advisory Group
  11. Qt 5.1 Release Candidate 1 Has Arrived
Latest Forum Talk
  1. Mir's GPLv3 License Is Now Raising Concerns
  2. Gentoo Starts Work On KDE-Wayland Support
  3. D Language Still Showing Promise, Advancements
  4. Benchmarking The Intel P-State, CPUfreq Changes
  5. Intel GPU Driver Tries To Rip Out FBDEV Support
  6. Five Years Later, Intel Poulsbo Is Still A Linux...
  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