On Sunday 09 January 2011 22:32:26 Vasily Khoruzhick wrote:
> Hi,
> 
> is it possible to get userspace multiapp core work with SaWMan?
> DirectFB-1.4.11 + SaWMan-1.4.11 does not work for some reason with
> userspace multiapp core, but they work OK with linux-fusion kernel module.
> 
> testman is started, and nothing is suspicious, here's output of testrun:
> 
> ~$ testrun Penguins
> (*) SaWMan/TestRun: Initializing...
> 
>    ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.11 |~~~~~~~~~~~~~~~~~~~~~~~~~~
>         (c) 2001-2010  The world wide DirectFB Open Source Community
>         (c) 2000-2004  Convergence (integrated media) GmbH
>       ----------------------------------------------------------------
> 
> (*) DirectFB/Core: Multi Application Core. (2011-01-09 20:24)
> (*) Fusion/Init: Builtin Implementation is still experimental!
> Crash/Deadlocks might occur!
> (*) Fusion/SHM: Using MADV_REMOVE (2.6.37.0 >= 2.6.19.2)
> (*) Direct/Thread: Started 'Fusion Dispatch' (12414) [MESSAGING OTHER/OTHER
> 0/0] <8388608>...
> (*) DirectFB/Genefx: MMX detected and enabled
> (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
> (*) SaWMan/TestRun: New process has pid 12415.
> (*) SaWMan/TestRun: Shutting down...
>  (!!!)  *** WARNING [Application exited without deinitialization of
> DirectFB!] *** [core.c:881 in dfb_core_deinit_check()]
> (!) Direct/Thread: Canceling 'Fusion Dispatch' (12414)!
> 
> But it does not show directfb X11 window at all, like it does with linux-
> fusion.
> 
> Regards
> Vasily

I recompiled directfb and sawman with debug and found that this commit:

commit 43bc6655008f9d91eb66d5904b2ed385b240cd9e
Author: Denis Oliver Kropp <d...@directfb.org>
Date:   Sun Nov 21 21:21:26 2010 +0100

    remove sawman lock, use layer context lock, fix build

broke sawman for userspace fusion.
Context layer lock is not initialized yet in sawman_initialize(), but 
sawman_initialize() calls register_process(), which has assert on sawman->lock 
is not NULL.

However, testman+testrun still does not work, even with this commit reverted.

Regards
Vasily
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to