SeisComP / seiscomp

The build environment for all SeisComP repositories. Includes the documentation.
Other
65 stars 33 forks source link

Upgrading Rocky 8.5 -> 8.6, No GUI application is working #34

Closed AJamelot closed 2 years ago

AJamelot commented 2 years ago

Hi everyone,

I am looking for someone that have experienced the same issue as below after upgrading Rocky to version 8.6.

After the upgrade of Rocky 8.5 to 8.6, neither Seiscomp4 GUI application from version 4.8.4 to last 4.10.0 can be launch anymore. I got the same behavior using binaries packages or by compiling from source 4.10.0 and master branch. I am currently using a graphical interface the classic gnome with Wayland desktop. This issue is probably a consequence of the upgrade or my setup, but i wonder if someone else had the same issue.

Cheers,

Anthony

Example of output when running scolv --debug, only the splash window appears then core dumped.

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
(...)
08:13:17 [debug] Joining group: PICK in settings dialog
08:13:17 [debug] Subscribed to group PICK
QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
QObject::connect: No such slot Seiscomp::Gui::MainFrame::trayIconMessageClicked()
QObject::connect:  (receiver name: 'MainFrame')
QObject::connect: No such slot Seiscomp::Gui::MainFrame::trayIconActivated(QSystemTrayIcon::ActivationReason)
QObject::connect:  (receiver name: 'MainFrame')
08:13:17 [info] Read 0 segment(s) with a total number of 0 vertice(s) from 0 file(s) found under /home/jamelot/.seiscomp/spatial/vector in 0.000052s
08:13:17 [info] Read 0 segment(s) with a total number of 0 vertice(s) from 0 file(s) found under /home/jamelot/seiscomp/share/spatial/vector in 0.000012s
08:13:17 [info] Read 0 segment(s) with a total number of 0 vertice(s) from 0 file(s) found under /home/jamelot/.seiscomp/bna in 0.000010s
08:13:17 [info] Read 0 segment(s) with a total number of 0 vertice(s) from 0 file(s) found under /home/jamelot/seiscomp/share/bna in 0.000018s
08:13:25 [debug] LOCSAT: no station corrections used for profile iasp91
08:13:26 [debug] selected magnitude: Origin/20220603180323.755036.29999/netMag/M with 0 magRefs 
08:13:26 [debug] selected Origin          : Origin/20220603180323.755036.29999 with 41 arrivals
08:13:26 [debug] selected magnitude: Origin/20220603180323.755036.29999/netMag/M with 0 magRefs 
08:13:26 [debug] selected Origin          : Origin/20220603180323.755036.29999 with 41 arrivals
08:13:27 [debug] Setting automatic reconnect to: 1
08:13:27 [info] starting message thread
Exception en point flottant (core dumped)
AJamelot commented 2 years ago

Problem fixed ... There is something wrong since 8.6 with Wayland, using X11 works perfectly as usual. If someone has the same issue even using x11, just verify that you do not have the environment var QT_QA_PLATFORM=wayland define somewhere (bashrc, /etc/environment)

Also to avoid using as defalut Wayland you can modify you /etc/gdm/custom.conf as below.

# GDM configuration storage

[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
#Enable=true

And after rebooting, everything goes fine.

Cheers