The International Simutrans Forum

Development => Bug Reports => Topic started by: Kristian on April 27, 2009, 07:21:06 pm

Title: brightness of LCD backlight changes when I start simutrans
Post by: Kristian on April 27, 2009, 07:21:06 pm
Hello,

After a long time of inactivity, I am now trying simutrans 102-stable on linux (basically ubuntu server 8.04 + fluxbox + gnome power manager).

When I start simutrans, the monitor increases in brightness to 100%, and stays att full brightness even after I close simutrans. This happens irrespective of whether I run on AC or battery power.

Is this intended behavior?

kind regards,
Kristian
Title: Re: brightness of LCD backlight changes when I start simutrans
Post by: prissi on April 27, 2009, 07:46:40 pm
This is most liekly an error of SDL as simutrans does not touch brightness settings. Maybe also due to actually switching to 16bpp mode by SDL. Hard to guess. What is you hardware, what X11?
Title: Re: brightness of LCD backlight changes when I start simutrans
Post by: Kristian on April 27, 2009, 08:11:59 pm
I'm not sure how to check. The man page says
Quote
X Version 11
xorg-server 1.4.0.90

My machine is a Thinkpad X61s, which apparently has an Intel X3100 integrated graphics chip.


Edit:
There seem to be two backlight settings. One "permanent" in gconf, and one "temporary", which is changed with the Fn-brightness keys on the laptop. Simutrans seems to be changing the temporary ones. I am not entirely certain about the way in which temporary and permanent settings interact.
Title: Re: brightness of LCD backlight changes when I start simutrans
Post by: chen2x18 on May 20, 2009, 05:39:54 am
Theres an error of SDL as simutrans does not touch brightness settings because they wanted to make it clear..




_________________
LED Flashlight (http://www.flashlightz.com/)