I was sort of expecting psr_state to be either 0 or 1?! can't immediately find documentation and have no time right now, but will do some experiments later and let you know the results.
BTW this seems unrelated to the suspend/resume, and since 6.1 is still not officially released by Ubuntu, I'm not filing another bug report. Should I?!
UPDATE:
Disabling PSR (Panel Self Refresh) indeed fixes the screen flickering. 6.1 from linux-oem-22.04c is now running without issues.
Disabling can be done by adding a kernel boot parameter:
- open `/etc/ default/grub`
- add "amdgpu.dcdebugmask=0x10" as kernel boot parameter to `GRUB_CMDLINE_LINUX_DEFAULT` (on my system this now reads "quiet splash amdgpu.dcdebugmask=0x10")
- call `sudo update-grub`
- reboot
Hi Daniel, thanks for the suggestion!
My current setup:
$ uname -rv
6.1.0-1007-oem #7-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 8 15:41:05 UTC 2023
$ cat /sys/kernel/ debug/dri/ 0/eDP-1/ psr_capability
Sink support: yes [0x03]
Driver support: yes [0x01]
$ cat /sys/kernel/ debug/dri/ 0/eDP-1/ psr_state
6
I was sort of expecting psr_state to be either 0 or 1?! can't immediately find documentation and have no time right now, but will do some experiments later and let you know the results.
BTW this seems unrelated to the suspend/resume, and since 6.1 is still not officially released by Ubuntu, I'm not filing another bug report. Should I?!
UPDATE:
Disabling PSR (Panel Self Refresh) indeed fixes the screen flickering. 6.1 from linux-oem-22.04c is now running without issues.
Disabling can be done by adding a kernel boot parameter:
- open `/etc/ default/grub` dcdebugmask= 0x10" as kernel boot parameter to `GRUB_CMDLINE_ LINUX_DEFAULT` (on my system this now reads "quiet splash amdgpu. dcdebugmask= 0x10")
- add "amdgpu.
- call `sudo update-grub`
- reboot