Page 1 of 6 123 ... LastLast
Results 1 to 10 of 74

Thread: The Cost Of Running Compiz

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    14,912

    Default The Cost Of Running Compiz

    Phoronix: The Cost Of Running Compiz

    Earlier this week we published benchmarks comparing Arch Linux and Ubuntu. There were only a few areas where the two Linux distributions actually performed differently with many of their core packages being similar, but one of the areas where the results were vastly different was with the OpenGL performance as Ubuntu uses Compiz by default (when a supported GPU driver is detected) where as Arch does not. This had surprised many within our forums so we decided to carry out a number of tests with different hardware and drivers to show off what the real performance cost is of running Compiz as a desktop compositing manager in different configurations.

    http://www.phoronix.com/vr.php?view=14952

  2. #2
    Join Date
    Sep 2006
    Posts
    71

    Default

    I must say I disagree with the default ubuntu/compiz setting that keeps indirectly rendering fullscreen windows. This is the correct setting, but only in an ideal world where the driver stack is perfect and compiz is much improved, but for now as you can see from this article, it causes slowdowns. But in my experience it is worse than shown by all these inane benchmarks. In some situations, such as with the nvidia binary drivers, having compiz enabled you can pretty much be sure that compiz or anything running full screen or within the compiz desktop will not be vsynced, or be vsynced badly, for example, frame cadence issues in movies, and tearing in quake live. These vsync issues with compiz enabled happen even if you have vsync set in the nvidia control panel.

    The best solution, for nvidia users as of right now, IMO, is to keep compiz running, because its pretty, but enable the option in compiz control center (under the general tab) of "unredirect fullscreen windows" The only side effect of this setting is a very fast flickering when switching from a fullscreen application (pretty much a game or full screen movie only) back to the desktop, its really not that bad, and what you get from it is great: Your videos will have perfect vsync and the correct frame cadence and there will be no performance drop or other vsync issues with games.

  3. #3
    Join Date
    Feb 2010
    Location
    france
    Posts
    56

    Default

    Good test but...
    I don't understand why you don't turn off Compiz when you play games

  4. #4
    Join Date
    Apr 2009
    Posts
    20

    Default

    Suprised to see ATI performing better than nvidia in this aspect. According to my earlier (and subjective) tests, running compiz in your default X while running your game in a seperate X-session will remove any performance penalty given by compiz, at the cost of more RAM being used of course.

  5. #5
    Join Date
    Aug 2007
    Location
    Europe
    Posts
    401

    Default

    Quote Originally Posted by mum1989 View Post
    Good test but...
    I don't understand why you don't turn off Compiz when you play games
    Because, you shouldn't need to.

    Enabling composite windows in KDE4.x apparently also gives a drop. From http://forums.gentoo.org/viewtopic-p...931bd2#6221554

    With compositing off (using KDE) I get slightly better results :

    Unigine
    Heaven Benchmark v2.0FPS: 57.2
    Scores: 1441
    Min FPS: 22.7
    Max FPS: 146.9

    Compared to this with compositing on :

    Unigine
    Heaven Benchmark v2.0FPS: 41.7
    Scores: 1049
    Min FPS: 20.6
    Max FPS: 126.8
    But, you shouldn't need to turn it off.

  6. #6
    Join Date
    May 2007
    Location
    Third Rock from the Sun
    Posts
    6,584

    Default

    Quote Originally Posted by sabriah View Post
    Enabling composite windows in KDE4.x apparently also gives a drop. From http://forums.gentoo.org/viewtopic-p...931bd2#6221554
    You notice those are all while running in windowed mode. In full screen mode the results are identical.

  7. #7
    Join Date
    Aug 2009
    Posts
    2,264

    Default

    Quote Originally Posted by mum1989 View Post
    Good test but...
    I don't understand why you don't turn off Compiz when you play games
    Because not everyone still has a computer from the stoneage...

    I'd rather have a moderate graphics setting and a repsonsiveness and hassle free desktop environment. I am also not going to turn of 3G on my phone whenever I make a call to preserve battery life. How's a desktop computer any different?

    PS: ow wait sarcasm

  8. #8
    Join Date
    Apr 2010
    Posts
    141

    Default

    I have always had the impression that turning compiz off didn't yield any speed boost for me with fglrx.

  9. #9

    Default

    Quote Originally Posted by Hans View Post
    I have always had the impression that turning compiz off didn't yield any speed boost for me with fglrx.
    If your fps dropped from 150 to 120 there's nothing amazing

  10. #10
    Join Date
    Oct 2007
    Location
    Switzerland
    Posts
    44

    Default

    Hello,
    Sad to see of performance angry compiz is.

    I really would like to see a test with kwin.
    And a comparative test between gnome and kde for playing games.
    The should also report the problems encounter in each platform.

    Best regards.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •