AMD gpu cursor gamma 'fix' causes flickering

Hello!

There is an issue with cursor gamma on (newer) AMD gpu’s as described in this forum post. Following the steps given there for Xorg (which amounts to setting SWCursor to True) however, causes the taskbar and all titlebars to flicker when moving the mouse while watching YouTube with subtitles and causes half my screen to flicker back when moving the mouse when typing in kate among other things (both links are imgur). I configured Xorg by creating /etc/X11/xorg.conf.d/20-amdgpu.conf containing:

Section "OutputClass"
     Identifier "AMD"
     MatchDriver "amdgpu"
     Driver "amdgpu"
     Option "SWcursor" "True"
EndSection

The system consists of

  • AMD Ryzen 7 7700x
  • RX 6800 XT
  • ASRock B650 PRO RS
  • Crucial P5 Plus 2 TB M.2

My display is 1680x1050 and is connected to the 6800 XT via a HDMI to VGA cable.

Is there some way I can fix the gamma of the cursor while avoiding the flickering issues? If not I’ll make do with the incorrect cursor gamma.

Cheers!