Flicker with Compiz
-
- Private First Class
- Posts: 5
- Joined: Sat May 10, 2008 12:34 pm
Flicker with Compiz
BZFlag starts windowed instead of full screen and flickers. It doesn't do this when I turn off compiz/advanced effects. Is there a way to make BZFLAG work properly without having to manually disable desktop effects each time I want to run it?
I am running a Quad core intel cpu, ATI 3850, Ubuntu Hardy 8.04, and have Compiz installed.
I am running a Quad core intel cpu, ATI 3850, Ubuntu Hardy 8.04, and have Compiz installed.
- Think_Different
- Private First Class
- Posts: 108
- Joined: Thu Jan 05, 2006 3:03 am
- Location: Washington, DC
I think turning off "Unredirect Fullscreen Windows" in CompizConfig Settings Manager under the "General" tab should do it. When running bzflag with Compiz, I notice that there is quite a bit of lag and things slow down, although this might not happen for you.big_dog1968 wrote:BZFlag starts windowed instead of full screen and flickers. It doesn't do this when I turn off compiz/advanced effects. Is there a way to make BZFLAG work properly without having to manually disable desktop effects each time I want to run it?
Compiz is a window manager. Desktop environments should have nothing to do with his problem, if anything, it should be compiz itself, as it uses OpenGLPETER wrote:From my experience gnome (what Ubuntu uses) is a bit rubbish doesn't work well with most stuff. You should try KDE, you can find it in synaptic.
-
- Private First Class
- Posts: 5
- Joined: Sat May 10, 2008 12:34 pm
Better but still a problem
The fix worked to stop Compiz from forcing it into a windo and it is not as bad, but there is still an issue. Now there is a kind of flicker that is like a horizontal bar that kind of works its way up the screen and starts at the bottom again. Also it seems to run sluggish as well.
Is there a way to automatically shut Compiz off while BZFLAG is running and have it back when BZFLAG is off?
Or barring that, a simple on/off for Compiz, so I can quickly disable it to run a game, and quickly re-enable it when I am done?
Is there a way to automatically shut Compiz off while BZFLAG is running and have it back when BZFLAG is off?
Or barring that, a simple on/off for Compiz, so I can quickly disable it to run a game, and quickly re-enable it when I am done?
- NoWell
- Private First Class
- Posts: 15
- Joined: Fri Jan 06, 2006 8:47 pm
- Location: Nuremberg, Germany
- Contact:
Re: Better but still a problem
sure there is a way.big_dog1968 wrote:Is there a way to automatically shut Compiz off while BZFLAG is running and have it back when BZFLAG is off?
create a wrapper script around bzflag. Name it for example "my-bzflag"
Code: Select all
#!/bin/bash
killall compiz
sleep1
bzflag
sleep1
compiz <your> <favorite> <compiz> <params>
put it in your ~/bin and give them exec rights
Code: Select all
chmod u+x my-bzflag
ok ok, it's dirty but works
-
- Private First Class
- Posts: 330
- Joined: Tue Feb 08, 2005 6:06 pm
- Location: Lancaster, PA
- Contact:
Aren't you supposed to use: or and to change window managers? (works for Compiz Fusion, anyway)
FWIW, I used to have trouble with chattery performance while using Compiz, but either Nvidia fixed something in it's drivers, or Compiz fixed something, but BZFlag is now smooth as glass, and I don't need to turn it off. Ditto for running Unreal Tournament 2004. You've got better specs than my machine. Maybe the ATI driver is causing trouble?
Code: Select all
kwin --replace
Code: Select all
metacity --replace
Code: Select all
compiz --replace
FWIW, I used to have trouble with chattery performance while using Compiz, but either Nvidia fixed something in it's drivers, or Compiz fixed something, but BZFlag is now smooth as glass, and I don't need to turn it off. Ditto for running Unreal Tournament 2004. You've got better specs than my machine. Maybe the ATI driver is causing trouble?
SAME PROBLEM and......Think_Different wrote:I think turning off "Unredirect Fullscreen Windows" in CompizConfig Settings Manager under the "General" tab should do it. When running bzflag with Compiz, I notice that there is quite a bit of lag and things slow down, although this might not happen for you.big_dog1968 wrote:BZFlag starts windowed instead of full screen and flickers. It doesn't do this when I turn off compiz/advanced effects. Is there a way to make BZFLAG work properly without having to manually disable desktop effects each time I want to run it?
wow...now it functions
I didn't think it would be so easy!
I Lav u!!! ^^
ps:sry for my english -_-'
-
- Private First Class
- Posts: 1290
- Joined: Sun May 16, 2004 10:19 pm
- Location: Spain
- Contact:
Re: Better but still a problem
I posted about this a few weeks ago: http://my.bzflag.org/bb/viewtopic.php?t=12751big_dog1968 wrote:The fix worked to stop Compiz from forcing it into a windo and it is not as bad, but there is still an issue. Now there is a kind of flicker that is like a horizontal bar that kind of works its way up the screen and starts at the bottom again. Also it seems to run sluggish as well.
Is there a way to automatically shut Compiz off while BZFLAG is running and have it back when BZFLAG is off?
Or barring that, a simple on/off for Compiz, so I can quickly disable it to run a game, and quickly re-enable it when I am done?
This is not a fix for the problem, but you can just manage to play with no troubles by turning fancy desktop effects off. Go to System>Preferences>Apperance
then chose the "Visual Effects" tab and turn fancy desktop completely off (first option). This will most likely fix all your problems as the flicking is a problem with compiz.
You can turn compiz on doing the same again after you play.
This way around is equivalent to longhair's to run on a terminal "metacity --replace" (replaces the current window manager by the simple metacity manager) and "compiz --replace" (to replace the current whatever window manager by compiz).
I have checked both workarounds and both do the job.
Re: Flicker with Compiz
Try installing...
fusion-icon
it's in the Universe repository so make sure you have that enabled. You have to manually create a Startup Application entry with a command line like...
fusion-icon --no-start
Once it is running a tray icon appears that you can right-click on to change window managers.
Cheers
fusion-icon
it's in the Universe repository so make sure you have that enabled. You have to manually create a Startup Application entry with a command line like...
fusion-icon --no-start
Once it is running a tray icon appears that you can right-click on to change window managers.
Cheers
-
- Private First Class
- Posts: 220
- Joined: Tue Jul 26, 2005 10:32 pm
- Location: Gainesville Florida
Re: Better but still a problem
This "horizontal bar" is probably a sync issue. Try turning on vertical sync in your GL driver and/or BZFlag. "/localset vsync 1" should do it. Or add "set vsync 1" to your config.big_dog1968 wrote:Now there is a kind of flicker that is like a horizontal bar that kind of works its way up the screen and starts at the bottom again.
Also BZFlag works fine on my Ubuntu 9.04 system with nVidia GeForce 8600M GT with compiz enabled. Changing to KDE will not solve these issues as noted in earlier posts. This is an issue with BZFlag and compiz trying to do different things with the same screen. As you found out, once compiz is configured it will work. If there is more lag that is due to your video card performance or configuration.