{"action":"created","issue":{"url":"https://api.github.com/repos/deepmind/lab/issues/105","repository_url":"https://api.github.com/repos/deepmind/lab","labels_url":"https://api.github.com/repos/deepmind/lab/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/deepmind/lab/issues/105/comments","events_url":"https://api.github.com/repos/deepmind/lab/issues/105/events","html_url":"https://github.com/deepmind/lab/issues/105","id":349457521,"node_id":"MDU6SXNzdWUzNDk0NTc1MjE=","number":105,"title":"Issue with displaying using X11 and ssh","user":{"login":"motiur","id":758292,"node_id":"MDQ6VXNlcjc1ODI5Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/758292?v=4","gravatar_id":"","url":"https://api.github.com/users/motiur","html_url":"https://github.com/motiur","followers_url":"https://api.github.com/users/motiur/followers","following_url":"https://api.github.com/users/motiur/following{/other_user}","gists_url":"https://api.github.com/users/motiur/gists{/gist_id}","starred_url":"https://api.github.com/users/motiur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motiur/subscriptions","organizations_url":"https://api.github.com/users/motiur/orgs","repos_url":"https://api.github.com/users/motiur/repos","events_url":"https://api.github.com/users/motiur/events{/privacy}","received_events_url":"https://api.github.com/users/motiur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-10T10:16:38Z","updated_at":"2018-08-10T12:51:11Z","closed_at":null,"author_association":"NONE","body":"I am following the setup in a remote server and came across this command:\r\n```\r\nbazel run :python_random_agent --define graphics=sdl -- \\\r\n               --length=10000 --width=640 --height=480\r\n\r\n```\r\nI got the following error response:\r\n\r\n```\r\nINFO: Analysed target //:python_random_agent (0 packages loaded).\r\nINFO: Found 1 target...\r\nTarget //:python_random_agent up-to-date:\r\n  bazel-bin/python_random_agent\r\nINFO: Elapsed time: 0.341s, Critical Path: 0.00s\r\nINFO: 0 processes.\r\nINFO: Build completed successfully, 1 total action\r\nINFO: Running command line: bazel-bin/python_random_agent '--length=10000' '--wiINFO: Build completed successfully, 1 total action\r\nFailed to get __file__ attribute.\r\nGLimp_Init() - could not load OpenGL subsystem\r\nGLimp_Init() - could not load OpenGL subsystem. See \"/tmp/dmlab_temp_folder_dTOj8b/baselab/crashlog.txt\" \r\n\r\n```\r\nI then followed [this](https://github.com/deepmind/lab/issues/17) post. However, I am not interested in installing vncserver. I am sticking with X11. \r\nSo I logged into my remote desktop again using:\r\n`$ ssh username@ip -Y\r\n`\r\nand ran the bazel command:\r\nThe 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 :\r\n```\r\nINFO: Analysed target //:python_random_agent (0 packages loaded).\r\nINFO: Found 1 target...\r\nTarget //:python_random_agent up-to-date:\r\n  bazel-bin/python_random_agent\r\nINFO: Elapsed time: 0.337s, Critical Path: 0.00s\r\nINFO: 0 processes.\r\nINFO: Build completed successfully, 1 total action\r\nINFO: Running command line: bazel-bin/python_random_agent '--length=10000' '--wiINFO: Build completed successfully, 1 total action\r\nFailed to get __file__ attribute.\r\nSegmentation fault (core dumped)\r\n```\r\nMy question is : is it possible to run all the frames in a single window by modifying the following bazel command:\r\n```\r\nbazel run :python_random_agent --define graphics=sdl -- \\\r\n               --length=10000 --width=640 --height=480\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/deepmind/lab/issues/comments/412072855","html_url":"https://github.com/deepmind/lab/issues/105#issuecomment-412072855","issue_url":"https://api.github.com/repos/deepmind/lab/issues/105","id":412072855,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjA3Mjg1NQ==","user":{"login":"motiur","id":758292,"node_id":"MDQ6VXNlcjc1ODI5Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/758292?v=4","gravatar_id":"","url":"https://api.github.com/users/motiur","html_url":"https://github.com/motiur","followers_url":"https://api.github.com/users/motiur/followers","following_url":"https://api.github.com/users/motiur/following{/other_user}","gists_url":"https://api.github.com/users/motiur/gists{/gist_id}","starred_url":"https://api.github.com/users/motiur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motiur/subscriptions","organizations_url":"https://api.github.com/users/motiur/orgs","repos_url":"https://api.github.com/users/motiur/repos","events_url":"https://api.github.com/users/motiur/events{/privacy}","received_events_url":"https://api.github.com/users/motiur/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T12:51:11Z","updated_at":"2018-08-10T12:51:11Z","author_association":"NONE","body":"After running the command:\r\n`./python_random_agent --length=10000 --width=640 --height=480\r\n`I get\r\n```\r\nFailed to get __file__ attribute.\r\nSegmentation fault (core dumped)\r\n\r\n```\r\nAnd after building with `-c dbg` , this is the output of gdb\r\n```\r\nGNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1\r\nCopyright (C) 2016 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"x86_64-linux-gnu\".\r\nType \"show configuration\" for configuration details.\r\nFor bug reporting instructions, please see:\r\n<http://www.gnu.org/software/gdb/bugs/>.\r\nFind the GDB manual and other documentation resources online at:\r\n<http://www.gnu.org/software/gdb/documentation/>.\r\nFor help, type \"help\".\r\nType \"apropos word\" to search for commands related to \"word\"...\r\n./python_random_agent: No such file or directory.\r\n(gdb) r\r\nStarting program:  --length=10000 --width=640 --height=480\r\nNo executable file specified.\r\nUse the \"file\" or \"exec-file\" command.\r\n(gdb) bt\r\nNo stack.\r\n(gdb) \r\n\r\n```"}}
{"actor":{"display_login":"motiur"}}