Closed mmmikael closed 5 years ago
That doesn't give me much to work with, but I can at least offer some suggestions for narrowing down the problem.
First, are you getting a non-NULL handle from eglGetDisplay? Second, what EGL error are you getting?
Also, try setting up a debug callback function with EGL_KHR_debug before you call any other EGL functions. That can give you a more detailed description of whatever error you're running into. Writing your test program in C might make that easier, and would help rule out any problems related to PyOpenGL.
The problem was simply that graphics
was missing from the environment variable NVIDIA_DRIVER_CAPABILITIES
.
hi, @mmmikael i meet the same problem , how did you solve the problem, i just do not catch the meaning "The problem was simply that graphics was missing from the environment variable NVIDIA_DRIVER_CAPABILITIES", does this means to export NVIDIA_DRIVER_CAPABILITIES=graphics ? but, it did not work . And i am not in a docker ! Thanks advance !
The problem was simply that
graphics
was missing from the environment variableNVIDIA_DRIVER_CAPABILITIES
.
@mmmikael it did not work too in ubuntu18.04
I’m getting this error when calling
eglInitialize
in acudagl
docker container:Any idea why this is happening?
I’m initializing egl this way: