I'm really trying to understand how the Matrox G400 card works with
various combinations of SDL, DirectFB and the Linux Framebuffer.  I'm
trying to use SDL_DIRECTFB_MGA_CRTC2 with xmame.sdl and other SDL apps
like zsnes to TV out and just not having a lot of luck.  This machine
is dedicated to this so I don't much care what is on the first head.
It's going to be disconnected as soon as I get all this working.  So
I'm cloning the heads using:

# CRTC1 -> TVout & Monitor
matroxset -f /dev/fb1 -m 0
matroxset -f /dev/fb0 -m 3

# Enable TV
matroxset -o 1 2

I've been playing with various combinations of options in directfbrc,
SDL_ environment variables, and loaded kernel modules.  What I've
learned from google is that lots of things aren't supposed to work
with matroxfb_maven modprobed.  But when I rmmod it, nothing seems to
work at all.  When it's running however, I get a picture, but I get a
lot of:

(!) DirectFB/Matrox/Maven: Error controlling `/dev/i2c-2'!
    --> Device or resource busy

And the special scaling that seems like it is supposed to be happening
doesn't seem to happening.  I've read this is because matroxfb_maven
is locking access to the things directfb is trying to access.

So what is the magic combination of options I should be using to get
xmame.sdl to work?  Anyone who has this working, could you post your:

1. lsmod
2. directfbrc
3. SDL_ environment variables
4. Anything else I'm missing

Thanks,
Mike Gibson

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to