Disable some stupid ass power management quirks that noone asked for and which cause driver crashes.
- Shell 100%
| install.sh | ||
| README.md | ||
fixamdgpu
Install script that adds AMD GPU kernel parameters to GRUB to prevent driver crashes.
Parameters
| Parameter | Value |
|---|---|
amd_iommu |
on |
iommu |
pt |
amdgpu.runpm |
0 |
amdgpu.tmz |
0 |
amdgpu.dcdebugmask |
0x10 |
amdgpu.gpurecovery |
1 |
amdgpu.gfxoff |
0 |
amdgpu.gfx_off |
0 |
amdgpu.mes |
0 |
amdgpu.ppfeaturemask |
0xfffd3fff |
amdgpu.sg_display |
0 |
Usage
sudo ./install.sh
The script will:
- Back up
/etc/default/grubbefore making changes - Add or update the parameters in
GRUB_CMDLINE_LINUX_DEFAULT - Preserve any existing non-amdgpu parameters
- Run
update-grubautomatically
Reboot after running for changes to take effect.