Navi RX 6900 XT variable vblank doesn't match frame rates in some games, causing stutter and flicker
Brief summary of the problem:
Despite #1002 (closed) is closed, I'm experiencing the same issue. To better see the issue I limit fps to 99, so the monitor should display the same 99 fps. But the frequency jumps all the time up to a maximum of 165. You can see it in the video below.
Games affected: World of Wacraft, Sims 4, Battlefield 2142. Maybe more.
CS:GO native - it looks like issue persist only in menu, not during gameplay.
vrrTest, Paladins - issue does not persist.
Also issue does not persist in Windows.
What I tried and didn't helped:
- Different kernels (default 5.18.6, linux-zen 5.18.6, xanmod 5.18.6, xanmod-tt 5.15.49)
- KDE Wayland/Xorg, Gnome Wayland/Xorg, openbox. In the case of Xorg I tried with and without compositor.
- Turning off second monitor.
- Using gamescope.
- Wine-staging 7.11, wine-staging-tkg 7.11, lutris 7.2, lutris ge 6.16.1, Steam proton.
- Switching from DXVK to VKD3D if game have DirectX 11/12 options.
- Changing vulkan driver from RADV to AMDVLK/AMDGPU-PRO.
- Limit fps by Mangohud/libstrangle instead of built-in game limiter if game have that option.
Hardware description:
- CPU: Intel i9-9900K
- GPU:
lspci -nn | grep VGA
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c0)
- System Memory: 32GB
- Display(s):
kscreen-doctor -o
Output: 1 LG Electronics LG FULL HD/16843009 enabled connected HDMI Modes: 0:1920x1080@75*! 1:1920x1080@72 2:1920x1080@60 3:1920x1080@60 4:1920x1080@60 5:1920x1080@50 6:1920x1080@50 7:1920x1080@48 8:1680x1050@60 9:1400x1050@60 10:1600x900@60 11:1280x1024@75 12:1280x1024@60 13:1440x900@60 14:1280x800@60 15:1152x864@75 16:1280x720@60 17:1280x720@60 18:1280x720@50 19:1024x768@75 20:1024x768@60 21:800x600@75 22:800x600@60 23:720x576@50 24:720x480@60 25:720x480@60 26:640x480@75 27:640x480@60 28:640x480@60 29:720x400@70 Geometry: 2700,1581 1920x1080 Scale: 1 Rotation: 1 Overscan: 0 Vrr: Automatic RgbRange: unknown
Output: 2 ASUSTek COMPUTER INC VG27A/L5LMQS131017 enabled connected primary DisplayPort Modes: 0:2560x1440@60! 1:2560x1440@165* 2:2560x1440@160 3:2560x1440@155 4:2560x1440@144 5:2560x1440@120 6:2560x1440@120 7:2560x1440@96 8:2560x1440@72 9:2560x1440@60 10:2560x1440@50 11:2560x1440@48 12:1920x1200@60 13:1920x1080@120 14:1920x1080@120 15:1920x1080@100 16:1920x1080@60 17:1920x1080@60 18:1920x1080@60 19:1920x1080@50 20:1600x1200@60 21:1680x1050@60 22:1280x1024@75 23:1280x1024@60 24:1440x900@60 25:1280x800@60 26:1152x864@75 27:1280x720@60 28:1440x576@50 29:1024x768@75 30:1024x768@70 31:1024x768@60 32:832x624@75 33:800x600@75 34:800x600@72 35:800x600@60 36:800x600@56 37:640x480@75 38:640x480@73 39:640x480@67 40:640x480@60 41:640x480@60 42:720x400@70 43:1600x900@2058702 Geometry: 0,0 2560x1440 Scale: 1 Rotation: 1 Overscan: 0 Vrr: Automatic RgbRange: unknown primary
- Type of Display Connection: DP, HDMI
System information:
- Distro name and Version: Arch Linux
- Kernel version: 5.18.6.arch1-1
- Driver: AMDGPU Open-Source driver
- Desktop Environment: KDE Wayland
How to reproduce the issue:
In the summary.