https://bugs.winehq.org/show_bug.cgi?id=43277
--- Comment #40 from Luca lukycrociato@gmail.com --- Wait please. I don't think so, while FarCry is indeed a poor optimized game, there is definitely an issue on Ryzen CPU's and games being run through wine. I own a Ryzen 5 1600, 6 cores and 12 threads. On my laptop which uses an Intel CPU I don't have problems running wine games on it, they don't have any sort of issue, but not on this desktop, I experience a lot of stuttering and inconsistency between high framerates especially with the mouse, not definitely a libinput issue. I've disabled every sort of mouse acceleration.
I've discussed a lot on dxvk discord, and after trying ryzen-optimized kernel and some custom wine esync version which reduced a bit the problem, i got to the conclusion that there is some sort of CPU scheduling issue.
Basically every game I've tried, from Half-Life 2, to Killing floor 2 or GTA 5 have the same laggish input issue while having good and stable framerates, while having opened cpu monitoring software there are indeed cpu usage spikes where a single core is at 100%, an image explains it better.
In those screenshots you can see the same game (Half life 2) running in the same section of the map, same mouse movements, in the same version of wine, same linux distro, just different CPU and video card, a lot weaker than my desktop. I've also tried different mouses, kernels, drivers, wine versions, etc. Absolutely the same result.
https://imgur.com/a/bouDlbO The one with the balanced CPU usage is the laptop, the one with 100% CPU spikes on it is the desktop. But basically every game I run on it, new or older, DX11 or DX9, the same 100% cpu spikes occurs.
I've also made a video, as you can see as I'm approaching the beige house behind me the visual becames sluggish and stutters a lot, while not dropping game fps, but the mouse movement were the same, you can see that when I reach the other end of the house, the visual gains some speed. I can ensure that the mouse movement I was doing was absolutely linear.
So I came to the conclusion that there can be some sort of CPU scheduling issue, not related, I think, to the linux kernel, because any other game runs fine.