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

  • ilep@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    10 months ago

    You are basically asking to do what software developers are doing. There is no “tutorial” to learn it all but if you insist:

    • if the sources are already in a git repository, git pull/git merge will do
    • otherwise git apply to apply individual patch files to your source tree

    That is the easy part.

    Now you need to look at how to compile the sources into usable binaries. That means you need to sort out the dependencies (sources for other libraries etc.), have compiler setup and configure the sources for how you want to build them (features and flags).

    Compiling X is pretty convoluted so if you manage to do that you’ve learnt a lot. This should help a bit:

    https://www.x.org/wiki/Building_the_X_Window_System/

    Good luck.

    If you manage that you’ll get binaries that you can install and setup. But there is no shortcuts or tutorials.