Hi,


I am facing quite strange issue with multi-app case.(DirectFB is build with 
multiapp support and fusion is also enabled)



My hardware has multiple layers- Graphics, Image and Video .

I have 2 applications one is using Graphics and other is using Video.



Case 1)

Both created with directfb cooperative level(DFBCooperativeLevel) 
DFSCL_FULLSCREEN and display layer co-operative  
level(DFBDisplayLayerCooperativeLevel) to DLSCL_EXCLUSIVE.

When run as standalone..not simultaneously.. both are working fine. 



But when run one after another (first Graphics and then video- simulteneously), 
Video application crashes with "--> Caught signal 11"
 - (Assumption [(lock)-> addr != NULL || !((lock)->access & 
(CSAF_CPU_SREAD|CSAF_CPU_WRITE))] fail])

But run first video and then Graphics application..both work fine



Case 2) 

So for video application, I set directfb cooperative level(DFBCooperativeLevel) 
to DFSCL_NORMAL and display layer co-operatie 
level(DFBDisplayLayerCooperativeLevel) to DLSCL_ADMINISTRATIVE.

With this applications both applications are running fine simultaneously.. but 
my video is not getting displayed, through it is getting decoded in background.

This i even tested with running only video application. So not the case of 
video behind Graphics layer. 



I read this in Directfb ..GetSurface - is only available in exclusive mode. I 
dont get any errors on this API. But is there any issue here? Same surface i 
pass it to directfb for rendering video.



Same application with (DFBDisplayLayerCooperativeLevel) to DLSCL_EXCLUSIVE, 
video is getting displayed. But with this mode set in video, case is similar to 

Case-1



Any issues with the way, I should handle layers in multi-app build?



Also is there any documentation or guideline for understanding the proper way 
to access the directfb interface and layers in multiapp scenario.



Regards,

Umesh

============================================================================================================================Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at <a 
href="http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html</a>
 externally and <a 
href="http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html</a>
 internally within Tech 
Mahindra.============================================================================================================================
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to