[PyQt] After update Linux Debian get "shader compilation failed"

Starglider Developer starglider.dev at gmail.com
Tue Mar 20 21:49:56 GMT 2018


Great!
Now works in Debian but not in Windows, but is better than not working in
Debian.

Thank you.

On 20 March 2018 at 21:21, Florian Bruhin <me at the-compiler.org> wrote:

> On Tue, Mar 20, 2018 at 08:47:11PM +0000, Starglider Developer wrote:
> > I reboot after the update, because I work with VM and just reboot now.
> >
> > The output of glxinfo -b is:
> >
> > [...]
> > OpenGL vendor string: NVIDIA Corporation
>
> You're probably dealing with this bug in the nvidia driver then:
> https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/941826
> I don't know how an update would've affected this, though.
>
> Anyways, doing this in your application before using QtWebEngine (or
> maybe before importing it, not sure) will likely help:
>
>     import ctypes
>     import ctypes.util
>     ctypes.CDLL(ctypes.util.find_library("GL"), mode=ctypes.RTLD_GLOBAL)
>
> Florian
>
> --
> https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
>    GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
>          I love long mails! | https://email.is-not-s.ms/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180320/ece27478/attachment.html>


More information about the PyQt mailing list