Bug 91775 - Wrong openGL version
Summary: Wrong openGL version
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: All Linux (All)
: medium trivial
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-27 15:40 UTC by 19.jaime.91
Modified: 2015-08-30 10:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg (61.91 KB, text/plain)
2015-08-27 21:57 UTC, 19.jaime.91
Details
xorg (173.78 KB, text/plain)
2015-08-27 21:57 UTC, 19.jaime.91
Details

Description 19.jaime.91 2015-08-27 15:40:06 UTC
Supposely I should be reported to have OpenGL 4.1, but I get 3.3. I don't know if the problem is that my card doesn't use the mesa radeonsi driver and uses r600. Where can I check that?
Comment 1 Alex Deucher 2015-08-27 17:12:12 UTC
What card do you have?  Please attach your xorg log and dmesg output.
Comment 2 19.jaime.91 2015-08-27 21:57:03 UTC
Created attachment 117953 [details]
dmesg

Now I'm with the privatives, but I attach anyway.
Comment 3 19.jaime.91 2015-08-27 21:57:20 UTC
Created attachment 117954 [details]
xorg
Comment 4 19.jaime.91 2015-08-27 21:58:12 UTC
My card is Cape Verde Radeon HD 7760. I'm using oibaf drivers(git)
Comment 5 Alex Deucher 2015-08-27 22:12:01 UTC
You need mesa built against llvm 3.7 for OGL 4.1.  I don't think oibaf uses llvm 3.7.
Comment 6 19.jaime.91 2015-08-28 07:43:39 UTC
Ah, ok! then I will wait. But my card then uses radeonsi? Thanks for help!=)
Comment 7 Alex Deucher 2015-08-28 14:22:42 UTC
(In reply to 19.jaime.91 from comment #6)
> But my card then uses radeonsi?

Yes.
Comment 8 Andy Furniss 2015-08-29 23:42:04 UTC
Using git llvm I only have 3.0, I assume "needs llvm 3.7" should mean >= 3.7?

glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TONGA (DRM 3.1.0, LLVM 3.8.0)
OpenGL version string: 3.0 Mesa 11.1.0-devel (git-c8a61ea)
OpenGL shading language version string: 1.30
Comment 9 Ilia Mirkin 2015-08-29 23:44:56 UTC
(In reply to Andy Furniss from comment #8)
> Using git llvm I only have 3.0, I assume "needs llvm 3.7" should mean >= 3.7?
> 
> glxinfo | grep -i opengl
> OpenGL vendor string: X.Org
> OpenGL renderer string: Gallium 0.4 on AMD TONGA (DRM 3.1.0, LLVM 3.8.0)
> OpenGL version string: 3.0 Mesa 11.1.0-devel (git-c8a61ea)
> OpenGL shading language version string: 1.30

Actually you just need a newer glxinfo, one that will print out both core and compat profile info.
Comment 10 Andy Furniss 2015-08-30 10:29:03 UTC
Aha, thanks for that.

./glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TONGA (DRM 3.1.0, LLVM 3.8.0)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.1.0-devel (git-c8a61ea)
OpenGL core profile shading language version string: 4.10
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.1.0-devel (git-c8a61ea)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.1.0-devel (git-c8a61ea)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:


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.