You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Not compatible with Proton's fsync (wrong futex opcode) #152
Weird that no one's noticed this yet, but the current zen-kernel uses a branch of futex-wait-multiple with a different FUTEX_WAIT_MULTIPLE opcode definition than what Proton's Wine expects. In practice this means that when running a zen or liquorix kernel, Proton's runtime fsync check will fail, and the fsync feature will never be used.
The problem is that there are several branches, and Valve's Wine patches rely on the value of FUTEX_WAIT_MULTIPLE being 31 instead of 13, as is the case in futex-wait-multiple-master thanks to this commit. See the crucial difference:
Sorry for dragging my feet with this bug report. I noticed this a few weeks ago, but work and family have kept me passive and hoping that someone else would notice this, too.
To be honest, it looks to me like Valve typo'd in opcode 31, since you can see from the original patch that the next consecutive number is 13. But you know how it is, you can easily immortalize a typo that requires cooperation between two major code bases when one of them is out of your control.
If that's the case, I'm sure the person who introduced 31 instead of 13 as the opcode face palmed for quite a while.
To be honest, it looks to me like Valve typo'd in opcode 31, since you can see from the original patch that the next consecutive number is 13. But you know how it is, you can easily immortalize a typo that requires cooperation between two major code bases when one of them is out of your control.
If that's the case, I'm sure the person who introduced 31 instead of 13 as the opcode face palmed for quite a while.
Yeah, it's of course possible. :) It could also have been a "temporary" choice for testing before hopefully getting merged upstream at some point. Either way we're stuck with it now for the time being.
So from my testing fsync still doesn't work in 5.3.0-15.1-liquorix-amd64. From a game i have tested it says: esync: up and running. and there is no mention of fsync
Activity
damentz commentedon Sep 22, 2019
I cherry-picked the commit you referenced to 5.2/futex-backports and 5.3/futex-backports:
56c847c
414768d
To be honest, it looks to me like Valve typo'd in opcode 31, since you can see from the original patch that the next consecutive number is 13. But you know how it is, you can easily immortalize a typo that requires cooperation between two major code bases when one of them is out of your control.
If that's the case, I'm sure the person who introduced 31 instead of 13 as the opcode face palmed for quite a while.
imaami commentedon Sep 23, 2019
Yeah, it's of course possible. :) It could also have been a "temporary" choice for testing before hopefully getting merged upstream at some point. Either way we're stuck with it now for the time being.
nottux commentedon Dec 11, 2019
So from my testing fsync still doesn't work in
5.3.0-15.1-liquorix-amd64. From a game i have tested it says:esync: up and running.and there is no mention offsyncBluetooth: msft: Extended monitor tracking by address filter
Bluetooth: msft: Extended monitor tracking by address filter
drm/amd/display: fix null-pointer dereference on edid reading
drm/amd/display: fix null-pointer dereference on edid reading
powerpc/pseries: Fix dtl_access_lock to be a rw_semaphore
powerpc/pseries: Fix dtl_access_lock to be a rw_semaphore
perf annotate-arm64: Support 'mov' instruction tracking