System completely locking down "randomly?" when using an eGPU
Brief summary of the problem:
When using my eGPU (laptop screen turned off), KDE Plasma (kwin
) runs alright but I had to set KWIN_DRM_DEVICES
in /etc/environment
to make it use the eGPU by default so I can get the full 144fps in kwin
. But, at random times (have not found any pattern), the system completely locks down :
° the external screen is on, but completely frozen
° NO input is taken (not even the `REISUB` method works)
° even `SSH` doesn't connect
I have to force shut down my laptop by long pressing the power button.
Hardware description:
- CPU:
i5-1335U
- GPU 1:
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a1] (rev 04)
- GPU 2 (eGPU) :
0000:03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e7)
- System Memory:
16GB DDR5
- Display(s):
1920x1200@60hz internal display ; 1920x1200@144hz external connected to the eGPU
- Type of Display Connection:
the internal display is connected via eDP ; the external one is connected via HDMI to the eGPU
System information:
- Distro name and Version:
Fedora 40 KDE
- Kernel version:
Linux inspiron7430fedora 6.8.8-300.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Apr 27 17:53:31 UTC 2024 x86_64 GNU/Linux
- Custom kernel:
N/A
- AMD official driver version:
N/A
- DE :
KDE Plasma 6.0.4 on WAYLAND
How to reproduce the issue:
- Use KDE Plasma 6 Wayland
- Have an eGPU connected (for me, it's an AMD RX580 connected via ThunderBolt3)
- Wait, and eventually, after an undetermined and possibly variable time, the whole system will completely freeze.
- It seems to happen even faster if I'm using XWayland apps such as OnlyOffice, or if I am playing videos. Not tested on GNOME, working in Windows 10 (it's not hardware malfunction)
Attached files:
Some (maybe useful) logs captured via sudo journalctl -b-1 | tail -n50
after a crash. journalctl-logs.txt
Screenshots/video files
N/A
Log files (for system lockups / game freezes / crashes)
See attachment, if you have any other method to acquire more useful logs, please do tell me and I'll share them.