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

Thread: The Cost Of Running Compiz

  1. #1
    Join Date
    Jan 2007
    Posts
    15,696

    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
    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.

  7. #7
    Join Date
    Oct 2009
    Location
    .ca
    Posts
    406

    Default

    Running on nvidia without --loose-binding is nonsense anyway.

  8. #8

    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

  9. #9
    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.

  10. #10
    Join Date
    Apr 2008
    Posts
    42

    Default

    This article is a response to another article that shows Arch Linux having almost double the frame rate in a game compared to Ubuntu.

    They brushed it off saying it was due to Compiz.

    However, these results show quite the opposite. Worst case scenario, you're running nVidia and get a 20% performance drop.
    If you're using Intel, maybe a 15% performance drop.
    Using ATI and you're either gaining from Compiz or having no change at all.

    So where does this 40-50% performance drop come from in Ubuntu? I'm guessing you can't blame Ubuntu.

    So can you run the Arch vs Ubuntu videogame test again with Compiz on/off?

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
  •