Screen goes darker at random times

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
User avatar
alcatraz
Private First Class
Private First Class
Posts: 17
Joined: Tue Nov 29, 2005 9:13 am

Screen goes darker at random times

Post by alcatraz » Tue Apr 16, 2019 9:15 pm

Hi fellow tankers,

I have a couple of issues with bzflag.
1. screen goes darker randomly during gameplay. It happens at random times, sometimes it doesn't occur for weeks, sometimes 3 times in 1 minute.
It happens only in bzflag. To fix it, I need to go into game options>display>..., change brightness and it is OK for a while.
All power saving options under OS are turned off.
bzflag version 2.4.18 (happened on other versions too)
OS: win 10 x64, latest updates, fresh install
Machine: acer, i5 6th gen with onboard intel 520. (happened on other machines too, Win 10/Win 7 x64, intel CPUs, onboard graphics and also one with nVidia 1050)
Current graphics driver: 25.20.100.6618 (08/03/2019) Also happens on older drivers.

2. To avoid FPS dropping fron (~100 to under 30 sometimes after a tank explodes of there are more players on the map), I have set in game option to Energy saver to FPS limit, but it does not save the option when re-launching bzflag. Have to cycle to another option and back to FPS limit to activate it.

also sound is choppy sometimes. I'll make another post for this.

Any ideaas?

Thanks,
alc

Pesky_UK
Private First Class
Private First Class
Posts: 20
Joined: Mon Dec 05, 2005 9:31 pm

Re: Screen goes darker at random times

Post by Pesky_UK » Thu May 02, 2019 9:03 pm

Ditto for me too re screen going dark and same fix.

Windows 10 x64, fully up to date.

User avatar
alcatraz
Private First Class
Private First Class
Posts: 17
Joined: Tue Nov 29, 2005 9:13 am

Re: Screen goes darker at random times

Post by alcatraz » Tue Jun 11, 2019 5:00 pm

Just noticed this. I am now missing the option to adjust brightness all together.
bzfi0002.png
(838.79 KiB) Not downloaded yet

trpted
Private First Class
Private First Class
Posts: 145
Joined: Mon Feb 21, 2005 8:29 pm

Re: Screen goes darker at random times

Post by trpted » Tue Jun 11, 2019 8:38 pm

#1 Confirmed that you are missing that option.

#2 Unknown for sure what the fix is, so I am Guessing possible fixes..

---

#1 To use the config file?

As as example shot length. In the GUI shot length is more limited than what is in the config file.

#2 Download and compile from source code?

As as example I downloaded and compiled from source code on my Unix/Linux system and I do not have that issue.

User avatar
alcatraz
Private First Class
Private First Class
Posts: 17
Joined: Tue Nov 29, 2005 9:13 am

Re: Screen goes darker at random times

Post by alcatraz » Wed Jun 12, 2019 1:05 pm

I have reinstalled bzflag, issue still there.

I've had a look through the .cfg file, but couldn't see anything related to brightness level. Not sure if I could add a line to set the brightness.

I am running Win10 v1903 x64, everything up to date, including drivers.

User avatar
alcatraz
Private First Class
Private First Class
Posts: 17
Joined: Tue Nov 29, 2005 9:13 am

Re: Screen goes darker at random times

Post by alcatraz » Wed Jun 12, 2019 1:10 pm

Forgot to mention, now my screen is dark at all times.

User avatar
blast
General
General
Posts: 4723
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Screen goes darker at random times

Post by blast » Wed Jun 12, 2019 9:13 pm

If the brightness option is missing, it's not a config issue. It means that SDL is failing to set the brightness, so the option is being disabled. When this happens, BZFlag does write out the SDL error to stdout, but you won't normally see that. Open a command prompt and run:

Code: Select all

cd "\Program Files (x86)\BZFlag 2.4.18\"
bzflag > %USERPROFILE%\Desktop\bzflag-error.txt
Then go to the display settings menu just to be sure, and exit the game. See if there's anything in the bzflag-error.txt file on your desktop.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
alcatraz
Private First Class
Private First Class
Posts: 17
Joined: Tue Nov 29, 2005 9:13 am

Re: Screen goes darker at random times

Post by alcatraz » Thu Jun 13, 2019 8:32 pm

Thanks blast.

I now have the option to adjust brightness back.
bz is still starting dark and after adjusting the brightness either way and back, it goes to normal.

Log contains 1 line:

Code: Select all

message_admin rate is 44100; audio output is 22050

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests