r3dux.org

A number-pimping side project from the valleys in *NEW* upside-down flavour.

  • Home
  • ABOUT
  • OLD SITE
  • SEARCH
  • FEEDBACK

How To: Fix Compiz Starting When You Log In in Ubuntu 9.04

r3dux | October 20, 2009

I always manage to bugger up my settings so that CompizFusion won’t start correctly on log-in, and drops back to MetaCity. I think it’s to do with the gconf settings, and although I could nuke the ~/.gconf folder, I’m not sure if this entirely works (will try again just prior to 9.10 install at end of month!).

Anyway, I fix it by putting a script with a delay into my Startup Applications setup to start Compiz and use the Emerald window manager as follows:

#!/bin/bash
sleep 5
compiz --replace &
sleep 5
emerald --replace

Fixes things 99% of the time to boot cleanly into Compiz, though about 1% of the time it doesn’t. Who knows what the hell’s going on…

Comments
No Comments »
Categories
How-To, Linux
Tags
Compiz, Jaunty, Startup
Comments rss Comments rss
Trackback Trackback

How To: Fix Screengrabs in Jaunty w/ Compiz & Gnome

r3dux | May 2, 2009

PrintScreen key not taking a screengrab? Alt+PrintScreen not capturing the window? Using Gnome? And Compiz? – Fix it thus:

Right click on the Compiz-Fusion Icon (Don’t have? Install directions here), then right-click on the Compiz Fusion Icon and select Settings Manager, then from the settings window that opens find Gnome Compatibility under the General section and enable it by clicking the tick-box.

Ching!

Comments
No Comments »
Categories
How-To, Linux
Tags
Compiz, CompizFusion, Fusion, Gnome, How-To, Jaunty, Print Screen, PrintScreen, Screen Grab, ScreenGrab
Comments rss Comments rss
Trackback Trackback

How To: Super Easily Speed Up Compiz / CompizFusion

r3dux | February 16, 2009

A real quick and easy way to speed up your compiz experience – first we’re gonna use fusion-icon which is just a little systray icon to get access to your compiz settings (also this is very useful to reload the window manager or set it back to KWin/Metacity or whatnot if Compiz decides to act up in any way). Fusion-icon isn’t bundled with Compiz by default, so if you haven’t already got it, from the terminal go with:

sudo apt-get install fusion-icon

[Update: It turns out you also need Compiz Settings Manager, so run sudo apt-get install compizconfig-settings-manager ]

Okay – now you’ve got it, you might want to run it… From the console type:

fusion-icon

And you’ll end up with a systray icon like the one pictured below:

fusion-icon

Okay – almost there… Right click on the Compiz Fusion Icon and select Settings Manager and then General Options and click the Display Settings tab. Here you’ll see the two options we’re going to tweak:

  • Refresh Rate, and
  • Sync to VBlank

Basically – to increase performance you just bang the refresh rate up to a higher value (maximum of 200) and untick the “Sync to VBlank” checkbox…

compiz-settings-manager

With that done, I get the following performance change from the Compiz Benchmark (found in Compiz Settings Manager):

compizbenchmarks

Over 230% speed increase? Not bad at all. However – as we all know there’s no such thing as a free lunch, for the sake of balance I’ll outline some downfalls of this method as well:

  • Your graphics card will be getting more of a workout, so will run hotter and the fans will spin faster (hence noisier) – and this can decrease the lifetime of your graphics card, but really only in the same way that driving your car will decrease the lifetime of your tyres… It’s there to be used!
  • With Sync to Vblank disabled – you’re going to get a bit of page-tearing, the severity of which and how much it bothers you will depend on your system and your own personal preferences.
  • Your compiz.real and Xorg process time will increase – which is to be expected as they’re going to be doing more work.

If you’re good with that or just want to cheaply get a big performance hit – go for it and enjoy your swifter compiz desktop!

Also, you don’t really need to whack the refresh up all the way to 200 if you’re just looking for a small boost. Edging the refresh up a little bit and leaving VSync on can be enough to improve performance to a point where everything is smooth & swish but isn’t hogging the box. Have a play with the options and see what best fits. Cheers!

Update: I’ve also found that (on NVidia graphics cards at least) checking the loose binding box through fusion-icon (under Compiz Options) increases compiz performance, as it seems the NVidia driver is pretty slow at assigning textures. If you wanted to start compiz from the commandline with this option, just call it with:

compiz --loose-binding

.

Comments
2 Comments »
Categories
How-To, Linux
Tags
Compiz, CompizFusion, Speed. How-To
Comments rss Comments rss
Trackback Trackback

Translate

Categories

Archives

Tags

3D ActionScript ActionScript 3.0 Adobe AI Ballarat Bash C++ Class Convert CS4 Effect Error Film Flash GLSL Gnome Hack How-To install Jaunty Java Kinect Linkage Linux Mash-Up Microsoft Motion OpenGL Particle Problem PS3 Remix Retro script Slides Sound Systems Texture Ubuntu Video VirtualBox Wii Windows XBox

Gamercard

OpenR3dux

Misc.

Flattr this

RSS Feed

r3dux twitter feed



“What is to give light must endure burning.”

 - Victor Franke

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox