drake - 德雷克可视化器不显示任何内容
问题描述
操作系统:Ubuntu 16.04,NVIDIA 驱动程序
我按照德雷克网站中描述的德雷克安装程序进行操作。(我还安装了nvidia驱动程序)安装后,按照我运行时的说明进行操作:
$ xhost +local:root; nvidia-docker run -i --rm -e DISPLAY -e QT_X11_NO_MITSHM=1 -v /tmp/.X11-unix:/tmp/.X11-unix --privileged -t drake; xhost -local:root
我收到以下错误:(未显示模拟,但构建成功)
non-network local connections being added to access control list
+ [[ 0 -eq 0 ]]
+ bazel build //tools:drake_visualizer //examples/acrobot:run_passive
Starting local Bazel server and connecting to it...
INFO: Analysed 2 targets (95 packages loaded, 18023 targets configured).
INFO: Found 2 targets...
INFO: Elapsed time: 89.206s, Critical Path: 1.58s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
+ sleep 2
+ ./bazel-bin/tools/drake_visualizer
+ bazel run //examples/acrobot:run_passive
INFO: Analysed target //examples/acrobot:run_passive (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //examples/acrobot:run_passive up-to-date:
bazel-bin/examples/acrobot/run_passive
INFO: Elapsed time: 1.031s, Critical Path: 0.01s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
process 297: D-Bus library appears to be incorrectly set up; failed to read machine uuid: UUID file '/etc/machine-id' should contain a hex string of length 32, not length 0, with no other text
See the manual page for dbus-uuidgen to correct this issue.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
Could not initialize GLX
./setup/ubuntu/docker/entrypoint.sh: line 15: 297 Aborted (core dumped) ./bazel-bin/tools/drake_visualizer
non-network local connections being removed from access control list
解决方案
我们正在更新使用 nvidia-docker 2.0 的说明。请在本周晚些时候再次查看 drake repo 以获取更新。同时,您可能希望尝试同一页面上的开源驱动程序说明。
推荐阅读
- node.js - Socket.IO server.origins 总是返回 '*' 作为原始值(Nodejs)
- regex - Powershell 正则表达式损坏
- django - Django 向 WSGIRequest 添加新属性
- python - 使用“findall”查找蛋白质序列的序列基序
- apache-spark - 如何在蜂巢中的一行中获取 json 数组,而不是试图爆炸
- java - JavaFX WebView:如何检查表单是否有效?
- ruby - 如何将范围分解为更小的非重叠范围
- c# - 有一个实现接口的类并实现扩展第一个接口的接口是错误的吗?
- javascript - Graphql 订阅 - 订阅字段必须返回 Async Iterable。收到:使用 withFilter 时未定义
- regex - 谷歌分析正则表达式:过滤登陆页面只有一个目录