Hi zusammen,
Mein VDR mit Softdevice legt ein merkwürdiges Verhalten an den Tag, wenn ich diesen über ein Script starte.
Starten direkt aus der lokalen Konsole, openvt oder über SSH funktioniert problemlos mit:
vdr -P"softdevice -ao alsa:pcm=default#ac3=plug:spdif# -vo dfb:cle266:viatv" >>//var/log/vdr 2>> /var/log/vdr
Ich bekomme sofort ein Bild und kann meinen VDR über die Tastatur steuern.
Sobald ich diesen Befehl aber von diesem Script aus starte:
#!/bin/sh
vdr -P"softdevice -ao alsa:pcm=default#ac3=plug:spdif# -vo dfb:cle266:viatv" >>//var/log/vdr 2>> /var/log/vdr
hängt sich VDR ohne Fehlermeldungen auf. Das steht dann im Log (VDR Ausgabe):
[softdevice] 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
[softdevice] processing args
[softdevice] argv [0] = softdevice
[softdevice] argv [1] = -ao
[softdevice] using PCM alsa device default
[softdevice] using AC3 alsa device plug:spdif
[softdevice] argv [3] = -vo
[softdevice] enabling CLE266 HW decoding
[softdevice] enabling field parity
[softdevice] initializing Plugin
[softdevice] Initializing Video Out
[softdevice] ffmpeg build(3348736)
[dfb] init
=======================| DirectFB 1.0.0-rc3 |=======================
(c) 2001-2006 United Cultures of Earth - go for outer space!
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2007-01-18 22:15)
(*) Direct/Thread: Running 'LiRC Input' (INPUT, 21705)...
(*) DirectFB/Input: LIRC Device 0.2 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) Direct/Modules: suppress module 'cle266'
(*) DirectFB/Graphics: VIA/S3G CN700/Unichrome Pro 0.4 (-)
(*) DirectFB/Core/WM: Default 0.2 (directfb.org)
[dfb] RAM: 66830336 bytes
[dfb] Accellerated Functions: FillRectange DrawRectange DrawLine FillTriangle Blit StretchBlit All
[dfb] Drawing Flags: Blend Xor
[dfb] Surface Blitting Flags: BlendAlpha BlendColorAlpha Colorize SrcColorkey DstColorkey Deinterlace
[dfb] Supported video Modes are: 800x600@32 640x480@32 640x480@32 640x480@32 640x480@32 640x480@32 720x480@32 800x480@32 720x576@32 800x600@32 800x600@32 800x600@32 800x600@32 800x600@32 848x480@32 856x480@32 1024x512@32 1024x768@32 1024x768@32 1024x768@32 1024x768@32 1152x864@32 1152x864@32 1280x768@32 1280x960@32 1280x1024@32 1280x1024@32 1280x1024@32 1440x1050@32 1600x1200@32 1600x1200@32 1280x720@32 1920x1080@32 1400x1050@32
[dfb] Enumerating display Layers
[dfb] Configuring CooperativeLevel for OSD
Layer 0 VIA CLE266 Graphics Type: graphics
Caps: alphachannel brightness contrast opacity saturation src_colorkey surface
Layer 1 VIA Unichrome Video 3 Type: graphics picture video
Caps: deinterlacing dst_colorkey levels field_parity opacity screen_location surface
[dfb]: disabling hw-decode support for CN700
[dfb] (osdLayer): flags, options, pixelformat: 0000000f, 00000000 80418c0d
[dfb] (osdLayer): width, height: 800 600
[dfb] osdLayer has alpha channel
[dfb] Set DLBM_TRIPLE for layer [VIA Unichrome Video 3]
[dfb] DLOP_FIELD_PARITY supported by layer [VIA Unichrome Video 3]
[surface capabilities] scrSurface: videoonly double-buffered flipping PixelFormat = 0x80418c0d
[dfb] width = 800, height = 600
[dfb] got fmt = 0x80418c0d bpp = 32
[dfb] Using this layer for OSD: (VIA CLE266 Graphics - [800x600])
[surface capabilities] osdSurface: videoonly double-buffered flipping PixelFormat = 0x00418c04
[dfb] Configuring CooperativeLevel for Overlay
[surface capabilities] videoSurface: videoonly PixelFormat = 0x00200806
[dfb] Using this layer for OSD: VIA CLE266 Graphics
[dfb] Using this layer for Video out: VIA Unichrome Video 3
[dfb] Display frame time is 16654 microseconds
[dfb] (re)configuring Videolayer to 720 x 576 (720x576)
[dfb] SetParams: Enabling DLOP_FIELD_PARITY
[surface capabilities] videoSurface: videoonly flipping triple-buffered PixelFormat = 0x00200806
[dfb] (re)configured 0x00200806
[softdevice] 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
Display More
Sieht genauso aus wie wenn VDR normal startet, also nix auffälliges.
Und das kommt vom Syslog:
Jan 25 12:36:35 (none) vdr: [24166] VDR version 1.4.4 started
Jan 25 12:36:35 (none) vdr: [24166] Bigpatch 20.11.2006 is active!
Jan 25 12:36:35 (none) vdr: [24166] loading plugin: /usr/lib/vdr/libvdr-softdevice.so.1.4.4
Jan 25 12:36:35 (none) vdr: [24166] loading /boot/etc/vdr/setup.conf
Jan 25 12:36:35 (none) vdr: [24166] loading /boot/etc/vdr/sources.conf
Jan 25 12:36:35 (none) vdr: [24166] loading /boot/etc/vdr/diseqc.conf
Jan 25 12:36:35 (none) vdr: [24166] loading /boot/etc/vdr/channels.conf
Jan 25 12:36:35 (none) vdr: [24166] loading /boot/etc/vdr/commands.conf
Jan 25 12:36:35 (none) vdr: [24166] loading /boot/etc/vdr/reccmds.conf
Jan 25 12:36:35 (none) vdr: [24166] loading /boot/etc/vdr/timercmds.conf
Jan 25 12:36:35 (none) vdr: [24166] loading /boot/etc/vdr/svdrphosts.conf
Jan 25 12:36:35 (none) vdr: [24166] loading /boot/etc/vdr/remote.conf
Jan 25 12:36:35 (none) vdr: [24166] loading /boot/etc/vdr/keymacros.conf
Jan 25 12:36:35 (none) vdr: [24166] reading EPG data from /media/video0/epg.data
Jan 25 12:36:35 (none) vdr: [24167] video directory scanner thread started (pid=24166, tid=24167)
Jan 25 12:36:35 (none) vdr: [24167] video directory scanner thread ended (pid=24166, tid=24167)
Jan 25 12:36:35 (none) vdr: [24168] video directory scanner thread started (pid=24166, tid=24168)
Jan 25 12:36:35 (none) vdr: [24168] video directory scanner thread ended (pid=24166, tid=24168)
Jan 25 12:36:35 (none) vdr: [24166] no DVB device found
Jan 25 12:36:35 (none) vdr: [24166] initializing plugin: softdevice (0.3.1): A software emulated MPEG2 device
Jan 25 12:36:36 (none) vdr: [24166] [softdevice] videoOut OK !
Jan 25 12:36:36 (none) vdr: [24166] [softdevice-audio] Opening alsa device default
Jan 25 12:36:36 (none) vdr: [24166] [softdevice-audio] Using alsa AC3 device plug:spdif
Jan 25 12:36:36 (none) vdr: [24166] [softdevice-audio] Device opened! Ready to play
Jan 25 12:36:36 (none) vdr: [24166] setting primary device to 1
Jan 25 12:36:36 (none) vdr: [24166] SVDRP listening on port 2001
Jan 25 12:36:36 (none) vdr: [24166] setting current skin to "sttng"
Jan 25 12:36:36 (none) vdr: [24166] loading /boot/etc/vdr/themes/sttng-default.theme
Jan 25 12:36:36 (none) vdr: [24166] starting plugin: softdevice
Display More
Danach kann ich VDR nur noch mit "killall -9 vdr" wieder beenden. Dabei ists auch ega, ob ich das Script lokal, über SSH, openvt oder screen starte.
Hat vielleicht jemand eine Idee was hier schief läuft? Würd mich über jede Hilfe freuen!
Versionen
System: LFS, 2.6.19.1, GCC 4.1.1
DirectFB: 1.0.0-rc3 (CVS 18.01.07) + Patch von hier
DFB++: CVS 18.01.07
VDR: 1.4.4
Softdevice: CVS 23.01.07 + Patch von hier