Vrr in wayland not working

hello everyone
I have a big problem right now, I can’t use the vrr
when I activate it, my game runs very badly, the image is jerky and the frametime is very unstable, I just have to put the vrr to off in the losd of my screen and everything is back to normal.
I have an amd rx7800xt gpu ryzen5 7800x cpu.
thank you for your help

which desktop environment and how did you set it?

hi thank you for your contribution
I use kde plasma / wayland
to activate it I of course placed vrr on in the OSD of my screen, then in the screen section, I activated the adaptive sync on automatic, and tried “always” too, I also tried several versions of proton, for the installation it is original, the kernel and the base one, the same for the gpu drivers

Read this: Variable refresh rate - ArchWiki

I had already read this, from what I understood wayland should apply vrr automatically?
maybe I should look at the range of my VRR?? I’m a little lost and I’m afraid of doing something stupid!
At the same time I find it stupid not to be able to use my VRR

I have similar problems. I did some googling yesterday. there seems to be a connection with the mouse. that would fit in with my experiences.

I couldn’t test much but I’ll post what I found:
https://www.reddit.com/r/linux_gaming/comments/1bua39l/waylandkde_6_vrr_fluctuating_does_not_match_game

this solved my problem

echo “manual” | sudo tee “/sys/class/drm/card0/device/power_dpm_force_performance_level”
echo “7” | sudo tee “/sys/class/drm/card0/device/pp_power_profile_mode”

1 Like

Maby this is something to add to “game-performance” script?

sorry I don’t know at the moment, I add it to console every time I turn on the pc :frowning:

I have no idea how to do this with the game-performance script. It just crossed my mind that it would only be set at the start of the game.

This is how I do it right now:
Why is my card always 1?
for you then card 0

/etc/udev/rules.d/30-amdgpu.rules

KERNEL=="card1", SUBSYSTEM=="drm", DRIVERS=="amdgpu", ATTR{device/power_dpm_force_performance_level}="manual"
KERNEL=="card1", SUBSYSTEM=="drm", DRIVERS=="amdgpu", ATTR{device/pp_power_profile_mode}="7"

What is that script? Shouldn’t the udev rules be enough?
I had some time to test this and I just noticed it happens to me too during video playback with certain files when I move the mouse.