Linux 5.x random kernel panic workaround
Tried everything? Maybe this help
Oct 31, 2020
Checklist
- Linux 5.x
- Intel CPU
- Random kernel panic
- Tried everything on the internet, nothing work — LTS kernel, disable TLP, disable C-state, bah bah bah…
- Use Linux 4.19 LTS for a workaround
- Dell latitude 7490 — maybe I don’t know if the problem existed on other laptops or desktops
I got the workaround from
Will Foster, Unrelated — Micro Freezes on Linux 5.x Kernels and i915, in Fix for Intel i915 GPU Freeze on Recent Linux Kernels, on hobo.house.
The workaround
Disable Panel Self-Refresh (PSR) in i915 driver
Do one of these workarounds, and then reboot
- Create a config file in /etc/modprobe.d/i915.conf, or name it whatever you want, and type this in
options i915 enable_psr=0
- add i915.enable_psr=0 to the kernel parameter