Bug 95022 - error: GLSL 1.50 is not supported.
Summary: error: GLSL 1.50 is not supported.
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-19 14:04 UTC by higuita
Modified: 2019-06-27 14:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description higuita 2016-04-19 14:04:37 UTC
When trying to debug war thunder (bug 92850) under apitrace i notice this:

error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES

this appends both in intel and radeon (using DRI_PRIME):

56:OpenGL vendor string: Intel Open Source Technology Center
57:OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
58:OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.3.0-devel (git-eeff133 2016-04-15 wily-oibaf-ppa)

56:OpenGL vendor string: X.Org
57:OpenGL renderer string: Gallium 0.4 on AMD HAINAN (DRM 2.43.0, LLVM 3.8.0)
58:OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.3.0-devel (git-eeff133 2016-04-15 wily-oibaf-ppa)

both should already support GLSL 1.50, so what is happening? regression or broken system?
Comment 1 Gustaw Smolarczyk 2016-04-19 14:45:22 UTC
I think it's using a compatibility profile instead of a core profile, which limits the OpenGL version to 3.0 in mesa.
Comment 2 Kenneth Graunke 2016-04-19 15:48:20 UTC
If you're trying to replay a trace, try using "glretrace --core file.trace".
Comment 3 higuita 2016-04-19 19:39:51 UTC
$ echo $MESA_GLSL_VERSION_OVERRIDE
$ echo $MESA_GL_VERSION_OVERRIDE
$ qapitrace

run the game as ./aces

same result


using the command : glretrace -core aces.trace 
i get this:

622: glDebugOutputCallback: Medium severity API unknown issue 1, FBO incomplete: no attachments and default width or height is 0 [-1]

622: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 2, FS SIMD8 shader: 5 inst, 0 loops, 24 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 80 to 48 bytes.
622: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 3, FS SIMD16 shader: 5 inst, 0 loops, 34 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 80 to 48 bytes.
622: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 4, VS vec4 shader: 9 inst, 0 loops, 66 cycles, compacted 144 to 128 bytes.
636: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 5, FS SIMD16 shader: 2 inst, 0 loops, 0 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 32 to 32 bytes.
636: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 6, VS vec4 shader: 6 inst, 0 loops, 34 cycles, compacted 96 to 96 bytes.
662: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 7, FS SIMD8 shader: 5 inst, 0 loops, 24 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 80 to 48 bytes.
662: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 8, FS SIMD16 shader: 5 inst, 0 loops, 34 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 80 to 48 bytes.
662: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 9, VS vec4 shader: 8 inst, 0 loops, 66 cycles, compacted 128 to 112 bytes.
714: glDebugOutputCallback: Medium severity API performance issue 10, Falling back to plain clear because 16x16 buffer is untiled

714: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 11, FS SIMD8 shader: 5 inst, 0 loops, 24 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 80 to 48 bytes.
714: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 12, FS SIMD16 shader: 5 inst, 0 loops, 34 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 80 to 48 bytes.
714: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 13, VS vec4 shader: 6 inst, 0 loops, 34 cycles, compacted 96 to 96 bytes.
714: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 14, FS SIMD8 shader: 5 inst, 0 loops, 24 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 80 to 48 bytes.
714: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 15, FS SIMD16 shader: 5 inst, 0 loops, 34 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 80 to 48 bytes.
714: glDebugOutputCallback: usnknown severity Shader Compiler unknown issue 16, VS vec4 shader: 6 inst, 0 loops, 34 cycles, compacted 96 to 96 bytes.
818: glDebugOutputCallback: Medium severity API performance issue 10, Falling back to plain clear because 16x16 buffer is untiled

896: glDebugOutputCallback: Medium severity API performance issue 10, Falling back to plain clear because 16x16 buffer is untiled

922: glDebugOutputCallback: Medium severity API performance issue 10, Falling back to plain clear because 16x16 buffer is untiled

948: glDebugOutputCallback: Medium severity API performance issue 10, Falling back to plain clear because 16x16 buffer is untiled

974: glDebugOutputCallback: Medium severity API performance issue 10, Falling back to plain clear because 16x16 buffer is untiled

1000: glDebugOutputCallback: Medium severity API performance issue 10, Falling back to plain clear because 16x16 buffer is untiled

1026: glDebugOutputCallback: Medium severity API performance issue 10, Falling back to plain clear because 16x16 buffer is untiled

1260: glDebugOutputCallback: Medium severity API performance issue 10, Falling back to plain clear because 16x16 buffer is untiled

1286: glDebugOutputCallback: Medium severity API performance issue 10, Falling back to plain clear because 16x16 buffer is untiled

1338: glDebugOutputCallback: Medium severity API performance issue 10, Falling back to plain clear because 16x16 buffer is untiled

1416: glDebugOutputCallback: Medium severity API performance issue 10, Falling back to plain clear because 16x16 buffer is untiled

1438: glDebugOutputCallback: High severity API error 17, GL_INVALID_OPERATION in glBindBuffer(non-gen name)
1438 glBindBuffer(target = GL_ARRAY_BUFFER, buffer = 1)
1438: warning: glGetError(glBindBuffer) = GL_INVALID_OPERATION
1439: glDebugOutputCallback: High severity API error 17, GL_INVALID_OPERATION in glMapBufferRange(no buffer bound)
1439 glMapBufferRange(target = GL_ARRAY_BUFFER, offset = 0, length = 2097152, access = GL_MAP_WRITE_BIT | 0xc0) = 0x7efdd3bc8000
1439: warning: glGetError(glMapBufferRange) = GL_INVALID_OPERATION
1439: warning: failed to map buffer
glretrace: /build/apitrace-jjSurh/apitrace-3.0+git20121018.d1c301f7/retrace/retrace_swizzle.cpp:137: void retrace::addRegion(long long unsigned int, void*, long long unsigned int): Assertion `buffer' failed.
Aborted (core dumped)


so the error disappears, but still crashes
same result using the radeon
Comment 4 higuita 2016-04-27 18:23:57 UTC
So from what i understand, this is just apitrace running in a compatibility profile and "glretrace --core file.trace" enforces the normal core profile... so this is nothing to do with the game, right?

If yes, then i thing this can be closed
Comment 5 Kenneth Graunke 2016-05-02 01:37:28 UTC
right.
Comment 6 Ilse Twigt 2019-06-14 09:23:17 UTC Comment hidden (spam)
Comment 7 parekie@na-cheky.ru (Spammer; Account disabled) 2019-06-25 14:33:41 UTC Comment hidden (spam)
Comment 8 jimmynessh@apagitu.biz.tm (Spammer; Account disabled) 2019-06-27 14:53:52 UTC Comment hidden (spam)


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.