hongsukchoi/TCMR_RELEASE

OpenGL.error.GLError: GLError( err = 12290,

barvin04 opened this issue · 2 comments

Hello,
I am trying to run the demo.py file and am stuck at " OpenGL.error.GLError: GLError( err = 12290, ...." error. The Multi-person-tracker and TCMR on each person sub module is fine. During rendering over ssh from Slurm system I am facing the said issue.

A commentar here says sometimes pyrender is incompatible with Ubuntu. Another user says similar thing here.

Most of the users found this solution to be helpful. I have taken care to change it, as said at the right section but still the issue persists. Note: most of the issues are err=12289 while I happen to get err=12290. Kindly let me know if this is an issue of Nvidia drivers or if it could be solved by repairing code at site-packages.

On a slightly different line, changing os.environ['PYOPENGL_PLATFORM'] from egl to osmesa like in here raises ImportError: cannot import name 'OSMesaCreateContextAttribs' from 'OpenGL.osmesa' .

ScreenShot of the OpenGL error
image

Thank you

Hi,

I recommend you to use OSMesa if the egl doesn't works.

And also you should set the environment before importing pyrender like below

os.environ['PYOPENGL_PLATFORM']  = 'osmesa'
import pyrender

Hello, I am trying to run the demo.py file and am stuck at " OpenGL.error.GLError: GLError( err = 12290, ...." error. The Multi-person-tracker and TCMR on each person sub module is fine. During rendering over ssh from Slurm system I am facing the said issue. A commentar here says sometimes pyrender is incompatible with Ubuntu. Another user says similar thing here. Most of the users found this solution to be helpful. I have taken care to change it, as said at the right section but still the issue persists. Note: most of the issues are err=12289 while I happen to get err=12290. Kindly let me know if this is an issue of Nvidia drivers or if it could be solved by repairing code at site-packages.

On a slightly different line, changing os.environ['PYOPENGL_PLATFORM'] from egl to osmesa like in here raises ImportError: cannot import name 'OSMesaCreateContextAttribs' from 'OpenGL.osmesa' .

ScreenShot of the OpenGL error image

Thank you

Just set the environment variable export EGL_DEVICE_ID=1 before running your script.