Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Sorry, could not initialize OpenGL context. #2

Open
BoysFight opened this issue Jul 8, 2020 · 1 comment
Open

Sorry, could not initialize OpenGL context. #2

BoysFight opened this issue Jul 8, 2020 · 1 comment

Comments

@BoysFight
Copy link

Hi, i want to run opengl without x-server, and i find that our code is the python version of this link, https://developer.nvidia.com/blog/egl-eye-opengl-visualization-without-x-server/
But saddly that i can not run main.py in my server, the error message is as follows:
image
apt install libgl1-mesa-dri libegl1-mesa libgbm1
pip install pyopengl numpy
pip install wheel
All the command that referenced in the readme have been excuted.
the nvidia-smi info is as follows:
image
Do you have any suggestions?

@eduble
Copy link
Owner

eduble commented Jul 8, 2020

Hi,
I wrote this some time ago, and APIs might have changed a little. I suggest you run the code step by step using pdb to check what makes the code discard each of the 3 devices it found.

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

No branches or pull requests

2 participants