Bug 217621

Summary: AMDGPU - Internal 4K display used with 1920x1080 leads to screen flickering and distortion, regression from commit edcfed8671ee57bb599184f2e12a1b3e11b32306
Product: Drivers Reporter: Timo Schröder (der.timosch)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED ANSWERED    
Severity: normal CC: alexdeucher
Priority: P3    
Hardware: AMD   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: Picture showing distorted display
inxi output
Commit edcfed8671ee57bb599184f2e12a1b3e11b32306
Patch to revert edcfed8671ee57bb599184f2e12a1b3e11b32306

Description Timo Schröder 2023-07-01 12:58:13 UTC
Created attachment 304514 [details]
Picture showing distorted display

I'm on Manjaro, using kernel 6.3 series. The following problem is also reprocucible with 6.1 series (tested 6.1.36) and with NixOS using >=6.3.9.

I usually use my internal display and an external display with 3840x2160 and 100% scaling. I use my internal display not in its native 3840x2160 resolution (and 200% scaling), but with 1920x1080 and 100% scaling, to prevent scaling issues under Gnome when moving windows from one display to the other. That worked until I updated from 6.3.8 to 6.3.9 (and lately 6.3.10). I suspected the following commit to be responsible: edcfed8671ee57bb599184f2e12a1b3e11b32306.
I created a patch to revert the commit and recreated the amdgpu module and everything is fine again.
Comment 1 Timo Schröder 2023-07-01 13:03:25 UTC
Created attachment 304515 [details]
inxi output
Comment 2 Timo Schröder 2023-07-01 13:10:46 UTC
Created attachment 304516 [details]
Commit edcfed8671ee57bb599184f2e12a1b3e11b32306
Comment 3 Timo Schröder 2023-07-01 13:12:07 UTC
Created attachment 304517 [details]
Patch to revert edcfed8671ee57bb599184f2e12a1b3e11b32306
Comment 4 Artem S. Tashkinov 2023-07-01 16:08:52 UTC
Please report here instead https://gitlab.freedesktop.org/drm/amd/-/issues
Comment 5 Alex Deucher 2023-07-05 13:44:57 UTC
The revert of that patch is already on it's way to Linus.