Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to render image in vnc environment? #17

Closed
zhengwx11 opened this issue Dec 22, 2016 · 5 comments
Closed

Is it possible to render image in vnc environment? #17

zhengwx11 opened this issue Dec 22, 2016 · 5 comments

Comments

@zhengwx11
Copy link

by running ~/lab$ bazel run :random_agent --define headless=false, a graphic interface is obtained when I use physical screen, mouse and keyboard.

Is there any way to run it under vnc viewer?
I've tried but got a 'GlxBadRenderRequest'.

@frankcarey
Copy link

frankcarey commented Dec 30, 2016

I had similar issues See #22 (comment)

Also see some of the tools to test out opengl here: http://superuser.com/questions/654899/ssh-x-glxbadrenderrequest

@chankim
Copy link

chankim commented Dec 31, 2016

I tried building deepmind lab and running it. I'm doing it on vnc window. When I run 'bazel run :game --define headless=false -- --level_script tests/demo_map' I see a window pop up saying 'GLimp_Init()-could not load OpenGL subsystem. See "/home/ckim/.deepmind_lab/baselab/crashlog.txt" for details.' Has it something to do with vnc? I searched the web but couldn't figure out yet.
ADD : this morning, after a long break, I'm back at work and tried the same command 'bazel run :random_agent --define headless=false -- --length=10000 --width=640 --height=480' with real monitor (not using vnc) above and it works. (It didn't work with vnc before).

@tkoeppe
Copy link
Collaborator

tkoeppe commented Jan 3, 2017

@chankim: The headless=false build probably requires OpenGL, which may not work via VNC. Try the headless=osmesa build (or rebuild your SDL library with osmesa?).

@chankim
Copy link

chankim commented Jan 4, 2017 via email

@tkoeppe
Copy link
Collaborator

tkoeppe commented Jan 17, 2017

I assume this is settled? Please reopen if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants