On Tuesday 12 December 2006 20:29, Goktug YILDIRIM wrote:
> On Tuesday 12 December 2006 19:19, Mark Adams wrote:
> > > I will do my best to write a patch. But dont have that much experience
> > > in directfb. What would be the best place to dig in?
> >
> > Should just be a matter of finding out what the API change was and
> > changing the calls to match.  I never got round to finding out what had
> > changed.
>
> Going to dig-in.
>
> > BTW is it possible to
> >
> > > findout and hardcode the surface hardware address in xine_decoder.c? I
> > > know
> > > it is not nice but at least I can have it working.
> >
> > No, xine allocates up to 15 frame buffers for its display pipeline -- all
> > these are allocated through DirectFB and it would be hard to hack this to
> > work another way.
>
> I see...
>
> > I am going to try DirectFB-1.0.0-rc1. However, what would be the
> > compatible
> >
> > > DFB++ and DirectFB-extra packages in order to compile xine-plugin? At
> > > least I
> > > want to play with a working device.
> >
> > I think you'll need 1.0.0-rc1 versions of each.  The xine output plugin
> > (in DirectFB-extra) that the unichrome decoder plug-in uses changed
> > completely soon after I think and my decoder plug-in doesn't work with
> > the new one.
>
> May I ask where to find 1.0.0-rc1 of each. I have checked
> http://www.directfb.org/index.php?path=Main%2FDownloads but there seems to
> be none of  1.0.0-rc1 for DFB++ and DirectFB-extra. I have tried
> DirectFB-extra-0.9.2x (21 to 25) but none of them compiles with the
> following errors:
>  idirectfbimageprovider_pnm.c: In function
> `IDirectFBImageProvider_PNM_RenderTo':
>
> idirectfbimageprovider_pnm.c:761: error: too few arguments to function
> `dfb_copy_buffer_32'
>
> idirectfbimageprovider_pnm.c:772: error: too few arguments to function
> `dfb_scale_linear_32'
>
> idirectfbimageprovider_pnm.c:783: error: too few arguments to function
> `dfb_scale_linear_32'
>
> Any help to findout 1.0.0-rc1 versions of related DirectFB packages would
> be appreciated.
>
> > Two more little questions if you don't mind:
> > > 1. Is libcle266 also incompatible with the latest DirectFB packages?
> >
> > If you mean libcle266mpegdec, that doesn't use any DirectFB libraries
> > itself.  Use at least 0.4.
>
> I meaned libcle266mpegdec. I got 0.5.
>
> > 2. I have another topic about xine and hardware-osd problem which
> >
> > > has "df_xine-hrwOSD and viafb" topic in the directfb users mailing
> > > list. Any
> > > idea?
> >
> > Yes, but you know that :-)
>
> I know :). Thank you again.
>
> > Cheers,
> >
> > Mark
>
> Cheers,
> Goktug
>
> _______________________________________________
> directfb-dev mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev


checked out from cvs with ...
cvs -d:pserver:[EMAIL PROTECTED]:/cvs/directfb -z3 co -P -D 2006-10-10 DirectFB.

As I read http://www.mellander.org/per/projects/linux/?chapter=epia-hw-cle266 
and  10-10-2006 seemed to be a reasonable date for the proper cvs snapshot. 
Compiled as same as written in 
http://www.mellander.org/per/projects/linux/?chapter=epia-hw-cle266 except the 
vdr part.
xineplug_decode_cle266-0.1 also compiles perfectly. All of the df_xxx 
applications work.

However df_xine has the following output and then no more screen out for 
previous working df_xxx applications. It is all black screen anymore and I must 
reboot.


$ df_xine --no-hwosd /mnt/FILM517.mpg

     =======================|  DirectFB 1.0.0-rc1  |=======================
          (c) 2001-2006  United Cultures of Earth - go for outer space!
          (c) 2000-2004  Convergence (integrated media) GmbH
        ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2006-12-13 09:16)
(*) Direct/Memcpy: Using SSE optimized memcpy()
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 1344)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 1345)...
(*) DirectFB/Input: AT Translated Set 2 keyboard 0.1 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) Direct/Modules: suppress module 'cle266'
(*) DirectFB/Graphics: VIA/S3G CLE266/UniChrome 0.4 (-)
(*) DirectFB/Core/WM: Default 0.2 (directfb.org)
df_xine: here we go!
df_xine: scanning layers for a suitable one
df_xine: probing layer 1
df_xine: -> has a surface
df_xine: -> can be positioned on the screen
df_xine: -> trying to access...ok
df_xine: -> checking if double-buffering is supported...yes
df_xine: -> checking if YUY2 is supported...yes
df_xine: -> checking if YV12 is supported...yes
df_xine: using layer 1 [VIA Unichrome Video]
        packed format: YUY2
        planar format: YV12
video_out_dfb: using ITURBT601 conversion matrix
video_out_dfb: MMX detected and enabled
video_out_dfb: destination surface is YV12
audio_alsa_out : supported modes are 8bit 16bit 24bit 32bit mono stereo 
(4-channel not enabled in xine config) (4.1-channel not enabled in xine config) 
(5-channel not enabled in xine config) (5.1-channel not enabled in xine config) 
(a/52 and DTS pass-through not enabled in xine config)
xine: found input plugin  : file input plugin
ebml: invalid EBML ID size (0x0) at position 1
ebml: invalid master element
xine: found demuxer plugin: MPEG program stream demux plugin
cle266decode: output driver unsuitable
fixing sound card drift by -3532 pts
fixing sound card drift by -2648 pts
fixing sound card drift by -1984 pts
fixing sound card drift by -1488 pts
df_xine: playing mrl '/mnt/FILM517.mpg'
df_xine: playback finished for mrl '/mnt/FILM517.mpg'
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to