You are not logged in.

#1 2024-03-11 09:23:51

noraj2
Member
From: France, Europe
Registered: 2022-02-09
Posts: 20

Crash of some non-KDE Qt apps (+ others) on Plasma 6 Wayland

After upgrading from Plasma 5 to Plasma 6:

- ✅ Qt KDE apps: all are working fine (kontact, konsole, dolphin, konqueror, kate)
- ❌ non-KDE Qt apps: all are crashing with segmentation fault (keepassxc, lximage-qt, qtqr)
- ❌ some other C++ compiled apps are crashing with segmentation fault too (kitty)
- ✅ other apps like GTK one (firefox) or others (chromium): working fine

Also I tried several DE (where above crashing apps are working or not):

- ❌ Plasma Wayland (qt6, wayland)
- ✅ Plasma X11 (qt6, x11)
- ✅ KDE openbox (??, x11)
- ✅ Lxqt (qt5, x11)

For the Qt apps crashing, looking at their dependencies it seems they all are compiled against Qt 5.

Examples of crashing

➜ keepassxc             
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
[1]    11851 segmentation fault  keepassxc

➜ lximage-qt ~/Pictures/arch_poly.jpg 
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
[1]    19486 segmentation fault (core dumped)  lximage-qt ~/Pictures/arch_poly.jpg

➜ qtqr       
[1]    17474 segmentation fault (core dumped)  qtqr

➜ kitty --debug-rendering      
[068 10:49:49.305959] Ignoring unknown config key: font_familly
Creating window at size: 1920x1052 and scale 1
GL version string: '4.6 (Core Profile) Mesa 24.0.2-arch1.2' Detected version: 4.6
XDG decoration configure event received: has_server_side_decorations: 1
top-level configure event: size: 0x0 states: 
final window content size: 1920x1052 resized: 0
Setting window geometry in configure event: x=0 y=0 1920x1052
Waiting for swap to commit: swap has happened
Scale changed to 1 in surface enter event
Resizing framebuffer to: 1920x1052 at scale: 1
[1]    15637 segmentation fault (core dumped)  kitty --debug-rendering

I'm on vanilla linux 6.7.9-arch1-1, it's a Intel® Core™ i5-1145G7 (CPU) with Mesa Intel® Xe Graphics (GPU). So no nvidia driver has many have experienced. No kde-unstable repository, up-to-date, no partial upgrade.

QT related environment variables:

➜ env | grep QT            
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_WAYLAND_RECONNECT=1

I had QT_QPA_PLATFORM=wayland in my .zshrc but I commented it and restarted without effect.

A dev told me it could be related to theming. I hadn't a theme engine installed, so I installed kvantum 1.0.10-3 but it doesn't seem to change.

Offline

#2 2024-03-11 09:30:06

foobat
Member
Registered: 2021-02-13
Posts: 28

Re: Crash of some non-KDE Qt apps (+ others) on Plasma 6 Wayland

Try installing breeze5 and plasma5-integration, and switch to the default breeze application style , if this problem is related to themes.

Offline

#3 2024-03-11 09:46:31

noraj2
Member
From: France, Europe
Registered: 2022-02-09
Posts: 20

Re: Crash of some non-KDE Qt apps (+ others) on Plasma 6 Wayland

I installed those, I was already on default Breeze Dark theme, I switched to (light) Breeze. But eg. keepassxc is still crashing.

Offline

#4 2024-03-11 10:13:35

noraj2
Member
From: France, Europe
Registered: 2022-02-09
Posts: 20

Re: Crash of some non-KDE Qt apps (+ others) on Plasma 6 Wayland

I figured that with QT_QPA_PLATFORM=wayland the Qt apps are crashing but not with QT_QPA_PLATFORM=xcb. However, non-Qt apps like kitty keep crashing with both.

Offline

#5 2024-03-11 10:18:01

noraj2
Member
From: France, Europe
Registered: 2022-02-09
Posts: 20

Re: Crash of some non-KDE Qt apps (+ others) on Plasma 6 Wayland

I have both qt5-wayland qt6-wayland installed, but not qt5ct. Maybe https://wiki.archlinux.org/title/Wayland#Qt needs an update for Plasma 6?

Last edited by noraj2 (2024-03-11 10:18:12)

Offline

#6 2024-03-11 10:36:21

noraj2
Member
From: France, Europe
Registered: 2022-02-09
Posts: 20

Re: Crash of some non-KDE Qt apps (+ others) on Plasma 6 Wayland

As for kitty, it seems to be unrelated to Plasma 6 upgrade and just be an upstream issue and that AL package is outdated. https://gitlab.archlinux.org/archlinux/ … ote_169580

Offline

Board footer

Powered by FluxBB