Page 2 of 3

Re: FFB only centering spring

Posted: Sun May 13, 2018 4:46 pm
by Matlo

Re: FFB only centering spring

Posted: Tue May 15, 2018 12:37 pm
by adventourer
Hi Matlo,

Unfortunately it goes back to centering spring.

Below is what is shown if I run the GIMX launcher

Code: Select all

src/windows/gprio.c:26 gprio: failed to set priority class
global option -c with value `LogitechG27_G29.xml'
controller #1: option -p with value `COM9'
now reading arguments for controller #2
subpos flag is set
force_updates flag is set
auto-grab flag is set
GIMX adapter detected, controller type is: G29 PS4.
found pass-through device 0x054c:0x09cc
Timer resolution: min=156250 max=5000 current=5013
rounding timer period to 501
registered joystick 0 with name "PS4 Controller"
using default refresh period: 5.00ms
Warning: macros are not available for: joystick PS4 Controller (0)
Haptic core has source haptic_source_lg for device 046d:c260
Haptic core has sink haptic_sink_lg for joystick 1 (Logitech G27 Racing Wheel USB)
FFB invert: no
FFB gain: constant=100 spring=100 damper=100
Press the PS button to activate the controller.
rounding timer period to 4511


I have post the debug with haptic selected in below link

https://pastebin.com/Tm3k4vaw

Re: FFB only centering spring

Posted: Tue May 15, 2018 9:26 pm
by Matlo
Thanks. I made another test version: https://gimx.fr/download/4dce5bb2c2903f ... x86_64.exe

Re: FFB only centering spring

Posted: Wed May 16, 2018 11:11 am
by adventourer
Matlo,

Now the FFB is working perfectly OK even though it shows below in the terminal i.e." macros are not available" & "FFB gain: constant=100 spring=100 damper=100".

Code: Select all

src/windows/gprio.c:26 gprio: failed to set priority class
global option -c with value `LogitechG27_G29.xml'
controller #1: option -p with value `COM9'
now reading arguments for controller #2
subpos flag is set
force_updates flag is set
auto-grab flag is set
GIMX adapter detected, controller type is: G29 PS4.
found pass-through device 0x054c:0x09cc
Timer resolution: min=156250 max=5000 current=5013
rounding timer period to 501
registered joystick 0 with name "PS4 Controller"
using default refresh period: 5.00ms
Warning: macros are not available for: joystick PS4 Controller (0)
Haptic core has source haptic_source_lg for device 046d:c260
Haptic core has sink haptic_sink_lg for joystick 1 (Logitech G27 Racing Wheel USB)
FFB invert: no
FFB gain: constant=100 spring=100 damper=100
Press the PS button to activate the controller.
rounding timer period to 4511
Warning: skipping unsupported command DEFAULT_SPRING_ON
wheel range adjusted to 900 degrees
wheel range adjusted to 546 degrees

I have posted the haptic checked log file in below link.

https://pastebin.com/FV88xLAY

Re: FFB only centering spring

Posted: Wed May 16, 2018 11:53 am
by Matlo
The macro feature only works for the first joystick device found in the configuration - in your case it is the G27 - and the FFB gain has default values 100%. You can safely ignore these messages.

The fix will land in GIMX 7.4. Thanks a lot for the feedback and your patience for the tests!

Re: FFB only centering spring

Posted: Wed May 16, 2018 2:31 pm
by adventourer
You're welcome. Thank you also for your responsive support to fix this.

Re: FFB only centering spring

Posted: Tue May 22, 2018 2:57 pm
by isamu
Hi Matlo it's Julian. Hope you're doing well my friend.

Wanted to let you know I tried the latest two test versions you posted a few days ago in this thread. Not sure if adventourer is getting the same thing on his end, but on my end using the PC, the changes you've made results in the spring effect going dead during the race. I've tried a few games like Daytona USA and Sega Rally and during the race the spring effect goes limp randomly and *ONLY* comes back when a different effect activates such as "constant". Then the spring will turn back on but then goes dead again. The good news is that at least with this latest test version, the spring effect doesn't stay on after closing the game.

I want to point out that this issue described above does not happen in version 7.0 or previous to that. However, the issue with 7.0 and earlier versions is that once the spring effect activates when running the game, it remains active at all times even after closing the emulator. I don't really mind it remaining active at all times during the game, but when I close the game/emulator, the spring effect should de-activate. If there was a way to deactivate the spring effect somehow without having to restart gimx, and by pressing some kind of hotkey, I could live with that. The only way to de-activate it in 7.0 is to close gimx and restart it. I will post a log file of what happens using your latest 7.3 test version shortly.

Re: FFB only centering spring

Posted: Tue May 22, 2018 3:06 pm
by isamu
Text is too big for the forum. Emailing you the log file instead.

Re: FFB only centering spring

Posted: Tue May 22, 2018 4:44 pm
by GoDlike
You can always use a service like pastebin and give us a link here

Re: FFB only centering spring

Posted: Wed May 23, 2018 9:13 am
by Matlo
The bug fixed in the test version linked earlier in this topic made the spring effect (not all games use it) remain active all the time (once started). The stop command sent for the spring effect was misinterpreted as a stop command for the constant effect.