I try to run my program on Linux. I have one error:
"Prism-ES2 Error : GL_VERSION(major.minor) = 1.4"
And my .tif scene image doesn't display. Just white window.
I use JavaFX Linux SDK 11.0.2
Solved! Go to Solution.
I've tried to run my program on Centos version 7.7 and it works well.
I suspect you need to update or install the drivers for your graphics card. Runtime apps running in Linux will need to create an openGL context and it looks like your drivers are not allowing it.
If you can get a driver from the vendor of the chipset for your graphics card this will be best. My experience of open source software based drivers is not good. For example on my old Ubuntu machine I have the nVidia drivers and this works nicely. You can see how I've checked the openGL support and drivers below:
~$ glxinfo | grep "version"
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 4.6.0 NVIDIA 390.141
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 390.141
OpenGL shading language version string: 4.60 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.141
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
GL_EXT_shader_group_vote, GL_EXT_shader_implicit_conversions,
Does this help?
Thank you. I installed Linux on another computer on Virtual Machine and program started. But the dispayed Earth is black.
It's very likely again that your drivers don't meet the OpenGL requirements to render a 3D scene. On the VM are you able to render a MapView based app?
What happens when you query the graphics capabilities of the machine using
glxinfo | grep "version"
Also see the requirements here https://developers.arcgis.com/java/reference/system-requirements/
The SDK has been tested against SUSE, Ubuntu and Redhat. I've never tried centOS before but my understanding is this is very similar to Redhat. You do however need to have the correct OpenGL / shader support. As I explained some software based graphics drivers are not complete; drivers from the graphics card vendor are the best way forward. As you can see on my Ubuntu machine I have the correct nvidia drivers and I meet the requirements easily:
OpenGL version string: 4.6.0 NVIDIA 390.141
OpenGL shading language version string: 4.60 NVIDIA
I've tried to run my program on Centos version 7.7 and it works well.
Thank you. Command glxinfo | grep "version" returns that
I suppose i should somehow update OpenGL version