Colab: OpenGL.raw.EGL._errors
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
调研方向
在 2-v-2 Boxhead 足球示例的 Colab Notebook 中重现该错误。先从 dm_control/mujoco/wrapper/core.py 以及 traceback 中显示的 dm_control/_render/base.py、render_executor.py 和 pyopengl/egl_renderer.py 中的渲染路径开始。完成的标准是 notebook 不再报告 thread-conflict 和 EGL_BAD_ACCESS 清理错误。
由索引模型根据 Issue 内容生成。
描述
When I tried to run the Colab Notebook, the following error occurred at 2-v-2 Boxhead soccer.
Exception ignored in: <function MjrContext.__del__ at 0x7f3c08a77700>
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/dm_control/mujoco/wrapper/core.py", line 633, in __del__
File "/usr/local/lib/python3.9/dist-packages/dm_control/mujoco/wrapper/core.py", line 624, in free
File "/usr/lib/python3.9/contextlib.py", line 119, in __enter__
File "/usr/local/lib/python3.9/dist-packages/dm_control/_render/base.py", line 135, in make_current
RuntimeError: Cannot make context <dm_control._render.pyopengl.egl_renderer.EGLContext object at 0x7f3bf1c92490> current on thread <Thread(_colab_inspector_thread, started daemon 139895867696896)>: this context is already current on another thread <_MainThread(MainThread, started 139896762632000)>.
Exception ignored in: <function ContextBase.__del__ at 0x7f3c20187820>
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/dm_control/_render/base.py", line 118, in __del__
File "/usr/local/lib/python3.9/dist-packages/dm_control/_render/base.py", line 115, in _free_unconditionally
File "/usr/local/lib/python3.9/dist-packages/dm_control/_render/executor/render_executor.py", line 144, in terminate
File "/usr/local/lib/python3.9/dist-packages/dm_control/_render/base.py", line 96, in _free_on_executor_thread
File "/usr/local/lib/python3.9/dist-packages/dm_control/_render/pyopengl/egl_renderer.py", line 125, in _platform_make_current
File "/usr/local/lib/python3.9/dist-packages/OpenGL/error.py", line 230, in glCheckError
OpenGL.raw.EGL._errors.EGLError: EGLError(
err = EGL_BAD_ACCESS,
baseOperation = eglMakeCurrent,
cArguments = (
<OpenGL._opaque.EGLDisplay_pointer object at 0x7f3c200be440>,
<OpenGL._opaque.EGLSurface_pointer object at 0x7f3c201314c0>,
<OpenGL._opaque.EGLSurface_pointer object at 0x7f3c201314c0>,
<OpenGL._opaque.EGLContext_pointer object at 0x7f3bf1d189c0>,
),
result = 0
)
Please let me know how to fix it.
- 主要语言
- Python
- 星标
- 4.7k
- 派生
- 778
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
google-deepmind/dm_control 的其他 Issue
-
Initial observation padding changes when source arrays are reused可能已有人在做 @sylvesterkaczmarek 于 53 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
google-deepmind/dm_control#559 ·
-
TaggedTasks overrides retain stale tag memberships可能已有人在做 @sylvesterkaczmarek 于 7 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 25/100
google-deepmind/dm_control#572 ·
-
Small quaternion rotations are lost in axis-angle conversion可能已有人在做 @sylvesterkaczmarek 于 48 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 68/100
google-deepmind/dm_control#563 ·
-
Built-in observation aggregators drop bounds-preserving specifications可能已有人在做 @sylvesterkaczmarek 于 53 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 75/100
google-deepmind/dm_control#560 ·
-
Flattened observations disagree with explicitly declared task specifications可能已有人在做 @sylvesterkaczmarek 于 53 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 74/100
google-deepmind/dm_control#557 ·
查看 google-deepmind/dm_control 的全部 Issue
相似的 Issue
-
[dbt] exported dataset keys reference physical columns可能已有人在做 @WilliamKelley 今天认领。 未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
apache/ossie-converters#251 ·
维护者通常 2 天内回复
-
cli difficulty: easy enhancement
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
desec-io/desec-stack#1312 ·
维护者通常 14 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 82/100
aws/aws-durable-execution-sdk-python#977 ·
维护者通常 1 天内回复
-
needs-triage
难度 1/5 1 小时以内 新手友好度 88/100
flashinfer-ai/flashinfer#9803 ·
维护者通常 1 天内回复