DirectFB - Home of the pragmatist Roadmap


[directfb-users] Kernel 2.6.10, mplayer 1.0pre6a and directfb-0.9-22
Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[directfb-users] Kernel 2.6.10, mplayer 1.0pre6a and directfb-0.9-22



mmm
I've resolved my problem in compiling directfb 0.9-21 stable.
After download vanilla kernel 2.6.10 i've applied fusion-full-linux-2.6.9.patch, and i've compiled fusion support static in this new kernel. It has compiled fine.
After that, i've copied fusion.h to /usr/include/linux and i've proceded with cvs version of directfb (0.9-22). Also this has compiled fine.
Finally, i've compiled mplayer 1.0pre6a with support for directfb...this one compiled well too.
Btw, when i try this, i've got some problem related to fusion:

-----------------------------------------------------------------------------------------------------------------------------------------------------

# ./mplayer -fs /p2p/futurama/3Acv/3.8\ Futurama\ -\ Un\ gambero\ da\ ridere.rm
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE


Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such device
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.
Playing /p2p/futurama/3Acv/3.8 Futurama - Un gambero da ridere.rm.
Cache fill: 0.00% (0 bytes) REAL file format detected.
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 44100
avg byte/sec: 44100
Block align: 640
bits/sample: 16
cbSize: 18
Unknown extra header dump: [80] [0] [10] [0] [5] [0] [80] [2] [8] [0] [1] [0] [0] [2] [4] [0] [0] [2f]
===========================
Not audio/video stream or unsupported!
VIDEO: RV30 [30202002,010A9030] 368x284 (aspect 0.00) 25.00 fps
VIDEO: [RV30] 368x284 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: Un gambero da ridere - 3ACV08
author: www.drhibbert.it
copyright: 20th Century Fox
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/opt/share/codecs/cook.so.6.0'
Audio codec: [5] 44 Kbps Music
Audio bitrate: 44.100 kbit/s (5513 bps)
AUDIO: 44100 Hz, 1 ch, 16 bit (0x10), ratio: 5513->88200 (44.1 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
(*) DirectFB/Config: Parsing config file '/root/.directfbrc'.

---------------------- DirectFB v0.9.22 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------

(*) DirectFB/Core: Multi Application Core. (2005-01-19 10:48)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(!) Fusion/Init: FUSION_GET_ID failed!
--> Function not implemented
vo_dfbmga: DirectFBCreate() failed - Fusion IPC error detected!
Error opening/initializing the selected video_out (-vo) device.


Exiting... (End of file)

-----------------------------------------------------------------------------------------------------------------------------------------------------

here's my configuration options for directfb and mplayer:

$ CFLAGS="-march=pentium3 -mcpu=pentium3" ./autogen.sh --prefix=/opt --enable-fbdev --enable-extra-warnings --enable-gettid --enable-text --enable-unique --enable-multi --enable-sdl --enable-sysfs --enable-jpeg --enable-zlib --enable-png --enable-gif --enable-freetype --disable-video4linux --disable-video4linux2 --with-gfxdrivers=matrox --with-inputdrivers=dbox2remote,joystick,keyboard,linuxinput,lirc,ps2mouse,serialmouse,sonypijogdial --with-tools

$ ./configure --prefix=/opt --disable-gui --enable-largefiles --enable-lirc --enable-joystick --disable-tv --disable-tv-v4l --disable-tv-v4l2 --disable-tv-bsdbt848 --disable-edl --disable-network --disable-winsock2 --disable-smb --enable-menu --disable-enca --disable-macosx --disable-inet6 --disable-gethostbyname2 --disable-ftp --enable-gif --enable-png --enable-jpeg --disable-vidix --disable-gl --disable-dga --disable-svga --enable-sdl --enable-mga --disable-x11 --disable-xinerama --disable-xmga --disable-xv --disable-xvmc --disable-vm --enable-fbdev --disable-mlib --disable-3dfx --disable-tdfxfb --enable-directfb --disable-zr --disable-bl --disable-tdfxvid --disable-ossaudio --enable-alsa --disable-select --with-codecsdir=/opt/share/codecs --with-win32libdir=/opt/share/codecs --with-extraincdir=/opt/include --with-extralibdir=/opt/lib --with-reallibdir=/opt/share/codecs


As i can understand, maybe problem is due to --enable-gettid (default value)
Trying now, disabling it...




Home | Main Index | Thread Index


directfb.org / Development / Old Archives