Reinstalled DirectFB with the video driver set to *none*. Ran the sample 
JavaFX 8 program with similar errors showing up again:

cmd : cd '/home/debian/NetBeans_Projects//JavaFX_Test'; 
'/home/debian/ejre-1.8.0_fx/bin/java'  -Dfile.encoding=UTF-8 
-Djavafx.platform=directfb  -jar 
/home/debian/NetBeans_Projects//JavaFX_Test/dist/JavaFX_Test.jar 
   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.7.4 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2012-2013  DirectFB integrated media GmbH
        (c) 2001-2013  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2014-05-06 21:02) 
(*) Direct/Memcpy: Using libc memcpy()
(*) Direct/Thread: Started 'Fusion Dispatch' (30490) [MESSAGING - OTHER/0] 
<8388608>...
(!) System/DevMem: Please supply 'video-phys = 0xXXXXXXXX' and 
'video-length = XXXX' options!
(!) DirectFB/Core: Could not initialize 'system_core' core!
    --> An invalid argument has been specified
 (!!!)  *** UNIMPLEMENTED [fusion_dispatch] *** [fusion.c:3935]
DFB error, code 422552497, at 
/HUDSON/workspace/8.0/label/linux-arm-30/rt/modules/graphics/src/main/native-glass/lens/wm/screen/dfbScreen.c
 
<287>:
May 06, 2014 9:19:26 PM com.sun.glass.ui.lens.LensApplication _initialize
SEVERE: 30489 dfbScreen.c:335 glass_application_initialize: Failed to 
initialize DirectFB
May 06, 2014 9:19:26 PM com.sun.glass.ui.lens.LensApplication _initialize
SEVERE: 30489 LensWindowManager.c:114 lens_wm_initialize: 
glass_application_initialize() failed
May 06, 2014 9:19:26 PM com.sun.glass.ui.lens.LensApplication$4 run
SEVERE: Display failed initialization


This time when running the sample program locally a *segmentation fault* 
message appears. Thought it might be useful to display the frame buffer 
info (via *fbset -i*):

Frame buffer device information:
    Name        : 
    Address     : 0x9e900000
    Size        : 2621440
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 1
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 2560
    Accelerator : No


Just realised that I installed an experimental version of DirectFB from the 
1.7 branch. Will try a stable one from the 1.6 branch. Hopefully that will 
do the trick.

On Friday, 20 June 2014 21:02:56 UTC+12, Nick Apperley wrote:
>
> Managed to successfully install DirectFB (specified *omap* for the video 
> driver) on the BBB. However when I tried to run the sample JavaFX 8 program 
> the following errors appeared:
>
> cmd : cd '/home/debian/NetBeans_Projects//JavaFX_Test'; 
> '/home/debian/ejre-1.8.0_fx/bin/java'  -Dfile.encoding=UTF-8 
> -Djavafx.platform=directfb  -jar 
> /home/debian/NetBeans_Projects//JavaFX_Test/dist/JavaFX_Test.jar 
>    ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.7.4 |~~~~~~~~~~~~~~~~~~~~~~~~~~
>         (c) 2012-2013  DirectFB integrated media GmbH
>         (c) 2001-2013  The world wide DirectFB Open Source Community
>         (c) 2000-2004  Convergence (integrated media) GmbH
>       ----------------------------------------------------------------
> (*) DirectFB/Core: Single Application Core. (2014-05-06 20:02) 
> (*) Direct/Memcpy: Using libc memcpy()
> (*) Direct/Thread: Started 'Fusion Dispatch' (1924) [MESSAGING - OTHER/0] 
> <8388608>...
> (!) System/DevMem: Please supply 'video-phys = 0xXXXXXXXX' and 
> 'video-length = XXXX' options!
> (!) DirectFB/Core: Could not initialize 'system_core' core!
>     --> An invalid argument has been specified
>  (!!!)  *** UNIMPLEMENTED [fusion_dispatch] *** [fusion.c:3935]
> DFB error, code 422552497, at 
> /HUDSON/workspace/8.0/label/linux-arm-30/rt/modules/graphics/src/main/native-glass/lens/wm/screen/dfbScreen.c
>  
> <287>:
> May 06, 2014 8:24:24 PM com.sun.glass.ui.lens.LensApplication _initialize
> SEVERE: 1923 dfbScreen.c:335 glass_application_initialize: Failed to 
> initialize DirectFB
> May 06, 2014 8:24:24 PM com.sun.glass.ui.lens.LensApplication _initialize
> SEVERE: 1923 LensWindowManager.c:114 lens_wm_initialize: 
> glass_application_initialize() failed
> May 06, 2014 8:24:24 PM com.sun.glass.ui.lens.LensApplication$4 run
> SEVERE: Display failed initialization
> Exception in thread "Lens Event Thread" 
> java.lang.RuntimeException: Display failed initialization
> at com.sun.glass.ui.lens.LensApplication$4.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
> On Friday, 20 June 2014 18:37:13 UTC+12, Nick Apperley wrote:
>>
>> Found an Oracle article 
>> <http://docs.oracle.com/javase/8/embedded/develop-platforms/javafx.htm> 
>> on getting JavaFX 8 to work on a Beagleboard-xM which may be relevant to 
>> the BBB. In the article DirectFB <http://www.directfb.org/> is used for 
>> graphics rendering however it is done in software, which may be BRUTAL 
>> performance wise. Might be worth trying the DirectFB method which could 
>> work for other technologies that require EGL 2 support (eg Kivy 
>> <http://kivy.org> for Python).
>>
>>>
>>>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to