Fullscreen is "fake fullscreen" on Linux

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
caffeine
Posts: 1
Joined: Mon Jan 09, 2006 4:22 am

Fullscreen is "fake fullscreen" on Linux

Post by caffeine »

I'm running:

ScummVM 0.9.0CVS (Jan 8 2006 23:07:49)
Features compiled in: Vorbis MP3 ALSA zLib

on Linux. When I run scummvm in fullscreen mode (with -f option), I get a rather small box containing the game surrounded by a big black border which takes up the remainder of the monitor's surface.

I think what I need to do is match my video resolution to whatever resolution scummvm displays at. If this is correct, what resolution should I set my screen to?

If that's not correct, is there any way to scale scummvm's resolution so that it fits the entire surface area of the monitor?
User avatar
eriktorbjorn
ScummVM Developer
Posts: 3525
Joined: Mon Oct 31, 2005 7:39 am

Re: Fullscreen is "fake fullscreen" on Linux

Post by eriktorbjorn »

caffeine wrote:I'm running:

ScummVM 0.9.0CVS (Jan 8 2006 23:07:49)
Features compiled in: Vorbis MP3 ALSA zLib

on Linux. When I run scummvm in fullscreen mode (with -f option), I get a rather small box containing the game surrounded by a big black border which takes up the remainder of the monitor's surface.

I think what I need to do is match my video resolution to whatever resolution scummvm displays at. If this is correct, what resolution should I set my screen to?

If that's not correct, is there any way to scale scummvm's resolution so that it fits the entire surface area of the monitor?
It depends. The native resolution of most of the games that ScummVM supports is 320x200 pixels. For some it's 640x480, and for a few it's 320x240.

However, ScummVM has a number of graphics scalers, and for the 320x200 games you can also enable the "aspect ratio correction" feature to stretch the image. Taken together, that should mean that:
  • A 320x200 game can be displayed as 320x200, 320x240, 640x400, 640x480, 960x600 or 960x720.
  • A 320x240 game can be displayed as 320x240, 640x480 or 960x720.
  • A 640x480 game can be displayed as 640x480, 1280x960 or 1920x1440.
I believe the SDL library (which ScummVM uses for graphics and sound) will try to pick the smallest available resolution that will fit the desired image, which would explain the black borders you saw.
Ender
Retired
Posts: 106
Joined: Wed Sep 21, 2005 5:06 am
Location: Perth, Western Australia

Post by Ender »

I suggest the problem is that you don't have any of the lower-resolution modes defined, hence X can't modeswitch.

Make sure your xorg.conf / XF86Config has at least 800x600 and 640x480 in modes for your current screen. Eg:

Code: Select all

Section "Screen"
    Identifier  "Screen0"
    Device      "GF6600"
    Monitor     "Monitor0"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
        Modes       "1152x864" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1152x864" "800x600" "640x480"
    EndSubsection
EndSection
Post Reply