Comments (11)
lgtm to me
from hid-tmff2.
This is the game sending more effect updates than the device can handle. Limiting the frame rate can help with the issue.
It happens with other wheels too.
from hid-tmff2.
I decided to hack a bit and changed the DEFAULT_TIMER_PERIOD
to 2
instead of 8
in hid-tmt300rs.h
. For now it seems stable and no msg spam even with unlocked framerate. Might be a placebo but the effects in ETS2 seem more defined / on point too.
from hid-tmff2.
Might not be placebo, as you've essentially increased the effect's resolution. That being said I'm not really comfortable lowering the timer period down to 2 ms, because I experienced some issues with my wheel when I set the timer that low. The wheel itself would occasionally freeze up, and I'd have to unplug the wheel and plug it back in. Though that was before the resolution we found in #6, so the timing issue might've been also been affected by the changes.
from hid-tmff2.
I've now played with the 2ms setting for quite some time and it didn't occur anymore. Neither with ETS2 nor Project CARS 2 under Steam/Proton.
from hid-tmff2.
That sounds promising. I'd still like to test it out on my own wheel.
I could also just set the timer to be a module parameter, so users could set their own timers, if I find out that different wheels have different tolerances.
from hid-tmff2.
So i've played Assetto Corsa Competizione, and this might give you a hint:
https://www.wolframalpha.com/input/?i=333hz+to+miliseconds
(game allows update rates for force feedback up to 333hz - options are 111hz, 222hz & 333hz ingame). Basically what i'm saying is - setting 2ms
(3ms
might do too, idk, never tested) is the only option that makes sense to me (and leaves 1ms for other stuff the wheel might want to do). Since i've set it to 2ms
i never had any dmesg spam with queue (nor broken effects). Hope it helps.
from hid-tmff2.
Yep, thanks, I'll try it out on my wheel as soon as possible. Not 100% confident in pushing such a change without some testing by myself.
from hid-tmff2.
Hello again, sorry for the long delay. I added in functionality for setting the timer period when loading the module, either by modprobe hid-tmt300rs timer_msecs=NUMBER
or by setting options hid-tmt300rs timer_msecs=NUMBER
in /etc/modprobe.d/hid-tmt300rs.conf
. As far as I could tell, setting the number to 2 ms didn't seem to crash my wheel as it had done previously, but I'm still going to keep the default period at 8 ms, just to be on the safe side.
Check that everything is alright and we can close this issue.
from hid-tmff2.
from hid-tmff2.
I'm sort of on the fence about it.
You're absolutely right that changing the timer has cleaned up the console spam on your setup, and the increased resolution is definitely a plus. But I'm not really comfortable with the thought that some people's wheels MIGHT crash the first time they're trying it out, and then have to go back and see if there's something they can do about it. I'd prefer to make sure that the wheel works out of the box, and if the user feels the need to tune the wheel then they can do so.
The output you showed in this thread admittedly does speak for the 2 ms setting, but I don't have ETS2 and no other game has had similar issues. That I own, at least.
from hid-tmff2.
Related Issues (20)
- t248 with latest firmware but "firmware version 2 is too old, please update." msg HOT 5
- Support other wheel modes with T248 HOT 1
- Thrustmaster TS-PC (TS Racer) support HOT 14
- No FFB in BeamNG with T300RS GT HOT 11
- T128P to be added? HOT 48
- No FFB in BeamNG HOT 4
- Issues on many games, how to debug and contrib HOT 1
- hid-tmff2 in NixOS HOT 4
- Regarding Licensing of hid-tminit and hid-tmff2 HOT 7
- T128 HOT 2
- Can we have a driver linux for the T128 Thrustmaster HOT 3
- Some Feeback on T248 Use HOT 12
- Thrustmaster TMX Support HOT 2
- Pedal recognized as button HOT 8
- T300RS GT Edition? HOT 1
- Forcefeeback Control HOT 3
- Instalation issue HOT 3
- FBB stops working from the moment I launch beamng. HOT 18
- T128 LEDs
- `ld` missing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hid-tmff2.