Bug 208589

Summary: amdgpu screen corruption with DRI_PRIME on external monitor at resolution 2560x1440 and more then 60hz
Product: Drivers Reporter: dani
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: alexdeucher
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.8.0-rc5 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg

Description dani 2020-07-16 19:04:08 UTC
Created attachment 290323 [details]
dmesg

On my Dell Inc. G5 5505 I get screen corruption if I use a resolution of 2560x1440 and more than 60HZ while using the dedicated AMD Radeon RX 5600M and an external monitor.

On the built in Laptop screen everything runs at 1920x1080 and 144 Hz without screen corruption.

Monitor: Iiyama XUB2792QSU connected with Displayport

CPU Brand:  AMD Ryzen 7 4800H with Radeon Graphics   

Operating System Version:
    "Arch Linux" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  5.8.0-rc5-1-mainline
    Window Manager:  GNOME Shell (Wayland)

DRI_PRIME=1 glxinfo

Device: AMD Radeon RX 5600M (NAVI10, DRM 3.38.0, 5.8.0-rc5-1-mainline, LLVM 10.0.0) (0x731f)
    Version: 20.1.3

DRI_PRIME=0 glxinfo

    Device: AMD RENOIR (DRM 3.38.0, 5.8.0-rc5-1-mainline, LLVM 10.0.0) (0x1636)
    Version: 20.1.3
Comment 1 Alex Deucher 2020-07-17 04:42:19 UTC
Does appending amdgpu.runpm=0 to the kernel command line in grub fix the issue?
Comment 2 dani 2020-07-20 19:07:40 UTC
no the screen corutpion still exists
Comment 3 dani 2020-07-20 20:18:56 UTC
"echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level"

hm fixes the screen coruption