Compiz Working On Unredirected Fullscreen Windows

Posted by Michael Larabel on September 13, 2012

Ubuntu developers are working on improving the performance of Unity and Compiz, but it may take a while that will almost certainly extend past the Ubuntu 12.10 release. As part of this, support for un-redirecting full-screen windows has been improved.

It's already been discussed at length within the Phoronix Forums following the results of Ubuntu's Unity/Compiz Gets Even Slower, Ubuntu Unity Proves Very Slow To KDE, GNOME, Xfce, LXDE, and 2D Also Bad For Ubuntu Unity Against KDE, GNOME, LXDE, Xfce, but there's some performance problems with the default Ubuntu desktop consisting of Unity and then Compiz as its compositing window manager.

In response to the test results and reader comments, Sam Spilsbury, a Canonical employee and leading Compiz developer, wrote:
I do not give ETAs on how long things will take. Needless to say, we are working on it, and some good ideas are being thrown around as to how to deal with it. That being

1. Using glBlitBuffer instead of painting a texture backed framebuffer
2. Ensuring the contents of vertex buffers are more static (improves video)
3. Fullscreen window unredirection.

Thats not a promise that any of this will land *this cycle* per-se, but it is a note that we are aware there was a performance hit when we merged the work to make compiz work on arm platforms and we're actively dealing with it.
Compiz took a hit to make it work on ARM via supporting OpenGL ES, but chances are Compiz is only working on ARM if using one of the proprietary "binary blob" graphics drivers. If you're doing a clean Ubuntu 12.10 ARM desktop install, chances are it's a wreck as shown by the recent testing from an OMAP4460-powered PandaBoard ES.

A Phoronix reader then asked a follow-up question concerning the release of Compiz 0.9.8.2. This minor Compiz update was released on 10 September and one of the key release highlights come down to "Gamers rejoice! CCSM Composite 'Unredirect Fullscreen Windows' now works more reliably, with a few bugs remaining. If you turn it on then fullscreen windows like games will get direct rendering access and won't be slowed by Compiz (or Unity) any more."

However, Spilsbury then responded in the forums that the unredirect full-screen window option basically isn't guaranteed to work right now with the Unity desktop due to some non-trivial reasons.

Un-redirected full-screen windows is one of the reasons why the KDE desktop does so much better than Unity and is an option easily exposed to the end-user since having a compositing window manager active when running a full-screen OpenGL game isn't as needed.

For the Unity/Compiz updates that come after the release of Ubuntu 12.10 next month, hopefully we will see them as stable release updates rather than waiting for Ubuntu 13.04 -- there's good chances of this seeing as Unity performance fixes have already landed during the Ubuntu 12.04 LTS cycle thus far.

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. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  2. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  3. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
  4. AMD Radeon Gallium3D More Competitive With Catalyst On Linux
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. DNF Still Advancing As Experimental Yum For Fedora
  2. Logitech Begins Supporting Linux Users
  3. Modern Intel Gallium3D Driver Still Being Toyed With
  4. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  5. GCC 4.8.1 Compiler Due To Be Out Next Week
  6. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  7. Linux's "Ondemand" Governor Is No Longer Fit
  8. Firefox 22 Beta Enables WebRTC Support
  9. OpenSUSE 13.1 Milestone 1 Released
  10. DRM Graphics Driver Comes For Dove/Cubox
  11. JADE: An LLVM-Based Video Decoder For MPEG RVC
Latest Forum Talk
  1. DNF Still Advancing As Experimental Yum For Fedora
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. DRM Moves Ahead With HTML5 Specification
  4. Linux's "Ondemand" Governor Is No...
  5. New Linux Kernel Vulnerability Exploited
  6. KDE's Krita Ported To OpenGL 3.1, OpenGL ES 2.0
  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