I have seen comments in the thread on explicit sync saying that people have applied the patches to get explicit sync for wayland working on their system. I have looked around but haven’t been able to figure it out.
Can someone offer a tutorial on how to do it?
Apparently these three patches are needed (from this link: https://forums.developer.nvidia.com/t/feature-g-sync-freesync-under-wayland-session/220822/75)
Xserver/Xwayland https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/967
Xorg protocols https://github.com/rwiggins/xorgproto/tree/explicit-sync
Wayland explicit sync protocol https://gitlab.freedesktop.org/emersion/wayland-protocols/-/tree/linux-explicit-sync-v2
You can write a PKGBUILD to build those three packages and install them. You can use existing
-git
AUR packages as a template – check out the PKGBUILDs locally and change thesource
to point at the merge request branch from the source repos.For example:
Note that you’ll need to install xorgproto and wayland-protocols before building xorg-xwayland.
Thanks a bunch! and the pkbuilds will then patch and automatically add everything i need? And if i want to delete it, can I just do the regular yay -Rsn xorgproto-git wayland-protocols-git xorg-wayalnd-git?