Closed RohanChacko closed 3 years ago
Can you send a pull request so that I can check if it can be merged?
Submitted a PR #50. Works for PyOpenGL ver 3.1.5. The conda version of the package is older.
Let me know if there is any issue in merging PR with master.
Just merged the PR. Thanks a lot!!
Hi I am running the data generation code (render_data.py) on a slurm-managed cluster. I get the following error:
The code runs sometimes but mostly errors as above. Is there any known reason for this? Digging a bit into PyOpenGL, I found that it tries to access
/dev/dri/renderD*
. Is there a way to specify whichegl_display
to use? Could it be caused due to the GPUs being shared across jobs?Other info
[UPDATE]
The following code seems to resolve the issue:
Taken from here which was referenced in this issue
Please let me know if this can work as a permanent fix.