Re: [RFC] Porting ntsync from Linux to FreeBSD for WINE/Proton compatibility

Warner Losh <[email protected]> Thu, 26 Mar 2026 10:17:52 -0600
Newsgroups gmane.os.freebsd.devel.emulation
Message-ID <CANCZdfoUwvNvPOurW+y2ordsHePaTF9RDdC==aOECju+XZgFSg@mail.gmail.com>
On Wed, Mar 25, 2026 at 3:58 PM Phrolova <[email protected]> wrote:

> Hello!
>
> I intend to port the ntsync kernel driver from Linux to FreeBSD to
> provide compatibility for WINE/Proton to be used with games that require
> it.
>
> One example of such a game is Arknights: Endfield. It crashes after
> 10-15 minutes without ntsync.
>
> The files worth looking at are:
> https://github.com/torvalds/linux/blob/master/drivers/misc/ntsync.c
> and
> https://github.com/torvalds/linux/blob/master/include/uapi/linux/ntsync.h
>
> Has anyone tried this before and does anyone else have interest in using
> such a thing?
>

There was a thread on discord on #gaming (https://discord.gg/freebsd) about
how someone had written a loadable module that would do this already. Maybe
you could learn more by going there and work with people talking about it
there...

Warner