interesting, i'm surprised suspended effects was generally slower than xrender. things like this really confuse me sometimes.
Phoronix: Tweaking KDE's KWin For Linux Gaming Performance
After looking recently at the impact on performance and power consumption of various Linux desktop environments running under Ubuntu 12.04 (Unity, Unity 2D, GNOME Shell, KDE, Xfce, LXDE, and Openbox), there were requests by many Phoronix readers to look at the impact of KDE on 3D gaming. KDE's KWin compositing window manager offers several options that can be easily changed that have a direct result on the Linux system's performance for full-screen OpenGL games.
http://www.phoronix.com/vr.php?view=17269
interesting, i'm surprised suspended effects was generally slower than xrender. things like this really confuse me sometimes.
I believe xrender is mixed CPU/GPU, so that's why it performs better. Also, only most primitive effects work in xrender - you can forget about all fancy stuff like blur.
After recent remodelling of rendering in KWin, only "used" effects are actually rendered. Thanks to this, fulscreen applications actually run like there were no effects at all. Mind that more work is being done in order to deliver ever higher frame-rates in plasma desktop. As to why simple window managers are so light on CPU: they use only simplest of object to draw interfaces. If you take a look, you'll see that everything is built using rectangles and text. I'd love to use a hardware accelerated KDE window engine that uses such simple figures to draw interfaces. The combination would be killing all competition. I guess I'll have to write it myself someday.
What does it matter is it uses CPU? When in fullscreen, the window manager is idle. It consumes 0% CPU. So why the different results?
I'm 90% sure xrender is CPU only - KDE defaults to xrender when the GPU isn't functioning properly. I'm almost positive I have got xrender to operate with no functioning drivers, but I may be mistaken, hence my confusion.
I don't think KDE needs the simplified graphics because it isn't focused on performance, but your idea would propose a good new DE. Perhaps that's the route XFCE should take - XFCE claims to be lightweight (which it isn't) but instead maybe it could be the maximum performance DE. Being lightweight like LXDE isn't always the best thing, because it lacks things like hardware acceleration; being lightweight just means that a very crappy computer can handle it. XFCE isn't light enough to work on the really crappy hardware but lacks the features of heavier DEs, so maybe it could focus purely on making modern machines run as fast as possible.
XRender is GPU accelerated on most drivers.
From the xorg wiki (http://www.x.org/wiki/vmware/vmware3D):
So, xrender is GPU accelerated if there is a GPU to accelerate it, and as I've said before, is usually used when OpenGL is not an option.Originally Posted by Xorg Wiki;
Also jw but has the KDE in these tests been the one that's still using opengl 1.x? Because if so, I wonder if that has an affect on performance?
XRender is not accelerated on the VMware driver, but you won't be using that for gaming, will you?
XRender only accelerated 2D operation, and is vastly easier to implement than OpenGL, that's why it's used for compositing when OpenGL is not available on a given driver.