JavaFX Embedded SDK 8.60.9 (ES2 pipeline) don't work correct on Raspbian Stretch/Raspberry Pi Zero W 1.1

Issue #12 new
Former user created an issue

Comments (5)

  1. Ladislav Török

    I am using JavaFX Embedded SDK 8.60.9 (armv6 hard float platform) by Gluon - http://gluonhq.com/products/mobile/javafxports/get/ I am launching simple JavaFX application type of Hello World from NetBeans 8.2 (Remote Platform)/Windows 10 on my Raspberry Pi Zero W 1.1/latest Raspbian Stretch and I am getting this problem:

    In Output window in NetBeans 8.2 is this output (only extract): Loaded /home/pi/armv6hf-sdk/rt/lib/ext/../arm/libglass_monocle.so from relative path

    java.lang.UnsatisfiedLinkError: Error loading libGLESv2.so
    at com.sun.glass.ui.monocle.AcceleratedScreen.initPlatformLibraries(AcceleratedScreen.java:158)
    at com.sun.glass.ui.monocle.AcceleratedScreen.<init>(AcceleratedScreen.java:68)
    at com.sun.glass.ui.monocle.DispmanAcceleratedScreen.<init>(DispmanAcceleratedScreen.java:34)
    at com.sun.glass.ui.monocle.DispmanPlatform.getAcceleratedScreen(DispmanPlatform.java:43)
    at com.sun.prism.es2.MonocleGLFactory.initialize(MonocleGLFactory.java:107)
    at com.sun.prism.es2.ES2Pipeline.<clinit>(ES2Pipeline.java:82)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at com.sun.prism.GraphicsPipeline.createPipeline(GraphicsPipeline.java:187)
    at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:91)
    at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)
    at java.lang.Thread.run(Thread.java:748)
    (X) Got class = class com.sun.prism.es2.ES2Pipeline
    GraphicsPipeline.createPipeline: error initializing pipeline com.sun.prism.es2.ES2Pipeline
    *** Fallback to Prism SW pipeline
    Prism pipeline name = com.sun.prism.sw.SWPipeline
    Loaded /home/pi/armv6hf-sdk/rt/lib/ext/../arm/libprism_sw.so from relative path
    (X) Got class = class com.sun.prism.sw.SWPipeline
    Initialized prism pipeline: com.sun.prism.sw.SWPipeline
    JavaFX: using com.sun.javafx.tk.quantum.QuantumToolkit
    Cannot open display
    vsync: true vpipe: false
    

    ES2 pipeline (hw accelerated) is not used, used is SW pipeline - graphics is rendered but missing visibled mouse cursor.

    More about this problem, see:

  2. Arne Augenstein

    I've seen this link, but haven't been able to compile JavaFX by myself, yet. Meanwhile, I've practically given up on JavaFX for Raspberry Pi because of very bad tearing effects on PiTFT during animations. I am not able to figure out the problem. My guess was it had to do with hardware acceleration but it's the same with working OpenGl in Rasbpian Jessie. Animations in Qt work very smooth without any tearing effects at all. I probably have to go back to C++/Qt for my project…

  3. Log in to comment