Bug 217537

Summary: [AMDGPU] RDNA Freesync problem with CVT-Reduced display profile
Product: Drivers Reporter: Paulo Marcos de Souza Arruda do Nascimento (myghi63)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED ANSWERED    
Severity: normal CC: myghi63
Priority: P3    
Hardware: AMD   
OS: Linux   
Kernel Version: 6.3.6 Subsystem:
Regression: No Bisected commit-id:
Attachments: edid of my AOC 24G2 Monitor

Description Paulo Marcos de Souza Arruda do Nascimento 2023-06-10 03:05:45 UTC
Created attachment 304393 [details]
edid of my AOC 24G2 Monitor

The problem:
When a CVT-RB or CVT-RB2 monitor profile is enabled, using Freesync on a game that demands 100% of GPU utilization makes the mouse pointer to perform very slow (2~3fps) on Wayland, even if the game is running above 90fps smoothly. Recording the screen results in a video without this problem happening (maybe pipewire simulates the mouse?)
With x11, the game itself starts jumping frames while recording the screen (CVT-RB only), or always have a terrible struttering (CVT-RB2).

Why do I want to use CVT-RB or CVT-RB2 monitor profiles?
I want to decrease the idle power consumption of my GPU. Using one of those monitor profiles do the trick (15W -> 3W).

Does these profiles work on Windows?
Yes, without any issue. I'm sure the problem is only happening on Linux distros.

Which things I've done to try fixing the issues?
Tried linux-lts, switched between both amdvlk and radv (vulkan-radeon), tested amdgpu.dc=0 (it ended up freezing the GPU before launching display server), made a clean install of Arch Linux, tried different display profiles while modifying the edid and none of these options helped at all.

Hardware:
GPU: AMD RX 5500XT 8GB (GV-R55XTOC-8GD)
Monitor: AOC 24G2 1920x1080 144hz Freesync Premium
Both are connected with DisplayPort 1.2

Software:
OS: Arch Linux
DE: Plasma 5.27.5
Kernel: linux 6.3.6 / linux-lts 6.1.33
Mesa: 23.1.1-1

I'm attaching the original edid of my monitor, just in case if someone wants to analyze it (dumped with read-edid).
Comment 1 Artem S. Tashkinov 2023-06-10 11:43:44 UTC
Please refile here: https://gitlab.freedesktop.org/drm/amd/-/issues
Comment 2 Paulo Marcos de Souza Arruda do Nascimento 2023-06-10 15:55:49 UTC
(In reply to Artem S. Tashkinov from comment #1)

Done! here's the one I've opened: https://gitlab.freedesktop.org/drm/amd/-/issues/2617
And thanks, I didn't know there was a issue tracker for these ones.