Disable panel self refresh with amdgpu

I was trying to google for an info how to disable “panel self refresh” as i seem to be running into this amdgpu bug 680M (Rebrandt) laptop randomly becomes very slow to update the screen (#3647) · Issues · drm / amd · GitLab and someone there mentioned disabling panel self refresh fixes this issue temporarily (even there won’t be power optimization from the psr) and this is the first result

i randomly get a lot of

amdgpu 0000:c3:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
amdgpu 0000:c3:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
amdgpu 0000:c3:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data

and the whole system works in like 0.5 fps

So, the way to do it is to open this file /etc/default/grub and then add these 2 lines?

GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash i915.enable_psr=0”
GRUB_CMDLINE_LINUX=“i915.enable_psr=0”

I am not sure if this information here is correct, i am afraid i will break something

You replied to a two and a half year old post.
Better provide your own context by creating your own thread.

Only the first line - leave the second line be as it was → empty

https://unix.stackexchange.com/questions/440961/grub-cmdline-linux-default-vs-grub-cmdline-linux

After you changed something there, run update-grub - the second post here mentions this.

1 Like

allright, thanks

i have replied to this topic because this is the thread that is being linked to when you search for “manjaro disable psr”

No.
First, you dont need to duplicate the entries. Just one on one of the lines is fine.

Second … that option is very much for intel. You state you have amd.

AMD has a bunch of options, which I detailed here:

And whenever you edit grub options you need to run

sudo update-grub

For them to take effect.

2 Likes

I’d just comment out that second line, and probably also remove “quiet” and “splash” from the first one.

I tend to prefer leaving all defaults on the … DEFAULT line, and putting ‘extras’ on the other.

Still probably an exercise in futility to apply intel-specific options to an amd system though.

3 Likes