-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
GLSL 1.40 is not supported. #957
Comments
Default QGLFormat() results in compat profile (which is also wrong since Haswell supports 4.5) with GL version 3.0 with GLSL version 1.30. USD checks for 3.0 and uses 1.40 which is wrong. The fix is to check for OpenGL 3.1 with GLSL version 1.40 in pxr/usdImaging/lib/usdviewq/stageView.py. +++ stageView.py 2019-09-09 15:47:26.747184981 +0200
|
Filed as internal issue #USD-5534 |
After two years I tried again; same error. The relevant part of the file should be like this:
|
The issue also affects me. After installing through
To dump the detail on my hardware I ran
The install is running on Ubuntu 18.04 |
I found a solution in #1001, courtesy of @flashingsquare by changing the file |
Description of Issue
usdview reports GL errors:
0:1(10): error: GLSL 1.40 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, and 3.10 ES
0:1(10): error: GLSL 1.40 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, and 3.10 ES
error: vertex shader lacks `main'
Traceback (most recent call last):
File "/home/gonsolo/lib/python/pxr/Usdviewq/stageView.py", line 1712, in paintGL
self.DrawAxis(viewProjectionMatrix)
File "/home/gonsolo/lib/python/pxr/Usdviewq/stageView.py", line 1039, in DrawAxis
glslProgram = self.GetSimpleGLSLProgram()
File "/home/gonsolo/lib/python/pxr/Usdviewq/stageView.py", line 1031, in GetSimpleGLSLProgram
["mvpMatrix", "color"])
File "/home/gonsolo/lib/python/pxr/Usdviewq/stageView.py", line 116, in init
GL.glDeleteShader(vertexShader)
File "/usr/lib/python2.7/dist-packages/OpenGL/error.py", line 232, in glCheckError
baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
err = 1281,
description = 'invalid value',
baseOperation = glDeleteShader,
cArguments = (2L,)
System Information (OS, Hardware)
Intel Haswell on Linux
The text was updated successfully, but these errors were encountered: