On Friday 26 January 2007 10:33, Nicolas Huillard wrote:
> > Looking more closely, I _think_ DirectFB and DFB++ are both cvs from
> > 2006-04-18. I have lots of different cvs trees which I really should
> > clean out.
>
> My problem may be a regression in DirectFB, then. It may also be that I
> badly applied the patch to DirectFB.
I'm just building cvs DirectFB and DFB++ (as Debian packages) and I've
just remembered another couple of patches: libcle266mpegdec needs to get
the offset of the framebuffer from DirectFB. Looks like they are no
longer needed because the code is now in DirectFB and DFB++!
:)
Hmmmm...just built and installed DirectFB, DFB++, and linux-viafb, then
rebuilt libcle266mpegdec and softdevice against the new versions. Now
when I try to start vdr, I get:
vdr-1.5.0 --video=/video --config=/home/vdr/vdrconf --lib=/home/vdr/plugins
-P'softdevice -vo
dfb:viatv:cle266'
[softdevice] processing args
[softdevice] argv [0] = softdevice
[softdevice] argv [1] = -vo
vo_argv: dfb:viatv:cle266
[softdevice] enabling field parity
[softdevice] enabling CLE266 HW decoding
[setup-softdevice] alsa ac3Mode set to: 0
[setup-softdevice] alsa AC3 device set to: hw:0,1
[setup-softdevice] alsa device set to: default
[setup-softdevice] A/V Offset set to (0)
[setup-softdevice] Cropping 0 lines from bottom
[setup-softdevice] Cropping 0 columns from left
[setup-softdevice] cropping mode set to 0 (none)
[setup-softdevice] cropping mode toggle key set to 0 (none)
[setup-softdevice] Cropping 0 columns from right
[setup-softdevice] Cropping 0 lines from top
[setup-softdevice] deinterlace method set to 0 none
[setup-softdevice] mainMenu: 1
[setup-softdevice] setting alpha blend mode to pseudo
[softdevice] picture mirroring set to 0 (off)
[setup-softdevice] pixel format set to (I420)
[setup-softdevice] shouldSuspend to: 0
[setup-softdevice] syncTimerMode: sig
[softdevice] UseStretchBlitset to off
[setup-softdevice] vidBrightness: 50
[setup-softdevice] vidContrast: 50
[setup-softdevice] vidHue: 50
[setup-softdevice] vidSaturation: 50
[setup-softdevice] startup aspect set to (4:3 normal)
[softdevice] initializing Plugin
[softdevice] Initializing Video Out
[softdevice] ffmpeg build(3344640)
[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-26 10:52)
(*) Direct/Modules: suppress module 'linux_input'
(*) Direct/Modules: suppress module 'joystick'
(*) Direct/Modules: suppress module 'lirc'
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: VIA/S3G CLE266/UniChrome 0.4 (-)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
[dfb] RAM: 66842624 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: [EMAIL PROTECTED]
[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 Type: graphics picture video
Caps: deinterlacing dst_colorkey levels field_parity opacity
screen_location surface
Initialising CLE266 decoder (/dev/fb0): success!
CLE266: Creating buffers for decoder
CLE266: Creating buffer number 0
CLE266: Creating buffer number 1
CLE266: Creating buffer number 2
CLE266: Creating buffer number 3
CLE266: passing mpegfb_stride
CLE266: passing buffers to decoder
[dfb] (osdLayer): flags, options, pixelformat: 0000000f, 00000000 00418c04
[dfb] (osdLayer): width, height: 720 576
[dfb] osdLayer has alpha channel
[dfb] init
EXITING:action=IDirectFBDisplayLayer::SetConfiguration(DFBDisplayLayerConfig&),
result=Not supported!
(!!!) *** WARNING [Application exited without deinitialization of
DirectFB!] *** [../../../src/core/core.c:745 in dfb_core_deinit_check()]
Which all looks OK until I get to the end!
:-(
Is there anything in DirectFB which has chagned drastically for the
Unichrome driver?
> > Your best bet may be to check out a new version of linux-viafb and
> > see if that sorts it out.
>
> I'll do that. And also add printk as Mark Adams suggested a (long)
> while ago.
> I'll keep you all updated on this.
>
> BTW : does anyone else use CLE266 hardware decoding and TV-out with
> softdevice (out of the 500+ downloads of libcle266mpegdec) ?
My main annoyance at the moment are that my Epia system doesn't always
power off fully so I can't use nvram-wakeup at the moment. Not sure why
it's decided to do this. Might get round to reflashing the BIOS to see if
that sorts it: it had worked fine for about a year or so!!
It's also a shame that these things only have one PCI slot, too, because I
can only have one USB2 device on it (in addition to a Nova-T 500 dual
card) or they just keep on disconnecting themselves! The drivers for the
older Nova-T cards seem much more stable.
Still, mustn't grumble: it's in constant use!!
:)
Cheers,
Laz
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel