Article 5BA3J After kernel 5.4.81 and Mesa 20.3, screen flickers on resume from sleep/suspend

After kernel 5.4.81 and Mesa 20.3, screen flickers on resume from sleep/suspend

by
saza
from LinuxQuestions.org on (#5BA3J)
As above, after updating -current with the latest kernel and Mesa, screen now flickers when resuming from sleep. It did this before actually, but I could resolve it by reducing the refresh rate from 144Hz to 50Hz, then switching back. Now, the flickering only goes away if I go to 60Hz or below, and stay there. I can run at say 100Hz with only occasional flickering, but it will still be there, and the problem doesn't change at all when going back to 144Hz.

Most notably, the problem would also resolve previously if I quit out of and restarted X(I use startx instead of a display manager). It no longer does this, even ending X and starting anew after resuming from sleep flickers, I have to reboot the whole system to return to normal. I do not know if this also happens on hibernate, I have not tried that feature since sleep works so well, and I have 64GB of RAM.

Because stopping X and starting again does nothing to the issue, am I right in suspecting that it's more on the kernel than the new Mesa version? Anyone with experience in this? I am on a AMD Ryzen 3700XT and RX 5700XT GPU, using the open drivers shipped with Slackware-current.

I also found this in my searching on the problem, but didn't see much that I could readily use from it: https://bugzilla.kernel.org/show_bug.cgi?id=205915latest?d=yIl2AUoC8zA latest?i=r2aEHFvq1Fk:u6V8K4dBnrQ:F7zBnMy latest?i=r2aEHFvq1Fk:u6V8K4dBnrQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=r2aEHFvq1Fk:u6V8K4dBnrQ:gIN9vFwr2aEHFvq1Fk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments