[Linux] Fullscreen in menus, narrations,...

A forum for solving problems that might be encountered during installation, updating, or in game.
Post Reply
Mythikos
Posts: 5
Joined: Sat Feb 04, 2012 1:25 pm

[Linux] Fullscreen in menus, narrations,...

Post by Mythikos »

Hi all

I've just installed the 1.7.2 Linux version of Myth II and, even though the "Windowed" box is unchecked, the main menu, the narrations and the victory and defeat screens appear in a window (the game itself runs smoothly in fullscreen mode). I've tried all the usual key combinations (CTRL+F, CTRL+Enter) and the fullscreen option of the window menu but nothing happens.

Is this a known issue/bug/feature :D? I've read the Read me document and searched the forums but I couldn't find any reference to it.
Myrd
Site Admin
Posts: 4029
Joined: Fri Mar 19, 2004 10:17 pm

Re: [Linux] Fullscreen in menus, narrations,...

Post by Myrd »

Have you tried Alt-F11? That's the toggle for Myth on Windows and Linux...
Mythikos
Posts: 5
Joined: Sat Feb 04, 2012 1:25 pm

Re: [Linux] Fullscreen in menus, narrations,...

Post by Mythikos »

I've just tested it, it toggles between fullscreen and windowed mode in the game itself (i.e. playing a level) but doesn't do anything in the main menu or the pre-game narration screens. Thanks anyway for the answer :)
Myrd
Site Admin
Posts: 4029
Joined: Fri Mar 19, 2004 10:17 pm

Re: [Linux] Fullscreen in menus, narrations,...

Post by Myrd »

Hmm, we just call SDL_WM_ToggleFullScreen() - so SDL must just not be honouring this? Perhaps your monitor doesn't support 640x480 as fullscreen?
Mythikos
Posts: 5
Joined: Sat Feb 04, 2012 1:25 pm

Re: [Linux] Fullscreen in menus, narrations,...

Post by Mythikos »

It seems to support 640x480 fullscreen. In fact I've been playing with the desktop screen resolution (outside Myth) and if I set it to 640x480 and run the game, ALT+F11 puts main menus, pre-game infos, etc in fullscreen, but the game crashes when the level starts with
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x102
Serial number of failed request: 241
Current serial number in output stream: 243
If the desktop if set to 800x600 or 1024x600 (I play on a netbook) ALT+F11 does not do anything, and if set to 800x600 the game also crashes at start with a similar message (in 1024x600 the game works). Also, if in this mode (1024x600) the game resolution is set to 640x480 everything works, when I exit a level the desktop is in 800x600.
Myrd
Site Admin
Posts: 4029
Joined: Fri Mar 19, 2004 10:17 pm

Re: [Linux] Fullscreen in menus, narrations,...

Post by Myrd »

What does your myth_log.txt say after Myth crashes in this way?
Mythikos
Posts: 5
Joined: Sat Feb 04, 2012 1:25 pm

Re: [Linux] Fullscreen in menus, narrations,...

Post by Mythikos »

It doesn't seem to say anything special:
2012-02-05 13:52:51
Myth II 32-Bit Build 377 running under Linux ----------------------------------------------
Loading poweruser.txt... not found.
Scanning for software devices...
Found 1 to use
Scanning for OpenGL devices...
Found 1 to use
Mesa DRI Intel(R) 945GME GEM 20091221 2009Q4 x86/MMX/SSE2 | Tungsten Graphics, Inc | OpenGL 1.4
INFO: Loaded OpenAL library 'libopenal.so.1'
Loading Patch Files...
Patch 1.2
Patch MariusNet
Patch 1.3
Patch 1.4
Patch 1.4 Interface
Patch 1.5
Loading Patch Files Succeeded
Running OpenGL at 640 x 480
Starting mesh "Tutorial"...
Using 1.7.2 gameplay...
Fiddling again with resolutions, I've detected that the game only crashes the first time it is started with desktop resolution set to 640x480. If after this crash it is started again it loads the level ok. The game works ok also even the first time if there's a cutscene after the level, if I replay the intro, or I play a video using ffplay or start zsnes (which also uses sdl) between setting the desktop resolution and starting the game.

(for what it's worth, I'm running Debian stable 6.0.3 (Squeeze) with libsdl 1.2.14-6.1, the most up-to-date version in the repositories)
Last edited by Mythikos on Sun Feb 05, 2012 8:35 am, edited 1 time in total.
Post Reply