[vdr] softdevice + directfb gives black screen
Per Mellander
per at mellander.org
Wed Aug 24 17:57:38 CEST 2005
EPIA system with kernel 2.4.25 + epia2 patch
DirectFB-0.9.22
ffmpeg-0.4.8
DFB++-0.9.22
vdr-1.3.30
softdevice-CVS ( 20050823 )
alsa-1.0.9
One installation is based on a stripped down RH9 with gcc 3.2.2 20030222
(RedHat). The other is a Core Linux install with gcc 3.2.
I have used the exact same software packages for both installations.
viafb is loaded without any parameters ( modprobe viafb )
On the RedHat installation I can run vdr -P"softdevice -vo dfb:" and I get a
picture on my TFT. Then I reboot with the Core Linux install and I only get a
black screen after starting vdr. I have the same directfbrc, the same
fb.modes but I just can't get it to work on the Core Linux system. The output
log is attached.
When vdr is running ( with a black screen ) I get the following:
# fbset -i
mode "800x600-96"
# D: 36.000 MHz, H: 33.834 kHz, V: 96.394 Hz
geometry 800 600 800 1200 32
timings 27778 56 80 79 11 128 12
hsync high
vsync high
laced true
rgba 8/16,8/8,8/0,8/24
endmode
Frame buffer device information:
Name : Via CLE266
Address : 0xd8000000
Size : 33554432
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 0
YPanStep : 1
YWrapStep : 0
LineLength : 3200
MMIO Address: 0xdc000000
MMIO Size : 16777216
Accelerator : Unknown (77)
The only difference as I see it is the compiler ( 3.2.2-redhat versus 3.2 ).
Any clues?
-------------- next part --------------
[softdevice] processing args
[softdevice] argv [0] = softdevice
[softdevice] argv [1] = -vo
vo_argv: dfb:
[softdevice] argv [3] = -L
[softdevice] initializing Plugin
[softdevice] Initializing Video Out
[softdevice] ffmpeg version(0.4.8) build(4680)
[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-08-24 07:10)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 71)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 72)...
(!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:802]
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) Direct/Modules: suppress module 'cle266'
(*) DirectFB/Graphics: VIA/S3G UniChrome 0.4 (-)
(*) 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 Xor
[dfb] Surface Blitting Flags: BlendAlpha BlendColorAlpha Colorize SrcColorkey DstColorkey Deinterlace
[dfb] Supported video Modes are: 640x480 at 8 640x480 at 8 640x480 at 8 640x480 at 8 640x480 at 8 800x600 at 8 800x600 at 8 800x600 at 8 800x600 at 8 800x600 at 8 800x600 at 8 800x600 at 8 800x600 at 8 1024x768 at 8 1024x768 at 8 1024x768 at 8 1024x768 at 8 1024x768 at 8 1024x768 at 8 1024x768 at 8 1152x864 at 8 1152x864 at 8 1152x864 at 8 1152x864 at 8 1152x864 at 8 1152x864 at 8 1024x1024 at 8 1280x1024 at 8 1280x1024 at 8 1280x1024 at 8 1280x1024 at 8 1280x1024 at 8 1600x1200 at 8 1600x1200 at 8 1600x1200 at 8
[dfb] Enumerating display Layers
Layer 0 FBDev Primary Layer Type: graphics
Caps: brightness contrast saturation surface
Layer 1 VIA Unichrome Video Type: graphics picture video
Caps: deinterlacing dst_colorkey opacity screen_location surface
uc_overlay: color-keying is disabled
[surface capabilities] scrSurface: primary videoonly double-buffered flipping
[dfb] width = 800, height = 600
[dfb] got fmt = 0x00418c04 bpp = 32
[dfb] Using this layer for OSD: (FBDev Primary Layer - [736x576])
[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: VIA Unichrome Video
[dfb] Display frame time is 19999 microseconds
[dfb] (re)configuring Videolayer to 720 x 576 (720x576)
[dfb] SetParams: action=IDirectFBDisplayLayer::SetLevel(int), result=Not supported! Failed: SetLevel()
uc_overlay: color-keying is enabled
uc_overlay: color-keying is enabled
uc_overlay: color-keying is enabled
uc_overlay: color-keying is enabled
[surface capabilities] videoSurface: videoonly double-buffered flipping
[dfb] (re)configured 0x08100609
[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
cSoftDevice::MakePrimaryDevice
More information about the vdr
mailing list