Justin Wetherell wrote:
After snooping around the code and searching the internet, I have found
the answer. You need to patch DirectFB 0.9.21.
Here is my setup:
ENV:
export SDL_VIDEODRIVER=directfb
/etc/directfb:
matrox-crtc2
matrox-tv-standard=ntsc
primary-layer=02
#matrox-sgram
matrox-cable-type=composite
depth=32
bg-color=FF000000
no-cursor
DirectFB 0.9.21:
patched gfxdrivers/matrox/matrox_crtc2.c
line 155; changed from "config->pixelformat = DSPF_YUY2;" to
"config->pixelformat = DSPF_RGB32;"
./configure --enable-multi --with-gfxdrivers=matrox
make && make install
SDL 1.2.8:
./configure --enable-video-directfb
make && make install
pygame 1.6:
pyththon setup.py install
MPlayer 1.0pre6a:
./configure --enable-directfb
make && make install
and recompile xmame, xmess, zsnes, etc...
THANK GOD!!!
and thanks for everyones help.
This might be vital, i believe this setup only works with kernel 2.4.28
or higher because of the directfb 0.9.21 matrox patch.
|