Announcement

Collapse
No announcement yet.

The Cost Of Running Compiz

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #51
    1 more for Kwin compositing comparison

    As a long time Kubuntu user, I too would like to see a benchmark comparison between kwin and compiz.


    D.

    Comment


    • #52
      Originally posted by Eazy View Post
      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 [email protected] ;
      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.
      You don't have to be so brute with kwin. Just ask nicely:
      Code:
      qdbus org.kde.kwin /KWin toggleCompositing
      Interestingly, some time ago I was peeking at a friend's computer and I noticed that some applications do disable compositing on Windows 7. It made me laugh, because it seems that this is a problem everywhere

      Comment


      • #53
        or just hit alt+shift-F12 to toggle composite.

        Comment


        • #54
          Oh noes, that poor little kwin, i hope he get better soon. Are you sure, alt+shift-F12 really?

          You know those ppl that only quote other ppl's howtos/scripts but never write anyone them selfe to help out?

          Hope you understand my sarcasm...

          Comment


          • #55
            oh no, I only toggle composite once every couple of weeks. Quickly, I have to hack an overblown script!

            Or I just hit the key combo.

            Which I can programm into my keyboard.

            So it is one single keypress...

            Comment


            • #56
              hehe......

              Comment


              • #57
                seriously,. 24 freely programmable keys with 10 layers (so 240 programmable positions) is just awesome...

                Comment


                • #58
                  Originally posted by [Knuckles] View Post
                  Interestingly, some time ago I was peeking at a friend's computer and I noticed that some applications do disable compositing on Windows 7. It made me laugh, because it seems that this is a problem everywhere
                  Most of the time dwm.exe crashes.

                  Comment


                  • #59
                    Originally posted by GNU/Blind View Post
                    Most of the time dwm.exe crashes.
                    Never seen any dwm crash. Broken ram perhaps?

                    Comment


                    • #60
                      Originally posted by unbroken View Post
                      Never seen any dwm crash. Broken ram perhaps?
                      Or broken system.

                      Comment

                      Working...
                      X