https://bugs.winehq.org/show_bug.cgi?id=47428
Bug ID: 47428 Summary: mouse input skipping / jitter in conjunction with xf86-video-amdgpu in almost every game Product: Wine Version: 4.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: tempel.julian@gmail.com Distribution: ---
There is extreme mouse skipping in various games. This happens mostly with vsync, e.g. in TESV: Oblivion, but it can also occur without vsync, though more subtle (e.g. in Hitman 2 of 2018). Performance in general is fine, also when there is keyboard input. But as soon as there is any mouse movement, either extreme frametime spikes happen or the mouse input is jittery in general: https://abload.de/img/screenshot_20190527_1t1ktp.png
This happens only when both xf86-video-amdgpu and amdgpu.dc=1 (default since Linux 4.17, required for FreeSync and GPUs since Vega) are used at the same time. With modesetting Xorg DDX driver, the issue does not occur. However, it doesn't support FreeSync and enforces vsync all the time with amdgpu.dc=1, which is not great either.
This is not limited to WineD3D, it happens with Gallium Nine and DXVK as well.
There also is this ticket for the xf86-video-amdgpu driver regarding this issue, but no solution has been proposed so far: https://bugs.freedesktop.org/show_bug.cgi?id=110659
Only games in Wine seem to be affected, native modern Linux games like Rise of the Tomb Raider (Vulkan) or Hitman 2016 (OpenGL) don't show this issue. Thus perhaps there is the slight chance that the issue can be fixed in Wine, if nothing happens for the xf86 driver.
It seems to happen with recent and older Wine versions. I tested regular wine 4.11 and Proton 3.7-8. Attached is a log file for TESV: Oblivion, but I suppose it doesn't show anything interesting. I decided to classify this issue as "major", as it doesn't seem to be limited to single titles and can render games unplayable.