https://bugs.winehq.org/show_bug.cgi?id=45892
Bug ID: 45892 Summary: Project Cars 2: No Force Feedback effects played Product: Wine Version: 3.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sa@whiz.se Distribution: ---
Created attachment 62402 --> https://bugs.winehq.org/attachment.cgi?id=62402 PC2 demo log with +dinput
Hi,
No force feedback effects are played back in the game Project Cars 2. The racing wheel is otherwise detected and works as an input device.
From looking at the logs two things stand out:
01cf:trace:dinput:ff_dump_effect type 0x52 FF_CONSTANT, id 0, direction 0x0 (source angle 90.00), time length INFINITE, start delay 0 ms
Direction of the force is always set to zero, and replaying such an effect with a sample program does indeed not result in force feedback effect.
01cf:trace:dinput:LinuxInputEffectImpl_SetParameters Effect gain requested but no effect gain functionality present.
The second problem is that the game uses per effect gain, which is not supported by the Linux input system. The developer of the G29 driver suggested that Wine handle these calculations since it isn't done in the hardware.
I'm not sure if this should be filed as a separate issue?
These bugs happen with a Logitech G29 racing wheel and the demo version of the game, but I have seen reports from a user that the same issue exists with the G27 and the full version of the game as well.
A log with WINEDEBUG=+dinput is attached (xz format, 1.2 GB uncompressed)
https://store.steampowered.com/app/378860/Project_CARS_2/