Denis Oliver Kropp wrote: >Quoting Scott Serr: > > >>I'm using this patch: >> >>--- DirectFB-0.9.22/gfxdrivers/matrox/matrox_crtc2.c 2005-02-20 >>13:56:16.000000000 -0700 >>+++ DirectFB-0.9.22.new/gfxdrivers/matrox/matrox_crtc2.c >>2005-05-20 12:22:03.143384384 -0600 >>@@ -152,7 +152,8 @@ >> DLCONF_OPTIONS | DLCONF_SURFACE_CAPS; >> config->width = 720; >> config->height = ntsc ? 480 : 576; >>- config->pixelformat = DSPF_YUY2; >>+// config->pixelformat = DSPF_YUY2; >>+ config->pixelformat = DSPF_RGB32; >> config->buffermode = DLBM_FRONTONLY; >> config->options = DLOP_NONE; >> config->surface_caps = DSCAPS_INTERLACED; >> >> > >This changes the default pixel format. > >Fixing other libraries or applications would be the right way. > >We could also think about a new driver specific option a la "crtc2-format", >but I want to rewrite the configuration management, before adding another >driver specific option to the global structure. > >Anyhow, the applications should run regardless of the default format. > > So an application that will not run, such as freevo using SDL, is not setting the pixelformat? In other words, it's up to the application to set this to something other than the default?
> > >>Yet mplayer doesn't mind running without this patch >> >> > >Which output plugin? Using the primary-layer option? > > > -vo dfbmga is what I used that worked fine. My /etc/directfbrc: debug matrox-crtc2 matrox-tv-standard=ntsc primary-layer=02 matrox-cable-type=composite mode=768x576 hardware no-cursor no-graphics-vt no-vt-switching no-vt-switch >>Question, what is really going on here? Does DirectFB or SDL need to be >>changed? >> >> > >If you use the primary-layer option, you can try the pixelformat option, too. > > Are you saying on the mplayer commandline? My goal is good quality TVout for freevo, mplayer, mame. I'd like to use the hardware scaling that I understand to be only on crtc2 -- the second head output of a G400 DH? Thanks, Scott _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
