<div dir="ltr"><div><div><div><div>Thanks to all who replied with useful references!<br><br>The key point seems to be (from <a href="https://github.com/spyder-ide/spyder/issues/3226">https://github.com/spyder-ide/spyder/issues/3226</a>):<br><br>> PyQt opens <code>libGL.so</code>, which on some systems is a link to the MESA GL library, not the NVIDIA GL library. The NVIDIA drivers <em>should</em>
have changed that link to point to the NVIDIA library when they were
installed, but didn't. As a result, PyQt is loading the wrong GL
library. <br><br></div>See also the comment by Peter Würtz on the four year old (!!) Ubuntu issue here,<br><a href="https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/941826/comments/25">https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/941826/comments/25</a><br><br></div>I will experiment with symlinking libGL.so to libGL.so.1 to see if that makes a difference in my particular system. I will also try the workaround of importing GL only under Linux. However I mean to bundle the app with PyInstaller, and it will see that import and include the dependency on every platform anyway -- unless I maintain a special Linux version with that import.<br><br></div>Thanks again,<br></div>Dave Cortesi<br></div>