Mutter Can Cause A Gaming/OpenGL Performance Hit Too
Last month we looked at the cost of running Compiz by means of looking at how the window manager affected the frame-rate of several different games and whether compositing was used. We also tested out several different drivers and pieces of hardware. When Compiz was running rather than GNOME's Metacity it often caused a measurable drop in the OpenGL performance and then we later found this to be the case too with KDE's KWin. Today we are seeing if and how using Mutter, the window manager for the GNOME 3.0 desktop that uses Clutter-based compositing, will affect the performance of several different open-source games.
Mutter is a key component along with the GNOME Shell for the GNOME 3.0 desktop. Mutter has been in development since even before the GNOME 2.28 release and was originally a fork of the GNOME 2.x Metacity window manager that added in support for using the Clutter tool-kit for providing the compositing support. Clutter in turn uses OpenGL / OpenGL ES for providing hardware-accelerated animations and effects. Metacity meanwhile is no longer being actively developed aside from receiving bug-fixes. Mutter is already available in many distribution repositories (such as Ubuntu 10.04 Lucid) for running as an alternate window manager with a GNOME 2.28/2.30 desktop. To see how Mutter is affecting the system's performance we had installed an Ubuntu 10.10 "Maverick Meerkat" daily LiveCD from 2010-06-17 to look at the performance with the latest packages.
On our test system with an Intel Core i3 530 clocked at 3.32GHz, an ECS H55H-M motherboard, 2GB of DDR3 system memory, a 64GB OCZ Vertex SSD, and an ATI Radeon X1950PRO (RV570) graphics card along with the Intel integrated Clarkdale graphics we were running this Ubuntu 10.10 development snapshot. This installation had the Linux 2.6.35-2-generic x86_64 kernel, X.Org Server 1.8.2 RC1, xf86-video-radeon 6.13.0, xf86-video-intel 2.11.0, Mesa 7.8.1, GCC 4.4.4, and an EXT4 file-system. For this round of testing, we compared the gaming performance when running the following window managers: Mutter 2.31.2, Metacity 2.30.1, and Compiz 0.8.4.
The games we ran via the Phoronix Test Suite in full-screen mode at the native X.Org Server resolution (1920 x 1080) were OpenArena, World of Padman, Smokin Guns, Tremulous, and Urban Terror. We tested the Radeon X1950PRO with the open-source ATI driver stack currently in Ubuntu Maverick along with the Intel Clarkdale (Core i3) graphics and its current Maverick driver stack.
On the ATI Radeon R500 side with the classic Mesa stack, running Mutter led to an even lower frame-rate than what was experienced when running Compiz. Running Metacity was 19% faster than Mutter with the RV570 graphics card with this game. On the Intel graphics side, there was not any significant difference in performance between Compiz and Mutter, but using Metacity was 24% faster than Mutter/Compiz.
When running World of Padman with the open-source ATI driver the frame-rates were close between the three tested window managers with just a spread of two frames per second. While the ATI driver did well, the open-source Intel driver took a hit with the compositing window managers on this game. World of Padman had an average frame-rate of 41 FPS when running Metacity, but with Compiz it dropped to 17 FPS and then 16 FPS with Mutter.
Latest Linux Hardware Reviews
Latest Linux Articles
Latest Linux News
Latest Forum Discussions