-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FSYNC will add keyboard delay #40
Comments
I doubt i can help you with that since i'm not a Wine/fsync developer. Anyway, here are a few things worth checking. Does this happen with older wine-tkg versions (6.8 and 6.9 at least)? Does this happen with Proton (Experimental and 6.3-4)? Does this happen with ESYNC? You can use stress to get high CPU usage. For example: In addition, |
ESYNC has no problems... though I wonder: isn't FSYNC supposed to be better? It's worse in almost everything, as far as I'm seeing... |
I believe that depends on hardware. It's worse than ESYNC on my 2 core 4 threads CPU, but i guess it may be better on more powerful CPUs with more cores/threads. There is also Futex2 which i haven't tested yet. |
I've got an i7-7700HQ so 4 cores, 8 threads... |
As far as i know it's enabled by default, but you need a custom kernel with futex2 support (for example, linux-zen and xanmod support it). On wine-staging-tkg builds you will see |
I've got xanmod kernel but I don't see anything like this... maybe I need to set an env variable? |
Try And check if you have |
|
The kernel config should be in /boot or in /proc/config.gz ( What xanmod version are you using? 5.10 has no futex2 support, but 5.12 has. |
Kernel version:
|
Well, although I just tried linux-zen and there is |
damn, how can I install the missing module, if it's a module? I'm searching on google but I can't find anything |
It's not an an external module, so the only option is to install kernel with properly enabled Futex2. |
I opened an issue on xanmod's github, we'll see why |
Try regular xanmod (I mean without cacule scheduler), maybe futex2 is working there. You can also manually compile your own kernel with futex2, linux-tkg project allows to do this pretty easily. |
even without cacule scheduler, futex2 isn't working... I'll switch again to cacule and I'll wait a response on the github thread that I opened, 'cuz the patch should be applied by default, as the homepage states |
Futex2 didn't solve the problem, but now it's more bearable. |
Keep in mind that futex2 is still considered experimental and may cause issues in some games, in which case you can disable it ( Closing this issue as i can't do anything about it anyway. |
@gabriele2000 try |
what does it do? |
@gabriele2000 It's an environment variable that has to do with the input method, I saw in a bug report that setting it gets rid of the stuck key effect in wine. Source: https://bugzilla.redhat.com/show_bug.cgi?id=1279587#c21 |
P.S The env variable is |
As of 2022 I am playing no man's sky and the keyboard delay bug is still very much present, so I don't know why no one is looking into it... I wanted to open an issue about it but there was already one AND it was closed even though the bug is still there... |
Are you sure it's a Wine issue and not a game issue? Also, are you using Esync or Fsync or none? |
This is what you want to insert in your .profile file in your home folder.
|
I am playing original sin 2 and when you scroll the game screen with the keyboard, it will keep on scrolling for a bit when the key is released even though its not as bad as no mans sky, so maybe some games are VERY sensitive to what wine/fsync does, others (like doom eternal and control) does not have that problem. I am using Fsync. |
I dont understand what do you mean by write source .profile? Also most of these options can be enabled through lutris right? What's the difference? |
I don't have Lutris so I can't help you with this, anyway I can make a video... |
On high CPU-usage scenarios, enabling FSYNC will add a strange delay, basically you keep pressing W (for example) but when you stop wine will think that the key is still pressed, for a few second or just half a second... it's a bit randomic
The text was updated successfully, but these errors were encountered: