gpu driver crashes system during suspend and lock screen
The i915 kernel module seems to crash my system during suspend and lock screen. I tested on multiple kernel versions, using Fedora 32. The lock screen consistenly crashes my system for all tested kernels from 5.4 to 5.8. Crash means that after locking the screen goes black and after about 15 seconds never comes back, regardless of which keys and buttons I press. I also, ssh sessions are interrupted after about 15 seconds.
Furthermore, suspend crashes my system from kernel 5.7.6 onward. 5.7.5 still works fine. Suspend crashes are also indicated by the power button light not turning off.
Now what makes me suspect that this is an issue with the i915 kernel module? I added i915.modeset=0
to grub and the problems somewhat disappear. Lock screen works on all tested kernels: It successfully locks the screen and remains responsive to ssh for an extended period of time (tried up to 30 minutes). However, the screen does not turn back on. But I can type my password and turn off the system without the screen displaying anything.
Similar story for suspend, it now works on all tested kernels, but the screen stays black after wakeup. However, I can use the computer without screen to unlock and shutdown and ssh works after wakeup as well.
Now my hardware: Dell Latitude 5590 Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
I do not know how to further debug this issue. journalctl output is not helpful. Please tell me how I can help fix this issue.