Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1194217

Summary: GLSL support
Product: [Fedora] Fedora Reporter: Mario Blättermann <mario.blaettermann>
Component: mesa-libGLUAssignee: Adam Jackson <ajax>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: ajax
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-14 15:41:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1194434    

Description Mario Blättermann 2015-02-19 10:56:10 UTC
Description of problem:

I've compiled a small game with needs OpenGL. It starts, but is obviously unable to handle the provided GLSL versions:

$ tetzle
QGLShader::compile(Vertex): 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

QGLShader::compile(Fragment): 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

QGLShader::compile(Vertex): 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

QGLShader::compile(Fragment): 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

QGLShader::compile(Vertex): 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

QGLShader::compile(Fragment): 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

When I launch it with --graphics-layer=21 or --graphics-layer=15, then it works as expected. I've contacted upstream and get an answer:
"You built a fully functional binary package. Your Mesa is reporting that it supports a higher version of GLSL than it actually does, and Tetzle is auto-detecting that. Tetzle has runtime support for different versions of OpenGL, no compile-time options."
See https://github.com/gottcode/tetzle/issues/3

Version-Release number of selected component (if applicable):
mesa-libGL-10.4.3-1.20150124.fc21.x86_64

Comment 1 Mario Blättermann 2015-06-14 15:41:19 UTC
It seems to be rather a problem with the video driver... But because I don't need this for the review ticket previously depending on this bug report, I close it now.