Closed Riqzz closed 1 year ago
When executing the following, an error occurs.
def init_gl_context(self, device): """ Initialize OpenGL context. """ # init gl context ## Initialize EGL self.mgl_ctx = moderngl.create_context(standalone=True, backend='egl', device_index=device) ...
Traceback (most recent call last): ... Exception: eglInitialize failed (0x3001) Exception ignored in: <function AggregationRenderer.__del__ at 0x7fe2bce31360> ... AttributeError: 'NoneType' object has no attribute 'release'
I fixed it by reinstalling nvidia driver without -no-opengl-files
-no-opengl-files
除了重新安装显卡驱动,还有别的办法吗?
When executing the following, an error occurs.