Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to call an undefined function glGenVertexArrays, check for bool(glGenVertexArrays) before calling #280

Open
eehoeskrap opened this issue Mar 20, 2024 · 3 comments

Comments

@eehoeskrap
Copy link

The following error occurs.

  • Windows
  • pyglet : 1.5.28
  • PyOpenGL : 3.1.0
  • pyrender : 0.1.45
2024-03-20 15:58:44.826 | ERROR    | gradio.utils:wrapper:693 - An error has been caught in function 'wrapper', process 'MainProcess' (41896), thread 'AnyIO worker thread' (35364):
Traceback (most recent call last):

  File "D:\workspace\miniforge3\envs\emage\lib\site-packages\OpenGL\latebind.py", line 43, in __call__
    return self._finalCall( *args, **named )
           │    │            │       └ {}
           │    │            └ (1,)
           │    └ <function Wrapper.finaliseCall.<locals>.wrapperCall at 0x0000025DC6278430>
           └ <OpenGL.platform.baseplatform.glGenVertexArrays object at 0x0000025D95F9F180>

TypeError: 'NoneType' object is not callable

During handling of the above exception, another exception occurred:


...


OpenGL.error.NullFunctionError: Attempt to call an undefined function glGenVertexArrays, check for bool(glGenVertexArrays) before calling

Do you know the solution?

@Echo-jyt
Copy link

Hi, have you solved it?

@eehoeskrap
Copy link
Author

Hi. In my case, the problem was caused by the A100 GPU not supporting WDDM. This was resolved by running it on an RTX series GPU.

@Echo-jyt
Copy link

Hi. In my case, the problem was caused by the A100 GPU not supporting WDDM. This was resolved by running it on an RTX series GPU.
My gpu is 1080Ti, but this problem still occurs. I don’t know if it is a problem with the Nvidia driver version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants