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

OpenGL.error.GLError #15

Open
huangzijian1998 opened this issue Oct 20, 2020 · 3 comments
Open

OpenGL.error.GLError #15

huangzijian1998 opened this issue Oct 20, 2020 · 3 comments

Comments

@huangzijian1998
Copy link

First, I encountered the bug 'ImportError: cannot import name 'ModelOutput''. Then, I modified the code from 'from smplx.body_models import ModelOutput' to 'from smplx.body_models import SMPLOutput' in smpl.py. Finally, I encountered the bug
OpenGL.error.GLError: GLError(
err = 1282,
description = b'invalid operation',
baseOperation = glGetUniformLocation,
cArguments = (3, b'ModelMat\x00'),
result = -1
)
and I don't know how to solve it. Could you please help me?

@tamBou
Copy link

tamBou commented Jan 11, 2021

I had the same issue and have fixed it by using this command:
export MESA_GL_VERSION_OVERRIDE=3.3

@miramirakim227
Copy link

@tamBou Hello :) would you please let us know where you put the 'export...=3.3' code??

@tamBou
Copy link

tamBou commented Aug 9, 2021

Hello! After pip install PyOpenGL I put:
export MESA_GL_VERSION_OVERRIDE==3.3

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

3 participants