-
Bug
-
Resolution: Out of scope
-
P1: Critical
-
None
-
5.15.17
-
None
-
System Information:
• Qt version: 5.15.17
• OS: Arch Linux (fully updated)
• Kernel: 6.15.7-arch1-1
• Display server: Wayland (KDE Plasma 6)
• GPU: AMD Radeon RX 6750 XT
• Mesa driver: radeonsi (LLVM 20.1.8)
• OpenGL renderer string:
AMD Radeon RX 6750 XT (radeonsi, navi22, LLVM 20.1.8, DRM 3.63, 6.15.7-arch1-1)
• Vulkan device string:
AMD Radeon RX 6750 XT (RADV NAVI22)System Information: • Qt version: 5.15.17 • OS: Arch Linux (fully updated) • Kernel: 6.15.7-arch1-1 • Display server: Wayland (KDE Plasma 6) • GPU: AMD Radeon RX 6750 XT • Mesa driver: radeonsi (LLVM 20.1.8) • OpenGL renderer string: AMD Radeon RX 6750 XT (radeonsi, navi22, LLVM 20.1.8, DRM 3.63, 6.15.7-arch1-1) • Vulkan device string: AMD Radeon RX 6750 XT (RADV NAVI22)
Description:
Running qtdiag under Wayland on a KDE Plasma 6 session causes a segmentation fault when using an AMD Radeon RX 6750 XT GPU with the radeonsi driver. The error message is:
QOpenGLFunctions created with non-current context
Segmentation fault (core dumped)
This crash is specific to Wayland. Under X11, qtdiag works without issues.
Steps to reproduce:
- Log into a Wayland session (KDE Plasma 6).
- Run: qtdiag
- Observe the crash and output.
- Confirm that the issue does not occur under X11:
XDG_SESSION_TYPE=x11 QT_QPA_PLATFORM=xcb qtdiag
Expected result:
qtdiag should display diagnostic information without crashing.
Actual result:
It immediately prints:
QOpenGLFunctions created with non-current context
Segmentation fault (core dumped)
Additional Info:
- qtdiag works if launched with:
XDG_SESSION_TYPE=x11 QT_QPA_PLATFORM=xcb qtdiag
- Other Qt6 and Qt5 applications (e.g. Cantata, Dolphin, Kate) work fine under Wayland with the same GPU and driver stack.
- No Qt style override tools (like kvantum or qt5ct) are installed.
- Setting QT_STYLE_OVERRIDE to Breeze, Oxygen, or Fusion does not prevent the crash.
- Forcing software rendering (LIBGL_ALWAYS_SOFTWARE=1) allows qtdiag to run without crashing, suggesting an OpenGL + context management issue in Wayland mode.
ldd output:
ldd /usr/bin/qtdiag | grep -iE 'libgl|libglx|libegl'
libGL.so.1 => /usr/lib/libGL.so.1
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0
libGLX.so.0 => /usr/lib/libGLX.so.0
libGLX.so.0 => /usr/lib/libGLX.so.0{}