It doesn't add more info:
Code: Select all
$ inxi -Gx
Graphics: Card: VMware SVGA II Adapter bus-ID: 00:0f.0
Display Server: X.Org 1.18.4 drivers: vmware (unloaded: fbdev,vesa) Resolution: 1829x994@60.00hz
GLX Renderer: SVGA3D; build GLX Version: 3.0 Mesa 17.4.0-devel (git-4d81c8e43e) Direct Rendering: Yes
It seems that mesa has a version override flag with the following syntax:
MESA_GL_VERSION_OVERRIDE=3.3 command
For example:
Code: Select all
$ MESA_GL_VERSION_OVERRIDE=3.3 inxi -Gx
Graphics: Card: VMware SVGA II Adapter bus-ID: 00:0f.0
Display Server: X.Org 1.18.4 drivers: vmware (unloaded: fbdev,vesa) Resolution: 1829x994@60.00hz
GLX Renderer: SVGA3D; build
GLX Version: 3.3 (Core Profile) Mesa 17.4.0-devel (git-4d81c8e43e) Direct Rendering: Yes
This way, I was able to run my test program that runs a geometry shader.
Unfortunately, I'm still not able to run the app that I need. It now complains that it's missing some OpenGL extensions. Thing is it's an app from 2011, and the missing definitions seem like an old experimental versions of the new ones, and they require only OpenGL 2.0:
Code: Select all
if ( glewIsSupported ( "GL_VERSION_2_0" ) )
{
if ( ! ( GLEW_ARB_vertex_shader &&
GLEW_ARB_fragment_shader &&
GL_EXT_geometry_shader4 &&
GL_TEXTURE_RECTANGLE_ARB ) )
{
_ERROR ( "Some extensions are not supported" );
}
if ( ! glewIsSupported ( "GL_ARB_pixel_buffer_object" ) )
{
_ERROR ( "ERROR: Support for necessary OpenGL extensions missing." );
}
}
else
{
_ERROR ( "No support for opengl 2.0" );
}
If I run it outside the VM with OpenGL 4.5, the app runs fine. Strange, I may need to debug the app...