<div dir="ltr">I built and installed PyQT and SIP from scratch on my installation, and now get a little farther.  I think my Ubuntu default version of SIP wasn't the latest which was causing weirdness.  I don't get a seg. fault, but I simply get a white screen with a bunch of errors like the following:<div><br></div><div><div>QOpenGLShaderProgram: could not create shader program</div><div>QOpenGLShader: could not create shader</div><div>QOpenGLShader: could not create shader</div><div>shader compilation failed: </div><div>""</div><div>QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked</div><div>QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked</div><div>QOpenGLShaderProgram: could not create shader program</div><div>QOpenGLShader: could not create shader</div><div>QOpenGLShader: could not create shader</div></div><div>...<br></div><div>Xlib:  extension "NV-GLX" missing on display ":0".<br></div><div><br></div><div>I think the last line is key.  I've updated my graphics drivers to the latest available for my graphics card (NVIDIA 340.98, had 340.96 previously), and I'm pretty sure "NV-GLX" really isn't missing since I can still run the C++ version of the program.  PyQT QtWidgets still work fine.  It seems to be either something unique to using OpenGL from Python or from PyQT.  Hoping that someone has seen something like this before and can point me in the right direction, or at least something new to try.</div><div><br></div><div>Thanks,</div><div>Louis</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 10, 2016 at 11:25 AM Sacha Schutz <<a href="mailto:sacha@labsquare.org">sacha@labsquare.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">C++ works well. But I m using the Qt SDK installed from the download binary. <div class="gmail_msg">Also, Widget from QtWidgets modules was working from pyqt5. </div><div class="gmail_msg"><br class="gmail_msg"></div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">2016-10-10 16:47 GMT+02:00 Louis Simons <span dir="ltr" class="gmail_msg"><<a href="mailto:lousimons@gmail.com" class="gmail_msg" target="_blank">lousimons@gmail.com</a>></span>:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">When you were getting the seg. fault, did you try compiling the C++ program to see if that ran successfully?  It's possible we have the same symptoms with different issues.</div><div class="m_3417017395807684314HOEnZb gmail_msg"><div class="m_3417017395807684314h5 gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Mon, Oct 10, 2016 at 10:45 AM Sacha Schutz <<a href="mailto:sacha@labsquare.org" class="gmail_msg" target="_blank">sacha@labsquare.org</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">After upgrading my kubuntu, my Xorg won't start. That's why I reinstall my OS.  It seems it was not a problem with my graphics card but with KDM and Qt library.<div class="gmail_msg"> <div class="gmail_msg"><br class="gmail_msg"></div></div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">2016-10-10 16:41 GMT+02:00 Louis Simons <span dir="ltr" class="gmail_msg"><<a href="mailto:lousimons@gmail.com" class="gmail_msg" target="_blank">lousimons@gmail.com</a>></span>:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Mind if I ask what graphics card and driver versions you're using?  I'm really hoping I don't have to do an OS reinstall to straighten this out.<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thanks,</div><div class="gmail_msg">Louis</div></div><div class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Mon, Oct 10, 2016 at 3:43 AM Sacha Schutz <<a href="mailto:sacha@labsquare.org" class="gmail_msg" target="_blank">sacha@labsquare.org</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hi Louis,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">After reinstalling my kubuntu , everything is now working like a charm. I have no clue,  I don't know why. </div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg">2016-10-10 0:12 GMT+02:00 Louis Simons <span dir="ltr" class="gmail_msg"><<a href="mailto:lousimons@gmail.com" class="gmail_msg" target="_blank">lousimons@gmail.com</a>></span>:<br class="gmail_msg"></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_quote gmail_msg"><span class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think I am not alone with this bug  :<br class="gmail_msg">
<a href="http://stackoverflow.com/questions/39381009/simple-pyqt5-qml-application-causes-segmentation-fault" rel="noreferrer" class="gmail_msg" target="_blank">http://stackoverflow.com/questions/39381009/simple-pyqt5-qml-application-causes-segmentation-fault</a><br class="gmail_msg"></blockquote><div class="gmail_msg"> </div></span><div class="gmail_msg">I made that StackOverflow question and had started a thread on this mailing list: <a href="https://www.riverbankcomputing.com/pipermail/pyqt/2016-September/038082.html" class="gmail_msg" target="_blank">https://www.riverbankcomputing.com/pipermail/pyqt/2016-September/038082.html</a>.  Unfortunately, I still haven't been able to resolve this issue.</div><div class="gmail_msg"> </div></div></div>
<br class="gmail_msg"></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br class="gmail_msg">
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" class="gmail_msg" target="_blank">PyQt@riverbankcomputing.com</a><br class="gmail_msg">
<a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" class="gmail_msg" target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br class="gmail_msg"></blockquote></div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><br clear="all" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div>-- <br class="gmail_msg"><div data-smartmail="gmail_signature" class="gmail_msg"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg">-- <br class="gmail_msg">Sacha schutz<br class="gmail_msg"></div><div class="gmail_msg">Interne en Biologie moléculaire<br class="gmail_msg"></div><div class="gmail_msg">Bioinformaticien<br class="gmail_msg"></div><div dir="ltr" class="gmail_msg"><div class="gmail_msg">+336<span style="background-color:rgb(255,255,255);color:rgb(51,51,51);font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:13px;line-height:18px;text-align:left" class="gmail_msg">51571606<br class="gmail_msg"></span></div><div class="gmail_msg"><span style="background-color:rgb(255,255,255);color:rgb(51,51,51);font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:13px;line-height:18px;text-align:left" class="gmail_msg"><a href="http://dridk.me" class="gmail_msg" target="_blank">dridk.me</a><br class="gmail_msg"></span></div><div class="gmail_msg"><span style="background-color:rgb(255,255,255);color:rgb(51,51,51);font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:13px;line-height:18px;text-align:left" class="gmail_msg"><a href="https://github.com/" class="gmail_msg" target="_blank">Fork me on github</a><br class="gmail_msg"></span></div><div class="gmail_msg"><br class="gmail_msg"></div></div></div></div></div></div></div>
</div></blockquote></div>
</div></div></blockquote></div><br class="gmail_msg"><br clear="all" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div>-- <br class="gmail_msg"><div data-smartmail="gmail_signature" class="gmail_msg"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg">-- <br class="gmail_msg">Sacha schutz<br class="gmail_msg"></div><div class="gmail_msg">Interne en Biologie moléculaire<br class="gmail_msg"></div><div class="gmail_msg">Bioinformaticien<br class="gmail_msg"></div><div dir="ltr" class="gmail_msg"><div class="gmail_msg">+336<span style="background-color:rgb(255,255,255);color:rgb(51,51,51);font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:13px;line-height:18px;text-align:left" class="gmail_msg">51571606<br class="gmail_msg"></span></div><div class="gmail_msg"><span style="background-color:rgb(255,255,255);color:rgb(51,51,51);font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:13px;line-height:18px;text-align:left" class="gmail_msg"><a href="http://dridk.me" class="gmail_msg" target="_blank">dridk.me</a><br class="gmail_msg"></span></div><div class="gmail_msg"><span style="background-color:rgb(255,255,255);color:rgb(51,51,51);font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:13px;line-height:18px;text-align:left" class="gmail_msg"><a href="https://github.com/" class="gmail_msg" target="_blank">Fork me on github</a><br class="gmail_msg"></span></div><div class="gmail_msg"><br class="gmail_msg"></div></div></div></div></div></div></div>
</div>
</blockquote></div>
</div></div></blockquote></div><br class="gmail_msg"><br clear="all" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div>-- <br class="gmail_msg"><div class="m_3417017395807684314gmail_signature gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg">-- <br class="gmail_msg">Sacha schutz<br class="gmail_msg"></div><div class="gmail_msg">Interne en Biologie moléculaire<br class="gmail_msg"></div><div class="gmail_msg">Bioinformaticien<br class="gmail_msg"></div><div dir="ltr" class="gmail_msg"><div class="gmail_msg">+336<span style="background-color:rgb(255,255,255);color:rgb(51,51,51);font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:13px;line-height:18px;text-align:left" class="gmail_msg">51571606<br class="gmail_msg"></span></div><div class="gmail_msg"><span style="background-color:rgb(255,255,255);color:rgb(51,51,51);font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:13px;line-height:18px;text-align:left" class="gmail_msg"><a href="http://dridk.me" class="gmail_msg" target="_blank">dridk.me</a><br class="gmail_msg"></span></div><div class="gmail_msg"><span style="background-color:rgb(255,255,255);color:rgb(51,51,51);font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:13px;line-height:18px;text-align:left" class="gmail_msg"><a href="https://github.com/" class="gmail_msg" target="_blank">Fork me on github</a><br class="gmail_msg"></span></div><div class="gmail_msg"><br class="gmail_msg"></div></div></div></div></div></div></div>
</div>
</blockquote></div>