I am trying to get a Freevo box up and running with a Matrox G450. I am
trying to debug a emulator problem. I can get a couple emulators working
using SDL with DirectFB added but not all of them. I got a NES (fceu),
Atari(Stella), and Genesis(Dgen) emulator to run fine but when I try a
Aracade(xmame.sdl) or a SNES(zsnes) emulator, not much happens. I
believe it could be a 8 bir depth vs a 16 bit depth thing but I dont
know enough. What is strange about xmame.sdl is that, it actually runs
and I can here the sound and the screen seems to flicker at
initialization but no picture every shows up. I use this command to run
mame,
“xmame.SDL -vidmode_w 640 -vidmode_h 480 -bpp 16 -autodouble -effect 0
-skip_disclaimer -skip_gameinfo aburner2.zip”
Here is my set-up,
/etc/directfbrc
matrox-crtc2
matrox-tv-standard=ntsc
hardware
sync
mmx
mode=640x480
depth=16
rc.local (system init script)
modprobe i2c-matroxfb
modprobe fusion
export SDL_VIDEODRIVER=directfb
export AUDIODEV=/dev/dsp
export SDL_AUDIODRIVER=dsp
export SDL_PATH_DSP=/dev/dsp
unset SDL_VIDEO_YUV_DIRECT
export SDL_VIDEO_YUV_HWACCEL=1
export SDL_DIRECTFB_MGA_CRTC2=1
export SDL_DIRECTFB_MGA_STRETCH=1
export SDL_DIRECTFB_MGA_OVERSCAN=1
Any help would be appreciated…