This is a followup to bug https://github.com/Polytonic/Glitter/issues/8 , where I (an OpenGL newcomer) am trying to run a boilerplate OpenGL project.
The code I'm building lives at https://github.com/Polytonic/Glitter/blob/master/Glitter/Sources/main.cpp , and what happens is that the glfwCreateWindow call at line 21 returns nullptr with a 4.1 context, but works under 3.3.
I'm clueless here, but the maintainer of the project says he owned the same hardware, knows 4.1 should be supported, and I should file a bug, so here it is.
OS: Linux x 4.1.6-1-ARCH #1 SMP PREEMPT x86_64
GPU: [AMD/ATI] Madison [Mobility Radeon HD 5730 / 6570M]
Software (all from the Arch repos): xf86-video-ati 7.5.0-2, mesa-libgl 10.6.5-1, mesa-vdpau 10.6.5-1
Feel free to ask for more info if this sounds like a real bug, and sorry if I miscategorized (I know I'm using Gallium, but am unsure what driver my 6570M uses; it's before r200, is it 'radeonsi'? Not sure :-/ ). Thanks for your help.
Mesa 10.6.x provides up to OpenGL 3.3 for a lot of various GPUs:
Your GPU fits into the Evergreen/NI category. See http://xorg.freedesktop.org/wiki/RadeonFeature/#index5h2 .
Starting with Mesa 11.0, OpenGL 4.1 will be provided for GPUs driven by the nvc0 and radeonsi drivers (that would be NVIDIA Fermi, Kepler and AMD Southern and Sea Islands GPUs... I guess Vulcanic Islands GPUs will get it too).
Your GPU will not have GL 4.1 with Mesa 11.0, as it's still missing support for fp64 and tessellation. For future reference, this is the 'r600g' driver.
Crystal clear, thanks Ilia for the fast answer and thanks for the reference links!