[Bug 941826] [NEW] OpenGL backend not working with Nvidia driver package

Peter Würtz pwuertz at googlemail.com
Mon Feb 27 09:35:50 UTC 2012


Public bug reported:

I'm having trouble with a combination of NVIDIA + Python + Qt + Opengl.

I tried using a QGraphicsView on a QGLWidget. I'm getting a white window and errors like this these:
QGLShader: could not create shader
Vertex shader for simpleShaderProg (MainVertexShader &PositionOnlyVertexShader) failed to compile

This is an example application triggering the problem:
http://pastebin.com/R0aa8ejs

The 'same' program works flawlessly when using C++/Qt. I'm seeing the exact behavior when using PySide instead of PyQt4 by the way. I'm also seeing this error when trying the original demo application from python-qt4-doc. Also, calling
QtGui.QApplication.setGraphicsSystem("opengl")
produces the same errors.

I'm experiencing this problems on 11.10 and 12.04 with the ubuntu-
provided nvidia drivers (where 12.04 includes the most recent driver for
now). After installing the driver using the original NVidia installer,
the applications work as expected.

** Affects: nvidia-drivers-ubuntu
     Importance: Undecided
         Status: New

** Affects: python-qt4 (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: nvidia-drivers-ubuntu
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to python-qt4 in Ubuntu.
https://bugs.launchpad.net/bugs/941826

Title:
  OpenGL backend not working with Nvidia driver package

To manage notifications about this bug go to:
https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/941826/+subscriptions




More information about the kubuntu-bugs mailing list