{"action":"created","issue":{"url":"https://api.github.com/repos/96boards/bugs/issues/62","labels_url":"https://api.github.com/repos/96boards/bugs/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/96boards/bugs/issues/62/comments","events_url":"https://api.github.com/repos/96boards/bugs/issues/62/events","html_url":"https://github.com/96boards/bugs/issues/62","id":71334899,"number":62,"title":"Mali EGL build does not support X Windows...","user":{"login":"sbambrough","id":670839,"avatar_url":"https://avatars.githubusercontent.com/u/670839?v=3","gravatar_id":"","url":"https://api.github.com/users/sbambrough","html_url":"https://github.com/sbambrough","followers_url":"https://api.github.com/users/sbambrough/followers","following_url":"https://api.github.com/users/sbambrough/following{/other_user}","gists_url":"https://api.github.com/users/sbambrough/gists{/gist_id}","starred_url":"https://api.github.com/users/sbambrough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbambrough/subscriptions","organizations_url":"https://api.github.com/users/sbambrough/orgs","repos_url":"https://api.github.com/users/sbambrough/repos","events_url":"https://api.github.com/users/sbambrough/events{/privacy}","received_events_url":"https://api.github.com/users/sbambrough/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/96boards/bugs/labels/Debian%20Image","name":"Debian Image","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"xin3liang","id":6204206,"avatar_url":"https://avatars.githubusercontent.com/u/6204206?v=3","gravatar_id":"","url":"https://api.github.com/users/xin3liang","html_url":"https://github.com/xin3liang","followers_url":"https://api.github.com/users/xin3liang/followers","following_url":"https://api.github.com/users/xin3liang/following{/other_user}","gists_url":"https://api.github.com/users/xin3liang/gists{/gist_id}","starred_url":"https://api.github.com/users/xin3liang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xin3liang/subscriptions","organizations_url":"https://api.github.com/users/xin3liang/orgs","repos_url":"https://api.github.com/users/xin3liang/repos","events_url":"https://api.github.com/users/xin3liang/events{/privacy}","received_events_url":"https://api.github.com/users/xin3liang/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-04-27T16:23:01Z","updated_at":"2015-05-25T02:39:33Z","closed_at":null,"body":"Basically the provided Mali implementation for X Windows does not support the X Windows environment.  It seems it has not been configured and built correctly.  Tested on snapshot 272.\r\n\r\nTest:\r\n```\r\n$apt-get install mesa-utils-extra\r\n$ es2_info\r\n$ Error: eglGetDisplay failed.\r\n```\r\nLooking into the code:\r\n```\r\nDisplay *x_dpy;\r\nEGLDisplay egl_dpy;\r\n\r\nx_dpy = XOpenDisplay(dpyName);\r\nif (!x_dpy) {\r\n   printf(\"Error: couldn't open display %s\\n\",\r\n   dpyName ? dpyName : getenv(\"DISPLAY\"));\r\n   return -1;\r\n}\r\n \r\negl_dpy = eglGetDisplay(x_dpy);\r\nif (!egl_dpy) {\r\n   printf(\"Error: eglGetDisplay() failed\\n\");\r\n   return -1;\r\n}\r\n```\r\n\r\nIt seems clear the underlying EGL implementation does not support getting an  EGL display from an X Window display.  \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/96boards/bugs/issues/comments/105098664","html_url":"https://github.com/96boards/bugs/issues/62#issuecomment-105098664","issue_url":"https://api.github.com/repos/96boards/bugs/issues/62","id":105098664,"user":{"login":"xin3liang","id":6204206,"avatar_url":"https://avatars.githubusercontent.com/u/6204206?v=3","gravatar_id":"","url":"https://api.github.com/users/xin3liang","html_url":"https://github.com/xin3liang","followers_url":"https://api.github.com/users/xin3liang/followers","following_url":"https://api.github.com/users/xin3liang/following{/other_user}","gists_url":"https://api.github.com/users/xin3liang/gists{/gist_id}","starred_url":"https://api.github.com/users/xin3liang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xin3liang/subscriptions","organizations_url":"https://api.github.com/users/xin3liang/orgs","repos_url":"https://api.github.com/users/xin3liang/repos","events_url":"https://api.github.com/users/xin3liang/events{/privacy}","received_events_url":"https://api.github.com/users/xin3liang/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T02:39:33Z","updated_at":"2015-05-25T02:39:33Z","body":"Hi, now x can run a  openGL ES application, such as es2gears with GPU acceleration. \r\nBellow are still need to be done to run Debian X with  GPU acceleration:\r\n1. Support for cursor plane\r\n2.  Desktop acceleration ?"}}