Sven Neumann wrote:
> at least the avifile provider works fine here (I haven't tested swf).
> Can you make sure that the videoproviders DirectFB loads are compiled
> against the same version of DirectFB? Perhaps the videoproviders have
> not been rebuilt for some reason and DirectFB tries loads some old
> incompatible modules.
I thought so too, that was the reason why I used a clean install of
Linux on another machine and then only installed the CVS versions of
DirectFB and DirectFB-examples.
Anyway, just to be sure I reinstalled after executing "make uninstall"
in both DireftFB and DirectFB-examples and removing recursively
/usr/local/lib/directfb and /usr/local/include/directb-internal.
I then performed the usual "make distclean; ./configure --enable-debug;
make install"
... the problem persists :-(
I include the logs produced by "df_window" (which worked) and "df_window
file.avi" and "df_window file.swf"
I'm clueless ...
Ottone
produced by df_window avifile
libwin32.so.0: found 27 plugins
libmpeg_audiodec.so.0: found 1 plugin
libmp3lame_audioenc.so.0: found 1 plugin
libaudiodec.so.0: found 4 plugins
Available CPU flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr sse
863.886 MHz Pentium III (Coppermine) processor detected
(-) DirectFB/Config: Unable to open config file `/etc/directfbrc'!
(-) DirectFB/Config: Unable to open config file `/root/.directfbrc'!
(*) Single Application Core. (with MMX support)
(-) DirectFB/misc/memcpy: Benchmarking memcpy methods (smaller is better):
(-) DirectFB/misc/memcpy: glibc memcpy() : 98122
(-) DirectFB/misc/memcpy: linux kernel memcpy() : 78943
(-) DirectFB/misc/memcpy: MMX optimized memcpy() : 80836
(-) DirectFB/misc/memcpy: MMXEXT optimized memcpy() : 86569
(-) DirectFB/misc/memcpy: SSE optimized memcpy() : 105512
(*) DirectFB/misc/memcpy: using linux kernel memcpy()
(-) DirectFB/Core: fusion id 1
(-) DirectFB/Core: we are the master, initializing...
(*) 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/core/surfacemanager: Allocated 10240 bytes at offset 8374272.
(*) DirectFB/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
(*) DirectFB/Interface: Loaded 'AviFile' implementation of 'IDirectFBVideoProvider'.
----------------------- DirectFB v0.9.9 ---------------------
(c)2000-2002 convergence integrated media GmbH
-----------------------------------------------------------
Stream 0: 73646976:33766964, 146071 chunks
Cache: Adding stream 0, 146071 chunks
Stream 1: 73647561:0, 233221 chunks
Cache: Adding stream 1, 233221 chunks
Cache: Creating cache for file descriptor: 11
Successfully initialized stream 0
Chunk table size 146071, format size 40
Successfully initialized stream 1
Chunk table size 233221, format size 30
Successfully opened /mnt/media/DivX/vite-divx-ffantasy.avi. 1 video streams, 1 audio
streams
Length 146071
File /mnt/media/DivX/vite-divx-ffantasy.avi successfully opened
2 streams
Audio in MPEG Layer-1/2 format
src [wFormatTag=85, nChannels=2, nSamplesPerSec=44100, nAvgBytesPerSec=15963,
nBlockAlign=1152, wBitsPerSample=16, cbSize=12]
dst [wFormatTag=1, nChannels=2, nSamplesPerSec=44100, nAvgBytesPerSec=176400,
nBlockAlign=4, wBitsPerSample=16, cbSize=0]
Initializing registry
Using DirectShow codec: /usr/lib/win32/divx_c32.ax
Decoder is capable of YUV output ( flags 0x1d )
Video Depth 16
(!) ---> CAUGHT SIGNAL 11 <---
(-) switching back...
(-) switched back...
successfull run of df_window (with no arguments)
libwin32.so.0: found 27 plugins
libmpeg_audiodec.so.0: found 1 plugin
libmp3lame_audioenc.so.0: found 1 plugin
libaudiodec.so.0: found 4 plugins
Available CPU flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr sse
863.886 MHz Pentium III (Coppermine) processor detected
(-) DirectFB/Config: Unable to open config file `/etc/directfbrc'!
(-) DirectFB/Config: Unable to open config file `/root/.directfbrc'!
(*) Single Application Core. (with MMX support)
(-) DirectFB/misc/memcpy: Benchmarking memcpy methods (smaller is better):
(-) DirectFB/misc/memcpy: glibc memcpy() : 98112
(-) DirectFB/misc/memcpy: linux kernel memcpy() : 78948
(-) DirectFB/misc/memcpy: MMX optimized memcpy() : 80885
(-) DirectFB/misc/memcpy: MMXEXT optimized memcpy() : 87416
(-) DirectFB/misc/memcpy: SSE optimized memcpy() : 103385
(*) DirectFB/misc/memcpy: using linux kernel memcpy()
(-) DirectFB/Core: fusion id 1
(-) DirectFB/Core: we are the master, initializing...
(*) 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/core/surfacemanager: Allocated 10240 bytes at offset 8374272.
(*) DirectFB/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
(*) DirectFB/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'.
(-) DirectFB/Media: PNG Provider Construct
'/usr/local/share/directfb-examples/desktop.png'
(-) DirectFB/core/surfacemanager: Allocated 19968 bytes at offset 8354304.
(-) DirectFB/core/surfacemanager: Allocated 1572864 bytes at offset 6781440.
(-) IDirectFBWindow_Construct: window at 20 120, size 300x200
(-) DirectFB/core/surfacemanager: Allocated 256000 bytes at offset 6525440.
(-) IDirectFBWindow_Construct: window at 200 200, size 512x145
(-) DirectFB/Media: PNG Provider Construct
'/usr/local/share/directfb-examples/dfblogo.png'
(-) DirectFB/core/surfacemanager: Allocated 296960 bytes at offset 6228480.
(-) deallocating...
(-) freeing chunk at 6525440
(-) deallocated.
(-) deallocating...
(-) freeing chunk at 6228480
(-) merging with previous chunk at 3145728
(-) freeing 0x806cf90 (prev 0x8053e08, next 0x8073588)
(-) merging with next chunk at 6525440
(-) deallocated.
(-) deallocating...
(-) freeing chunk at 6781440
(-) merging with previous chunk at 3145728
(-) freeing 0x8072288 (prev 0x8053e08, next 0x8072268)
(-) deallocated.
(-) deallocating...
(-) freeing chunk at 8354304
(-) merging with previous chunk at 3145728
(-) freeing 0x8072268 (prev 0x8053e08, next 0x8057bf8)
(-) deallocated.
(-) DirectFB/Core: shutting down!
(-) deallocating...
(-) freeing chunk at 8374272
(-) merging with previous chunk at 3145728
(-) freeing 0x8057bf8 (prev 0x8053e08, next (nil))
(-) deallocated.
(-) DirectFB/Matrox: FIFO Performance Monitoring:
(-) DirectFB/Matrox: 5007 matrox_waitfifo calls
(-) DirectFB/Matrox: 20605 register writes (matrox_waitfifo sum)
(-) DirectFB/Matrox: 87624 FIFO wait cycles (depends on CPU)
(-) DirectFB/Matrox: 0 IDLE wait cycles (depends on CPU)
(-) DirectFB/Matrox: 3401 FIFO space cache hits (depends on CPU)
(-) DirectFB/Matrox: Conclusion:
(-) DirectFB/Matrox: Average register writes/matrox_waitfifo call: 4.12
(-) DirectFB/Matrox: Average wait cycles/matrox_waitfifo call: 17.50
(-) DirectFB/Matrox: Average fifo space cache hits: 67%
(-) switching back...
(-) switched back...
(-) memory leak detected !!!
(-) alloc_count == 17
(-) chunk 0x80517c0 allocated in dfb_input_register_module (input.c: 246) not free'd !!
(-) chunk 0x804dec0 allocated in dfb_input_register_module (input.c: 246) not free'd !!
(-) chunk 0x8051da8 allocated in dfb_input_register_module (input.c: 246) not free'd !!
(-) chunk 0x8054cd8 allocated in dfb_graphics_register_module (gfxcard.c: 324) not
free'd !!
(-) chunk 0x8053f08 allocated in dfb_graphics_register_module (gfxcard.c: 324) not
free'd !!
(-) chunk 0x8054a40 allocated in dfb_graphics_register_module (gfxcard.c: 324) not
free'd !!
(-) chunk 0x804fd80 allocated in dfb_graphics_register_module (gfxcard.c: 324) not
free'd !!
(-) chunk 0x80581d8 allocated in DFBRegisterInterface (interface.c: 62) not free'd !!
(-) chunk 0x80590b8 allocated in DFBGetInterface (interface.c: 192) not free'd !!
(-) chunk 0x8059538 allocated in DFBRegisterInterface (interface.c: 62) not free'd !!
(-) chunk 0x8059560 allocated in DFBGetInterface (interface.c: 192) not free'd !!
(-) chunk 0x805c608 allocated in DFBRegisterInterface (interface.c: 62) not free'd !!
(-) chunk 0x8067470 allocated in DFBGetInterface (interface.c: 192) not free'd !!
(-) chunk 0x8067630 allocated in DFBRegisterInterface (interface.c: 62) not free'd !!
(-) chunk 0x8067658 allocated in DFBGetInterface (interface.c: 192) not free'd !!
(-) chunk 0x8068cc0 allocated in DFBRegisterInterface (interface.c: 62) not free'd !!
(-) chunk 0x8068f80 allocated in DFBGetInterface (interface.c: 192) not free'd !!
----------------------- DirectFB v0.9.9 ---------------------
(c)2000-2002 convergence integrated media GmbH
-----------------------------------------------------------
produced by df_window swffile
libwin32.so.0: found 27 plugins
libmpeg_audiodec.so.0: found 1 plugin
libmp3lame_audioenc.so.0: found 1 plugin
libaudiodec.so.0: found 4 plugins
Available CPU flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr sse
863.886 MHz Pentium III (Coppermine) processor detected
(-) DirectFB/Config: Unable to open config file `/etc/directfbrc'!
(-) DirectFB/Config: Unable to open config file `/root/.directfbrc'!
(*) Single Application Core. (with MMX support)
(-) DirectFB/misc/memcpy: Benchmarking memcpy methods (smaller is better):
(-) DirectFB/misc/memcpy: glibc memcpy() : 98112
(-) DirectFB/misc/memcpy: linux kernel memcpy() : 78944
(-) DirectFB/misc/memcpy: MMX optimized memcpy() : 80807
(-) DirectFB/misc/memcpy: MMXEXT optimized memcpy() : 86437
(-) DirectFB/misc/memcpy: SSE optimized memcpy() : 105266
(*) DirectFB/misc/memcpy: using linux kernel memcpy()
(-) DirectFB/Core: fusion id 1
(-) DirectFB/Core: we are the master, initializing...
(*) 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/core/surfacemanager: Allocated 10240 bytes at offset 8374272.
(*) DirectFB/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
(!) ---> CAUGHT SIGNAL 11 <---
(-) switching back...
(-) switched back...