google-deepmind / google-deepmind/dm_control

Headless rendering on Mac?

未关闭
#464 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
4.7k
派生
764
PR 合并指标
30 天内没有已合并 PR

描述

I'm currently trying to run something on a headless Mac server that is hanging due to a call to Physics.render()

Relevant code excerpt:
```
from dm_control.suite import base

class MyTask(base.Task):

...

def get_observation(self, physics):
image = physics.render(...)
...

my_task.get_observation(self, physics)

```

I face the same issue if I try to follow the 'getting started' steps outlined here: https://github.com/google-deepmind/dm_control/tree/main/dm_control/mujoco

From a few existing issues and the description on the main readme.md, I can't quite tell if headless rendering on a MacOS system is supported or not - it seems like it might only be supported for Nvidia systems. If so, are there any known workarounds?

贡献指南

打开贡献指南

调研方向

从 Physics.render() 调用以及 issue 中引用的 dm_control/mujoco 入门步骤开始,然后将它们与主 README 中关于 headless-rendering 的说明进行比较。确定 macOS 上的卡死是否属于受支持的行为,并记录已确认的 workaround 或平台限制。

由索引模型根据 Issue 内容生成。

评估

技术栈
macos, python
领域
computer-graphics, operating-systems
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。