News: 0001511263

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

NTSYNC Linux Patches Revived To Help Boost Steam Play Gaming Performance

([Linux Gaming] 3 Hours Ago NTSYNC v6)


Back in May for the Linux 6.10 kernel [1]the initial bits of the NTSYNC driver was upstreamed for helping to [2]emulate the Windows NT synchronization primitives so Windows games running under Wine/Proton (such as Valve's Steam Play) can [3]enjoy a very nice performance boost . That NTSYNC code for Linux 6.10 wasn't yet in functioning shape and now a half-year later the newest [4]NTSYNC patch series has been sent out for review.

Elizabeth Figura of CodeWeavers today sent out the sixth iteration of the NT synchronization primitive driver patches for the Linux kernel. This is the first update to the patches since the v5 iteration in May. There isn't any functional changes to the patches but simply re-based against the upstream Linux 6.13-rc1 state.

There does remain two open questions around some alterations to the API design that the hope is can be adapted since the currently-merged initial code is hidden behind the "BROKEN" Kconfig option and so there is hope the API design for user-space can still be altered with this patch series. The desired changes are renaming an ioctl to better match NT terminology and changing the objection creation ioctls to return the file descriptors directly.

With no fundamental changes this round for the NTSYNC patches, hopefully there is consensus and this driver work can be upstreamed soon like for the Linux 6.14 kernel in early 2025... Too bad though that these patches have just effectively been sitting around for the past half-year and from the Wine side missing out on the upcoming Wine 10.0 stable release.

The performance gains of leveraging NTSYNC do continue to look very compelling and making us all the more eager to see the rest of these patches hit mainline:

See [5]the v6 patch series for these 28 patches ironing out the NTSYNC driver functionality.



[1] https://www.phoronix.com/news/Linux-6.10-char-misc

[2] https://www.phoronix.com/news/Linux-6.10-Merging-NTSYNC

[3] https://www.phoronix.com/news/NTSYNC-Linux-Update-February

[4] https://www.phoronix.com/search/NTSYNC

[5] https://lore.kernel.org/lkml/20241209185904.507350-1-zfigura@codeweavers.com/



Kjell

shmerl

skeevy420

shmerl

ObscureAngelPT

geerge

intelfx

Kjell

braiam

Once again dread deed is done.
Canon sleeps,
his all-knowing eye shaded
to human chance and circumstance.
Peace reigns anew o'er Pine Valley,
but Canon's sleep is troubled.

Beware, scant days past the Ides of July.
Impatient hands wait eagerly
to grasp, to hold
scant moments of time
wrested from life in the full
glory of Canon's power;
held captive by his unblinking eye.

Three golden orbs stand watch;
one each to toll the day, hour, minute
until predestiny decrees his reawakening.
When that feared moment arives,
"Ask not for whom the bell tolls,
It tolls for thee."
-- "I extended the loan on your Camera, at the Pine
Valley Pawn Shop today"