[Bug 941826] Re: PyQt cannot compile shaders with Ubuntu's Nvidia drivers
Peter Würtz
pwuertz at googlemail.com
Tue Aug 12 12:58:30 UTC 2014
Ok, I think I found the problem.
Apparently the PyQt application ends up loading the Mesa GL library
(/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0) instead of the NVidia
driver (/usr/lib/nvidia-331/libGL.so.331.38) that is loaded when
importing PyOpenGL first.
The difference seems to be the library name when calling dlopen().
PyOpenGL tries to import "libGL.so.1", whereas PyQt imports "libGL.so",
without the ".1" suffix.
A simple C application calling dlopen() and checking /proc/<pid>/maps
shows that "libGL.so" points to the Mesa driver, whereas "libGL.so.1"
ends up loading the NVidia driver.
So this is a bug in Ubuntu's NVidia package I assume?
--
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:
PyQt cannot compile shaders with Ubuntu's Nvidia drivers
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