google-deepmind / google-deepmind/lab

Issue with displaying using X11 and ssh

Open
#105 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
7.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

I am following the setup in a remote server and came across this command:
```
bazel run :python_random_agent --define graphics=sdl -- \
--length=10000 --width=640 --height=480

```
I got the following error response:

```
INFO: Analysed target //:python_random_agent (0 packages loaded).
INFO: Found 1 target...
Target //:python_random_agent up-to-date:
bazel-bin/python_random_agent
INFO: Elapsed time: 0.341s, Critical Path: 0.00s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Running command line: bazel-bin/python_random_agent '--length=10000' '--wiINFO: Build completed successfully, 1 total action
Failed to get __file__ attribute.
GLimp_Init() - could not load OpenGL subsystem
GLimp_Init() - could not load OpenGL subsystem. See "/tmp/dmlab_temp_folder_dTOj8b/baselab/crashlog.txt"

```
I then followed [this](https://github.com/deepmind/lab/issues/17) post. However, I am not interested in installing vncserver. I am sticking with X11.
So I logged into my remote desktop again using:
`$ ssh username@ip -Y
`
and ran the bazel command:
The display came this time. However, each frame was rendered as a separate window, so there were bunch of windows overlapping each another , and after couple of seconds all the windows crashed. At the terminal this was the output :
```
INFO: Analysed target //:python_random_agent (0 packages loaded).
INFO: Found 1 target...
Target //:python_random_agent up-to-date:
bazel-bin/python_random_agent
INFO: Elapsed time: 0.337s, Critical Path: 0.00s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Running command line: bazel-bin/python_random_agent '--length=10000' '--wiINFO: Build completed successfully, 1 total action
Failed to get __file__ attribute.
Segmentation fault (core dumped)
```
My question is : is it possible to run all the frames in a single window by modifying the following bazel command:
```
bazel run :python_random_agent --define graphics=sdl -- \
--length=10000 --width=640 --height=480

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.