Citrix VDI & OpenGL Software Accelerator - GLException: Profile GL_DEFAULT is not available
Posted by
oliver on
Apr 25, 2019; 12:19pm
URL: https://forum.jogamp.org/Citrix-VDI-OpenGL-Software-Accelerator-GLException-Profile-GL-DEFAULT-is-not-available-tp4039743.html
Dear all,
Did anyone manage to run JOGL on Citrix VDI* & OpenGL Software Accelerator**?
The application on which I work got the requirement to run on remote desktops as well as on local machines. While graphics performance doesn’t matter too much in remote sessions, the application crashes when trying to create a GLCanvas.
Running the GLCanvas.main() method throws the following exception:
java -cp jogl-all.jar;gluegen-rt.jar javax.media.opengl.awt.GLCanvas
Exception in thread "main" javax.media.opengl.GLException: Profile GL_DEFAULT is not available on WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], but: []
at javax.media.opengl.GLProfile.get(GLProfile.java:901)
at javax.media.opengl.GLProfile.getDefault(GLProfile.java:632)
at javax.media.opengl.awt.GLCanvas.main(GLCanvas.java:1466)
Complete debug log:
debug.txtI know the JOGL version we use here (2.1.5) isn’t the actual one. But the exception occurs also with the latest release of JOGL.
May it be, that class GLProfile requires OpenGL 3 as stated in the following link? And JOGL crashes, because the virtual environment provides only OpenGL 2.1?
https://jogamp.org/jogl/doc/userguide/#glprofileAny help is appreciated
Thx for reading
Oliver
* VDI=Virtual Desktop Infrastructure
** OpenGL Software Accelerator
https://docs.citrix.com/en-us/xenapp-and-xendesktop/7-15-ltsr/graphics/opengl-software-accelerator.html)
