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: GLError #150

Open
InuyashaLee opened this issue Jul 31, 2024 · 1 comment
Open

OpenGL.error.GLError: GLError #150

InuyashaLee opened this issue Jul 31, 2024 · 1 comment

Comments

@InuyashaLee
Copy link

When I run python -m scripts.data_processors.smpl.generate_smpls --reference_imgs_folder reference_imgs --driving_video_path driving_videos/your_video_1 --device YOUR_GPU_ID,it reports an error:OpenGL.error.GLError: GLError( err = 12296,..... How to solve this problem?

@NinoNeumann
Copy link
Collaborator

The error OpenGL.error.GLError: GLError( err = 12296) that you encountered while running the command typically relates to issues with OpenGL context initialization or EGL settings.
Ensure that the PYOPENGL_PLATFORM environment variable is set correctly.
if "PYOPENGL_PLATFORM" not in os.environ: os.environ["PYOPENGL_PLATFORM"] = "egl" If you are on Windows, you might want to change egl to wgl. For Linux, ensure you have the necessary EGL library support.
Alternatively, you can follow this tutorial to set up the environment: https://github.com/fudan-generative-vision/champ/blob/master/docs/data_process.md. This should be helpful.

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