I thought I should ask the obvious question before delving into details - has anybody tried this configuration:
Gentoo Linux
mplayer (1.0pre5 - not the latest but I have other issues with later versions.)
amd64
DirectFB-0.9.24
Matrox G450

I'm using the dfbmga output driver in mplayer.

This setup *does* work with DirectFB-0.9.22 - simply upgrading to DirectFB-0.9.24 seems to cause a problem. Changing back to DirectFB-0.9.22 fixes it again...

This same configuration (with 0.9.24) *does* work on a 32-bit Pentium3 machine (still Gentoo, mplayer 1.0pre5, Matrox G450 etc.)

I tried running the failing version within gdb, and get this:

# gdb mplayer GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run 2001.vob
Starting program: /usr/local/bin/mplayer 2001.vob
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46912546041184 (LWP 30604)]
MPlayer 1.0pre5-3.4.4 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices 64-bit CPU
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Input config file /root/.mplayer/input.conf parsed: 54 binds
Setting up LIRC support...
Menu inited: /root/.mplayer/menu.conf
Loading config '2001.vob.conf'
Reading config file 2001.vob.conf

Playing 2001.vob.
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  7500.0 kbps (937.5 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
No accelerated IMDCT transform found
AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
No accelerated resampler found
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.

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

(*) DirectFB/Core: Multi Application Core. (2005-11-25 21:28)
(*) Direct/Memcpy: Using Generic 64bit memcpy()
[New Thread 1082132832 (LWP 30607)]
(*) Direct/Thread: Running 'Fusion Dispatch' (MESSAGING, 30607)...
[New Thread 1090525536 (LWP 30612)]
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 30612)...
[New Thread 1098918240 (LWP 30613)]
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 30613)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
[New Thread 1107310944 (LWP 30614)]
(*) Direct/Thread: Running 'LiRC Input' (INPUT, 30614)...
(*) DirectFB/Input: LIRC Device 0.2 (convergence integrated media GmbH)
[New Thread 1115703648 (LWP 30615)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 30615)...
(*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (convergence integrated media GmbH)
[New Thread 1124096352 (LWP 30616)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 30616)...
(*) DirectFB/Input: PS/2 Generic Mouse (2) 0.1 (convergence integrated media GmbH)
[New Thread 1132489056 (LWP 30617)]
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 30617)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Graphics: Matrox G450 0.7 (directfb.org)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
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)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
ALSA lib timer_hw.c:269:(snd_timer_hw_open) extended read is not supported (SNDRV_TIMER_IOCTL_TREAD) alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 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 - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [dfbmga] 720x576 => 1024x576 Planar YV12  [fs]
vo_dfbmga: Video surface 720x576 YV12
vo_dfbmga: Field parity set to: Don't care
vo_dfbmga: CRTC2 using triple buffering
vo_dfbmga: CRTC2 surface 720x576 YV12

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912546041184 (LWP 30604)]
0x00002aaaaede2324 in maven_init () from /usr/lib64/directfb-0.9.24/gfxdrivers/libdirectfb_matrox.so
(gdb) bt
#0 0x00002aaaaede2324 in maven_init () from /usr/lib64/directfb-0.9.24/gfxdrivers/libdirectfb_matrox.so #1 0x00002aaaacf5d8f3 in dfb_layer_region_disable () from /usr/lib64/libdirectfb-0.9.so.24 #2 0x00002aaaacf5da59 in dfb_layer_region_enable () from /usr/lib64/libdirectfb-0.9.so.24 #3 0x00002aaaacf5bbe8 in dfb_layer_context_set_configuration () from /usr/lib64/libdirectfb-0.9.so.24 #4 0x00002aaaacf5c1d1 in dfb_layer_context_get_primary_region () from /usr/lib64/libdirectfb-0.9.so.24 #5 0x00002aaaacf38dd8 in IDirectFBDisplayLayer_Construct () from /usr/lib64/libdirectfb-0.9.so.24 #6 0x00002aaaacf32ddc in IDirectFB_SetAppFocus () from /usr/lib64/libdirectfb-0.9.so.24 #7 0x00002aaaacf5e27e in dfb_layers_enumerate () from /usr/lib64/libdirectfb-0.9.so.24 #8 0x00002aaaacf3227c in DirectFBCreate () from /usr/lib64/libdirectfb-0.9.so.24
#9  0x000000000043895a in ?? ()
#10 0x00002aaaacf32d60 in IDirectFB_SetAppFocus () from /usr/lib64/libdirectfb-0.9.so.24 #11 0x00002aaaacf5e27e in dfb_layers_enumerate () from /usr/lib64/libdirectfb-0.9.so.24 #12 0x00002aaaacf32235 in DirectFBCreate () from /usr/lib64/libdirectfb-0.9.so.24
#13 0x0000000000439691 in ?? ()
#14 0x000000000046db89 in ?? ()
#15 0x0000000000467b1a in ?? ()
#16 0x00000000004696ca in ?? ()
#17 0x00000000004674fc in ?? ()
#18 0x000000000041012b in ?? ()
#19 0x00002aaaad19a674 in __libc_start_main () from /lib/tls/libc.so.6


...So this looks like possibly something bad happened in maven_init(). Is this enough to give someone a clue?

I will happily do some more investigation if someone would be kind enough to suggest some things for me to have a look at. It would be good to get this working on the amd64 platform as I am writing some stuff myself using DirectFB and want to be using the more recent (0.9.24) implementation.

Meanwhile I'm stuck at 0.9.22...

I didn't try 0.9.23 as it didn't exist long enough for the Gentoo guys to make an ebuild for it. In fact I raised the bug to get the ebuild for 0.9.23 and by the time I sent it there was 0.9.24... ;)

Regards,
James.


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to