{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/5909","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/5909/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/5909/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/5909/events","html_url":"https://github.com/godotengine/godot/pull/5909","id":167466935,"number":5909,"title":"GLES2: Check for GPU capabilities to display an error","user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/godotengine/godot/labels/enhancement","name":"enhancement","color":"44bbff"},{"url":"https://api.github.com/repos/godotengine/godot/labels/needs%20testing","name":"needs testing","color":"ff9900"},{"url":"https://api.github.com/repos/godotengine/godot/labels/topic:rendering","name":"topic:rendering","color":"ffdd44"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/5","html_url":"https://github.com/godotengine/godot/milestones/2.1","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/5/labels","id":1449703,"number":5,"title":"2.1","description":"","creator":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"open_issues":78,"closed_issues":838,"state":"open","created_at":"2015-12-08T11:42:22Z","updated_at":"2016-07-26T10:03:12Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-07-25T21:11:49Z","updated_at":"2016-07-26T11:24:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/godotengine/godot/pulls/5909","html_url":"https://github.com/godotengine/godot/pull/5909","diff_url":"https://github.com/godotengine/godot/pull/5909.diff","patch_url":"https://github.com/godotengine/godot/pull/5909.patch"},"body":"The engine will still segfault, but the error message should be displayed by the\r\nOS in a blocking manner, so that it will only crash once users have acknowledged\r\nthe error dialog.\r\n\r\n**Please test**, especially if you have hardware that does not support GL 2.1 / GLES 2.0. I only tested on Linux X11, and by tweaking the `if` to make it fail when GL 2.1 was actually supported. @SuperUserNameMan's test in https://github.com/godotengine/godot/issues/1162#issuecomment-235047879 seems to indicate that it would be working on Windows for his hardware.\r\n\r\nCloses #1162."},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/235240547","html_url":"https://github.com/godotengine/godot/pull/5909#issuecomment-235240547","issue_url":"https://api.github.com/repos/godotengine/godot/issues/5909","id":235240547,"user":{"login":"SuperUserNameMan","id":9801802,"avatar_url":"https://avatars.githubusercontent.com/u/9801802?v=3","gravatar_id":"","url":"https://api.github.com/users/SuperUserNameMan","html_url":"https://github.com/SuperUserNameMan","followers_url":"https://api.github.com/users/SuperUserNameMan/followers","following_url":"https://api.github.com/users/SuperUserNameMan/following{/other_user}","gists_url":"https://api.github.com/users/SuperUserNameMan/gists{/gist_id}","starred_url":"https://api.github.com/users/SuperUserNameMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuperUserNameMan/subscriptions","organizations_url":"https://api.github.com/users/SuperUserNameMan/orgs","repos_url":"https://api.github.com/users/SuperUserNameMan/repos","events_url":"https://api.github.com/users/SuperUserNameMan/events{/privacy}","received_events_url":"https://api.github.com/users/SuperUserNameMan/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T11:24:15Z","updated_at":"2016-07-26T11:24:15Z","body":"So I tested on my Acer eMachine Netbook with Intel Atom N450 and integrated Intel GMA 3150 :\r\n\r\n**under LinuxMint18, MATE, 32bits (MESA Opengl 1.4) :**\r\n- the warning dialog box is displayed correctly.\r\n- through the console, it complains that it could not load libXrandr.so. \r\n- If I override opengl version to 2.1 or 3.0 using the env var, Godot runs despite the missing libXrandr, But the 3D viewport is all messed up. \r\n- also, as side note, 1024x768 is too small to display Godot interface correctly. The project manager interface is not displayed correctly unless you expand the window, and into the editor I can't even access the \"Quit\" menu item.\r\n\r\n**same netbook, under Windows 10, 32bits ( Opengl 1.4) :**\r\n- it crashed **without** displaying the dialog box.\r\n- if i run it through the console, the ``ERROR: RasterizerGLES2::init:`` message is written.\r\n\r\n\r\n\r\nI also tested on my regular laptop with radeon R4 and Windows 8.1 and it worked correctly."}}
{"actor":{"display_login":"SuperUserNameMan"}}