https://bugs.winehq.org/show_bug.cgi?id=41222
Bug ID: 41222 Summary: Force feedback issue with old gmotor2 products. Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: addammo@tiscali.it Distribution: Other
I own several Steam and DVD racing games developed upon the gmotor2 game engine. At the moment I have installed GT Legends (Steam version) and rFactor (DVD version). I also own legal copies of Race 07, GTR Evolution, Race, GTR Fia GT, GTR2. The most important issue is I cannot use my Logitech Driving Force GT with these games properly.
ISSUE: some effects of my game steering wheel are missed, the only effect I feel is when I crash into a wall.
I have also installed LFS (demo) and Racer (of course both under Wine) and the force feedback is good.
Used different versions of Wine.
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #1 from Francesco De Leo addammo@tiscali.it --- I forget: Linux distro Mageia 5, Kernel 3.19.8-desktop586-3.mga5
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Francesco De Leo from comment #0)
Used different versions of Wine.
Which versions?
https://bugs.winehq.org/show_bug.cgi?id=41222
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- Run "wine control joy.cpl" and check the force feedback tab, check if it list different types of forces.
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #4 from Francesco De Leo addammo@tiscali.it --- (In reply to Austin English from comment #2)
(In reply to Francesco De Leo from comment #0)
Used different versions of Wine.
Which versions?
Mageia 5 default, 1.4.1, wine-staging (three versions).
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #5 from Francesco De Leo addammo@tiscali.it --- (In reply to Bruno Jesus from comment #3)
Run "wine control joy.cpl" and check the force feedback tab, check if it list different types of forces.
In joy.cpl is listed one type of force, and I've read around the web it is the only force supported by my wheel; the test of the force feedback works.
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- Is it the Constant force?
Wine 1.4.1 is ancient and unsupported, you should really upgrade to the latest development version to test bugs (1.9.17 currently) or at least the current stable (1.8.4).
The game may be using different types of forces to achieve the other effects and your controller does not support them.
Ideally if you can try at least wine 1.9.16 and add a +dinput log it will be useful, read more at http://wiki.winehq.org/FAQ#get_log If not at least 1.8.4 may have some information.
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #7 from Francesco De Leo addammo@tiscali.it --- (In reply to Bruno Jesus from comment #6)
Is it the Constant force?
Wine 1.4.1 is ancient and unsupported, you should really upgrade to the latest development version to test bugs (1.9.17 currently) or at least the current stable (1.8.4).
The game may be using different types of forces to achieve the other effects and your controller does not support them.
Ideally if you can try at least wine 1.9.16 and add a +dinput log it will be useful, read more at http://wiki.winehq.org/FAQ#get_log If not at least 1.8.4 may have some information.
The only force supported by my wheel is the constant force, I think also in Windows because Logitech decided so.
I've installed these versions of Wine: 1.4.1, 1.7.30, wine-staging 1.9.5 and 1.9.16 and 1.9.17.
The program ltwheelconf tell me that my game wheel support one force and 16 effects which should be generated from the same force.
For the log file, I will try later.
With LFS and Racer, both under Wine, the force feedback is ok.
https://bugs.winehq.org/show_bug.cgi?id=41222
Francesco De Leo addammo@tiscali.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Force feedback issue with |Force feedback issue with |old gmotor2 products. |gmotor2 products.
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #8 from Francesco De Leo addammo@tiscali.it --- Created attachment 55500 --> https://bugs.winehq.org/attachment.cgi?id=55500 Log file of WINEDEBUG=+dinput
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #9 from Francesco De Leo addammo@tiscali.it --- (In reply to Bruno Jesus from comment #6) ...
Ideally if you can try at least wine 1.9.16 and add a +dinput log it will be useful, read more at http://wiki.winehq.org/FAQ#get_log If not at least 1.8.4 may have some information.
Ok, I've created and attached the log file using wine-staging 1.9.17.
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #10 from Francesco De Leo addammo@tiscali.it --- I've also installed 'GTR - Fia GT' (Steam version) and 'Race 07' (DVD version) but I get exactly the same issue with both.
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com ---
From the log it is possible to see the game is trying to use many different
types of forces:
linuxinput_create_effect Creating linux input system effect (0x13f429f0) with guid GUID_Sine linuxinput_create_effect Creating linux input system effect (0x13f42a68) with guid GUID_Friction linuxinput_create_effect Creating linux input system effect (0x13f42ae0) with guid GUID_Damper linuxinput_create_effect Creating linux input system effect (0x13f42b58) with guid GUID_Spring linuxinput_create_effect Creating linux input system effect (0x13f42c48) with guid GUID_ConstantForce
When the game attempts to use Sine, Friction, Damper and Spring the function responsible to sending the effect to the controller fails with argument invalid, because the effect is not supported.
When the game uses Constant force it works fine.
I don't think we can do anything in this case, it is a joystick/driver limitation.
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #12 from Francesco De Leo addammo@tiscali.it --- (In reply to Bruno Jesus from comment #11)
I don't think we can do anything in this case, it is a joystick/driver limitation.
I can also attach the log of LFS and Racer, with these games the force feedback is good.
Then, do you think it could be useful to verify the goodness of the linux driver by using a virtual machine and to test the force feedback with it?
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Francesco De Leo from comment #12)
I can also attach the log of LFS and Racer, with these games the force feedback is good.
Yes, please do so we can check the types of effects they are using.
Then, do you think it could be useful to verify the goodness of the linux driver by using a virtual machine and to test the force feedback with it?
I'm not sure what you mean, you should actually compare the results with Windows. Some drivers emulate effects using other effects, which could be the case if it works in Windows.
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #14 from Francesco De Leo addammo@tiscali.it --- Created attachment 55552 --> https://bugs.winehq.org/attachment.cgi?id=55552 Log file of LFS: WINEDEBUG=+dinput
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #15 from Francesco De Leo addammo@tiscali.it --- Created attachment 55553 --> https://bugs.winehq.org/attachment.cgi?id=55553 Log file of Racer: WINEDEBUG=+dinput
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #16 from Francesco De Leo addammo@tiscali.it --- (In reply to Bruno Jesus from comment #13)
(In reply to Francesco De Leo from comment #12)
I can also attach the log of LFS and Racer, with these games the force feedback is good.
Yes, please do so we can check the types of effects they are using.
Ok, log files uploaded.
https://bugs.winehq.org/show_bug.cgi?id=41222
Francesco De Leo addammo@tiscali.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |addammo@tiscali.it
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #17 from Bruno Jesus 00cpxxx@gmail.com --- LFS only used Constant force
trace:dinput:linuxinput_create_effect Creating linux input system effect (0x212798) with guid GUID_ConstantForce
Racer uses more effects
trace:dinput:linuxinput_create_effect Creating linux input system effect (0x173690) with guid GUID_ConstantForce trace:dinput:linuxinput_create_effect Creating linux input system effect (0x173a80) with guid GUID_Friction trace:dinput:linuxinput_create_effect Creating linux input system effect (0x173ae0) with guid GUID_Damper trace:dinput:linuxinput_create_effect Creating linux input system effect (0x173b40) with guid GUID_Inertia
But most of the times it is only using the Constant effect, so it may be less noticeable that the other effects are failing.
The Racer log was useful because I think I found a bug in some other stuff, thanks ;-)
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #18 from Francesco De Leo addammo@tiscali.it --- (In reply to Bruno Jesus from comment #17)
LFS only used Constant force
trace:dinput:linuxinput_create_effect Creating linux input system effect (0x212798) with guid GUID_ConstantForce
Racer uses more effects
trace:dinput:linuxinput_create_effect Creating linux input system effect (0x173690) with guid GUID_ConstantForce trace:dinput:linuxinput_create_effect Creating linux input system effect (0x173a80) with guid GUID_Friction trace:dinput:linuxinput_create_effect Creating linux input system effect (0x173ae0) with guid GUID_Damper trace:dinput:linuxinput_create_effect Creating linux input system effect (0x173b40) with guid GUID_Inertia
But most of the times it is only using the Constant effect, so it may be less noticeable that the other effects are failing.
The Racer log was useful because I think I found a bug in some other stuff, thanks ;-)
I have to say that the two games feel differently: with LFS I feel rumble when driving over the curbs but I do not feel nothing when I drive off the road/track; with Racer I feel "good" vibration when I drive off road/track but I do not feel nothing when driving over the curbs. Of course, it depends also on many others factors. I surely know :) that the gmotor2 games have a complete force feedback.
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #19 from Francesco De Leo addammo@tiscali.it --- I must also say that with Racer I've used the last Wine (compiled by myself just some hours before).
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #20 from Bruno Jesus 00cpxxx@gmail.com --- The force feedback depends on the kernel (or a userland driver) supporting it, we just use its capabilities. Unfortunately for your wheel only the constant force is supported, after trying to look for informations on your wheel I could not find any information about force feedback on Windows.
Some people suggest to test in the latest kernel (>= 4.6) because many changes happened to the force feedback area. This specific thread talks about only constant force being supported: https://www.reddit.com/r/linux_gaming/comments/44rkqn/is_constant_force_forc...
If in Windows different forces work it means a proprietary driver may support the other effects.
I'm still undecided if the resolution of this bug is invalid (due to the game using unsupported effects instead of checking and only using supported ones) or notourbug (meaning that if Windows supports more effects the Linux kernel should add support for it), currently from Wine's point of view there is nothing we can do.
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #21 from Francesco De Leo addammo@tiscali.it --- Maybe this is not the point. I wrote I feel under Wine using those two titles, all the same effects I can feel under Windows with GT Legends, rFactor, etc. So, why is the Linux kernel to be not complete? Of course the constant force is the most important force, or the only one, because I must drive on the tarmac. During the testing I drove also on the curbs and off the track, and hit the walls, so different effects came up. I will make more experiments and I also will try to discover which effects are available on Windows.
https://bugs.winehq.org/show_bug.cgi?id=41222
Antti Sokero antti.sokero@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |antti.sokero@gmail.com
--- Comment #22 from Antti Sokero antti.sokero@gmail.com --- Created attachment 56259 --> https://bugs.winehq.org/attachment.cgi?id=56259 Log file of rFactor: WINEDEBUG=+dinput
Logfile of rFactor on wine-1.9.23 and Kernel 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Tested with Logitech Momo (black) Racing wheel.
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #23 from Antti Sokero antti.sokero@gmail.com --- I have the same problem when trying to play rFactor with my old Logitech Momo (black) wheel. On some games such as LFS and Richard Burns Rally the Force feedback seems to work fine (although I´m unable to make comparison to playing the same games under Windows).
In rFactor the wheel works fine other than the fact that FFB is not present. While in the game menus the force seems to be some what present and the wheel resists of turning it. Immediately after entering the actual game the wheel goes to a mode without any resistance.
At the moment it seems that on Logitech Momo (as with Logitech Driving Force GT), only constant force is supported. The effect support status on different wheels can be followed for example here: https://github.com/Eliasvan/Linux-Force-Feedback/wiki/Supported-Devices. I quess there is not yet change for better even in the most recent kernels.
Just to add information I attached a logfile of rFactor (WINEDEBUG=+dinput), on - Ubuntu 16.04 - wine-1.9.23 - Kernel 4.4.0-47-generic #68-Ubuntu
Playable demo of rFactor can be downloaded here: http://rfactor.net/web/rf1/
https://bugs.winehq.org/show_bug.cgi?id=41222
--- Comment #24 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Antti Sokero from comment #23)
In rFactor the wheel works fine other than the fact that FFB is not present. While in the game menus the force seems to be some what present and the wheel resists of turning it. Immediately after entering the actual game the wheel goes to a mode without any resistance.
Hi, as expected the kernel does not support the effect the game is trying:
trace:dinput:linuxinput_create_effect Creating linux input system effect (0xd320338) with guid GUID_Spring ... trace:dinput:LinuxInputEffectImpl_Download Could not upload effect to fd 78, errno 22 "Virheellinen argumentti", returning 0x80070057.