{"action":"created","issue":{"url":"https://api.github.com/repos/mosra/magnum/issues/80","labels_url":"https://api.github.com/repos/mosra/magnum/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/mosra/magnum/issues/80/comments","events_url":"https://api.github.com/repos/mosra/magnum/issues/80/events","html_url":"https://github.com/mosra/magnum/issues/80","id":52977015,"number":80,"title":"mesa opengl context creation ","user":{"login":"Swoorup","id":3408009,"avatar_url":"https://avatars.githubusercontent.com/u/3408009?v=3","gravatar_id":"","url":"https://api.github.com/users/Swoorup","html_url":"https://github.com/Swoorup","followers_url":"https://api.github.com/users/Swoorup/followers","following_url":"https://api.github.com/users/Swoorup/following{/other_user}","gists_url":"https://api.github.com/users/Swoorup/gists{/gist_id}","starred_url":"https://api.github.com/users/Swoorup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swoorup/subscriptions","organizations_url":"https://api.github.com/users/Swoorup/orgs","repos_url":"https://api.github.com/users/Swoorup/repos","events_url":"https://api.github.com/users/Swoorup/events{/privacy}","received_events_url":"https://api.github.com/users/Swoorup/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mosra/magnum/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-28T09:30:10Z","updated_at":"2015-10-01T20:21:26Z","closed_at":"2014-12-29T21:10:27Z","body":"By default with mesa drivers, the context is created in compatibility profile. For example, my mesa driver supports core profile of opengl 3.3 and compatability is set to 3.0.\r\n\r\nMagnum does not consider this and thinks its using opengl 3.3 profile and error is thrown. Shown below is error from cubemap example.\r\n\r\n```\r\nRenderer: Gallium 0.4 on AMD ARUBA by X.Org\r\nOpenGL version: 3.0 Mesa 10.4.0\r\nUsing optional features:\r\n    GL_ARB_ES2_compatibility\r\n    GL_ARB_invalidate_subdata\r\n    GL_ARB_multi_bind\r\n    GL_ARB_robustness\r\n    GL_ARB_separate_shader_objects\r\n    GL_ARB_texture_storage\r\n    GL_ARB_texture_storage_multisample\r\n    GL_ARB_vertex_array_object\r\n    GL_EXT_texture_filter_anisotropic\r\n    GL_KHR_debug\r\nShader::compile(): compilation of vertex shader 1 failed with the following message:\r\n0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES\r\nShader::compile(): compilation of fragment shader 2 failed with the following message:\r\n0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES\r\nAssertion Shader::compile({vert, frag}) failed in /home/swoorup/git/magnum-examples/src/cubemap/CubeMapShader.cpp on line 48\r\n[1]    6555 abort (core dumped)  ./cubemap\r\n```"},"comment":{"url":"https://api.github.com/repos/mosra/magnum/issues/comments/144836452","html_url":"https://github.com/mosra/magnum/issues/80#issuecomment-144836452","issue_url":"https://api.github.com/repos/mosra/magnum/issues/80","id":144836452,"user":{"login":"Swoorup","id":3408009,"avatar_url":"https://avatars.githubusercontent.com/u/3408009?v=3","gravatar_id":"","url":"https://api.github.com/users/Swoorup","html_url":"https://github.com/Swoorup","followers_url":"https://api.github.com/users/Swoorup/followers","following_url":"https://api.github.com/users/Swoorup/following{/other_user}","gists_url":"https://api.github.com/users/Swoorup/gists{/gist_id}","starred_url":"https://api.github.com/users/Swoorup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swoorup/subscriptions","organizations_url":"https://api.github.com/users/Swoorup/orgs","repos_url":"https://api.github.com/users/Swoorup/repos","events_url":"https://api.github.com/users/Swoorup/events{/privacy}","received_events_url":"https://api.github.com/users/Swoorup/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T20:21:26Z","updated_at":"2015-10-01T20:21:26Z","body":"Renderer: Mesa DRI Intel(R) Haswell Mobile  by Intel Open Source Technology Center\r\nOpenGL version: 3.0 Mesa 11.0.2\r\nUsing optional features:\r\n    GL_ARB_ES2_compatibility\r\n    GL_ARB_get_texture_sub_image\r\n    GL_ARB_invalidate_subdata\r\n    GL_ARB_multi_bind\r\n    GL_ARB_robustness\r\n    GL_ARB_separate_shader_objects\r\n    GL_ARB_texture_storage\r\n    GL_ARB_texture_storage_multisample\r\n    GL_ARB_vertex_array_object\r\n    GL_EXT_texture_filter_anisotropic\r\n    GL_KHR_debug\r\nShader::compile(): compilation of vertex shader 1 failed with the following message:\r\n0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES\r\nShader::compile(): compilation of fragment shader 2 failed with the following message:\r\n0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES\r\nAssertion Shader::compile({vert, frag}) failed in /home/swoorup/git/magnum-examples/src/picking/PickingExample.cpp on line 123\r\n[1]    9533 abort (core dumped)  ./magnum-picking\r\n"}}