Skip to contentSkip to conversation

Applications and games crash after opengl version overrides

Bug 98021 [email protected] 1 participant 5 messages Oct 3, 2016 – Oct 5, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=98021

Bug ID: 98021
Summary: Applications and games crash after opengl version
overrides
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=98021

--- Comment #1 from Nicolai Hähnle <[email protected]> ---
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98021

Nicolai Hähnle <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98021

--- Comment #2 from Stepan Bakshaev <[email protected]> --- 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!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98021

Christian König <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel