Bug 91802 - Cannot get OpenGL 4.1 context on AMD 6750M
Summary: Cannot get OpenGL 4.1 context on AMD 6750M
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: 10.6
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-30 05:23 UTC by Ronan Jouchet
Modified: 2015-08-30 05:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Ronan Jouchet 2015-08-30 05:23:51 UTC
Hi,

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.
Comment 1 Ilia Mirkin 2015-08-30 05:36:43 UTC
Mesa 10.6.x provides up to OpenGL 3.3 for a lot of various GPUs:

http://people.freedesktop.org/~imirkin/glxinfo/glxinfo.html

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.
Comment 2 Ronan Jouchet 2015-08-30 05:39:11 UTC
Crystal clear, thanks Ilia for the fast answer and thanks for the reference links!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.