GithubHelp home page GithubHelp logo

Invalid effect types about hid-tmff2 HOT 10 CLOSED

kimplul avatar kimplul commented on May 26, 2024
Invalid effect types

from hid-tmff2.

Comments (10)

Kimplul avatar Kimplul commented on May 26, 2024

Yeah, I saw some similar error messages with DiRT Rally 2. The game itself worked fine, for some reason the first few effects just apparently had the effect type wrong. Did Project CARS 2 work alright as well?

Could you check with ffbtools, namely ffbwrap, what it claims the effects are? If ffbwrap shows UNKNOWN, then the driver is working as intended and the game or proton is sending out garbage.

from hid-tmff2.

berarma avatar berarma commented on May 26, 2024

Could you check with ffbtools, namely ffbwrap, what it claims the effects are? If ffbwrap shows UNKNOWN, then the driver is working as intended and the game or proton is sending out garbage.

I'd like to know if this happens, it might be a bug or unsupported feature in Proton.

from hid-tmff2.

arabek avatar arabek commented on May 26, 2024

Could you check with ffbtools, namely ffbwrap, what it claims the effects are? If ffbwrap shows UNKNOWN, then the driver is working as intended and the game or proton is sending out garbage.

I'd like to know if this happens, it might be a bug or unsupported feature in Proton.

I'd love to help, but is there a guide on how to check that? I've no clue about the tool.

Anyway, after a few more passes this does not seem to be the case anymore, so - maybe the lost packets/timing issue from #10 had fixed it.

from hid-tmff2.

Kimplul avatar Kimplul commented on May 26, 2024

https://github.com/berarma/ffbtools/blob/master/docs/ffbwrap.md shows how to set up logging. So in our case you'd just paste
ffbwrap --logger=/home/user/myapp /dev/input/by-id/usb-Thrustmaster_Thrustmaster_T300RS_Racing_wheel-event-joystick -- %command% into the game's launch options on steam.

Just replace user with your user and myapp with anything, really. Oh, and I would do this myself, but I don't have access to my wheel at this moment.

This issue could of course be some kind of a race condition, and changing the timing could affect the it, but in that case we haven't "fixed" anything, just pushed the issue over to somewhere else.

from hid-tmff2.

arabek avatar arabek commented on May 26, 2024

Makes sense (the bit about not fixing but pushing the issue somewhere else). I will test it… soon-ish. I'm having too much fun playing right now ;)

from hid-tmff2.

arabek avatar arabek commented on May 26, 2024

So i've tried running pcars2 with the ffbwrap command enabled, and it came out empty:

000000000000 # DEVICE_NAME=Thrustmaster Thrustmaster T300RS Racing wheel, UPDATE_FIX=0, DIRECTION_FIX=0, FEATURES_HACK=0, FORCE_INVERSION=0, IGNORE_SET_GAIN=0, OFFSET_FIX=0, THROTTLING=0

It seems it initialized properly, but then again, it didn't spit any output. That's the desired behaviour when nothing is being logged out to dmesg too? I mean, there were no errors. Still running the 2ms patched version of the driver. Should i revert?

from hid-tmff2.

berarma avatar berarma commented on May 26, 2024

Is Steam or the game running in a container?

In the ffbtools issues there are already logs for several games. I think none of them logged unknown effects.

from hid-tmff2.

arabek avatar arabek commented on May 26, 2024

I'm closing this. I can't reproduce anymore at the 2ms setting.

from hid-tmff2.

Kimplul avatar Kimplul commented on May 26, 2024

Strange, I'll probably investigate this a bit more after the holidays. Sort of odd that the ffbwrap log is empty, it really should be filled with stuff, but that's neither here nor there at this point.

Thanks for your bug reports, they're greatly appreciated.

from hid-tmff2.

Kimplul avatar Kimplul commented on May 26, 2024

Sort of interesting, I looked into the unknown effect types but couldn't replicate them under any game/timer combination. There might still be a race condition somewhere, but I just can't find it. The games seem to work alright even when the issue arises, so I think I might leave this issue be for now.

If someone can come up with a reliable way to replicate the issue, I'll investigate further.

from hid-tmff2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.