Package Details: ntsync-dkms 6.14-2

Git Clone URL: https://aur.archlinux.org/ntsync.git (read-only, click to copy)
Package Base: ntsync
Description: NT synchronization primitive driver - out-of-tree module
Upstream URL: https://lore.kernel.org/lkml/20240519202454.1192826-1-zfigura@codeweavers.com/
Licenses: GPL-2.0-only WITH Linux-syscall-note
Conflicts: ntsync
Provides: NTSYNC-MODULE
Submitter: loathingkernel
Maintainer: loathingkernel
Last Packager: loathingkernel
Votes: 3
Popularity: 0.47
First Submitted: 2024-01-25 00:30 (UTC)
Last Updated: 2025-01-29 20:11 (UTC)

Dependencies (3)

Required by (4)

Sources (7)

Latest Comments

1 2 3 Next › Last »

kogasa commented on 2025-01-29 16:41 (UTC) (edited on 2025-01-29 16:45 (UTC) by kogasa)

Encountered weird issue with the ntsync-header.hook:

Exec = /usr/bin/mv -f /usr/include/linux/ntsync.h /usr/share/ntsync/ntsync.h_orig && /usr/bin/cp -a /usr/share/ntsync/ntsync.h /usr/include/linux

Causes this error:

(11/16) Replacing incomplete ntsync header...
/usr/bin/mv: invalid option -- 'a'
Try '/usr/bin/mv --help' for more information.
error: command failed to execute correctly

It looks like alpm-hooks splits the Exec line on whitespace and feeds each word to the first command as an argument, even "&&" and "/usr/bin/cp" etc.

I fixed it on my end by changing the Exec line to

Exec = /bin/sh -c '/usr/bin/mv -f /usr/include/linux/ntsync.h /usr/share/ntsync/ntsync.h_orig && /usr/bin/cp -a /usr/share/ntsync/ntsync.h /usr/include/linux'

QuartzDragon commented on 2024-12-30 09:09 (UTC)

@loathingkernel

https://github.com/zen-kernel/zen-kernel/tree/6.12/ntsync7 exists.

Though linux-api-headers I am not knowledgeable on checking.

loathingkernel commented on 2024-12-15 08:52 (UTC) (edited on 2024-12-15 08:54 (UTC) by loathingkernel)

@axet I think I should refrain from updating until the new code appears in linux-zen. I could be wrong, but that's where most people are probably getting the module from in Arch. The headers go in-hand with the module, and linux-api-headers includes the BROKEN header from mainline linux which doesn't work anyways, so updating this without the correct module in place for linux-zen will cause issues as header and module will be incompatible with each other.

axet commented on 2024-12-15 08:11 (UTC)

ntsync-v7

https://lore.kernel.org/lkml/20241213193511.457338-1-zfigura@codeweavers.com/

zwastik commented on 2024-11-02 19:52 (UTC)

slightly offtopic, what is the wine env var enabling ntsync? I compiled wine-tkg with ntsync support in the customization.cfg file

_use_ntsync="true"

and disabled all other sync implementations as instructed, but all of them have an env var for actually enabling the sync at runtime, so I guess this also has one? Thanks

dreieck commented on 2024-10-06 11:56 (UTC)

How much is it already integraded in vanilla Linux 6.11?

DodoGTA commented on 2024-10-06 10:39 (UTC)

@zwastik Your build of Wine needs to have support for ntsync too (so regular Proton versions won't benefit from this)

zwastik commented on 2024-10-05 23:37 (UTC)

So just loading this module will make wine or steam/proton benefit from it? Or do I need to do something else?

dreieck commented on 2024-08-18 12:10 (UTC) (edited on 2024-08-18 15:20 (UTC) by dreieck)

Ahoj,

this patch?: https://gist.github.com/TheComputerGuy96/321b49962ec2e2249e33d9caa7c63b9c

Note that if you say license=('GPL-2.0-only WITH Linux-syscall-note') you must install the license file(s) into /usr/share/licenses/${pkgname}, since GPL-2.0-only WITH Linux-syscall-note is not a common license (not at /usr/share/licenses/spdx/).

Besides that: Thanks!, now builds with kernel 6.10.x as well.