https://bugs.freedesktop.org/show_bug.cgi?id=108322
Bug ID: 108322 Summary: RX580 Display flickering after waking from suspend Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: bmilreu@gmail.com
GPU RX580 Nitro+ over DisplayPort to a single AOC 75hz monitor. Issue is on last kernels 4.18 4.19 but not in 4.14.
Screen starts flickering until reboot if I sleep/wake or if I manually switch the monitor off/on.
Tried to turn amdgpu.dc=0, screen then flickers everywhere anytime unless I manually change frequency from 75hz to 60hz. That only solves it inside KDE though.
Checking gpu related logs shows this error, but couldn't find anything else: "Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff"
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #1 from Alex Deucher alexdeucher@gmail.com --- Please attach your dmesg output and Xorg log if using X.
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #2 from bmilreu@gmail.com --- Created attachment 141985 --> https://bugs.freedesktop.org/attachment.cgi?id=141985&action=edit dmesg | grep -i amd
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #3 from bmilreu@gmail.com --- Created attachment 141986 --> https://bugs.freedesktop.org/attachment.cgi?id=141986&action=edit dmesg | grep -i gpu
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #4 from bmilreu@gmail.com --- Created attachment 141987 --> https://bugs.freedesktop.org/attachment.cgi?id=141987&action=edit dmesg | grep -i drm
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #5 from bmilreu@gmail.com --- Created attachment 141988 --> https://bugs.freedesktop.org/attachment.cgi?id=141988&action=edit xorg log
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #6 from Alex Deucher alexdeucher@gmail.com --- Please just attach the full dmesg output.
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #7 from bmilreu@gmail.com --- Created attachment 141990 --> https://bugs.freedesktop.org/attachment.cgi?id=141990&action=edit dmesg
https://bugs.freedesktop.org/show_bug.cgi?id=108322
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #141988|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #8 from Alex Deucher alexdeucher@gmail.com --- Xorg log seems to be broken.
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #9 from bmilreu@gmail.com --- Created attachment 141991 --> https://bugs.freedesktop.org/attachment.cgi?id=141991&action=edit fixed xorg log
sorry
https://bugs.freedesktop.org/show_bug.cgi?id=108322
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #141991|text/x-log |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=108322
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #141985|0 |1 is obsolete| |
https://bugs.freedesktop.org/show_bug.cgi?id=108322
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #141986|0 |1 is obsolete| |
https://bugs.freedesktop.org/show_bug.cgi?id=108322
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #141987|0 |1 is obsolete| |
https://bugs.freedesktop.org/show_bug.cgi?id=108322
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #141988|0 |1 is obsolete| |
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #10 from bmilreu@gmail.com --- https://www.phoronix.com/scan.php?page=news_item&px=AMD-V4-Adaptive-VRR-... Is this maybe related?
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #11 from bmilreu@gmail.com --- Compiled last AMD-drm-next kernel from git and problem's still here, even worse, it's now flickering everywhere at 75hz. Discovered from another bug report that forcing clocks to high "fixed" the flickering, and it does indeed. It also doesn't flicker if I force 60hz everywhere. It's worth mentioning its a 1080p Freesync 75hz DP1.2 monitor.
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #12 from bmilreu@gmail.com --- Created custom modes and forced it into xrandr. 75hz flickers, but 73hz is working fine it seems. This is on last amd-drm-next-staging
~ >>> gtf 1920 1080 73
# 1920x1080 @ 73.00 Hz (GTF) hsync: 82.20 kHz; pclk: 214.37 MHz Modeline "1920x1080_73.00" 214.37 1920 2056 2264 2608 1080 1081 1084 1126 -HSync +Vsync ~ >>> xrandr --newmode "1920x1080_73.00" 214.37 1920 2056 2264 2608 1080 1081 1084 1126 -HSync +Vsync [130] ~ >>> xrandr --addmode DisplayPort-0 "1920x1080_73.00" ~ >>> xrandr --output DisplayPort-0 --mode "1920x1080_73.00"
Will keep it like this for now and test it in games, but in kde plasma/chromium 73hz is smooth as silk it seems. Another thing I noticed is gtf generates higher pixel clocks than the ones from my monitor (edid?). You can compare above result with the attached xorg log.
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #13 from Nicholas Kazlauskas nicholas.kazlauskas@amd.com --- (In reply to bmilreu from comment #10)
https://www.phoronix.com/scan.php?page=news_item&px=AMD-V4-Adaptive-VRR- FreeSync Is this maybe related?
This would be unrelated - those patches are still in review and not part of any tree yet.
Luminance flickering is also a bit different from typical flickering. It is a more subtle effect and doesn't have any sort of visual corruption associated with it - lines, the screen displaying black, etc.
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #14 from bmilreu@gmail.com --- Problem still present for me on kernels 4.18, 4.19, 4.20 and 4.21-drm-next
https://bugs.freedesktop.org/show_bug.cgi?id=108322
--- Comment #15 from bmilreu@gmail.com --- 4.20 released with this bug still, now starts flickering everywhere since start like before. Please look at this
https://bugs.freedesktop.org/show_bug.cgi?id=108322
Martin Peres martin.peres@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #16 from Martin Peres martin.peres@free.fr --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/551.
dri-devel@lists.freedesktop.org