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

From: Warner Losh <imp_at_bsdimp.com>
Date: Thu, 26 Mar 2026 16:17:52 UTC
On Wed, Mar 25, 2026 at 3:58 PM Phrolova <me@phrolova.moe> 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