Open VolkerEnderlein opened 9 years ago
Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).
Hi John,
Sorry, I don't know anything about the nVidia-Optimus environment.
However, I glanced at the error message in gl.cpp, line 1886, and noted that there are three other functions it is looking for. Are you able to tell which one(s) is(are) missing?
Roy
Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).
John,
Thanks for the update. I see two lines of attack:
1) Try finding out from NVidia if they really aren't supported, and if not what to use instead. 2) Review the Coin code to determine where they are used and look to see if there is an alternative.
I can have a go at the latter.
Roy
Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).
John,
The one thing I have noted when reading the OpenGL extension registry documentation is that the two missing functions are not part of the glVertexArrayRangeNV extension. Instead I have seen comments it is part of the wglAllocateMemoryNV / glXAllocateMemoryNV extension. I looked at both the wglext.h and the glxext.h files on the OpenGL web site. wglAllocateMemeoryNV was in the wglext.h file but I couldn't find glXAllocateMemoryNV in the glxext.h file.
Does the nVidia-Optimus have either of these two functions?
Roy
Original report by john candlish (Bitbucket: jCandlish, GitHub: jCandlish).
Hello
I experience odd program behavior when Coin3d (FreeCAD) runs from the nvidia-optimus (bumblebee-primus) environment. The other GPU in my laptop works OK, and nvidia-optimus is fine for nsight-CUDA apps.
Coin warning in glglue_init(): glVertexArrayRangeNV found, but one or more of the other vertex array functions were not found
The screwy GL context causes lots of funny, but non-fatal, UI quirks. FreeCAD hangs on application close, then SEGVs.
Anybody else see this behavior?
Thanks jCandlish .