Hi,

First let me state that I am using Qt 4.6.0.

I have an linux application which I am developing, which as a requirement has to allow users to view a QGLWidget from an remote system. All the systems running this program have nvidia 7600 gt gpus. (they have shader support). When I run my program locally on a machine, the program works fine. When I remote login to the system (via ssh -X $pcname). I get errors. My display is varible is set to my local machine. So that is not the problem. Simple Opengl stuff still work. But things like QGLWidget::renderTextor using a QPainter created from a QGLWidget cause the program to crash.

When I run glxinfo remotely direct rendering is disabled (which is normal for a x11 forwarding situation).


This is the error messages I get when I start the program remotely:
Qt Code:
  1. Warning: QGLShader: could not create shader
  2. Warning: QGLShader: could not create shader
  3. Warning: QGLShaderProgram: could not create shader program
  4. Critical: Errors linking simple shader: ""
  5. Warning: QGLShader: could not create shader
  6. Warning: QGLShader: could not create shader
  7. Warning: QGLShaderProgram: could not create shader program
  8. Critical: Errors linking blit shader: ""
  9. Warning: QGLShader: could not create shader
  10. Warning: QGLShader: could not create shader
  11. Warning: QGLShaderProgram: could not create shader program
  12. Warning: "Shader program failed to link, Error Log:
  13. "
To copy to clipboard, switch view to plain text mode 

I have been trying to debug this problem for a week and still no success. Has anyone else run into this issue? Has anyone else overcome or worked around this problem? Any help, suggestion, or critic is welcomed.