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

Crash of T248 with Automobilista2 #37

Open
Draluy opened this issue Mar 27, 2022 · 9 comments
Open

Crash of T248 with Automobilista2 #37

Draluy opened this issue Mar 27, 2022 · 9 comments

Comments

@Draluy
Copy link

Draluy commented Mar 27, 2022

Hi,

Before installing the driver, I could play automobilista 2, albeit with no FFB.
Now, with the T248 plugged, the game crashes on startup. If I disconnect the wheel, start the game, and reconnect the wheel, the game crashes the moment the wheel is connected. This happens with proton experimental, 7.0 and 6.3.

How can I give you proper info to debug this? Like logs or smthing.

@Kimplul
Copy link
Owner

Kimplul commented Mar 27, 2022

First and foremost would probably be to check what output dmesg -w gives when the game crashes. Altough I have to say it seems somewhat unstable even without the T248, crashed on me when I went to have a look, which might indicate that this is an issue with Proton.

@Kimplul
Copy link
Owner

Kimplul commented Mar 30, 2022

Gave it a go, Automobilista crashes with Proton 7.0 and newer, but 6.3-8 started up nicely. Same behaviour with T300RS, I can see some reports on ProtonDB that Logitech wheels function correctly. Nothing shows up in dmesg but from the Proton log I can see that a library called tm_api_lib_x64.lib is loaded and from what I can tell immediately causes a backtrace. Seems like some update to Wine/Proton broke this library that guessing from the name is probably used to handle Thrustmaster wheels.

No clue what exactly broke though, the trace is pretty impenetrable to me.

@Draluy
Copy link
Author

Draluy commented Apr 16, 2022

Automobilista2 crashes with 6.3, 7.0 and experimental with the wheel attached. Will try to see if I can get any help on the proton repo.

@Raboebie
Copy link

Would like to add on here. I have the same problem with the T300RS. When the wheel is plugged in the game crashes on startup. Unplugged it starts up normally.

@Raboebie
Copy link

@Draluy I found a workaround for now. I installed PC2 just to check if that same lib is referenced and it was not. So I renamed tm_api_lib_x64.lib to tm_api_lib_x64.lib.old launched the game and it worked like a charm :)

@Draluy
Copy link
Author

Draluy commented Apr 24, 2022

@Raboebie Thanks, that solved the crashing problem. Now have to figure out why my t248 doesnt have any rumble on that game :)

@Raboebie
Copy link

So this is most likely related to SDL2. @Kimplul would it be required to add the device ID's of the 248 to SDL to make it work?

I know I had this problem in some games not too long ago.

@Kimplul
Copy link
Owner

Kimplul commented Apr 24, 2022

I patched the T248 into SDL a little while ago, but it hasn't been incorporated into a release yet. You could try compiling SDL from master (https://github.com/libsdl-org/SDL)

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

4 participants