Fluxbox and Bzflag brightness

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
Tankless
Private First Class
Private First Class
Posts: 47
Joined: Fri Feb 14, 2003 1:32 am
Location: British Columbia

Fluxbox and Bzflag brightness

Post by Tankless »

Has anybody ever solved the darkness problem when running Bzflag on Fluxbox?
Defman
Private First Class
Private First Class
Posts: 162
Joined: Thu Dec 05, 2002 4:06 am

Post by Defman »

been using fluxbox window manager for awhile now with no problems...

anything I can do to help you solve this I will be more than happy to do.

am using md9.1 and multiple versions of bz. I just crank the brightness all the way up in bz.

Let me know
Def
Tankless
Private First Class
Private First Class
Posts: 47
Joined: Fri Feb 14, 2003 1:32 am
Location: British Columbia

Post by Tankless »

Cranking the bzflag brightness up, or down, has no effect whatsoever. It may be that xterm has a black background. For some reason, bzflag won't open outside a term window when in Fluxbox; even though it will in XFce.
Defman
Private First Class
Private First Class
Posts: 162
Joined: Thu Dec 05, 2002 4:06 am

Post by Defman »

I don't see why one window manager would work while another one doesn't. I don't recall setting up anything different either with XF86Config-4 concerning Fluxbox.

I have no problem starting bz from either a gnome terminal or using a script, which I use most of the time.

What if you used something else besides an xterm? Any other terminal program?
User avatar
Fiberchunks
Administrator
Administrator
Posts: 397
Joined: Tue Dec 03, 2002 5:58 am
Location: Groton, CT

Post by Fiberchunks »

it's a matter of focus, iirc. It seems that fluxboxes' window focus model is odd, and if you don't have the window managed by flux (I always run in windowed, as opposed to fullscreen mode), then the brightness works ok. If you run it out of a terminal, then you'll have to click on the window title bar to get brightness (also, I don't use the mouse).

This doesn't help anyone, just a little note what I used to do.

Peace
Fiber
Great spirits have always encountered violent opposition from mediocre minds. -- A. Einstein
Registered Linux User: 296546
Machines: 181776 181777 181778
Defman
Private First Class
Private First Class
Posts: 162
Joined: Thu Dec 05, 2002 4:06 am

Post by Defman »

have always ran in fullscreen also...
Tankless
Private First Class
Private First Class
Posts: 47
Joined: Fri Feb 14, 2003 1:32 am
Location: British Columbia

Post by Tankless »

This is what happens if I just try to run it:

~$ bzflag
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 15 (X_QueryTree)
Resource id in failed request: 0x400001
Serial number of failed request: 41
Current serial number in output stream: 41

BTW - thanks for the help.
Defman
Private First Class
Private First Class
Posts: 162
Joined: Thu Dec 05, 2002 4:06 am

Post by Defman »

error messages make me cringe...

sorry I can't tell what any of that means...will go checking up some flux stuff
Tankless
Private First Class
Private First Class
Posts: 47
Joined: Fri Feb 14, 2003 1:32 am
Location: British Columbia

Post by Tankless »

"error messages make me cringe... "

Yes, me too. This only happens with Fluxbox.
User avatar
Fiberchunks
Administrator
Administrator
Posts: 397
Joined: Tue Dec 03, 2002 5:58 am
Location: Groton, CT

Post by Fiberchunks »

what version of fluxbox are you running?
Great spirits have always encountered violent opposition from mediocre minds. -- A. Einstein
Registered Linux User: 296546
Machines: 181776 181777 181778
Tankless
Private First Class
Private First Class
Posts: 47
Joined: Fri Feb 14, 2003 1:32 am
Location: British Columbia

Post by Tankless »

what version of fluxbox are you running?
0.1.14-2

Sorry for the delay, I missed your post.

It is curious to me that bzflag would behave so differently on Fluxbox vs XFce.
Defman
Private First Class
Private First Class
Posts: 162
Joined: Thu Dec 05, 2002 4:06 am

Post by Defman »

that is a drag cougyr, the main reason I use fluxbox - even prefer it over XFce - is because of the speed my games run (used to be T2 and bzflag, but only for bz now).

Am using 0.1.14 myself - is it possible something is messed up with the newer version of fluxbox?

Shooting in the dark here but what about blackbox? Maybe give that WM a try and see if it happens as well - being that fluxbox is an offshoot of blackbox.

I have to admit, when it comes to finding out problems with Linux I am only at about 50/50 sucess rate.

So maybe I should have a disclaimer sig when ever I post anything so people don't blow up their computer listening to me!

ttyl
Def
Tankless
Private First Class
Private First Class
Posts: 47
Joined: Fri Feb 14, 2003 1:32 am
Location: British Columbia

Post by Tankless »

Defman, you had a good idea there. I tried Bzflag on several window managers. It works properly on Xfce, Ice and Afterstep. It doesn't work properly on Fluxbox, Blackbox and WindowMaker.

???????
User avatar
Fiberchunks
Administrator
Administrator
Posts: 397
Joined: Tue Dec 03, 2002 5:58 am
Location: Groton, CT

Post by Fiberchunks »

fluxbox also has weird behavior when doing transparent window moves (at least on my system it does). Flux is a great little WM, if you can deal with it's quirks.

Peace
Fiber
Great spirits have always encountered violent opposition from mediocre minds. -- A. Einstein
Registered Linux User: 296546
Machines: 181776 181777 181778
Tankless
Private First Class
Private First Class
Posts: 47
Joined: Fri Feb 14, 2003 1:32 am
Location: British Columbia

Post by Tankless »

My Bzflag is now running on Fluxbox. I was able to configure .Xresources to reverse the colours so that the background is light instead of black. Why this helps BZflag, I'm not sure. For some reason, it's opening properly as well. Why .Xresources would affect that I haven't the foggiest idea.

XTerm*background: linen
XTerm*foreground: black

Thanks for the help, both of you.

I like Fluxbox, too. I have the fluxconf tool and use the fluxmenu which is a dream to use.

One other thing: I finally turfed my nvidia card and replaced it with one from ATI, which I'm running with the built-in XF86 drivers. The screen freezes which I was getting seem to be a nvidia driver problem. My present setup may not be the world's fastest, but it uses open-source drivers and it's solid.
Post Reply