On Freitag, 18. Juni 2004 10:24, Nicolas Huillard wrote:
> Stefan Lucke wrote:
>
> > Hi,
> >
> > after getting vdr-softdevice running with my radeon I switched back
> > to my matrox-G550 and neither OSD nor video works with directfb.
> > Startup messages showed nothing unusual.
>
> I also have problems with softdevice 0.0.6 / directfb CVS / viafb /
> 2.4.26-epia2.
> I am currently documenting these problems, along with full testing of
> softmepg.
> Problems are in the area of :
> * video is only seen "through" the OSD (when no OSD, no video, when OSD
> is open, I can see the vedio behind the text / drawing areas
I got softdevice running by changing SetParams like:
dlc.options = (DFBDisplayLayerOptions)(DLOP_DST_COLORKEY | DLOP_DEINTERLACING );
// maybe your graphic card does not support this
// dlc.pixelformat = DSPF_YV12;
// dlc.pixelformat = DSPF_I420;
dlc.pixelformat = DSPF_YUY2;
// dlc.options = (DFBDisplayLayerOptions)( DLOP_ALPHACHANNEL );
// dlc.options = (DFBDisplayLayerOptions)( DLOP_DST_COLORKEY | DLOP_DEINTERLACING
); // maybe your graphic card does not support this
// dlc.options = (DFBDisplayLayerOptions)( DLOP_NONE ); // maybe you should try
this
So dlc.options has to been set according to card capabilities.
dlc.pixelformat I420 and YUY2 works. For some unknown reason colorkeying of
OSD does not work. Background is black instead of transparent.
> * OSD is *monocolor*, as if it consisted only in transparency showing
> the video
> * crashes (I still have to investigate where they occur exactly)
Could you locate them ?
Stefan Lucke