Mailing List archive

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

[linuxtv-softmpeg] libsoftmeg on Matrox G550 problem



Hello all,

I'm having troubles getting libsoftmpeg to run. The problem is that the
screen only turns black.

This is my configuration:

Matrox G550 graphics card:
pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x102b device 0x2527
 Matrox Graphics, Inc. MGA G550 AGP

Kernel: 2.6.7-gentoo-r11

DirectFB: cvs 2004-08-01

libsoftmpeg: cvs 2004-08-01

VDR: 1.3.11


Everything seems to compile well. Now, when I run

# ./vdr -P"softmpeg"

I get the following output:

[softmpeg] initializing Plugin
[softmpeg] cSoftMPEG
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.

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

(*) DirectFB/Core: Single Application Core. (with MMX support) (2004-08-13
00:19)
(*) Direct/Memcpy: Forced to use MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 9688)...
(*) Direct/Modules: suppress module 'joystick'
(*) Direct/Modules: suppress module 'ps2mouse'
(*) Direct/Modules: suppress module 'lirc'
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 9690)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Matrox G550 0.7 (convergence integrated media GmbH)
(*) DirectFB/WM: Default 0.1 (Convergence GmbH)
 (!!!)  *** WARNING [no video mode set yet] *** [layers.c:536 in
dfb_screen_rectangle()]
using videolayer
{-} [ 9674:   0.000] SoftMPEG/init/setting up DirectFB: layer_id:2
window_id:-1
 (!!!)  *** WARNING [no video mode set yet] *** [layers.c:536 in
dfb_screen_rectangle()]
{-} [ 9674:   0.158] SoftMPEG/init/using layer configuration for video
output via DirectFB
{!} [ 9674:   0.159] SoftMPEG - ERROR in video_decoder_create at
video.c:111:  **********************************************************
{!} [ 9674:   0.159] SoftMPEG - ERROR in video_decoder_create at
video.c:112:  * your vertical refresh rate is  62 Hz, while 50 Hz is   *
{!} [ 9674:   0.159] SoftMPEG - ERROR in video_decoder_create at
video.c:113:  * the natural refresh rate of the video material. have a *
{!} [ 9674:   0.160] SoftMPEG - ERROR in video_decoder_create at
video.c:114:  * look at the docs to learn to set a correct fb mode.    *
{!} [ 9674:   0.160] SoftMPEG - ERROR in video_decoder_create at
video.c:115:  * libsoftmpeg does it's best to assure a/v sync anyway   *
{!} [ 9674:   0.160] SoftMPEG - ERROR in video_decoder_create at
video.c:116:  * but don't complain about jerky video now! ;-)          *
{!} [ 9674:   0.161] SoftMPEG - ERROR in video_decoder_create at
video.c:117:  **********************************************************
(*) Direct/Interface: Loaded 'default' implementation of 'IFusionSound'.
(*) Direct/Thread: Running 'Sound Mixer' (CRITICAL, 9699)...
[softmpeg] MakePrimaryDevice
...

with the following directfbrc:

# cat /etc/directfbrc
matrox-crtc2
mode=720x576-50-16
#mode=800x600

matrox-tv-standard=pal
#matrox-sgram
matrox-cable-type=composite
primary-layer=1
disable-module=joystick
disable-module=ps2mouse
disable-module=lirc
depth=32

# necessary ?
bg-color = 0
no-cursor
memcpy = mmxext
tmpfs = /dev/shm


This is /etc/fb.modes:

# cat /etc/fb.modes
#
#   DirectFB video modes, should be placed into "/etc"
#

mode "768x576-50-16"
    # D: 30.274 MHz, H: 37.701 kHz, V: 50.001 Hz
    geometry 768 576 768 576 16
    timings 31169 30 5 110 55 48 13
endmode

mode "768x576-50-32"
    # D: 30.274 MHz, H: 37.701 kHz, V: 50.001 Hz
    geometry 768 576 768 576 32
    timings 31169 30 5 110 55 48 13
endmode

mode "720x576-50-32"
    geometry 720 576 720 576 32
    timings 31208 144 40 32 10 128 3
endmode

mode "720x576-50-16"
    geometry 720 576 720 576 16
    timings 31208 144 40 32 10 128 3
endmode


When I comment out the first line in directfbrc:

#matrox-crtc2

I get the follwing errors:

# ./vdr -P"softmpeg"
[softmpeg] initializing Plugin
[softmpeg] cSoftMPEG
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.

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

(*) DirectFB/Core: Single Application Core. (with MMX support) (2004-08-13
00:19)
(*) Direct/Memcpy: Forced to use MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 9729)...
(*) Direct/Modules: suppress module 'joystick'
(*) Direct/Modules: suppress module 'ps2mouse'
(*) Direct/Modules: suppress module 'lirc'
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 9731)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Matrox G550 0.7 (convergence integrated media GmbH)
(*) DirectFB/WM: Default 0.1 (Convergence GmbH)
 (!!!)  *** WARNING [no video mode set yet] *** [layers.c:536 in
dfb_screen_rectangle()]
could not find suitable videolayer - using window on primary layer
{-} [ 9716:   0.000] SoftMPEG/init/setting up DirectFB: layer_id:0
window_id:1
{-} [ 9716:   0.000] SoftMPEG/init/unsupported pixelformat for the
destination surface, no hw acceleration available.{!} [ 9716:   0.000]
SoftMPEG - ERROR in video_decoder_create at video.c:105:  initialization of
video output device failed.
{!} [ 9716:   0.001] SoftMPEG - ERROR in softmpeg_decoder_create at
softmpeg.c:213:  ocreating video decoder instance failed
[softmpeg] MakePrimaryDevice
...



Does anyone have a hint what's wrong ?
Is directfbrc and fb.modes correct ?
Do I need some configure options for the compilation of DirectFB ?
Is there a problem with my kernel ?
Which components do I have to compile in ?  Do I need some kernel options ?
Do I need some patches ?

Any help is appreciated.

Thanks, Th.






Home | Main Index | Thread Index