Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is FreeSync/VRR supported? #28

Closed
Vinjul1704 opened this issue Mar 22, 2021 · 9 comments
Closed

Is FreeSync/VRR supported? #28

Vinjul1704 opened this issue Mar 22, 2021 · 9 comments

Comments

@Vinjul1704
Copy link

Hi, I am curious if FreeSync or VRR is supported? If not, is it planned?

Thanks!

@johanmalm
Copy link
Collaborator

It's not current support. Happy to implement if not too hard.
It might be as simple as using wlr_output_enable_adaptive_sync()
Would you be happy to test if I implement?

@johanmalm
Copy link
Collaborator

Could you try with

LAB_ADAPTIVE_SYNC=1 ./build/labwc

@Vinjul1704
Copy link
Author

Thanks a lot! Unfortunately my graphics card broke 2 days ago and I am waiting for a new one to arrive. I can test as soon as it's here.

@johanmalm
Copy link
Collaborator

I've changed the environment variable name to LABWC_ADAPTIVE_SYNC for consistency.
I'll close this for now, but please let me know if you're able to test it at some point.

@Vinjul1704
Copy link
Author

Sorry for the late reply, took longer than expected and I had to take care of a bunch of other stuff first.

I am not sure if it works, since I don't notice any tearing with and without the option as well as with a version before the commit. I tried it on a fresh Arch installation with just enough installed to get it running. Tried it with HDMI and DP and the GPU is an R9 290 in case that matters.

@saladuh
Copy link

saladuh commented Jun 11, 2021

After my exams next week, I will test this out with my monitor that has a VRR fps counter built in to confirm if this is working or not, assuming no one has (or will) confirmed it as working. I'd test it out now but I don't have labwc installed and I don't intend to use it (besides for testing this out), it's just good to see more compositors adopting variable refresh rate, especially to recommend to friends who want the feature but aren't into tiling WMs (i.e. Sway).

@Vinjul1704 if you're still interested in confirming if the feature is working or not, ping me a week from now if I forget.
Also, you could try using emersion/drm_monitor to test if VRR is working. I've used it in the past and it works great with my setup, but if you just let it run from the terminal on the freesync display do note that it'll force the display to its max refresh rate no matter if freesync is working or not due to how often it renders (see emersion/drm_monitor#3)

@johanmalm
Copy link
Collaborator

Thanks

@Patola

This comment was marked as outdated.

@labwc labwc locked as resolved and limited conversation to collaborators Mar 9, 2024
@labwc labwc unlocked this conversation Mar 9, 2024
@Consolatis

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants