forcemerge 546671 668771
affects 546671 openarena
thanks

Sthu Deus wrote:
> > > OpenArena does not restore desktop screen resolution when normaly
> > > quits.
[...]
> I have a dual setup - a laptop w/ external monitor connected.

I tried investigating this with a debugger last week, but I found an
ioquake3 security vulnerability on the way, and had to stop and fix that
instead...

Having looked into it again, the ioquake3 engine used by OpenArena seems to
be doing the right things (in particular, SDL's X11_LeaveFullScreen
function gets called).

Unfortunately, that function doesn't work very well in a multi-head setup,
which seems to be caused by limitations in the XRandR and XF86VidMode
protocols.

It might not help that SDL 1.2.15 turned off XRandR support upstream
"because it causes desktop reconfiguring"[1], and in any case libsdl1.2
doesn't seem to be built against libxrandr-dev (so turning it on via
SDL_VIDEO_X11_XRANDR=1 won't have any effect). I didn't have any more
success in a dual-monitor setup with libsdl1.2 rebuilt and XRandR enabled,
though.

I'll work around this for new openarena installations by changing the
default in ioquake3 to run in a window.

Sthu: if you configure your OpenArena to run in a window (Setup -> System ->
Graphics -> Fullscreen), it should stop breaking your video mode after that.
You can also select a higher resolution in the same menu.

    S

[1] http://www.libsdl.org/release/changes-1.2.html



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to