XVideo and SDL 1.1.5

SDL 1.1.5 uses DirectColor visuals by default for gamma correction.
The XVideo extension doesn’t support DirectColor visuals in either
XFree86 4.00 or 4.01. This will be fixed in XFree86 4.02.

In the meantime, if you want to use the XVideo extension for hardware
acceleration of MPEG playback (using SMPEG CVS code for example), you
can tell SDL to use only Truecolor visuals by exporting the following
environment variable:
export SDL_VIDEO_X11_NODIRECTCOLOR=1

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

SDL 1.1.5 uses DirectColor visuals by default for gamma correction.
The XVideo extension doesn’t support DirectColor visuals in either
XFree86 4.00 or 4.01. This will be fixed in XFree86 4.02.

It does support it in 4.0.1 on the Matrox driver when you
specify Option “TexturedVideo”. That uses the texture engine
instead and the lookup tables should actually work. Jeff
disables that option when you load the DRI module though,
so it might not be of interest to the people who use SDL.

		MArk.On Fri, 8 Sep 2000, Sam Lantinga wrote:

It doesn’t work with my system:

XFree 3.3.6
SDL 1.1.8
Kernel 2.2.17-21mdk
smpeg 0.4.0

It simply states three times:
Xlib: extension “XVideo” missing on display ":0.0"
And then,
Fatal Signal: Segmentation Fault (SDL Parachute Deployed)

when I do a “set”, I do read though:

SDL_VIDEO_X11_NODIRECTCOLOR=1

any clue??

Aurelien Marchand> ----- Original Message -----

From: Sam Lantinga [mailto:slouken@devolution.com]
Sent: Friday, September 08, 2000 8:36 PM
To: sdl at lokigames.com
Cc: devel at XFree86.Org
Subject: [SDL] XVideo and SDL 1.1.5

SDL 1.1.5 uses DirectColor visuals by default for gamma correction.
The XVideo extension doesn’t support DirectColor visuals in either
XFree86 4.00 or 4.01. This will be fixed in XFree86 4.02.

In the meantime, if you want to use the XVideo extension for hardware
acceleration of MPEG playback (using SMPEG CVS code for example), you
can tell SDL to use only Truecolor visuals by exporting the following
environment variable:
export SDL_VIDEO_X11_NODIRECTCOLOR=1

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Aurelien Marchand wrote:

It doesn’t work with my system:

XFree 3.3.6
SDL 1.1.8
Kernel 2.2.17-21mdk
smpeg 0.4.0

It simply states three times:
Xlib: extension “XVideo” missing on display ":0.0"
And then,
Fatal Signal: Segmentation Fault (SDL Parachute Deployed)

when I do a “set”, I do read though:

SDL_VIDEO_X11_NODIRECTCOLOR=1

any clue??

Aurelien Marchand

The XVideo extension was only added in XFree86 4.0. It is not present in
3.3.6.

~jeffrey :j