Next Previous Contents

5. Fullscreen

I'm testing the fullscreen mode.Use full-screen mode at you own risks!

Fullscreen STILL may have a few bugs. If it bugs out, you may not have any working control over your system aside from telneting in and sysrq..

Also on fullscreen: The way fullscreen mode works is by asking the X-server for the smallest available resolution that is bigger than the mpeg it has in it's config and using that, the display will not be fullscreen if you do not have sufficiently small modes available. These modes may be dangerous to your configuration, be careful and edit them to whatever you wish. They CAN damage hardware not designed to take it.

Usually, it is a good idea to make sure that the following resolutions are defined in your XFree86 configuration file (XF86Config):

Mode "320x200"
  DotClock 15.750
  HTimings 320 336 384 400
  VTimings 200 204 206 222
  Flags "Doublescan"
EndMode

Mode "320x240"
  DotClock 15.750
  HTimings 320 336 384 400
  VTimings 240 244 246 262
  Flags "Doublescan"
EndMode

Mode "352x240"
  DotClock 15.750
  HTimings 352 368 416 432
  VTimings 240 244 246 262
  Flags "Doublescan"
EndMode

Mode "352x280"
  DotClock 15.750
  HTimings 352 368 416 432
  VTimings 280 288 286 302
  Flags "Doublescan"
EndMode

Mode "352x288"
  DotClock 15.750
  HTimings 352 368 416 432
  VTimings 288 296 290 310
  Flags "Doublescan"
EndMode

Don't forget to add all those modes in the Modes line for each Display subsection of the Screen section. Note: The timing indicated here may be inadequate for your graphic board and/or monitor. Please refer to the XFree86 Howto, FAQ and documentation for configuring XFree86 and setting video modes:

http://www.xfree86.org/

http://www.xfree86.org/FAQ/

http://www.xfree86.org/4.0.2/Config.html

It is good idea to use "xvidtune" to finetune the video modes you are planning to use for the fullscreen video playback. SDL currently relies on XFree86's DGA extension, therefore full-screen will only work with XFree86, not with other X servers like XiG's Accelerated-X.

Full-screen only works on a local display. Because of a limitation in the DGA of XFree86 3.2, it won't work with DISPLAY set to "localhost:0.0", even though this is the local display. Environment variable DISPLAY should be set to ":0.0". To check: $ printenv DISPLAY The full-screen mode will use the closest XFree86 mode that matches or is larger than the size of the video.

XFree86 must run in 16, 24 or 32-bit depth.

5.1 Current limitations & Known problems

Full-screen mode is currently not available in 8-bit depth.

Full-screen mode may not look good if the video size is not a multiple of 16.

To enter full-screen mode use the button Fullscreen.

To exit full-screen mode and return to normal display mode, click the left button of your mouse.


Next Previous Contents