I have a slightly weird situation. I recently reinstalled KDE Neon (based on Ubuntu 22.04) onto my laptop. With the prior installation (which was an earlier version of KDE Neon that had been through some upgrade cycles, as well as some custom kernels, everything worked in both X11 and Wayland.
Since I have done a fresh install, some applications won't launch if I'm logged into an X11 session, but will work fine under Wayland. As an example, GuitarPro 8 works under Wayland, but not under X11. The output I get under X11 is as follows:
23-02-18 14:24:29.466 [gp.widgets.mainwindow] Warning: Restored main window geometry QRect(4,0 1016x768)
23-02-18 14:24:29.932 [] Critical: WindowCreationData::create: CreateWindowEx failed (Success.)
23-02-18 14:24:29.936 [default] Warning: Failed to create platform window for QWidgetWindow(0xb5b7d70, name="MainWindowWin
dow") with flags QFlags<Qt::WindowType>(Window|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseBut
tonHint|WindowFullscreenButtonHint)
23-02-18 14:24:29.945 [] Critical: WindowCreationData::create: CreateWindowEx failed (Success.)
23-02-18 14:24:29.946 [default] Warning: Failed to create platform window for QWidgetWindow(0xb5b7d70, name="MainWindowWin
dow") with flags QFlags<Qt::WindowType>(Window|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseBut
tonHint|WindowFullscreenButtonHint)
No windows open, and the application seems stuck until I do CTRL-C (when launching from terminal) or go into the task manager and kill the GuitarPro.exe process.
It almost seems like there's a library missing, but I've done cxfix and cxdiag(64) with no obvious issues.
This app is running in a Windows 10 64 bit bottle. It's actually a bottle created before I did the OS reinstall.
I've tried reinstalling GuitarPro into a fresh bottle, but it fails for some reason, but that's a different issue.
Any idea?
Cheers,
Keith