Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No damping or friction with G29 in some games/programs #34

Closed
janikarki opened this issue Nov 10, 2020 · 6 comments
Closed

No damping or friction with G29 in some games/programs #34

janikarki opened this issue Nov 10, 2020 · 6 comments

Comments

@janikarki
Copy link

janikarki commented Nov 10, 2020

Everything works fine in Eurotruck Sim 2, F1 2017 and Dirt Rally 2.0 (as far as I can tell).

In F1 2019 (Proton 5.13-1) there doesn't seem to be any damping or friction effects whatsoever (other effects do work).

In Oversteer, adjusting the sliders for force feedback gain, and spring, damper and friction force levels has no effect.

In fftest I get a listing the following effects, but effects 2, 4 and 5 do not work. Interestingly the damper effect does work here.

Setting master gain to 75% ... OK
Uploading effect #0 (Periodic sinusoidal) ... OK (id 0)
Uploading effect #1 (Constant) ... OK (id 1)
Uploading effect #2 (Spring) ... OK (id 2)
Uploading effect #3 (Damper) ... OK (id 3)
Uploading effect #4 (Strong rumble, with heavy motor) ... OK (id 4)
Uploading effect #5 (Weak rumble, with light motor) ... OK (id 5)

Unless you have some ideas straight away, I'll be happy to do some more digging, if only I get some instructions on how to do so.

Thank you for your work, it is much appreciated.

@berarma
Copy link
Owner

berarma commented Nov 10, 2020

In F1 2019 (Proton 5.13-1) there doesn't seem to be any damping or friction effects whatsoever (other effects do work).

I don't own this game. How do you test it? Maybe @leillo1975 can explain it.

In Oversteer, adjusting the sliders for force feedback gain, and spring, damper and friction force levels has no effect.

These sliders don't play any effect, They just change the global gain and individual conditional effects gains. What do you expect?

In fftest I get a listing the following effects, but effects 2, 4 and 5 do not work. Interestingly the damper effect does work here.

Setting master gain to 75% ... OK
Uploading effect #0 (Periodic sinusoidal) ... OK (id 0)
Uploading effect #1 (Constant) ... OK (id 1)
Uploading effect #2 (Spring) ... OK (id 2)
Uploading effect #3 (Damper) ... OK (id 3)
Uploading effect #4 (Strong rumble, with heavy motor) ... OK (id 4)
Uploading effect #5 (Weak rumble, with light motor) ... OK (id 5)

Effect 2 is playing for me but is very light. You'll notice some resistance when moving the wheel away from the center. Increasing the spring gain in Oversteer will make it stronger.

I have to test effects 4 and 5 in more detail.

@leillo1975
Copy link

leillo1975 commented Nov 10, 2020

For F1 2019 try to use Proton 5.0-10 or Proton 5.9-GE:

https://github.com/GloriousEggroll/proton-ge-custom

I have problems with the last version (5.13)

@janikarki
Copy link
Author

janikarki commented Nov 10, 2020

@berarma I was expecting the feel of the wheel to change right then and there, like it does with autocenter, but I had just misunderstood how it's supposed to work. You are right, fftest effect 2 works when I increase the spring level in Oversteer.

I guess this is simply an issue specific to F1 2019 then. @leillo1975 Are you implying that you are in fact getting some kind of resistance when turning the wheel in F1 2019 (and are you also using a G29)? Mine is just turning completely freely. Were your issues with Proton 5.13 related to FFB or something else? I'll experiment some more with different Proton versions, but I've never noticed any difference with FFB in the past.

@leillo1975
Copy link

With Proton 5.0 and Proton-GE, I have resistance on wheel when I turn to the left and right, and everything seems to be ok. I reported this on the Proton Issue:
ValveSoftware/Proton#2881 (comment)
Can you leave a report attesting to what I have said in case it works for you? Let's see if they keep an eye on that regression.

@berarma
Copy link
Owner

berarma commented Nov 11, 2020

@janibonnevier: Expanding on fftest, either it has a bug related to the rumble effect or it's showing an inconsistency in the kernel code. Maybe because it was created when only joysticks were supported, it doesn't apply very well to wheels. Some effects parameters aren't initialized thus they're set to random values and create an effect with near zero strength. I think I should add a warning in the README. I sent a patch for a bug in ffcstress some time ago but no one noticed it. It seems the project is unmaintained.

About F1 2019, we all three have the same wheel, I remember @leillo1975 told me the game had very different, and sometimes weird, FFB depending on the Proton version. It's the only game with issues, and since FFB code isn't changing that often I guess it might be something else in Proton/Wine.

@berarma berarma added the documentation Improvements or additions to documentation label Nov 11, 2020
@janikarki
Copy link
Author

@berarma @leillo1975 Thanks. I'll have a look at that Proton issue. Someone there is describing very similar issues to what I'm having.

@berarma berarma removed the documentation Improvements or additions to documentation label Feb 15, 2021
@berarma berarma closed this as completed Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants