You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 6, 2018. It is now read-only.
I successfully follow the README to download various universe packages and docker installation. I can download the docker images when type "sudo python random-agent.py" but i receive the following error
"failed to initialize glfw: APIUnavailable: EGL: Failed to initialize EGL: EGL is not or could not be initialized"
Can you please help me how to fix this problem?
Thanks,
Ben
Attached is the log:
[2016-12-12 20:54:41,327] Making new env: flashgames.NeonRace-v0
[2016-12-12 20:54:41,329] Writing logs to file: /tmp/universe-15402.log
[2016-12-12 20:54:41,336] [0] Creating container: image=quay.io/openai/universe.flashgames:0.20.7. Run the same thing by hand as: docker run -p 5909:5900 -p 15909:15900 --cap-add SYS_ADMIN --ipc host --privileged quay.io/openai/universe.flashgames:0.20.7
universe-RMMsiy-0 | Setting VNC and rewarder password: openai
universe-RMMsiy-0 | [Mon Dec 12 12:54:42 UTC 2016] Waiting for /tmp/.X11-unix/X0 to be created (try 1/10)
universe-RMMsiy-0 | [Mon Dec 12 12:54:43 UTC 2016] [/usr/local/bin/sudoable-env-setup] Disabling outbound network traffic for none
universe-RMMsiy-0 | [init] [2016-12-12 12:54:43,030] PID 55 launched with command ['sudo', '-H', '-u', 'nobody', 'DISPLAY=:0', 'DBUS_SESSION_BUS_ADDRESS=/dev/null', '/app/universe-envs/controlplane/bin/controlplane.py', '--rewarder-port=15901']
universe-RMMsiy-0 | [init] [2016-12-12 12:54:43,031] init detected end of child process 23 with exit code 0, not killed by signal
universe-RMMsiy-0 | WebSocket server settings:
universe-RMMsiy-0 | - Listen on :5898
universe-RMMsiy-0 | - Flash security policy server
universe-RMMsiy-0 | - No SSL/TLS support (no cert file)
universe-RMMsiy-0 | - proxying from :5898 to localhost:5900
universe-RMMsiy-0 | [2016-12-12 12:54:43,536] [INFO:root] Starting play_controlplane.py with the following: command=['/app/universe-envs/controlplane/bin/controlplane.py', '--rewarder-port=15901'] args=Namespace(bot_demonstration=False, demonstration=False, env_id=None, idle_timeout=None, integrator_mode=False, no_env=False, no_rewarder=False, no_scorer=False, no_vexpect=False, remotes='vnc://127.0.0.1:5900', rewarder_fps=60, rewarder_port=15901, verbosity=0) env=environ({'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME': 'f5d99c73c4e3', 'SUDO_USER': 'root', 'LOGNAME': 'nobody', 'DBUS_SESSION_BUS_ADDRESS': '/dev/null', 'USER': 'nobody', 'SUDO_UID': '0', 'SUDO_GID': '0', 'HOME': '/nonexistent', 'SUDO_COMMAND': '/app/universe-envs/controlplane/bin/controlplane.py --rewarder-port=15901', 'DISPLAY': ':0', 'TERM': 'xterm', 'USERNAME': 'nobody', 'SHELL': '/usr/sbin/nologin', 'MAIL': '/var/mail/nobody'})
universe-RMMsiy-0 | [2016-12-12 12:54:43,536] [INFO:root] [EnvStatus] Changing env_state: None (env_id=None) -> None (env_id=None) (episode_id: 0->0, fps=60)
universe-RMMsiy-0 | [2016-12-12 12:54:43,536] [INFO:universe.rewarder.remote] Starting Rewarder on port=15901
universe-RMMsiy-0 | [2016-12-12 12:54:43,538] [INFO:universe.extra.universe.wrappers.logger] Running VNC environments with Logger set to print_frequency=5. To change this, pass "print_frequency=k" or "print_frequency=None" to "env.configure".
universe-RMMsiy-0 | [2016-12-12 12:54:43,540] [INFO:universe.envs.vnc_env] Using the golang VNC implementation
universe-RMMsiy-0 | [2016-12-12 12:54:43,540] [INFO:universe.envs.vnc_env] Using VNCSession arguments: {'fine_quality_level': 50, 'compress_level': 9, 'encoding': 'zrle', 'subsample_level': 2, 'start_timeout': 7}. (Customize by running "env.configure(vnc_kwargs={...})"
universe-RMMsiy-0 | [2016-12-12 12:54:43,540] [INFO:universe.envs.vnc_env] Printed stats will ignore clock skew. (This usually makes sense only when the environment and agent are on the same machine.)
universe-RMMsiy-0 | [2016-12-12 12:54:43,542] [INFO:universe.envs.vnc_env] [0] Connecting to environment: vnc://127.0.0.1:5900 password=openai. Use the browser-based VNC client: http://None/viewer/?password=openai
universe-RMMsiy-0 | [2016-12-12 12:54:43,542] [INFO:universe.extra.universe.envs.vnc_env] [0] Connecting to environment details: vnc_address=127.0.0.1:5900 vnc_password=openai rewarder_address=None rewarder_password=openai
universe-RMMsiy-0 | 2016/12/12 12:54:43 I1212 12:54:43.542602 56 gymvnc.go:417] [0:127.0.0.1:5900] opening connection to VNC server
universe-RMMsiy-0 | [2016-12-12 12:54:43,542] [INFO:root] [EnvStatus] Changing env_state: None (env_id=None) -> resetting (env_id=None) (episode_id: 0->1, fps=60)
universe-RMMsiy-0 | [2016-12-12 12:54:43,542] [INFO:root] [MainThread] Env state: env_id=None episode_id=1
universe-RMMsiy-0 | 2016/12/12 12:54:43 I1212 12:54:43.549981 56 gymvnc.go:550] [0:127.0.0.1:5900] connection established
universe-RMMsiy-0 | [Mon Dec 12 12:54:43 UTC 2016] [/usr/local/bin/sudoable-env-setup] Disabling outbound network traffic for none
universe-RMMsiy-0 | [2016-12-12 12:54:43,565] [INFO:gym_flashgames.launcher] [MainThread] Launching new Chrome process (attempt 0/10)
universe-RMMsiy-0 | [2016-12-12 12:54:43,565] [INFO:root] Replacing selenium_wrapper_server since we currently do it at every episode boundary
universe-RMMsiy-0 | [2016-12-12 12:54:43,675] [selenium_wrapper_server] Calling webdriver.Chrome()
[2016-12-12 20:54:43,976] Using the golang VNC implementation
[2016-12-12 20:54:43,977] Using VNCSession arguments: {'subsample_level': 2, 'start_timeout': 7, 'fine_quality_level': 50, 'encoding': 'tight'}. (Customize by running "env.configure(vnc_kwargs={...})"
[2016-12-12 20:54:43,979] [0] Connecting to environment: vnc://localhost:5909 password=openai. Use the browser-based VNC client: http://localhost:15909/viewer/?password=openai
2016/12/12 20:54:43 I1212 20:54:43.980002 15402 gymvnc.go:417] [0:localhost:5909] opening connection to VNC server
universe-RMMsiy-0 | [init] [2016-12-12 12:54:43,950] init detected end of child process 17 with exit code 0, not killed by signal
2016/12/12 20:54:43 I1212 20:54:43.983501 15402 gymvnc.go:550] [0:localhost:5909] connection established
universe-RMMsiy-0 | [2016-12-12 12:54:43,976] [INFO:universe.rewarder.remote] Client connecting: peer=tcp4:127.0.0.1:57764 observer=True
universe-RMMsiy-0 | [2016-12-12 12:54:43,976] [INFO:universe.rewarder.remote] WebSocket connection established
universe-RMMsiy-0 | [2016-12-12 12:54:43,977] [INFO:universe.rewarder.remote] WebSocket connection closed: connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake)
universe-RMMsiy-0 | [2016-12-12 12:54:43,977] [INFO:universe.rewarder.remote] [Twisted] Non-active client disconnected
universe-RMMsiy-0 | [2016-12-12 12:54:43,987] [INFO:universe.rewarder.remote] Client connecting: peer=tcp4:127.0.0.1:57774 observer=False
universe-RMMsiy-0 | [2016-12-12 12:54:43,988] [INFO:universe.rewarder.remote] WebSocket connection established
2016/12/12 20:54:44 C1212 20:54:44.034406 15402 vncgl.go:40] failed to initialize glfw: APIUnavailable: EGL: Failed to initialize EGL: EGL is not or could not be initialized
The text was updated successfully, but these errors were encountered:
Hi it seems the EGL is related to the GFLW and OpenGL. I try to install the latest version of GFLW 3.2.1 and I also managed to run their GFLW example. I am using Nvidia Titan X video card is there any special setting I need to set in order to get openAI universe to run properly?
Hi OpenAI team, after further investigation I am pretty confident that the problem is related to the OpenGL driver. So I decided to uninstall all the NVIDIA driver and just install the minimal version of NVIDIA driver for my TITAN X. Now I have a slightly different error:
2016/12/18 19:03:46 C1218 19:03:46.72554 4545 vncgl.go:40] failed to initialize glfw: APIUnavailable: GLX: GLX extension not found
Can you please recommend which OpenGL software I should install so that I can run universe? I am using Ubuntu 14.04.
Hi,
I successfully follow the README to download various universe packages and docker installation. I can download the docker images when type "sudo python random-agent.py" but i receive the following error
"failed to initialize glfw: APIUnavailable: EGL: Failed to initialize EGL: EGL is not or could not be initialized"
Can you please help me how to fix this problem?
Thanks,
Ben
Attached is the log:
[2016-12-12 20:54:41,327] Making new env: flashgames.NeonRace-v0
[2016-12-12 20:54:41,329] Writing logs to file: /tmp/universe-15402.log
[2016-12-12 20:54:41,336] [0] Creating container: image=quay.io/openai/universe.flashgames:0.20.7. Run the same thing by hand as: docker run -p 5909:5900 -p 15909:15900 --cap-add SYS_ADMIN --ipc host --privileged quay.io/openai/universe.flashgames:0.20.7
universe-RMMsiy-0 | Setting VNC and rewarder password: openai
universe-RMMsiy-0 | [Mon Dec 12 12:54:42 UTC 2016] Waiting for /tmp/.X11-unix/X0 to be created (try 1/10)
universe-RMMsiy-0 | [Mon Dec 12 12:54:43 UTC 2016] [/usr/local/bin/sudoable-env-setup] Disabling outbound network traffic for none
universe-RMMsiy-0 | [init] [2016-12-12 12:54:43,030] PID 55 launched with command ['sudo', '-H', '-u', 'nobody', 'DISPLAY=:0', 'DBUS_SESSION_BUS_ADDRESS=/dev/null', '/app/universe-envs/controlplane/bin/controlplane.py', '--rewarder-port=15901']
universe-RMMsiy-0 | [init] [2016-12-12 12:54:43,031] init detected end of child process 23 with exit code 0, not killed by signal
universe-RMMsiy-0 | WebSocket server settings:
universe-RMMsiy-0 | - Listen on :5898
universe-RMMsiy-0 | - Flash security policy server
universe-RMMsiy-0 | - No SSL/TLS support (no cert file)
universe-RMMsiy-0 | - proxying from :5898 to localhost:5900
universe-RMMsiy-0 | [2016-12-12 12:54:43,536] [INFO:root] Starting play_controlplane.py with the following: command=['/app/universe-envs/controlplane/bin/controlplane.py', '--rewarder-port=15901'] args=Namespace(bot_demonstration=False, demonstration=False, env_id=None, idle_timeout=None, integrator_mode=False, no_env=False, no_rewarder=False, no_scorer=False, no_vexpect=False, remotes='vnc://127.0.0.1:5900', rewarder_fps=60, rewarder_port=15901, verbosity=0) env=environ({'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME': 'f5d99c73c4e3', 'SUDO_USER': 'root', 'LOGNAME': 'nobody', 'DBUS_SESSION_BUS_ADDRESS': '/dev/null', 'USER': 'nobody', 'SUDO_UID': '0', 'SUDO_GID': '0', 'HOME': '/nonexistent', 'SUDO_COMMAND': '/app/universe-envs/controlplane/bin/controlplane.py --rewarder-port=15901', 'DISPLAY': ':0', 'TERM': 'xterm', 'USERNAME': 'nobody', 'SHELL': '/usr/sbin/nologin', 'MAIL': '/var/mail/nobody'})
universe-RMMsiy-0 | [2016-12-12 12:54:43,536] [INFO:root] [EnvStatus] Changing env_state: None (env_id=None) -> None (env_id=None) (episode_id: 0->0, fps=60)
universe-RMMsiy-0 | [2016-12-12 12:54:43,536] [INFO:universe.rewarder.remote] Starting Rewarder on port=15901
universe-RMMsiy-0 | [2016-12-12 12:54:43,538] [INFO:universe.extra.universe.wrappers.logger] Running VNC environments with Logger set to print_frequency=5. To change this, pass "print_frequency=k" or "print_frequency=None" to "env.configure".
universe-RMMsiy-0 | [2016-12-12 12:54:43,540] [INFO:universe.envs.vnc_env] Using the golang VNC implementation
universe-RMMsiy-0 | [2016-12-12 12:54:43,540] [INFO:universe.envs.vnc_env] Using VNCSession arguments: {'fine_quality_level': 50, 'compress_level': 9, 'encoding': 'zrle', 'subsample_level': 2, 'start_timeout': 7}. (Customize by running "env.configure(vnc_kwargs={...})"
universe-RMMsiy-0 | [2016-12-12 12:54:43,540] [INFO:universe.envs.vnc_env] Printed stats will ignore clock skew. (This usually makes sense only when the environment and agent are on the same machine.)
universe-RMMsiy-0 | [2016-12-12 12:54:43,542] [INFO:universe.envs.vnc_env] [0] Connecting to environment: vnc://127.0.0.1:5900 password=openai. Use the browser-based VNC client: http://None/viewer/?password=openai
universe-RMMsiy-0 | [2016-12-12 12:54:43,542] [INFO:universe.extra.universe.envs.vnc_env] [0] Connecting to environment details: vnc_address=127.0.0.1:5900 vnc_password=openai rewarder_address=None rewarder_password=openai
universe-RMMsiy-0 | 2016/12/12 12:54:43 I1212 12:54:43.542602 56 gymvnc.go:417] [0:127.0.0.1:5900] opening connection to VNC server
universe-RMMsiy-0 | [2016-12-12 12:54:43,542] [INFO:root] [EnvStatus] Changing env_state: None (env_id=None) -> resetting (env_id=None) (episode_id: 0->1, fps=60)
universe-RMMsiy-0 | [2016-12-12 12:54:43,542] [INFO:root] [MainThread] Env state: env_id=None episode_id=1
universe-RMMsiy-0 | 2016/12/12 12:54:43 I1212 12:54:43.549981 56 gymvnc.go:550] [0:127.0.0.1:5900] connection established
universe-RMMsiy-0 | [Mon Dec 12 12:54:43 UTC 2016] [/usr/local/bin/sudoable-env-setup] Disabling outbound network traffic for none
universe-RMMsiy-0 | [2016-12-12 12:54:43,565] [INFO:gym_flashgames.launcher] [MainThread] Launching new Chrome process (attempt 0/10)
universe-RMMsiy-0 | [2016-12-12 12:54:43,565] [INFO:root] Replacing selenium_wrapper_server since we currently do it at every episode boundary
universe-RMMsiy-0 | [2016-12-12 12:54:43,675] [selenium_wrapper_server] Calling webdriver.Chrome()
[2016-12-12 20:54:43,976] Using the golang VNC implementation
[2016-12-12 20:54:43,977] Using VNCSession arguments: {'subsample_level': 2, 'start_timeout': 7, 'fine_quality_level': 50, 'encoding': 'tight'}. (Customize by running "env.configure(vnc_kwargs={...})"
[2016-12-12 20:54:43,979] [0] Connecting to environment: vnc://localhost:5909 password=openai. Use the browser-based VNC client: http://localhost:15909/viewer/?password=openai
2016/12/12 20:54:43 I1212 20:54:43.980002 15402 gymvnc.go:417] [0:localhost:5909] opening connection to VNC server
universe-RMMsiy-0 | [init] [2016-12-12 12:54:43,950] init detected end of child process 17 with exit code 0, not killed by signal
2016/12/12 20:54:43 I1212 20:54:43.983501 15402 gymvnc.go:550] [0:localhost:5909] connection established
universe-RMMsiy-0 | [2016-12-12 12:54:43,976] [INFO:universe.rewarder.remote] Client connecting: peer=tcp4:127.0.0.1:57764 observer=True
universe-RMMsiy-0 | [2016-12-12 12:54:43,976] [INFO:universe.rewarder.remote] WebSocket connection established
universe-RMMsiy-0 | [2016-12-12 12:54:43,977] [INFO:universe.rewarder.remote] WebSocket connection closed: connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake)
universe-RMMsiy-0 | [2016-12-12 12:54:43,977] [INFO:universe.rewarder.remote] [Twisted] Non-active client disconnected
universe-RMMsiy-0 | [2016-12-12 12:54:43,987] [INFO:universe.rewarder.remote] Client connecting: peer=tcp4:127.0.0.1:57774 observer=False
universe-RMMsiy-0 | [2016-12-12 12:54:43,988] [INFO:universe.rewarder.remote] WebSocket connection established
2016/12/12 20:54:44 C1212 20:54:44.034406 15402 vncgl.go:40] failed to initialize glfw: APIUnavailable: EGL: Failed to initialize EGL: EGL is not or could not be initialized
The text was updated successfully, but these errors were encountered: