Linux 5.x random kernel panic workaround

Tried everything? Maybe this help

Checklist

  1. Linux 5.x
  2. Intel CPU
  3. Random kernel panic
  4. Tried everything on the internet, nothing work — LTS kernel, disable TLP, disable C-state, bah bah bah…
  5. Use Linux 4.19 LTS for a workaround
  6. 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

--

--