[MPlayer-dev-eng] Another SiS vidix issue

Jake Page jake at CS.Stanford.EDU
Sun Oct 12 22:36:16 CEST 2003


On Sun, 12 Oct 2003, Gabucino wrote:

> Jake Page wrote:
> > For the CRT1/CRT2 issue try setting the environment variable VIDIX_CRT=2 -
> > since the SiS 650 only has 1 overlay, it will tell the driver to use it 
> > on CRT2 if both video outputs are being used.

> Do you want to document sis_vid's features? Then it can be added to the
> MPlayer documentation.

That's pretty much it... there is a fair amount of code in there (in 
sis_bridge.c) to detect what is connected (VGA, LCD, TV) and to set up the 
hardware overlay(s) appropriately.  The only thing that needs "user 
intervention" is when there are 2 devices connected and the chipset only 
has 1 overlay, for which case I added the "VIDIX_CRT=N" env variable.
Of course I haven't tested support for multiple overlays, etc (some 
chipsets like 315/M650/651 have 2 overlays) so a lot of this could use 
work.

I also added a VIDIX_CKEY=0xRRGGBB variable, but it was removed before 
committing.  The intent was to allow colorkeying for fbdev:vidix (or 
cvidix I guess) so that framebuffer-based apps that exec mplayer can 
provide a gui overlay...  I suppose a better way to do this would be to 
add a commandline/driver option to set it?

-Jake



More information about the MPlayer-dev-eng mailing list