Philip Armstrong wrote:
> On Mon, Mar 26, 2007 at 09:27:12AM -0400, Buckley Hopper wrote:
>> Does anybody have a matrox 450/550 displaying on a tv? I'm just about
>> to switch graphics cards on my freevo box and was wondering what the
>> recommendations are for how to make a matrox work. From what I've read,
>> directfb seems like the way to go.
>
> As others have said, directfb is the way to go. Great video
> quality. Possibility of true RGB TV output if you're willing to make
> your own cable.
>
> Note that getting things like zsnes and xmame working is somewhat
> painful, requiring both source patches and fiddling with options to
> get the required result.
>
> Here's my config, if it's any use (G400 DH):
>
> /etc/directfbtrc
>
> matrox-crtc2 # switch output to second head
> matrox-tv-standard=pal
> matrox-sgram # Some G400s only.
> mode=720x576 # PAL video mode
> memcpy=MMXEXT # saves a bit of startup time for
> directfb
> primary-layer=02
> #matrox-cable-type=scart-composite # or scart-rgb, if you've built
> # your own cable...
> disable-module=ps2mouse # Disable various inputs: I use lirc
> mouse-source=/dev/input/mice # & the direct fb joystick inputs
> disable-module=linux_input # interfere with the SDL ones for zsnes
> disable-module=joystick # joystick reading.
> no-cursor
> agp=2
> dma
> videoram-limit=16384 # I have a 16Mb G400.
> no-vt-switch
> pixelformat=RGB32
> graphics-vt
>
> /etc/freevo/boot_config
>
> FREEVO_HOME="/usr/local/freevo"
> FREEVO_LOG="/var/log/freevo/main.log"
> FREEVO="yes"
> WEBSERVER="no"
> RECORDSERVER="yes"
> HAVEMOUSE="no"
> HAVEKEYBOARD="no"
> SDL_VIDEODRIVER="directfb"
> ROOTUSERINFO="no"
> SETNUMLOCK="no"
>
> /etc/freevo/freevo.conf
>
> cdparanoia = /usr/bin/cdparanoia
> display = dfbmga
> flac = /usr/bin/flac
> geometry = 768x576
> lame = /usr/bin/lame
> lsdvd = /usr/bin/lsdvd
> mencoder = /usr/bin/mencoder
> mplayer = /usr/bin/mplayer
> oggenc = /usr/bin/oggenc
> renice = /usr/bin/renice
> setterm = /usr/bin/setterm
> tv = pal
> tvtime = /usr/bin/tvtime
> version = 2.1
I saw this post, from Stefan Lucke, in the DirectFB users list about
games. The interesting setting is the pixelformat=ARGB.
> 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
Can just show you my setup when I'm using my G400 DH in combination
with vdr and softdevice forr TV-out, perhaps this may help you:
part of lsmod:
i2c_matroxfb 3808 0
matroxfb_base 23008 3 i2c_matroxfb
matroxfb_DAC1064 7744 1 matroxfb_base
matroxfb_accel 3712 1 matroxfb_base
matroxfb_g450 5536 1 matroxfb_base
g450_pll 4576 2 matroxfb_DAC1064,matroxfb_g450
matroxfb_misc 10020 6
i2c_matroxfb,matroxfb_base,matroxfb_DAC1064,matroxfb_accel,matroxfb_g450,g450_pll
i2c_dev 6308 0
/etc/directfbrc :
mode=720x576
depth = 32
matrox-crtc2
matrox-tv-standard=pal
primary-layer=2
pixelformat=ARGB
matrox-cable-type=composite
disable-module=lirc
disable-module=linux_input
no-vt
no-vt-switch
Duncan
>
> You'll need to set a few variables in freevo.conf: I use mplayer to
> play video:
>
> MPLAYER_VO_DEV_OPTS = ':crtc2:fieldparity=top:tvnorm=auto'
>
> And I start freevo at boot, so my /etc/init.d/freevo looks like this
> (with symlinks to appropriate startup directories...):
>
> #! /bin/sh
>
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
> DAEMON=/usr/local/bin/freevo
> NAME=freevo
> DESC=freevo
>
> test -x $DAEMON || exit 0
>
> # Include freevo defaults if available
> if [ -f /etc/freevo/boot_config ] ; then
> . /etc/freevo/boot_config
> fi
>
> set -e
>
> [ "${HAVEMOUSE}" = "no" ] && {
> export SDL_NOMOUSE=true
> }
>
>
> case "$1" in
> start)
> echo -n "Starting $DESC: "
> $DAEMON start
> $DAEMON recordserver start
> echo "$NAME."
> ;;
> stop)
> echo -n "Stopping $DESC: "
> $DAEMON recordserver stop
> $DAEMON stop
> echo "$NAME."
> ;;
> restart)
> echo -n "Restarting $DESC: "
> $DAEMON stop
> sleep 1
> $DAEMON start
> echo "$NAME."
> ;;
> *)
> N=/etc/init.d/$NAME
> echo "Usage: $N {start|stop|restart}" >&2
> exit 1
> ;;
> esac
>
> exit 0
>
>
> Have fun !
>
> cheers, Phil
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users