The AMDGPU Boot Parameter (Most Common)If your Lenovo laptop features an AMD Ryzen processor, a known driver bug handling power savings causes random freezing.
Adding a specific argument to the GRUB bootloader stabilizes the GPU.
Open your terminal (Ctrl + Alt + T).
Run this command to edit the GRUB configuration file:
bash sudo nano /etc/default/grub
Look for the line that starts with GRUB_CMDLINE_LINUX_DEFAULT.
It usually looks like this:textGRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
Add amdgpu.dcdebugmask=0x12 inside the quotes.
It should now look like this:
textGRUB_CMDLINE_LINUX_DEFAULT=”quiet splash amdgpu.dcdebugmask=0x12″
If you have a Lenovo Legion or newer model and this specific value fails, users on the Linux Mint Forums noted that amdgpu.dcdebugmask=0x10 also works).
Save and exit: Press Ctrl + O, hit Enter, then press Ctrl + X.
Update GRUB to apply the changes:
bash sudo update-grub
Restart your laptop.