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

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

-- 
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt

-------------------------------------------------------------------------
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

Reply via email to