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"
Please attach your dmesg output and Xorg log if using X.
Created attachment 141985 [details]
dmesg | grep -i amd
Created attachment 141986 [details]
dmesg | grep -i gpu
Created attachment 141987 [details]
dmesg | grep -i drm
Created attachment 141988 [details]
Please just attach the full dmesg output.
Created attachment 141990 [details]
Xorg log seems to be broken.
Created attachment 141991 [details]
fixed xorg log
Is this maybe related?
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.
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 
~ >>> 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.
(In reply to bmilreu from comment #10)
> 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.
Problem still present for me on kernels 4.18, 4.19, 4.20 and 4.21-drm-next
4.20 released with this bug still, now starts flickering everywhere since start like before. Please look at this
-- 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.