Hi,

I'm trying to setup a vdr system using the softdevice plugin and  
directfb. I had this working with the 0.9.25 version of directfb. But  
since I needed the mpeg accelleration that softdevice provides in  
conjunction with libcle266mpegdec, I'm now trying to get things  
working with the 1.0-rc4 of directfb.

When starting vdr I get this message:

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
[dfb] (osdLayer): flags, options, pixelformat: 0000000f, 00000000  
00418c04
[dfb] (osdLayer): width, height:               1024 768
[dfb] osdLayer has alpha channel
[dfb] init EXITING:action=IDirectFBDisplayLayer::SetConfiguration 
(DFBDisplayLayerConfig&), result=Not supported!

In the source of softdevice, this is what's happening:

     ReportLayerInfo(osdLayer, "osdLayer");
     if (osdLayerDescription.caps & DLCAPS_ALPHACHANNEL) {
       fprintf(stderr, "[dfb] osdLayer has alpha channel\n");
       osdLayerConfiguration.options = DLOP_ALPHACHANNEL;
       videoLayerLevel = -1;
     } else {
       fprintf(stderr, "[dfb] osdLayer without !! alpha channel\n");
     }

     osdLayer->SetCooperativeLevel(DLSCL_EXCLUSIVE);
     osdLayer->SetConfiguration(osdLayerConfiguration);

So it looks to me as if softdevice tries to set some properties on  
the osdLayer (alpha transparency I presume),  and directfb reports  
that this is function is unsupported.

What I really need now is some lead to follow up on. I googled around  
and followed the various tutorials but for some reasons I can't get  
things to work where others succeed.

My set up is a gentoo distro, kernel 2.6.19 with directfb rc4  
compiled manually on a epia m10k. The framebuffer I'm using is the  
viafb from http://davesdomain.org.uk/viafb because I couldn't get the  
viafb from directfb cvs compile as a module. I could build it into  
the kernel, but then I didn't get any output on the vga ouput (only  
on svideo). The one from davesdomain is working fine in console mode.  
I don't need tv out since my lcd is hooked up to the vga output.

What should I try next? Should I be using the directfb viafb module?  
If so I could really get some help on compiling that as a module  
and / or configuring it to make the vga out work. I guess it can also  
be a softdevice issue, maybe something changed in the directfb api  
that requires changes to softdevice. It could also be a problem with  
directfb itself, but then I'd guess that other users would experience  
the same.

My most likely candidate is the viafb version I'm using but I'm not  
sure anymore.

Sorry for the lengthy post, but I really hope someone will give me a  
hint to a solution.

Thanks,

Hugo

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

Reply via email to