Bug#668771: openarena: Does not restore desktop screen resolution on quit.

Sthu Deus sthu.deus at gmail.com
Sat Apr 21 13:47:36 UTC 2012


Good time of the day, Simon.


Thank You for Your time and answer.
You worte:

> > OpenArena does not restore desktop screen resolution when normaly
> > quits.
> 
> It works for me (800x600 fullscreen, on a laptop that's natively
> 1280x800), so there must be something different in your configuration
> that's triggering this.

I have a dual setup - a laptop w/ external monitor connected.
 
> Since you've reported crashes on another bug, I wonder whether it's
> crashing on exit and failing to restore the screen size. Please

No. It normally exits. Just does not restore the resolution. Please do
not mix up bugs.

In this bug report I'm speaking about the resolution restoration
failure only.

> provide a log (and, if it's crashing, a backtrace), by installing the
> openarena-dbg, ioquake3-dbg and gdb packages, then running this in a
> terminal:
> 
>     OPENARENA_BACKTRACE=1 openarena 2>&1 | tee openarena.txt
> 
> This will output information about the crash (if any) to your
> terminal, and save a copy in openarena.txt.

Of course it does not crash here.

> If it doesn't appear to be crashing, please start OpenArena with that
> command and open the in-game console (press Shift+Escape). In the
> in-game console, type "\set r_" (without the quotes) and press Tab:
> this will display a list of renderer settings, which will also be
> logged to the terminal and openarena.txt. Then close the console with
> Shift+Escape and quit the game. I'm particularly interested in the
> r_fullscreen, r_uiFullScreen, r_customwidth, r_customheight and
> r_mode settings.

Alright, here it is (complete, in case the interested parameters will
lead to questions about other parameters values):

Opening IP6 socket: [::]:27960
Opening IP socket: 0.0.0.0:27960
WARNING: NET_IPSocket: bind: Address already in use
Opening IP socket: 0.0.0.0:27961
]\set r_
    r_availableModes = "1280x720 1600x900 848x480 12 ... x768 640x480
800x600 1024x768" r_sdlDriver = "x11"
    r_allowSoftwareGL = "0"
    r_maxpolyverts = "3000"
    r_maxpolys = "600"
    r_noportals = "0"
    r_lockpvs = "0"
    r_drawBuffer = "GL_BACK"
    r_offsetunits = "-2"
    r_offsetfactor = "-1"
    r_clear = "0"
    r_shownormals = "0"
    r_showsky = "0"
    r_showtris = "0"
    r_nobind = "0"
    r_debugSurface = "0"
    r_logFile = "0"
    r_verbose = "0"
    r_speeds = "0"
    r_showcluster = "0"
    r_novis = "0"
    r_nocull = "0"
    r_ignore = "1"
    r_drawentities = "1"
    r_norefresh = "0"
    r_lodscale = "5"
    r_measureOverdraw = "0"
    r_skipBackEnd = "0"
    r_showSmp = "0"
    r_flareCoeff = "150"
    r_flareFade = "7"
    r_flareSize = "40"
    r_portalOnly = "0"
    r_lightmap = "0"
    r_drawworld = "1"
    r_nocurves = "0"
    r_saveFontData = "0"
    r_printShaders = "0"
    r_debugSort = "0"
    r_debuglight = "0"
    r_showImages = "0"
    r_directedScale = "1"
    r_ambientScale = "0.6"
    r_znear = "4"
    r_singleShader = "0"
    r_mapOverBrightBits = "2"
    r_fullbright = "0"
    r_colorMipLevels = "0"
    r_uiFullScreen = "1"
    r_inGameVideo = "1"
    r_allowExtensions = "1"
    r_ext_compressed_textures = "0"
    r_ext_multitexture = "1"
    r_ext_compiled_vertex_array = "1"
    r_ext_texture_env_add = "1"
    r_ext_texture_filter_anisotropic = "0"
    r_ext_max_anisotropy = "2"
    r_picmip = "3"
    r_roundImagesDown = "1"
    r_detailtextures = "1"
    r_texturebits = "0"
    r_colorbits = "0"
    r_stencilbits = "0"
    r_depthbits = "0"
    r_ext_multisample = "0"
    r_overBrightBits = "1"
    r_ignorehwgamma = "0"
    r_mode = "3"
    r_fullscreen = "1"
    r_noborder = "0"
    r_customwidth = "1600"
    r_customheight = "1024"
    r_customPixelAspect = "1"
    r_simpleMipMaps = "1"
    r_subdivisions = "4"
    r_smp = "0"
    r_stereoEnabled = "0"
    r_ignoreFastPath = "1"
    r_greyscale = "0"
    r_lodCurveError = "250"
    r_lodbias = "0"
    r_flares = "0"
    r_zproj = "64"
    r_stereoSeparation = "64"
    r_ignoreGLErrors = "1"
    r_fastsky = "0"
    r_drawSun = "0"
    r_dynamiclight = "1"
    r_dlightBacks = "1"
    r_finish = "0"
    r_textureMode = "GL_LINEAR_MIPMAP_NEAREST"
    r_swapInterval = "0"
    r_gamma = "2.075000"
    r_facePlaneCull = "1"
    r_railWidth = "16"
    r_railCoreWidth = "6"
    r_railSegmentLength = "32"
    r_primitives = "0"
    r_anaglyphMode = "0"
    r_marksOnTriangleMeshes = "0"
    r_aviMotionJpegQuality = "90"
    r_screenshotJpegQuality = "90"
    r_allowResize = "0"
    r_centerWindow = "0"
    r_intensity = "1"
    r_vertexLight = "0"
----- Client Shutdown (Client quit) -----
RE_Shutdown( 1 )
Hunk_Clear: reset the hunk ok
OpenAL capture device closed.
-----------------------
[Thread 0x7fffe1de0700 (LWP 6709) exited]
[Inferior 1 (process 6704) exited normally]
The program is not being run.
 
> Also, what video hardware do you have, which X11 driver (and version)

It is:

. [AMD] nee ATI RS482 [Radeon Xpress 200M]

. radeon  1:6.14.4-1

> are you using, and what version of libgl1-mesa-glx do you have?

libgl1-mesa-glx amd64 7.11.2-1

Thank You, Simon for Your work, I would say, Service, even.

If any information I can apply, please let me know.

Thanks, again.


Sthu.





More information about the Pkg-games-devel mailing list