Update README.md

Added fix for GPU crashing on suspend.
This commit is contained in:
steeb 2024-09-29 19:24:36 -07:00
parent 7bcd1f18e4
commit 6b870bc1c5

View File

@ -47,6 +47,26 @@ sudo semodule -i howdy.pp
Source: [linuxreviews.org](https://linuxreviews.org/Howdy/SELinux) / [archive.is](https://archive.is/Kuv8L) 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) ## 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!** **As of April 2024, if you run a kernel newer than 6.0, chances are that you *NEED* this to have sleep work properly!**