[MPlayer-users] bug with directfb output, nvidia card

Chris Bainbridge C.J.Bainbridge at ed.ac.uk
Mon Jun 14 15:41:18 CEST 2004


Hi, I compiled my linux 2.6.6 kernel to use a framebuffer with console 
support. I compiled directfb-0.9.20 with the nvidia driver (cheap geforce2 
card). All of the directfb examples work correctly. However when I try -vo 
directfb with mplayer I get a static screen full of green and pink colours. 
Has anyone got any idea where the problem could lie.. or a fix.. heres the 
output from mplayer:

 DirectFB: Preinit entered

       ---------------------- DirectFB v0.9.20 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2003  convergence GmbH
        -----------------------------------------------------------

(*) Single Application Core. (2004-06-14 12:06)
(*) DirectFB/misc/memcpy: using linux kernel memcpy()
(*) DirectFB/InputDevice: IMPS/2 Mouse (1) 0.9 (convergence integrated media 
GmbH)
(*) DirectFB/InputDevice: IMPS/2 Mouse (2) 0.9 (convergence integrated media 
GmbH)
(*) DirectFB/InputDevice: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/GraphicsDevice: nVidia RIVA TNT/TNT2/GeForce 0.2 (convergence 
integrated media G
mbH)
(*) DirectFB/Layer: Enabled 'FBDev Primary Layer'.
DirectFB: Keyboard init OK
DirectFB: Preinit OK
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 272 (preferred csp: Planar YV12)
DirectFB: Format query: Planar YV12
DirectFB: Test format - layer 0 scale/pos 0
(*) DirectFB/Layer: Enabled 'NVidia Overlay'.
DirectFB: Test format - layer 1 scale/pos 8
DirectFB: Test format - added layer 1 scale/pos 8
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [directfb] 640x272 => 640x272 Planar YV12
DirectFB: Format query: Planar YV12
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - layer 1 scale/pos 8
DirectFB: Test format - added layer 1 scale/pos 8
DirectFB: Config entered [640x272]
DirectFB: With requested format: Planar YV12
 (!!!)  *** CAUTION [letting unprivileged IDirectFBDisplayLayer::GetSurface() 
call pass until
 cooperative level handling is finished] *** idirectfbdisplaylayer.c (147)
DirectFB: Config - looking for suitable layer
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - layer 1 scale/pos 8
DirectFB: Test format - added layer 1 scale/pos 8
DirectFB: Config - layer 1
DirectFB: Config - switching layer to exclusive mode
DirectFB: Config - changing layer configuration (size)
DirectFB: Layer reports format:201007
DirectFB: Desired pixelformat: 8100c0b
DirectFB: Config - changing layer configuration (format)
DirectFB: Requested field parity: Don't care
DirectFB: Config - flipping = 0
DirectFB: Config - surface size = 640x272
DirectFB: Frame is active.
DirectFB: Config finished [10000x5666] - [640x272]
A:   0.0 V:   0.0 A-V:  0.029 ct:  0.000    1/  1   0%  0%  0.0% 0 0 14%^M
etc.49%^MDirectFB: Uninit ente
red
DirectFB: Releasing frame
DirectFB: Releasing layer
DirectFB: Releasing primary
DirectFB: Uninit done.

Exiting... (Quit)




More information about the MPlayer-users mailing list