Hi everybody.
I’m trying to use CCPNMR (AnalysisAssign 3.3.2.1) on Fedora 42. When i starts assign it crashes and send me this error:
QT error: 3 (Gui.qtMessageHandler:105)
QT error: <PyQt5.QtCore.QMessageLogContext object at 0x7f162c59cd60> (Gui.qtMessageHandler:105)
QT error: Could not initialize GLX (Gui.qtMessageHandler:105)
Fatal Python error: Aborted
Can you help me please?
PD: I’m using Fedora 42 with Nvidia drivers and installed al Qt and opengl libraries that need to run the program (i think)
Hi Mario
There are several potential causes here to do with the interaction between Qt, Wayland, the NViidia drivers and your desktop. It would be helpful to know which desktop you are using and which version of the NVidia drivers. As I understand it Fedora 42 with Gnome will be pure Wayland and so we may have some work to do to get XWayland working correctly. What does
glxinfo | egrep ‘vendor|version|rendering:’
report?
If your NVidia card is new enough, the advice is to use the open versions (aka Nouveau) of the graphics drivers.
There are some potential workarounds for different aspects (which may or may not be relevant) such as
https://medium.com/@Spritan/troubleshooting-glx-and-egl-initialization-issues-in-qt-applications-could-not-initialize-glx-86e1e8612c55
https://bbs.archlinux.org/viewtopic.php?id=296427
and if you’re using KDE, some advice
https://discussion.fedoraproject.org/t/fedora-42-with-kde-freeze-display/150421
Let us know what you discover. If you’re not using Fedora for its cutting edgeness and can switch distribution easily enough, consider running something more stable like AlmaLinux or RockyLinux where Wayland is still not the default.