On Tuesday 18 Apr 2006 12:08, Mark Adams wrote:
> > I am trying to get my vdr running on my via epia-m system. I have
> > used the viafb driver davesdomain.org.uk which worked out perfect for
> > direct framebuffer, but cannot seem to get the things to work quite
> > right. I have compile vdr with xine. I have included some outputs and
> > need some assistance:
>
> Yet another different viafb driver!  Wow, if all this development
> effort went into a single one, we'd have a perfect solution complete
> with hardware MPEG encoding by now.
>
> I'm not a VDR user myself but there are some on this list who have got
> things working fine using DirectFB (CVS version or 0.9.25 when it's
> released shortly) and the viafb driver from DirectFB CVS.  You might
> like to try that combination.  DirectFB 0.9.24 lacks some key
> improvements to the unichrome gfxdriver.
>
> > Screen (00) FBDev Primary Screen            (primary screen)
> >
> >    Caps: VSYNC POWER_MANAGEMENT
> >
> >      Layer (00) FBDev Primary Layer             (primary layer)
> >
> >         Type:    GRAPHICS
> >         Caps:    SURFACE BRIGHTNESS CONTRAST SATURATION
>
> That shows that the DirectFB unichrome gfxdriver is not being used.
> That's either because you didn't compile it or you didn't have a
> suitable viafb kernel framebuffer loaded or your particular hardware
> is not supported.  None of the video overlay overlay or TV out
> functions will be available.

I must have missed the original message!

I have a working setup of a Via Epia MII system using vdr with softdevice 
and DirectFB output.

I am using DirectFB cvs from 28/10/2005 (not sure what has changed in the 
Unichrome driver since then...). I am using viafb from DirectFB cvs (from 
today: upgraded the kernel to 2.6.16.5 to see if it solved some of my 
dvb-usb problems and viafb needed tweaking to compile with this kernel: 
now fixed in cvs). I am loading this as a module and I do not have a 
vesafb. Module options:

viafb mode=720x576 bpp=32 refresh=50 TVon=1 TVoverscan=1

I am using S-video tv-out to my CRT TV. I am using a patch for viafb from 
Mark Adams which gives proper synchronisation of the TV-out (I can supply 
this, if you like).

I'm currently on vdr-1.3.47 (but this has been working fine for quite a 
few months) and softdevice is cvs from 08/01/2006 (not bothered updating 
for a while because it works!). This is using the -P'softdevice -vo 
dfb:viatv' driver so that it sets things up properly for TV-out.

For reference, here is the output of dfbinfo on this vdr box:

(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.

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

(*) DirectFB/Core: Single Application Core. (2005-11-04 18:37)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Modules: suppress module 'joystick'
(*) Direct/Modules: suppress module 'lirc'
(*) DirectFB/Genefx: MMX detected and enabled
(!) DirectFB/Unichrome: Failed to determine hardware revision, assuming 
17.
(*) DirectFB/Graphics: VIA/S3G CLE266/UniChrome 0.4 (-)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
 (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] *** 
[../../../lib/fusion/reactor.c:797]


Screen (00) FBDev Primary Screen            (primary screen)
   Caps: VSYNC POWER_MANAGEMENT

     Layer (00) FBDev Primary Layer             (primary layer)
        Type:    GRAPHICS
        Caps:    SURFACE BRIGHTNESS CONTRAST SATURATION

     Layer (01) VIA Unichrome Video
        Type:    GRAPHICS VIDEO STILL_PICTURE
        Caps:    SURFACE OPACITY SCREEN_LOCATION DEINTERLACING 
DST_COLORKEY LEVELS FIELD_PARITY SCREEN_POSITION SCREEN_SIZE

     Layer (02) VIA Unichrome DVD Subpicture
        Type:    GRAPHICS VIDEO STILL_PICTURE
        Caps:    SURFACE OPACITY


/etc/directfb contains:
mode=720x576
depth=32
pixelformat=ARGB
disable-module=lirc
disable-module=joystick
disable-module=cle266
no-vt

Note: this isn't perfect yet: this is still using software MPEG decoding 
which is just about on the limit for my Epia MII-12000, so playback is a 
little bit jerky at times and A-V sync isn't quite right at times. I'm 
currently looking into getting hardware decoding working.

Let me know if you want any further info.

Cheers,

Laz

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to