QT and OpenGL Display Error


#1

Hi,

Below error is coming while using X11 forwarding on centos 7.6 with V100 GPU

QOpenGLShader::compile(Vertex): failed
QOpenGLShader::compile(Fragment): failed
QOpenGLShaderProgram::attributeLocation( a_vertex ): shader program is not
linked
QOpenGLShaderProgram::attributeLocation( a_normal ): shader program is not
linked
QOpenGLShaderProgram::attributeLocation( a_color ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( mvp_matrix ): shader program is not
linked
QOpenGLShaderProgram::uniformLocation( normal_matrix ): shader program is not
linked
QOpenGLShaderProgram::uniformLocation( point_size ): shader program is not
linked
QOpenGLShader::compile(Vertex): failed
QOpenGLShader::compile(Fragment): failed
QOpenGLShaderProgram::attributeLocation( a_vertex ): shader program is not
linked
QOpenGLShaderProgram::attributeLocation( a_normal ): shader program is not
linked
QOpenGLShaderProgram::attributeLocation( a_texcoord ): shader program is not
linked
QOpenGLShaderProgram::uniformLocation( mvp_matrix ): shader program is not
linked
QOpenGLShaderProgram::uniformLocation( normal_matrix ): shader program is not
linked
QOpenGLShaderProgram::uniformLocation( t_diffuse ): shader program is not linked
QOpenGLShader::compile(Vertex): failed
Vertex shader for simpleShaderProg (MainVertexShader & PositionOnlyVertexShader)
failed to compile
QOpenGLShader::compile(Fragment): failed
Fragment shader for simpleShaderProg (MainFragmentShader &
ShockingPinkSrcFragmentShader) failed to compile
Errors linking simple shader:
QOpenGLShader::compile(Vertex): failed
Vertex shader for blitShaderProg (MainWithTexCoordsVertexShader &
UntransformedPositionVertexShader) failed to compile
QOpenGLShader::compile(Fragment): failed
Fragment shader for blitShaderProg (MainFragmentShader & ImageSrcFragmentShader)
failed to compile
Errors linking blit shader:
[xcb] Too much data requested from _XRead
[xcb] This is most likely caused by a broken X extension library
[xcb] Aborting, sorry about that.
myprogram: xcb_io.c:732: _XRead: Assertion `!xcb_xlib_too_much_data_requested'
failed.

#2

So what’s your question? You didn’t really provide much information.

Please see the Forum Posting Guidelines for tips in composing your message.

If by V100 you mean an NVidia Tesla V100 GPU, then consider searching for an answer on and/or posting your question to NVidia’s developer forums here: https://devtalk.nvidia.com/.

In any follow-up post, be sure to state things like: What are you trying to do? Did this work before? Is it your app? Does the app work when run without X forwarding? What command and options are you using to set up X forwarding? What’s your $DISPLAY set to when you run your app (or what display setting are you instructing the app to connect to)? Do glxinfo and glxgears work properly under X forwarding? What’s the glxinfo output? etc.

Kick the tires a bit and give your readers something to go on.