stephanh42 / RacketGL

Extended OpenGL bindings for Racket
Apache License 2.0
48 stars 14 forks source link

glGetString / glViewport not available. #16

Closed maeln closed 7 years ago

maeln commented 7 years ago

When trying to run any test in tests/opengl, the viewer window is displayed but nothing is drawn in it and the following messages are produced in stderr :

OpenGL procedure not available: glGetString
viewer.rkt:22:9: OpenGL procedure not available: glViewport

Image of the viewer with the output : Bug

The configuration is the following: Windows 10, Nvidia GTX1070 with driver 376.53, Racket 6.8, fresh install of the package opengl.

stephanh42 commented 7 years ago

Hi Maël,

I think your driver may only support the OpenGL "core" profile and therefore lacks glGetString. (Possibly this is even configurable?)

Unfortunately the demos rely on this function at the moment.

Stephan

Op 21 apr. 2017 6:05 p.m. schreef "Maël Naccache" <notifications@github.com

:

When trying to run any test in tests/opengl, the viewer window is displayed but nothing is drawn in it and the following messages are produced in stderr :

OpenGL procedure not available: glGetString viewer.rkt:22:9: OpenGL procedure not available: glViewport

Image of the viewer with the output : [image: Bug] https://camo.githubusercontent.com/04a569cdc493fa243e808dcb08ceed0231fde876/68747470733a2f2f6d61656c6e2e636f6d2f696d672f6275672e706e67

The configuration is the following: Windows 10, Nvidia GTX1070 with driver 376.53, Racket 6.8, fresh install of the package opengl.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/stephanh42/RacketGL/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AAsR3lLrhMcbOD9UvRLdiadB_LrG5gWuks5ryNO0gaJpZM4NEfj9 .

maeln commented 7 years ago

I tested on my Ubuntu session on the same machine with the nvidia proprietary drivers and it works fine. So it's definitely a driver / windows issue. I will see if I can find more info.

maeln commented 7 years ago

Yes, it seems to be related to NVidia's drivers : https://devtalk.nvidia.com/default/topic/949938/api-usage-unsupported-glgetintegerv-glgetstring-glclear/