Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Headless rendering on Mac?

未关闭
#464 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

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

调研方向

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

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

描述

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?

主要语言
Python
星标
4.7k
派生
765
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

google-deepmind/dm_control 的其他 Issue

查看 google-deepmind/dm_control 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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