Mailing List archive

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

[vdr] Re: Softdevice 0.0.7pre2 crash w/ DFB, CLE266



Stefan Lucke wrote:
On Montag, 2. August 2004 01:03, Nicolas Huillard wrote:

Stefan Lucke wrote:
Take the attached patch and you'll get an alpha blended OSD with I420
like with radeon :-) .
Sorry, the OSD is not alpha-blended with this patch. I also tried to set, f.e. 0x80 instead of 0xff, with no effect, even after a reboot.

modprobe viafb mode=720x576 bpp=32

in /etc/directfbrc :
fbdev=/dev/fb0
pixelformat=ARGB
disable-module=lirc
disable-module=joystick
disable-module=cle266

vdr --config=/etc/vdr --video=/home/video --lib=/usr/lib/vdr/plugins --plugin='softdevice -vo dfb:'

Pixel format : I420

STDOUT :
==============================================================
[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: 720x576@32
[dfb] Enumeratig 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
This is our videoLayer
(!!!) *** WARNING [no video mode set yet] *** [../../../src/core/layers.c:536 in dfb_screen_rectangle()]
uc_overlay: color-keying is disabled
Layer 2 VIA Unichrome DVD Subpicture Type: graphics picture video
Caps: opacity surface
uc_overlay: color-keying is disabled
[dfb] width = 720, height = 576
[dfb] got fmt = 0x00418c04 bpp = 32
[dfb] Using this layer for OSD: (FBDev Primary Layer - [720x576])
osdSurface::
- videoonly
- flipping
videoSurface::
- videoonly
[dfb] Configuring CooperativeLevel for Overlay
[dfb] Configuring ColorKeying
uc_overlay: color-keying is disabled
[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] (re)configuring Videolayer to 720 x 576 (720x576)
videoLayer->SetScreenLocation(0.000000, 0.000000, 1.000000, 1.000000)uc_overlay: color-keying is enabled
uc_overlay: color-keying is enabled
[dfb] (re)configured 0x08100609
[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
[softdevice] should set volume to 255
[dfb] (re)configuring Videolayer to 352 x 288 (352x288)
videoLayer->SetScreenLocation(0.000000, 0.031250, 1.000000, 0.937500)uc_overlay: color-keying is enabled
uc_overlay: color-keying is enabled
uc_overlay: color-keying is enabled
[dfb] (re)configured 0x08100609

==============================================================

There are messages stating "uc_overlay: color-keying is enabled". I think this explicitely exclude alpha-blending, isn't it ?

So I don't know if that still works with radeon, there we need some work
in the directfb driver section.

It works with both directFB pixelformats (AiRGB, ARGB).
It effectively works the same with both formats set in /etc/directfb (previously, AiRGB didn't show the OSD).

--
NH





Home | Main Index | Thread Index