Bug 98021 - Applications and games crash after opengl version overrides
Summary: Applications and games crash after opengl version overrides
Status: CLOSED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
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: 2016-10-03 04:29 UTC by Stepan Bakshaev
Modified: 2016-10-05 07:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Stepan Bakshaev 2016-10-03 04:29:25 UTC
I should set mesa version to smooth play in alien isolation ( https://bugs.freedesktop.org/show_bug.cgi?id=93144#c35 ). I set "MESA_GL_VERSION_OVERRIDE=4.3 MESA_GLSL_VERSION_OVERRIDE=430". Appications and games start carsh in gl initialization. Some examples: steam, 0ad. glxgear shows black screen.

I use software from oibaf ppa:

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD CAPE VERDE (DRM 2.43.0 / 4.4.0-41-generic, LLVM 3.9.0) (0x683d)
    Version: 12.1.0
    Accelerated: yes
    Video memory: 1024MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.3
    Max compat profile version: 4.3
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0

MESA_DEBUG=1 prints

Mesa: User error: GL_INVALID_ENUM in glGetString(GL_EXTENSIONS)

I'm curious why mesa does not set 4.3 already. According mesamatrix (by features.txt) there are all extensions implemented for radeonsi.
Comment 1 Nicolai Hähnle 2016-10-04 14:50:17 UTC
Hi Stepan, it's called an override for a reason. When you enable it, you're operating outside of the supported parameters, and shouldn't be surprised when something crashes. Don't report a bug for something like that.

That said, radeonsi has supported OpenGL 4.3 for several months now. For SI-based cards like yours, you need a more recent kernel. The radeon module of older kernels lacks some of the functionality that is required for compute shaders.
Comment 2 Stepan Bakshaev 2016-10-05 06:24:01 UTC
I got it. linux 4.8 is enough for enable 4.3 in stock. Sorry for bother you. I check time by time https://www.x.org/wiki/RadeonFeature/. it does not mention about all requirements for opengl 4.3. There is only llmv 3.8 as requirements. I saw Alex Deucher updates that wiki page. May be he will add next time linux 4.8 in footnotes.

Thank you and whole team for pushing radeon driver forward!


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.