sofdevice compile probleme

  • Seit ein paar tage versuche ich mir einen VDR zu bauen. Es basiert auf fedora 1 und 2.4.26 kernel. Die grafik karte ist eine matrox G450, DVB karte eine SS2. TV out hab ich geschaft. Mplayer mit DirectFB funktioniert prima. DVB drivers sind auch ok. Und VDR ist kompiliert(??? schlechets deutsch). Jetzt ist nur noch der softdevice plugin geblieben. Habe alle eintrage fuer video support auser DFB rauskomentiert.
    Das resultat:


    Entering directory `/usr/local/src/VDR/PLUGINS/src/softdevice-0.1.1'
    g++ -O2 -Wall -Woverloaded-virtual -L/usr/local/include/ffmpeg/ -c -DUSE_MMX -DUSE_MMX2 -DPLUGIN_NAME_I18N='"softdevice"' -D_GNU_SOURCE -DPLUGINLIBDIR='"./PLUGINS/lib"' -DUSE_SUBPLUGINS -DDFB_SUPPORT -I../../../include -I../../../../DVB/include -I/usr/local/include/ffmpeg/ -I/usr/local/include/dfb++ -I/usr/local/include/directfb softdevice.c
    In file included from softdevice.c:53:
    video-dfb.h:13:19: dfb++.h: No such file or directory
    make[1]: *** [softdevice.o] Error 1
    make[1]: Leaving directory `/usr/local/src/VDR/PLUGINS/src/softdevice-0.1.1'
    make[1]: Entering directory `/usr/local/src/VDR/PLUGINS/src/status'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/VDR/PLUGINS/src/status'


    Hier komm ich einfach nicht weiter. Bitte um hilfe.


    Gruesse
    Stjepan

  • Dankesehr, jetzt bin ich ein stuck weiter. Sofdevice ist ubersetzt.


    Aber ich bin wieder hangen geblieben:
    ich starte vdr:
    /usr/local/bin/vdr -L /usr/local/src/VDR/PLUGINS/lib -P softdevice -vo dfb:dfbmga -c /video


    und alles was ich bekomme ist:


    [softdevice] processing args
    [softdevice] argv [0] = softdevice
    [softdevice] initializing Plugin
    [softdevice] Initializing Video Out
    [softdevice] ffmpeg version(0.4.9-pre1) build(4752)


    uUnd dan wieder mein prompt.


    Ich glaube das etwas mit ffmpeg nicht stimmt oder ?

  • Versuchs mal mit:


    /usr/local/bin/vdr --help -L /usr/local/src/VDR/PLUGINS/lib -P "softdevice -L /usr/local/src/VDR/PLUGINS/lib -vo dfb:mgatv" -c /video


    oder:


    /usr/local/bin/vdr -L /usr/local/src/VDR/PLUGINS/lib -P "softdevice -L /usr/local/src/VDR/PLUGINS/lib -vo dfb:" -c /video


    oder:

    /usr/local/bin/vdr -L /usr/local/src/VDR/PLUGINS/lib -P "softdevice -L /usr/local/src/VDR/PLUGINS/lib -vo dfb:mgatv" -c /video


    Stefan Lucke

  • Schnell löschen, bevor ich mich total blamiere :)


    Aber bevor ich jetzt schon wieder nen neuen Thread aufmache...


    Ich bekomme hier solche Meldungen...


    T -DVIDIX_SUPPORT -DVIDIX_DIR=\"/usr//lib/vidix/\" -DFBDEV=\"/dev/fb0\" -DPP_LIBAVCODEC -DSUSPEND_BY_KEY -I../../../include -I../../../../DVB/include -I/usr/include/ffmpeg/ -I/usr/include/dfb++ -I/usr/include/directfb -I/usr//include/vidix video-dfb.c
    video-dfb.c: In function `void reportCardInfo(IDirectFB*)':
    video-dfb.c:159: error: `DFBCardCapabilities' undeclared (first use this function)
    video-dfb.c:159: error: (Each undeclared identifier is reported only once for each function it appears in.)
    video-dfb.c:159: error: expected `;' before "caps"
    video-dfb.c:161: error: 'class IDirectFB' has no member named 'GetCardCapabilities'
    video-dfb.c:161: error: `caps' undeclared (first use this function)
    make[1]: *** [video-dfb.o] Error 1
    make[1]: Leaving directory `/usr/local/src/vdr-1.3.23/PLUGINS/src/softdevice-0.1.1'


    Im CVS von gestern gibbet diese auch keine IDirectFB_GetCardCapabilities mehr. Und nü ???


    Greets Olaf

    Ollie jetzt auch im Internet !!! ->> http://www.ohms.ws << VDR mit ASUS A7V8X-X, Athlon XP 2 Ghz, 512 MB DDR-RAM und gentoo 2008.0 Linux, ner Menge Platten (1 TB), 2 Brennern und Karten-Vollausstattung (1 X Nexus 4 MB Mod, 3 x Nova, 1 PVR 350) , TFT/Sony PSOne, Nvidia Graka und und und * Linux - wir geben ihrem Computer das Leben zurück *

    5 Mal editiert, zuletzt von olafhenkel ()


  • Den Inhalt der Funktion reportCardInfo mit #if 0 .. #endif auskommentieren.


    Das DFB API hat sich halt geändert :-(( und es gibt keinen einfachen Weg das zu erkennen. Patches für ein configure Script, das diese Unterschiede rausarbeitet sind natürlich willkommen.


    Stefan Lucke

  • Das wars dann wohl erst mal für mich...


    Wie du weisst, Stefan, brauch ich ja wegen meiner blöden NV30 bzw. FX5200-Graka ne neue Version von DirectFB, aber wenn man das auskommentiert, fliegen dir noch mehr Sachen um die Ohren.



    [QUOTE]video-dfb.c: In function `void reportCardInfo(IDirectFB*)':
    video-dfb.c:158: error: invalid token
    video-dfb.c:158: error: `ifdef' undeclared (first use this function)
    video-dfb.c:158: error: (Each undeclared identifier is reported only once for each function it appears in.)
    video-dfb.c:159: error: expected `;' before "DFBCardCapabilities"
    video-dfb.c:161: error: 'class IDirectFB' has no member named 'GetCardCapabilities'
    video-dfb.c:161: error: `caps' undeclared (first use this function)
    video-dfb.c:198:2: #endif without #if
    video-dfb.c:203: error: a function-definition is not allowed here before '{' token
    video-dfb.c:203: error: expected `,' or `;' before '{' token
    video-dfb.c:227: error: a function-definition is not allowed here before '{' token
    video-dfb.c:227: error: expected `,' or `;' before '{' token
    video-dfb.c:234: error: expected primary-expression before '(' token
    video-dfb.c:234: error: expected primary-expression before '*' token
    video-dfb.c:235: error: expected `;' before ':' token
    video-dfb.c:487: error: expected primary-expression before "bool"
    video-dfb.c:487: error: expected `;' before "bool"
    video-dfb.c:508: error: expected primary-expression before "void"
    video-dfb.c:508: error: expected `;' before "void"
    video-dfb.c:538: error: expected primary-expression before "void"
    video-dfb.c:538: error: expected `;' before "void"
    video-dfb.c:776: error: expected primary-expression before "void"
    video-dfb.c:776: error: expected `;' before "void"
    video-dfb.c:785: error: a function-definition is not allowed here before '{' token
    video-dfb.c:785: error: expected `,' or `;' before '{' token
    video-dfb.c:797: error: expected primary-expression before "void"
    video-dfb.c:797: error: expected `;' before "void"
    video-dfb.c:807: error: expected primary-expression before "void"
    video-dfb.c:807: error: expected `;' before "void"
    video-dfb.c:816: error: a function-definition is not allowed here before '{' token
    video-dfb.c:816: error: expected `,' or `;' before '{' token
    video-dfb.c:881: error: expected primary-expression before "void"
    video-dfb.c:881: error: expected `;' before "void"
    video-dfb.c:910: error: expected primary-expression before "void"
    video-dfb.c:910: error: expected `;' before "void"
    video-dfb.c:961: error: a function-definition is not allowed here before '{' token
    video-dfb.c:961: error: expected `,' or `;' before '{' token
    video-dfb.c:1137: error: no matching function for call to `cDFBVideoOut::cDFBVideoOut()'
    video-dfb.h:48: note: candidates are: virtual cDFBVideoOut::~cDFBVideoOut()
    video-dfb.c:1138: error: expected `;' before '{' token
    video-dfb.c:1152: error: expected primary-expression before "extern"
    video-dfb.c:1152: error: expected `;' before "extern"
    video-dfb.c:1156: error: expected `}' at end of input
    video-dfb.c: At global scope:
    video-dfb.c:115: warning: 'DFBEnumerationResult EnumCallBack(unsigned int, DFBDisplayLayerDescription, void*)' defined but not used
    video-dfb.c:158: warning: 'void reportCardInfo(IDirectFB*)' defined but not used
    make[1]: *** [video-dfb.o] Error 1[QUOTE]


    Alsooo, wir lassen es wohl besser ;-))


    Greets Olaf

    Ollie jetzt auch im Internet !!! ->> http://www.ohms.ws << VDR mit ASUS A7V8X-X, Athlon XP 2 Ghz, 512 MB DDR-RAM und gentoo 2008.0 Linux, ner Menge Platten (1 TB), 2 Brennern und Karten-Vollausstattung (1 X Nexus 4 MB Mod, 3 x Nova, 1 PVR 350) , TFT/Sony PSOne, Nvidia Graka und und und * Linux - wir geben ihrem Computer das Leben zurück *

    2 Mal editiert, zuletzt von olafhenkel ()


  • Play it again ..


    Stefan Lucke

  • So, also nochma das CVS-Softdevice von heute gezogen, dann das DFB-Geraffels auskommentiert und das ganze nochmal durch den Compiler gejagt...


    Bild hab ich, Ton kommt vom J2 der DVB-Karte, denn über ALSA scheinst nicht zu gehen...nuja, ich hab noch OSS im Boot (für das mp3-Plugin)


    ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
    ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
    ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
    [softdevice] allocating picture buffer for resolution 720x576
    ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
    ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
    ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe


    Abgesehen davon ruckelt das Bild ab und an, das hatte ich früher net so.


    Ansonsten ist der XV-Treiber immer noch die erste Wahl :)


    Greets Olaf


    EDIT: Die Lösung des Problems gibt es dann hier ...-> http://www.vdr-portal.de/board/thread.php?threadid=33355&sid=&hilight=softdevice&hilightuser=794

    Ollie jetzt auch im Internet !!! ->> http://www.ohms.ws << VDR mit ASUS A7V8X-X, Athlon XP 2 Ghz, 512 MB DDR-RAM und gentoo 2008.0 Linux, ner Menge Platten (1 TB), 2 Brennern und Karten-Vollausstattung (1 X Nexus 4 MB Mod, 3 x Nova, 1 PVR 350) , TFT/Sony PSOne, Nvidia Graka und und und * Linux - wir geben ihrem Computer das Leben zurück *

    Einmal editiert, zuletzt von olafhenkel ()

  • Hier bin ich wieder mit meinen newbie fragen...
    Mit dfb: bekomm ich vdr zum laufen. Am monitor erscheint der menu, aber leider kein tv-bild. Wie kann ich erkennen ob ich probleme mit softdevice habe, oder mit dvb settings/drivers. (mit xine hab funktioniert dvb).
    Wenn ich mit dfb:mgatv starte gibts garnicht, (kein bild af dem fernseher).


    Output beim ersten fall (ich glaube das sollte ich als erstes loesen und dan mit tv-out weiter probieren):


    [softdevice] processing args
    [softdevice] argv [0] = softdevice
    [softdevice] argv [1] = -L
    [softdevice] argv [3] = -vo
    [softdevice] initializing Plugin
    [softdevice] Initializing Video Out
    [softdevice] ffmpeg version(0.4.9-pre1) build(4752)
    [dfb] init
    (*) DirectFB/Config: Parsing config file '/etc/directfbrc'.


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


    (*) DirectFB/Core: Single Application Core. (2005-04-17 18:54)
    (*) Direct/Memcpy: Using SSE optimized memcpy()
    (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 2934)...
    (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 2935)...
    (!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:802]
    (*) DirectFB/Input: IMPS/2 Mouse (1) 1.0 (Convergence GmbH)
    (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 2936)...
    (*) DirectFB/Input: IMPS/2 Mouse (2) 1.0 (Convergence GmbH)
    (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 2937)...
    (*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
    (*) DirectFB/Genefx: MMX detected and enabled
    (*) DirectFB/Graphics: Matrox G450 0.7 (convergence integrated media GmbH)
    (*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
    [dfb] RAM: 33554432 bytes
    [dfb] Accellerated Functions: FillRectange DrawRectange DrawLine FillTriangle Blit StretchBlit All
    [dfb] Drawing Flags: Blend
    [dfb] Surface Blitting Flags: BlendAlpha BlendColorAlpha Colorize SrcColorkey Deinterlace
    [dfb] Supported video Modes are: 640x480@16 720x576@16 768x576@16 800x600@16 1024x768@16 1280x1024@16 1280x1024@16 1600x1200@16 640x400@16 400x300@16 320x240@16 320x200@16
    [dfb] Enumeratig display Layers
    Layer 0 FBDev Primary Layer Type: graphics
    Caps: brightness contrast saturation surface
    Layer 1 Matrox Backend Caps: brightness contrast deinterlacing dst_colorkey screen_location surface
    [surface capabilities] scrSurface: primary videoonly double-buffered flipping
    [dfb] width = 720, height = 576
    [dfb] got fmt = 0x00418c04 bpp = 32
    [dfb] Using this layer for OSD: (FBDev Primary Layer - [720x576])
    [surface capabilities] osdSurface: videoonly double-buffered flipping
    (!!!) *** WARNING [letting unprivileged IDirectFBDisplayLayer::GetSurface() call pass until cooperative level handling is finished] *** [idirectfbdisplaylayer.c:170 in IDirectFBDisplayLayer_GetSurface()]
    [surface capabilities] videoSurface: videoonly
    [dfb] Configuring CooperativeLevel for Overlay
    [dfb] Configuring CooperativeLevel for OSD
    [dfb] Using this layer for OSD: FBDev Primary Layer
    [dfb] Using this layer for Video out: Matrox Backend Scaler
    [dfb] (re)configuring Videolayer to 720 x 576 (720x576)
    [surface capabilities] videoSurface: videoonly double-buffered flipping
    [dfb] (re)configured 0x08100609
    Subplugin successfully opend
    [softdevice] Video Out seems to be OK
    [softdevice] Initializing Audio Out
    [softdevice] Audio out seems to be OK
    [softdevice] A/V devices initialized, now initializing MPEG2 Decoder
    cSoftDevice::MakePrimaryDevice
    [setup-softdevice] restoring setup state



    Danke fielmals fuer die hilfe soweit.

  • Zitat

    Original von olafhenkel
    So, also nochma das CVS-Softdevice von heute gezogen, dann das DFB-Geraffels auskommentiert und das ganze nochmal durch den Compiler gejagt...


    Bild hab ich, Ton kommt vom J2 der DVB-Karte, denn über ALSA scheinst nicht zu gehen...nuja, ich hab noch OSS im Boot (für das mp3-Plugin)


    ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
    ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe


    Versuchs mal ohne mp3 plugin. snd_pcm_hw_start() find ich nicht in audio.c von softdevice. Zum Abspielen von anderen Mediaformaten versuch doch mal das Plugin softplay von Martin Wache (cvs -z3 -d:pserver:anonymous@cvs.softdevice.berlios.de:/cvsroot/softdevice co softplay).
    Spielt alles (mp3, DV, ..).
    Aufruf : vdr ... -P "softdevice ... " -P "softplay --media-path your_path_to_media_files" ...


    Zitat

    Abgesehen davon ruckelt das Bild ab und an, das hatte ich früher net so.


    Ohne Sound fehlt die Möglichkeit zur Synchronisierung.


    Stefan Lucke

  • Zitat

    Original von schtef
    Hier bin ich wieder mit meinen newbie fragen...
    Mit dfb: bekomm ich vdr zum laufen. Am monitor erscheint der menu, aber leider kein tv-bild. Wie kann ich erkennen ob ich probleme mit softdevice habe, oder mit dvb settings/drivers. (mit xine hab funktioniert dvb).
    Wenn ich mit dfb:mgatv starte gibts garnicht, (kein bild af dem fernseher).


    Hast Du eine Budget-Karte oder eine FF-Karte (Full-Featured, mit Decoder)?
    Wie sieht deine /etc/directfbrc aus ?


    Meine directfbrc für die Monitor-Ausgabe:
    mode = 1280x1024
    depth = 32
    pixelformat=ARGB


    Für die TV-Ausgabe:
    mode=720x576
    depth = 32
    matrox-crtc2
    matrox-tv-standard=pal
    primary-layer=2
    pixelformat=ARGB
    matrox-cable-type=composite



    Zitat

    Output beim ersten fall (ich glaube das sollte ich als erstes loesen und dan mit tv-out weiter probieren):


    Da ist nichts auffälliges.


    Stefan Lucke

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!