https://bugs.kde.org/show_bug.cgi?id=452435

--- Comment #8 from Shreyansh <k...@vesperllama.anonaddy.com> ---
I found the exact cause of the crash. My laptop has a dedicated GPU which is
the AMD RX 6600M. It's mostly in sleep mode and it has the integrated GPU which
is the AMD Vega 8 from Ryzen 5800H. 

Whenever the dGPU wakes up from sleep, XWayland crashes. This is always
reproducible. Whenever I use DRI_PRIME=1 'anyapp', the dGPU wakes up and then
XWayland crashes. SDL applications automatically wake up the dGPU that's why
they crash. 

When I plug in an external monitor, it directly connects to the dGPU. I am not
able to change the display configuration when I am logged in (I think because
the dGPU wakes up when I plug in the HDMI cable and XWayland crashes). I have
to logout and then the display switches to the external monitor and then all
apps work fine.

I haven't been able to get any useful logs regarding this. Journalctl doesn't
show anything related (atleast I think it's not related). If there is any way
to get logs for this, then I would be glad to get them.

In short, dGPU waking up in between crashes XWayland but if it is not sleeping
from the start before logging in then XWayland works fine.

System information -
CPU: AMD Ryzen 5800H
iGPU: AMD Renoir Vega 8
dGPU: AMD RX6600M
Mesa: 22.0.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to