#726974 trigger-rally: opens in full-screen mode & changes the default screen resolution

Package:
libsdl1.2debian
Source:
libsdl1.2
Description:
SDL 1.2 binary compatibility library wrapping SDL 2.0
Submitter:
wardhan
Date:
2013-10-27 12:00:09 UTC
Severity:
normal
#726974#5
Date:
2013-10-21 05:48:57 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?
go to menu & click trigger

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

   * What was the outcome of this action?
changes the default screen resolution.

   * What outcome did you expect instead?
the screen resolution should be unchanged.

i have to logout in order to change the screen resolution.

#726974#10
Date:
2013-10-22 17:49:44 UTC
From:
To:
Hi,

hm... interesting. While trigger-rally changes the resolution
if fullscreen is set to true in ~/.trigger/trigger.config, it should
restore the original resolution when you quit the game.

Can you launch trigger-rally in a terminal and capture the output?
Maybe it can shed some more light on what's going on.

Thanks in advance,
  Stefan.

P.S.: You can also change the resolution using xrandr, e.g.
 "xrandr -s 1920x1200"

#726974#15
Date:
2013-10-22 17:49:44 UTC
From:
To:
Hi,

hm... interesting. While trigger-rally changes the resolution
if fullscreen is set to true in ~/.trigger/trigger.config, it should
restore the original resolution when you quit the game.

Can you launch trigger-rally in a terminal and capture the output?
Maybe it can shed some more light on what's going on.

Thanks in advance,
  Stefan.

P.S.: You can also change the resolution using xrandr, e.g.
 "xrandr -s 1920x1200"

#726974#20
Date:
2013-10-25 09:01:12 UTC
From:
To:
here is the output :

Trigger init
Build: 0.6.0 on Feb 15 2012 at 20:26:25
Initialising PhysFS
Set writable user directory to "/home/wardhan/"
Reset writable user directory to "/home/wardhan/.trigger"
Application base directory "/usr/games/"
Main game data directory datadir="/usr/share/games/trigger-rally"
Loading game configuration
Initialising SDL
Create window and set video mode
Found 0 joysticks
GLEW initialized
Graphics: X.Org Gallium 0.4 on AMD PALM
Using OpenGL 2.0
Initialising render subsystem
Initialising texture subsystem [SDL_Image]
Initialising effects subsystem
Initialising model subsystem
Initialising audio subsystem [OpenAL]
Performing app load
Loading image "textures/splash/splash.jpg"
Initialisation complete, entering main loop
Loading image "/textures/consolefont.png"
Loading image "/textures/splash/endgame.jpg"
Loading image "/textures/life_helmet.png"
Loading image "/textures/arrow.png"
Loading image "/textures/detail.jpg"
Loading image "/textures/dust.png"
Loading image "/textures/shadow.png"
Loading image "/textures/dial_rev.png"
Loading image "/textures/dial_speed_mph.png"
Loading image "/textures/dial_gear.png"
Loading sample "/sounds/engine1.wav"
Loading sample "/sounds/wind.wav"
Loading sample "/sounds/evo_sound/clank1.wav"
Loading sample "/sounds/gravel2.wav"
Loading sample "/sounds/evo_sound/clank3.wav"
Loading levels and events
/events/rs cup/sinuous/sinuous.level
/events/rs cup/8765/8765.level
/events/rs cup/scorpio/scorpio.level
/events/triggercup/warmup/warmup.level
/events/triggercup/desertstorm/storm.level
/events/triggercup/lunar/lunar.level
/events/triggercup/bigjump/jump.level
/events/triggercup/monkeybusiness/monkey.level
/events/triggercup/oldmacdonald/farm.level
/events/westernchallenge/smoothcanyon/smoothcanyon.level
/events/westernchallenge/greatplains/greatplains.level
/events/westernchallenge/rockyprairie/rockyprairie.level
/events/westernchallenge/whitesands/whitesands.level
Race finished in invalid state 30
Exit requested
Race finished in invalid state 30
Shutting down audio subsystem
Shutting down model subsystem
Shutting down effects subsystem
Shutting down texture subsystem
Shutting down render subsystem
X Error of failed request:  BadValue (integer parameter out of range for
operation)
   Major opcode of failed request:  151 (XFree86-VidModeExtension)
   Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
   Value in failed request:  0x200000e
   Serial number of failed request:  179
   Current serial number in output stream:  181

hope it helps, excuse for delay.

#726974#25
Date:
2013-10-25 18:55:52 UTC
From:
To:
Hi,

On Fri, Oct 25, 2013 at 02:31:12PM +0530, war.dhan wrote:
[..]
[..]

Thanks a lot for providing the output. This might prove quite helpful. I'll try
to find out what's wrong. However I cannot promise that I'll get to it this
weekend.

Cheers,
  Stefan.

#726974#30
Date:
2013-10-27 11:47:07 UTC
From:
To:
reassign 726974 libsdl1.2debian
thanks

Hi,

trigger-rally calls SDL_Quit() which then results in the error message.
So I suspect that the problem might be somewhere in SDL or even deeper down the
stack.

Reassigning to SDL.

Cheers,
  Stefan.