Hello,
I am trying to run the newest JavaFX 8 snapshot release on the beaglebone
black. So far I haven't got it running, the debug output shows the
following:
Multi-Threading Enabled
Prism pipeline init order: es2
Using platform text rasterizer
Using java-based Pisces rasterizer
Using dirty region optimizations
Not using texture mask for primitives
Not forcing power of 2 sizes for textures
Using hardware CLAMP_TO_ZERO mode
Opting in for HiDPI pixel scaling
Prism pipeline name = com.sun.prism.es2.ES2Pipeline
Loading ES2 native library ... prism_es2_eglfb
Loaded /opt/jdk1.8.0/jre/lib/ext/../arm/libprism_es2_eglfb.so from relative
path
succeeded.
GLFactory using com.sun.prism.es2.EGLFBGLFactory
*eglGetConfigAttrib failed!(X)* Got class = class
com.sun.prism.es2.ES2Pipeline
GraphicsPipeline.createPipeline: error initializing pipeline
com.sun.prism.es2.ES2Pipeline
Graphics Device initialization failed for : es2
Error initializing QuantumRenderer: no suitable pipeline found
What I've done:
- Installed the Ubuntu 13.10 image from Robert C Nelson (
https://rcn-ee.net/deb/rootfs/saucy/ubuntu-13.10-console-armhf-2013-12-17.tar.xz
)
- Compiled the kernel from
https://github.com/RobertCNelson/linux-dev/tree/am33x-v3.12 and installed it
- Used the
sgx_build_modules.sh<https://github.com/RobertCNelson/linux-dev/blob/am33x-v3.12/sgx_build_modules.sh>script
from the git repo above to download and compile the SGX drivers
- Copied the drivers to the SD card and installed it on the BBB
- I had to manually load the omaplfb module, as it doesn't seem to be
loaded automatically (bufferclass_ti and pvrsrvkm are loaded automatically)
- After that, the SDK demos (OGLES2ChameleonMan and OGLES2MagicLantern)
seem to work fine
- When starting a JavaFX application, it fails during startup with the log
mentioned above (tried to enable all possible debug output)
I've found the error string in the OpenJFX sources, but to get more
information, I'd need to create a debug build of the prism-es2 module (or
maybe from the whole OpenJDK), which at this point I don't know how to do.
Maybe somebody knows what the problem might be.
>From
<OpenJFX>/rt/modules/graphics/src/main/native-prism-es2/eglfb/EGLFBGLFactory.c:
...
if (!eglChooseConfig(egldisplay, eglAttrs, &config, 1, &numconfigs)) {
fprintf(stderr, "Failed to get a FBconfig with requested attrs\n");
//cleanup
return 0;
}
#ifdef DEBUG
printf("eglChooseConfig return %d configs\n", numconfigs);
#endif
if (!eglGetConfigAttrib(egldisplay, config, EGL_CONFIG_ID, &configId)) {
fprintf(stderr, "*eglGetConfigAttrib failed!*");
return 0;
}
#ifdef DEBUG
printf("EGL: Using config #%d\n", configId);
printConfig(egldisplay, config);
#endif
...
Regards,
Michael
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.