Skip to contentSkip to conversation

Adaptive Sync/VRR not working in multi-head with a non-freesync monitor

DISCUSSION Ilya Trukhanov 2 participants 2 messages Jan 8, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Tried Unigine Valley with bspwm and Plasma, Freesync does not get engaged when second monitor (without Freesync support) is in use. If I turn it off with e.g.

$ xrandr --output HDMI-A-0 --off

Freesync immediately starts working. Once I turn the monitor back on, Freesync is gone.

Looking through one of the patches at
https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/merge_requests/5
I found this:

Quoted 3 lines

Per-CRTC support is gone for enabling variable refresh. A window must cover the entire X screen in order to flip so every CRTC must be enabled or disabled at the same time.

If I understood correctly, in case of multi-head, a window must span across all monitors, with all monitors having Freesync support. Therefore, my setup won't work in this case. However, it *does* work on Windows (albeit only one monitor has Freesync working, obviously).

Am I missing something obvious?
Or is this some kind of X design limitation?
Are there any possible workarounds to achieve the same functionality as on Windows?

I would greatly appreciate some clarification on this topic. Thank you!

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20190108124148.GA28230-Pj6kw7KLH4mGKsjqgr5lgPuIYKdFZgUn@public.gmane.org

#2 lore raw
Quoted 18 lines · Ilya Trukhanov

Tried Unigine Valley with bspwm and Plasma, Freesync does not get engaged when second monitor (without Freesync support) is in use. If I turn it off with e.g.

$ xrandr --output HDMI-A-0 --off

Freesync immediately starts working. Once I turn the monitor back on, Freesync is gone.

Looking through one of the patches at
https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/merge_requests/5
I found this:

Quoted 3 lines

Per-CRTC support is gone for enabling variable refresh. A window must cover the entire X screen in order to flip so every CRTC must be enabled or disabled at the same time.

Quoted 7 lines

If I understood correctly, in case of multi-head, a window must span across all monitors, with all monitors having Freesync support. Therefore, my setup won't work in this case. However, it *does* work on Windows (albeit only one monitor has Freesync working, obviously).

Am I missing something obvious?
Or is this some kind of X design limitation?

Yes, it is. Variable refresh rate can only work with page flipping, and page flipping can only be used in Xorg when the application window spans the whole virtual desktop.

Signature · 2 lines
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx