On Tue, Jun 15, 2004 at 02:34:22AM +0200, [EMAIL PROTECTED] wrote:
> hi,
>
> for the last week i tried to get my g450 to work with my new projector.
>
> my plan was to simply hook it up via dvi to the dvi port of the g450 pci
> and then use mplayer -vo dfbmga with it.
>
> but when i start mplayer with -vo dfbmga:spic:bes:nocrtc2:noinput i do only
> get a badly downscaled little picture in the top left corner (kinda the
> size of one of those picture-in-picture windows).
>
> playing with -vo directfb outputs in correct size strangely enough....
>
> what am i doing wrong?
Nothing. It's a bug in the matrox driver.
You can upgrade to DirectFB cvs, or use the patch against 0.9.20, or
you can work around it in vo_dfbmga (see below the patch).
--- DirectFB-0.9.20/gfxdrivers/matrox/matrox_bes.c~ 2003-07-21 13:29:59.000000000
+0300
+++ DirectFB-0.9.20/gfxdrivers/matrox/matrox_bes.c 2004-06-15 04:37:12.698539136
+0300
@@ -157,10 +157,10 @@
/* initialize destination rectangle */
- mbes->location.x = 0.125f;
- mbes->location.y = 0.125f;
- mbes->location.w = 0.25f;
- mbes->location.h = 0.25f;
+ mbes->location.x = 0.0f;
+ mbes->location.y = 0.0f;
+ mbes->location.w = 1.0f;
+ mbes->location.h = 1.0f;
/* disable backend scaler */
mga_out32( mmio, 0, BESCTL );
To work around the bug in vo_dfbmga add this
bes->SetScreenLocation( bes, 0, 0, 1, 1 );
before the current SetScreenLocation() call in vo_dfbmga.c.
--
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/