Page 3 of 8 FirstFirst 12345 ... LastLast
Results 21 to 30 of 74

Thread: The Cost Of Running Compiz

  1. #21

    Default

    Quote Originally Posted by dl.zerocool View Post
    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.
    The most meaningful comparison between KDE vs Gnome (Kubuntu vs Ubuntu in this case) will be with sound enabled, because Ubuntu is using PulseAudio and this consumes some of the CPU power, so Kubuntu should be faster in games. Kwin should disable compositions, but it seems it's not always working.

    @Sacha

    So where does this 40-50% performance drop come from in Ubuntu? I'm guessing you can't blame Ubuntu.
    Nice catch. So it looks not only compiz is slowing Ubuntu down in games. Btw. treating Ubuntu as a 'primary' Linux OS is starting to be a shame imho. Not only they released with serious issues (which still aren't fixed), but it has also slower graphic. Personally, I can't wait for Fedora 13 final release which is looking to be the best Fedora release ever - beta is rock stable and very fast (KDE version).

    @Eoxx

    I know that KDE/Kubuntu users are a minority
    In your dreams. ;>

  2. #22
    Join Date
    Sep 2007
    Posts
    7

    Default

    I only play one game and that is UT2004. I have always needed to turn of Compiz when playing as I am a bit finicky when it comes to smooth gaming. Manually disable Compiz is not very convenient, so I used a script for that.

    Code:
    #!/bin/bash
    
    kwin --replace &
    ut2004 ;
    killall -s USR2 compiz.real
    compiz --replace & 
    exit 0
    This will stop Compiz when you start UT2004 and start it again when you quit UT2004 automatically.

    This script is for KDE so you would need to change "kwin" to "metacity" (and "UT2004" for a different game) if you use Gnome. It has been a long time since I used this script (used it when I used KDE3) so it might not work any longer.



    Now I use KDE4 and I made this script:
    Code:
    #!/bin/bash
    
    kwriteconfig --file kwinrc --group Compositing --key Enabled false
    kwin --replace &
    ut2004 $@ ;
    kwriteconfig --file kwinrc --group Compositing --key Enabled true 
    kwin --replace
    exit 0
    This script will probably only work for KDE4. Perhaps it would help somebody.

  3. #23
    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

  4. #24
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,103

    Default

    The behavior of fglrx is very interesting here. I see two possibilities for it:
    - it's very much optimized for composited environments, texture_from_pixmap and all that
    - it does equally bad under both, because there's about equivalent unnecessary operation in the direct case comparable to compositing overhead

    First wouldn't make sense, as no enterprise distro runs compositing.
    Second would be just plain bad.

    Bridgman, can you shed some light?

  5. #25
    Join Date
    Mar 2009
    Location
    Hellas
    Posts
    1,046

    Default

    Quote Originally Posted by kraftman View Post
    Nice catch. So it looks not only compiz is slowing Ubuntu down in games. Btw. treating Ubuntu as a 'primary' Linux OS is starting to be a shame imho. Not only they released with serious issues (which still aren't fixed), but it has also slower graphic. Personally, I can't wait for Fedora 13 final release which is looking to be the best Fedora release ever - beta is rock stable and very fast (KDE version)
    The combination Ubuntu and NVidia sucks. It has been proved before. That's why I asked the crossplatform benchmarks to include and another Linux distro besides Ubuntu.

  6. #26
    Join Date
    Jan 2010
    Posts
    364

    Default

    Does it even make sense to include DRI1-based open source drivers in the benchmark? I think it doesn't!
    DRI1 doesn't support compositing and simply draws directly to the screen, no matter what.

  7. #27
    Join Date
    Oct 2009
    Posts
    2,109

    Default

    The "tests" are useless since they only look at stupid pointless games and other worthlessness.

    I suspect that it won't have ANY measurable effect on any measurements of anything that is actually ***USEFUL***. By USEFUL, I mean things that REAL PEOPLE ACTUALLY DO, like WEB BROWSING and WORD PROCESSING.

  8. #28
    Join Date
    May 2008
    Location
    Germany/NRW
    Posts
    510

    Default

    Quote Originally Posted by Eazy View Post
    Code:
    #!/bin/bash
    
    kwriteconfig --file kwinrc --group Compositing --key Enabled false
    kwin --replace &
    ut2004 $@ ;
    kwriteconfig --file kwinrc --group Compositing --key Enabled true 
    kwin --replace
    exit 0
    This script will probably only work for KDE4. Perhaps it would help somebody.
    Uhm how about Shift+Alt+F12?

  9. #29
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    1,595

    Default

    Quote Originally Posted by brent View Post
    Does it even make sense to include DRI1-based open source drivers in the benchmark? I think it doesn't!
    DRI1 doesn't support compositing and simply draws directly to the screen, no matter what.
    Yes it does because according to benchmark compositing is faster in DRI1 than DRI2.

  10. #30
    Join Date
    Dec 2007
    Posts
    137

    Default

    Compiz makes my system a hell of a lot faster and more responsive but then, I don't do much gaming. It's downright annoying when I have to turn compositing off, or have to use unaccelerated compositing ala Xfwm4.

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
  •