Do you need the JavaFX 8 graphics capabilities? If not, can you run it with graphics disabled?
On the chance that there might be useful information in them, here are two links for java I have from my days of noodling around with the raspi: http://www.oracle.com/technetwork/articles/java/raspberrypi-1704896.html http://www.savagehomeautomation.com/raspi-jdk8 On Thursday, January 9, 2014 12:50:46 PM UTC-8, John Syne wrote: > > > From: Giuseppe Iellamo <[email protected] <javascript:>> > Reply-To: <[email protected] <javascript:>> > Date: Thursday, January 9, 2014 at 8:11 AM > To: <[email protected] <javascript:>> > Subject: [beagleboard] Re: JavaFX 8 on BeagleBone Black (SGX driver > problem?) > > Sorry I can't help you but maybe you can help me. > > I'm using your exact configuration... > > But I still read > > > > > > > > *root@arm:/opt/Graphics_SDK_setuplinux_5_00_00_01/gfxsdkdemos/ogles2# > ./OGLES2ChameleonMan PVRShell: EGL 1.4 initializedExit message has been set > to: "PVRShell: Unable to create surface".InitAPI failed!PVRShell: Unable to > create surface* > I've loaded the modules, I've installe the libraries in > *gfx_rel_es8.x* > > Please tell me what did you load from the Graphics SDK? > > Hi Giuseppe, > > Here is what I did to make this work: > > Download the Graphics SDK from here: > > > http://software-dl.ti.com/dsps/dsps_public_sw/gfxsdk/5_01_00_01/index_FDS.html > > Use the hardfp version if you are using Debian. > > Make the file executable and install. Update the Rules.make file to > reflect your environment. Here is an example: > ================= > # <userid> is your login userid > HOME=/home/<userid> > > # Set Toolchain path. I installed Linaro via apt-get install > arm-linux-gnueabihf-gcc > CSTOOL_DIR=/usr > > # Set Tool chain prefix (ex arm-arago-linux-gnueabi- ) > CSTOOL_PREFIX=arm-linux-gnueabihf- > > # Set kernel installation path ( ex /home/user/linux-04.00.01.13 ) > KERNEL_INSTALL_DIR=${HOME}/GIT/linux-dev-3.12/KERNEL > > # Set Target filesystem path ( ex /home/user/targetfs ) > TARGETFS_INSTALL_DIR=/mnt/<userid>/rootfs > > # Set installation folder > GRAPHICS_INSTALL_DIR=${HOME}/Graphics/Graphics_SDK_5_01_00_01_hardfp > ================== > > Host > make BUILD=release OMAPES=8.x PM_RUNTIME=1 all > # Insert SDCARD and I’m assuming the rootfs is mounted at > /mnt/<userid>/rootfs from Rules.make file above > Host > sudo make BUILD=release OMAPES=8.x PM_RUNTIME=1 install > > After you boot your BBB, run > BBB > sudo /etc/init.d/335x-demo > # Reboot > BBB > sudo /etc/init.d/rc.pvr start > > Now run the demos and everything should work fine. > > Regards, > John > > > > Il giorno giovedì 9 gennaio 2014 10:40:35 UTC+1, [email protected] ha > scritto: >> >> 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] <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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.
