I’ve got an interesting problem I can’t solve on openSUSE Tumbleweed. I recently upgraded from an AMD RX 580 graphics card to an AMD RX 6800 XT. My monitor is an HP Omen 27i, which supports Freesync (AMD’s variable refresh rate, or VRR, implementation), and is connected via DisplayPort. The monitor’s OSD indicates that adaptive sync is enabled. I am using the amdgpu driver and an X11 Plasma 5 session. My refresh rate is 165 Hz. This is my only monitor.
I cannot seem to get Freesync to work. My monitor’s OSD framerate always shows 165, even while running VRRTest and lowering the framerate or when running a game with the framerate limited to below 165. I have confirmed that the compositor is disabled while doing these. I’ve checked the Arch Wiki and have no idea what else to try.
This exact setup worked with my RX 580. In fact, I’ve turned off the computer, plugged the RX 580 back in, rebooted, and it works. It’s not a hardware problem, as I’ve tested live images of Kubuntu 21.04, Fedora 34’s KDE Spin, and Manjaro, and all worked fine by creating the appropriate amdgpu.conf file and logging out and in. I can’t, however, get it working with an openSUSE Tumbleweed live image (I create the amdgpu.conf file, install the xf86-video-amdgpu package, and reboot, but Freesync still won’t work).
My /etc/X11/xorg.conf.d/20-amdgpu.conf file is as follows:
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "TearFree" "true"
Option "VariableRefresh" "true"
EndSection
I’ve tried removing the TearFree option and it doesn’t solve the problem.
Running xrandr --props shows vrr_capable 1.
/var/log/Xorg.0.log contains the lines
8.124] (**) AMDGPU(0): Option "VariableRefresh" "true"
and
8.211] (**) AMDGPU(0): VariableRefresh: enabled
So it seems like everything is correct, but Freesync just isn’t working.
I’m on Mesa 20.3.4-272.4 and Kernel 5.11.4-1-default. No updates available. I don’t have any wacky repositories that should be causing problems, just Packman. It’s been suggested I wait for the new Mesa release, but that really shouldn’t be the problem given that it works on these other live images without Mesa 21.
Does anyone have any ideas or know what the problem might be? Thanks!