java - JavaFX on Raspberry PI: Error loading stock shader -
am trying deploy javafx application runs smoothly on windows, on raspberry model b+ v1.2. since javafx not directly available on raspi i've performed adaptions gluon described here (however newest version 144): running javafx gui on raspberry pi
now when run jfx application going show simple window, following error stack problem shaders (error loading stock shader alphatexture_color):
program link log: java.lang.reflect.invocationtargetexception @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:498) @ com.sun.prism.es2.es2resourcefactory.createstockshader(es2resourcefactory.java:313) @ com.sun.prism.impl.ps.baseshadercontext.getpaintshader(baseshadercontext.java:257) @ com.sun.prism.impl.ps.baseshadercontext.validatepaintop(baseshadercontext.java:478) @ com.sun.prism.impl.ps.baseshadergraphics.fillprimrect(baseshadergraphics.java:1106) @ com.sun.prism.impl.ps.baseshadergraphics.fillrect(baseshadergraphics.java:1502) @ com.sun.javafx.sg.prism.ngregion.renderbackgroundrectanglesdirectly(ngregion.java:1108) @ com.sun.javafx.sg.prism.ngregion.renderbackgroundrectangle(ngregion.java:848) @ com.sun.javafx.sg.prism.ngregion.renderasrectangle(ngregion.java:751) @ com.sun.javafx.sg.prism.ngregion.rendercontent(ngregion.java:572) @ com.sun.javafx.sg.prism.ngnode.dorender(ngnode.java:2056) @ com.sun.javafx.sg.prism.ngnode.render(ngnode.java:1948) @ com.sun.javafx.tk.quantum.viewpainter.dopaint(viewpainter.java:477) @ com.sun.javafx.tk.quantum.viewpainter.paintimpl(viewpainter.java:330) @ com.sun.javafx.tk.quantum.presentingpainter.run(presentingpainter.java:91) @ java.util.concurrent.executors$runnableadapter.call(executors.java:511) @ java.util.concurrent.futuretask.runandreset(futuretask.java:308) @ com.sun.javafx.tk.renderjob.run(renderjob.java:58) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1149) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:624) @ com.sun.javafx.tk.quantum.quantumrenderer$pipelinerunnable.run(quantumrenderer.java:125) @ java.lang.thread.run(thread.java:748)
caused by: java.lang.runtimeexception: error creating shader program @ com.sun.prism.es2.es2shader.createfromsource(es2shader.java:158) @ com.sun.prism.es2.es2shader.createfromsource(es2shader.java:173) @ com.sun.prism.es2.es2resourcefactory.createshader(es2resourcefactory.java:225) @ com.sun.prism.shader.alphatexture_color_loader.loadshader(alphatexture_color_loader.java:47) ... 25 more
java.lang.internalerror: error loading stock shader alphatexture_color @ com.sun.prism.es2.es2resourcefactory.createstockshader(es2resourcefactory.java:316) @ com.sun.prism.impl.ps.baseshadercontext.getpaintshader(baseshadercontext.java:257) @ com.sun.prism.impl.ps.baseshadercontext.validatepaintop(baseshadercontext.java:478) @ com.sun.prism.impl.ps.baseshadergraphics.fillprimrect(baseshadergraphics.java:1106) @ com.sun.prism.impl.ps.baseshadergraphics.fillrect(baseshadergraphics.java:1502) @ com.sun.javafx.sg.prism.ngregion.renderbackgroundrectanglesdirectly(ngregion.java:1108) @ com.sun.javafx.sg.prism.ngregion.renderbackgroundrectangle(ngregion.java:848) @ com.sun.javafx.sg.prism.ngregion.renderasrectangle(ngregion.java:751) @ com.sun.javafx.sg.prism.ngregion.rendercontent(ngregion.java:572) @ com.sun.javafx.sg.prism.ngnode.dorender(ngnode.java:2056) @ com.sun.javafx.sg.prism.ngnode.render(ngnode.java:1948) @ com.sun.javafx.tk.quantum.viewpainter.dopaint(viewpainter.java:477) @ com.sun.javafx.tk.quantum.viewpainter.paintimpl(viewpainter.java:330) @ com.sun.javafx.tk.quantum.presentingpainter.run(presentingpainter.java:91) @ java.util.concurrent.executors$runnableadapter.call(executors.java:511) @ java.util.concurrent.futuretask.runandreset(futuretask.java:308) @ com.sun.javafx.tk.renderjob.run(renderjob.java:58) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1149) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:624) @ com.sun.javafx.tk.quantum.quantumrenderer$pipelinerunnable.run(quantumrenderer.java:125) @ java.lang.thread.run(thread.java:748)
could raspberry old , doesn't support shaders in hardware? else try?
huge in advance!
hmpf, quite coincidence found out @ all.. issue vram! has increased 64mb 128 or 256 on raspberry work. can done through raspi_config or visual configuration interface.
Comments
Post a Comment