Bug 208443

Summary: [amdpgu] NAVI10 shutting second display off causes video corruption/crash on kernels >=5.7.6
Product: Drivers Reporter: mikkl (ironmikkl)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: alexdeucher
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: >=5.7.6 Subsystem:
Regression: No Bisected commit-id:
Attachments: Kernel log when error occurs

Description mikkl 2020-07-05 17:37:25 UTC
Created attachment 290103 [details]
Kernel log when error occurs

I have a RX 5700 XT NAVI10 with (well almost) no problems but since kernel 5.7.6 came out there is a serious problem which makes the card practically unusable. Kernel 5.7.7 brought no relief. With kernels <=5.7.5 all is OK.

The problem only occurs if I have both of my displays connected. One is a monitor via DP, the other is a TV via HDMI. When I disable the TV so that I only have my monitor active its screen shows some weird freezing behaviour and sometimes goes completely grey for some seconds, then black and afterwards is not really useable any more. If both displays stay active or only the TV is active or I do not connect the TV in the first place there is no problem. I have attached the kernel log for when the error triggers.

Some other info that may be of importance:
- kernel: gentoo-sources
- xfce4-4.14
- xorg-server-1.20.8
Comment 1 Michel Dänzer 2020-07-06 10:18:09 UTC
See https://gitlab.freedesktop.org/drm/amd/-/issues/1189 .
Comment 3 mikkl 2020-07-06 21:40:28 UTC
(In reply to Alex Deucher from comment #2)
> Likely fixed by:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/
> ?id=6eb3cf2e06d22b2b08e6b0ab48cb9c05a8e1a107

Applied on 5.7.7. For now, this seems to work for me, thanks!