sxyu / volrend

PlenOctree Volume Rendering (supports CUDA & fragment shader backends)
Other
608 stars 84 forks source link

GLX Version #8

Open 879917820 opened 3 years ago

879917820 commented 3 years ago

GLX: GLX version 1.3 is required

glxinfo|grep version server glx version string: 1.2 client glx version string: 1.4 GLX version: 1.2 OpenGL version string: 1.1.0

I tried to find the reason, but it failed in the end.Do you understand why this is?Thanks!!!!!!!

fabrice-ducos commented 2 years ago

GLX is an API. You may not update it directly, it results from a negotiation between your glx client and server. Your client is 1.4, but your server is 1.2, therefore your resulting GLX version is 1.2.

I ran into the same issue while developing an application on a WSL2 Ubuntu image (Linux/Ubuntu image on Windows). My X-Server on Windows was Xming, that is only GLX 1.2 compatible (the free, open-source version of Xming was not updated since 2009, and never supported GLX 1.3 and 1.4). I could fix the problem by replacing Xming with VCXSRV, that is GLX 1.4 compatible.