[Regression][Bisected] EGL/Wayland: QT applications terminated by SIGSEGV (Address boundary error) when using dGPU
System information
- OS: Arch Linux
- GPU0 - Integrated: Radeon 680M
- GPU1 - Dedicated: Radeon RX 7600S
- Kernel version: v6.8.9-3
- Mesa version: v24.1-rc3
- Desktop manager and compositor: Sway w/EGL backend
Describe the issue
When using the dedicated GPU as the primary render (using DRI_PRIME=<pci of dGPU>
), launching different QT applications causes a termination by SIGSEGV, f.ex launching OBS:
$ DRI_PRIME=pci-0000_03_00_0 obs # dGPU
> fish: Job 1, 'obs' terminated by signal SIGSEGV (Address boundary error)
$ DRI_PRIME=pci-0000_77_00_0 obs # iGPU
> *Executes as expected*
Changing the QT_QPA_PLATFORM
environment variable to force use xcb
works as intended, so it seems to be specifically on the Wayland windowing, additionally GTK-based applications works as intended.
Regression
Bisect done between Mesa v24.1-rc2 and v24.1-rc3 on the 24.1 branch: bisect.log
Which points to: f45a1d10 (on 24.1 branch) 066fc39f (on main branch)
Any extra information would be greatly appreciated
QT environment variables in use:
QT_QPA_PLATFORM=wayland;xcb
QT_QPA_PLATFORMTHEME=qt6ct
Edited by Torleif Skår