From 6b870bc1c5fb33a5a1c5c329b82a818d14095305 Mon Sep 17 00:00:00 2001 From: steeb Date: Sun, 29 Sep 2024 19:24:36 -0700 Subject: [PATCH] Update README.md Added fix for GPU crashing on suspend. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index dce25f7..b2e4b48 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,26 @@ sudo semodule -i howdy.pp Source: [linuxreviews.org](https://linuxreviews.org/Howdy/SELinux) / [archive.is](https://archive.is/Kuv8L) +## GPU Crash Fixes + +**Starting with Linux kernel 6.1, "Panel Self Refresh" or PSR, will cause crashes. You must stop this from running in order to get reliable resume.** + +Sometimes this causes awful performance, sometimes the screen displays graphical glitches (which I was interpreting as contrast issues.) On occasion, I have also experienced random graphical glitches (mostly at the login screen) and occasional GDM crashes. + +A new kernel paramter needs to be set; we can do it in Fedora like so. First, edit `/etc/default/grub` and add the following to `GRUB_CMDLINE_LINUX ` + +``` +amdgpu.dcdebugmask=0x210 +``` + +Then run the following commands to rebuild GRUB_CMDLINE_LINUX + +``` +sudo grub2-mkconfig -o /boot/grub2/grub.cfg +sudo dnf reinstall shim-\* grub2-efi-\* grub2-common + +``` + ## Power Management Fixes (Suspend) **As of April 2024, if you run a kernel newer than 6.0, chances are that you *NEED* this to have sleep work properly!**