ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.comDotEmu  Rules - Search - Register - Login curved edge
Folder Forum Index > Help and Support > Fullscreen is "fake fullscreen" on Linux
Fullscreen is "fake fullscreen" on Linux
  Author    Thread Reply to topic
caffeine



Joined: 09 Jan 2006
Posts: 1
Fullscreen is "fake fullscreen" on Linux 

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?

 Reply with quote  
Post Mon Jan 09, 2006 4:27 am 
 View user's profile Send private message
eriktorbjorn
ScummVM Developer


Joined: 31 Oct 2005
Posts: 3136
Re: Fullscreen is "fake fullscreen" on Linux 

quote:
Originally posted 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?


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.
 Reply with quote  
Post Mon Jan 09, 2006 7:59 am 
 View user's profile Send private message
Ender



Joined: 21 Sep 2005
Posts: 107
Location: Perth, Western Australia
 

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:

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



 Reply with quote  
Post Mon Jan 09, 2006 1:01 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge