On Fri, Aug 29, 2003 at 06:57:47PM +0200, Cosme P. Cuevas wrote:
> I can't use TV-OUT. 
> 
> [1]. I compile the kernel. I don't apply any suggested patch, because
> the HOWTO say that it is optional. It is wrong?

I have a G550. I have directfb 0.9.19 (from debian unstable), mplayer
from cvs (I currently use MPlayer dev-CVS-030815-20:17-3.3.1) and a
clean unpatched 2.4.22.

I run XFree86 (I insist :) ). When I want to watch something on
tv-out, I start mplayer with

 mplayer -vo dfbmga:input -vop expand=-30:-30:15:18

:input is needed, otherwise I can't control mplayer with keyboard. The
-vop thing is just there because the overscan is a bit too big (and
apparently not vertically centered) on my tv. It works great. Can't
use XFree86 while running mplayer, but when mplayer ends, everything
returns nicely back to normal.

I do not use xmga when I want to watch stuff in XFree86. Maybe it
works now, maybe it doesn't, but it has hanged my system before, when
that mga_vid module was loaded.

I really have no idea how to think when it comes to framebuffers,
vt-switching, layers, heads, crtc1/2. I am happy I managed to
configure something that works.


This is my config:

cat /etc/directfbrc
 matrox-crtc2
 matrox-tv-standard=pal

grep -e '^CONFIG_FB' -e '^CONFIG_TMP' /boot/config-2.4.22
 CONFIG_TMPFS=y
 CONFIG_FB=y
 CONFIG_FB_VESA=y
 CONFIG_FB_MATROX=y
 CONFIG_FB_MATROX_G450=y
 CONFIG_FB_MATROX_G100=y
 CONFIG_FB_MATROX_MULTIHEAD=y
 CONFIG_FBCON_ADVANCED=y
 CONFIG_FBCON_MFB=m
 CONFIG_FBCON_CFB2=m
 CONFIG_FBCON_CFB4=m
 CONFIG_FBCON_CFB8=y
 CONFIG_FBCON_CFB16=y
 CONFIG_FBCON_CFB24=y
 CONFIG_FBCON_CFB32=y

cat /etc/lilo.conf
 ...
 image=/vmlinuz
         label=Linux
         read-only
         append="video=matrox:vesa:0x112"
 ...

fbset -i
 mode "640x480-60"
     # D: 25.200 MHz, H: 31.500 kHz, V: 59.999 Hz
     geometry 640 480 640 6552 32
     timings 39683 48 16 33 10 96 2
     accel true
     rgba 8/16,8/8,8/0,8/24
 endmode
 
 Frame buffer device information:
     Name        : MATROX
     Address     : 0xdc000000
     Size        : 16773120
     Type        : PACKED PIXELS
     Visual      : TRUECOLOR
     XPanStep    : 8
     YPanStep    : 1
     YWrapStep   : 0
     LineLength  : 2560
     MMIO Address: 0xdfefc000
     MMIO Size   : 16384
     Accelerator : Matrox G400

The directfb related things that mplayer says
 ...
 (*) parsing config file '/etc/directfbrc'.
 
        ---------------------- DirectFB v0.9.19 ---------------------
              (c) 2000-2002  convergence integrated media GmbH  
              (c) 2002       convergence GmbH                   
         -----------------------------------------------------------
 
 (*) Single Application Core. (with MMX support) (2003-08-06 18:20)
 (*) DirectFB/misc/memcpy: using MMXEXT optimized memcpy()
 (*) DirectFB/InputDevice: IMPS/2 Mouse 0.9 (convergence integrated media GmbH)
 (*) DirectFB/InputDevice: Keyboard 0.9 (convergence integrated media GmbH)
 (*) MMX detected and enabled
 (*) DirectFB/GraphicsDevice: Matrox G400/G450/G550 0.6 (convergence integrated media 
GmbH)
 (*) DirectFB/Layer: Enabled 'FBDev Primary Layer'.
 (*) DirectFB/Layer: Enabled 'Matrox CRTC2'.
 Opening video filter: [expand w=-30 h=-30 x=15 y=18]
 Expand: -30 x -30, 15 ; 18  (-1=autodetect) osd: 0
 ...
 VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
 VDec: using Planar YV12 as output csp (no 0)
 Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
 VO: [dfbmga] 670x510 => 670x510 Planar YV12  [fs]
 vo_dfbmga: Video surface 670x510 YV12
 vo_dfbmga: CRTC2 using triple buffering
 vo_dfbmga: CRTC2 surface 720x576 YV12
 (*) DirectFB/Layer: Enabled 'Matrox CRTC2 Sub-Picture'.
 vo_dfbmga: Sub-picture layer using triple buffering
 vo_dfbmga: Sub-picture surface 720x576 ALUT44 (Sub-picture layer)
 Full DR not possible, trying SLICES instead!
 ...

-- 
___\ Jon �slund


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to