CFT: devel/directfb update to 1.1.1

Ganael LAPLANCHE ganael.laplanche at martymac.com
Wed Apr 16 10:02:58 UTC 2008


On Wed, 16 Apr 2008 10:38:43 +0200, Pietro Cerutti wrote

> Sorry, I made an error rolling the patch. Please try again, the patch 
> is always at:
> 
> http://gahr.ch/FreeBSD/patches/_pending/directfb_complete.diff
> 
> Thanks!

Hi again,

the port now builds/installs fine, but unfortunately leads to the same situation
as my previous tests :/. I have defined WITH_SDL and WITH_X11, but I still
cannot use -vo directfb with mplayer (compiled with directfb support).

% env DFBARGS=system=sdl ./mplayer -vo directfb test.avi

     =======================|  DirectFB 1.1.1  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-04-16 09:15)
(!) DirectFB/core/system: No system found!
vo_directfb2.c <269>:
        (#) DirectFBError [DirectFBCreate (&dfb)]: No (suitable) implementation
found!

(same error with DFBARGS=system=x11)

% dfbinfo --dfb:system=sdl

     =======================|  DirectFB 1.1.1  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-04-16 09:54)
(*) Direct/Memcpy: Using Generic 64bit memcpy()
(*) Direct/Thread: Running 'SDL Input' (INPUT, 55714)...
(*) DirectFB/Input: SDL Input 0.1 (Denis Oliver Kropp)
(*) DirectFB/Graphics: SDL Graphics 0.1 (directfb.org)
(*) Direct/Thread: Running 'Screen Update' (OUTPUT, 55714)...
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/Genefx: Could not lock destination!
    --> Not supported!
(!) Core/LayerRegion: Could not lock region surface for SetRegion()!
    --> Not supported!
(!) Core/LayerRegion: realize_region() in dfb_layer_region_flip_update() failed!
    --> Not supported!


Screen (00) SDL Primary Screen              (primary screen)
   Caps:

     Layer (00) SDL Primary Layer               (primary layer)
        Type:    GRAPHICS
        Caps:    SURFACE


Input (00) SDL Input                       (primary keyboard)
   Type: KEYBOARD MOUSE JOYSTICK
   Caps: KEYS AXES BUTTONS
   Max. Axis: 0
   Max. Button: 0

% dfbinfo --dfb:system=x11

     =======================|  DirectFB 1.1.1  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-04-16 09:54)
(*) Direct/Memcpy: Using Generic 64bit memcpy()
(*) X11/Display: Depth 24
(*) X11/Display:     Visual (35) 0x00ff0000, 0x0000ff00, 0x000000ff, 8 bits, 256
entries
(*) X11/Display:     Visual (36) 0x00ff0000, 0x0000ff00, 0x000000ff, 8 bits, 256
entries
(*) X11/Display:     Visual (37) 0x00ff0000, 0x0000ff00, 0x000000ff, 8 bits, 256
entries
(*) X11/Display:     Visual (38) 0x00ff0000, 0x0000ff00, 0x000000ff, 8 bits, 256
entries
(*) X11/Display:     Visual (39) 0x00ff0000, 0x0000ff00, 0x000000ff, 8 bits, 256
entries
(*) X11/Display:     Visual (40) 0x00ff0000, 0x0000ff00, 0x000000ff, 8 bits, 256
entries
(*) X11/Display:     Visual (41) 0x00ff0000, 0x0000ff00, 0x000000ff, 8 bits, 256
entries
(*) X11/Display:     Visual (42) 0x00ff0000, 0x0000ff00, 0x000000ff, 8 bits, 256
entries
(*) X11/Display: Depth 1
(*) X11/Display: Depth 4
(*) X11/Display: Depth 8
(*) X11/Display: Depth 15
(*) X11/Display: Depth 16
(*) X11/Display: Depth 32
(*) X11/Display:     Visual (99) 0x00ff0000, 0x0000ff00, 0x000000ff, 8 bits, 256
entries
(*) Direct/Thread: Running 'X11 Input' (INPUT, 55718)...
(*) DirectFB/Input: X11 Input 0.1 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)


Screen (00) X11 Primary Screen              (primary screen)
   Caps:

     Layer (00) X11 Primary Layer               (primary layer)
        Type:    GRAPHICS
        Caps:    SURFACE


Input (00) X11 Input                       (primary keyboard)
   Type: KEYBOARD MOUSE JOYSTICK
   Caps: KEYS AXES BUTTONS
   Max. Axis: 0
   Max. Button: 0



If I remember correctly, I managed to bypass this 'no system found' error by
replacing two readdir_r calls by readdir ones (weird...), but directfb failed
afterwards, so I gave up (you can see those two additional patches in the port
tarball of my previous post).

Best regards,

Ganaël LAPLANCHE
ganael.laplanche at martymac.com
http://www.martymac.com



More information about the freebsd-ports mailing list