Bug 104662

Summary: OpenGL 4.5 needs to be active by default instead of using 3.0 by default
Product: Mesa Reporter: Stewart Little <stewartlittle>
Component: OtherAssignee: mesa-dev
Status: RESOLVED NOTABUG QA Contact: mesa-dev
Severity: enhancement    
Priority: low CC: mirh
Version: 17.3   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Stewart Little 2018-01-16 20:05:41 UTC
On steam information it states that OpenGL is at version 3.0 the graphics card which I'm using Radeon R7 370 AMD card according to others should be using 4.5 or whatever but so long its above 4.x

I would like mesa for me on Arch Linux to default to 4.5 OpenGL with the open source drivers so that steam officially states that the OpenGL that I'm using is 4.5 instead of the default 3.0

Please if possible could mesa be changed to the 4.5 OpenGL so that we don't have to implement the following into steam's launch options for games like Cities: Skylines etc.:

MESA_GL_VERSION_OVERRIDE=4.1 MESA_GLSL_VERSION_OVERRIDE=410 %command%

The above command is what I have to keep on using due to the steam client registering OpenGL as 3.0 and when its at 3.0 games just like Cities: Skylines won't work nor launch at all.
Comment 1 Adam Jackson 2018-01-16 20:15:59 UTC
4.5 _is_ the default, for core contexts. If steam is requesting a compat context that's not really Mesa's fault.
Comment 2 Stewart Little 2018-01-16 20:18:07 UTC
How do I then get steam to switch to the 4.5 OpenGL and get it as default on Arch Linux then? Any help would be appreciated I seriously don't know how to change the setting from 3.0 to 4.5 on Linux.
Comment 3 Vedran Miletić 2018-01-16 22:50:22 UTC
(In reply to Stewart Little from comment #2)
> How do I then get steam to switch to the 4.5 OpenGL and get it as default on
> Arch Linux then? Any help would be appreciated I seriously don't know how to
> change the setting from 3.0 to 4.5 on Linux.

That depends on the app, not Steam. If you want to know difference between the two, here's a nice summary: https://www.khronos.org/opengl/wiki/OpenGL_Context#Forward_compatibility
Comment 4 mirh 2018-02-15 11:45:34 UTC
https://lists.freedesktop.org/archives/mesa-dev/2018-February/185646.html

Compatibility context is very, very shyly advancing.. 
Maybe this bug should be renamed to just that?
Comment 5 Timothy Arceri 2018-02-15 22:16:16 UTC
(In reply to mirh from comment #4)
> https://lists.freedesktop.org/archives/mesa-dev/2018-February/185646.html
> 
> Compatibility context is very, very shyly advancing.. 
> Maybe this bug should be renamed to just that?

Compatibility is a missing feature of the various drivers not a bug, there is no need to track it in bugzilla. I'm resolving this as not a bug.
Comment 6 mirh 2018-02-16 09:33:21 UTC
Enhancement severity also exists I mean.

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.