https://bugs.winehq.org/show_bug.cgi?id=56492
Bug ID: 56492 Summary: Wine 9.5 breaks Opentrack/TrackIR head tracking, works in 9.4 Product: Wine Version: 9.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: fell@fellr.net Distribution: ---
After updating to Wine 9.5 I noticed that the Wine plugin of the Opentrack head tracking software wasn't working any more. It simply couldn't "connect" and displayed "waiting for game..." forever. After reverting back to Wine 9.4 it worked fine again.
Corresponding issue at the Opentrack project: https://github.com/opentrack/opentrack/issues/1827
Observed behavior: After pressing "Start" the tracking does not work game and "waiting for game..." is displayed in the Opentrack title bar.
Correct behavior: After pressing "Start" the tracking should begin in the game and the game name should be displayed in the Opentrack title bar.
Now, I don't know how exactly that plugin works and how it communicates with the game. It is using the TrackIR/Freetrack protocol which seems to rely on some kind of direct memory access, but I'm not sure.
https://bugs.winehq.org/show_bug.cgi?id=56492
Fell fell@fellr.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fell@fellr.net
https://bugs.winehq.org/show_bug.cgi?id=56492
Fell fell@fellr.net changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://github.com/opentrac | |k/opentrack/issues/1827 Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=56492
--- Comment #1 from Fell fell@fellr.net --- I figured out that it doesn't work because opentrack-wrapper-wine.exe.so segaults with wine-9.5 but not with wine-9.4. Unfortunately I don't know how to debug it.
https://bugs.winehq.org/show_bug.cgi?id=56492
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |download, source Status|UNCONFIRMED |NEEDINFO Severity|major |normal
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- A regression test will find the commit that introduced the problem. https://wiki.winehq.org/Regression_Testing
https://bugs.winehq.org/show_bug.cgi?id=56492
--- Comment #3 from Fell fell@fellr.net --- Actually, the reason `opentrack-wrapper-wine.exe.so` doesn't start is not a segfault, but something weirder.
Opentrack attempts to run a command that looks somewhat like this: OTR_WINE_PROTO=3 WINEESYNC=1 WINEFSYNC=1 wine /usr/libexec/opentrack/opentrack-wrapper-wine.exe.so
Which, in Wine 9.4 results in: (no output, program keeps running)
But in Wine 9.5: Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found.
If I create a symlink like opentrack-wrapper-wine.exe -> opentrack-wrapper-wine.exe.so then the program stays open again, but it doesn't seem to work for tracking.
If I rename other programs from .exe to .exe.so they seem to run fine.
I tried git bisect, but it just told me this: wine: '/home/fell/Games/dcs-world' is a 64-bit installation, it cannot be used with a 32-bit wineserver.
If I try to use a 32-bit prefix, it always prints the "Application could not be started" message, even with wine-9.4
I'm so confused. Does that make sense to anyone?
https://bugs.winehq.org/show_bug.cgi?id=56492
--- Comment #4 from Austin English austinenglish@gmail.com --- (In reply to Fell from comment #3)
I tried git bisect, but it just told me this: wine: '/home/fell/Games/dcs-world' is a 64-bit installation, it cannot be used with a 32-bit wineserver.
Either you'll need to compile wine in wow64 mode when doing the bisect, or, if the application is 32-bit, use a 32-bit prefix.
https://bugs.winehq.org/show_bug.cgi?id=56492
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine 9.5 breaks |Opentrack/TrackIR head |Opentrack/TrackIR head |tracking broken |tracking, works in 9.4 | Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=56492
Fell fell@fellr.net changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=56483
https://bugs.winehq.org/show_bug.cgi?id=56492
--- Comment #5 from Fell fell@fellr.net --- I did some more testing. I can confirm it's also broken in wine 9.6 and wine 9.7. However, it works fine with Wine 9.6 in WOW64 mode! I strongly believe the problem is related to this bug: https://bugs.winehq.org/show_bug.cgi?id=56483
https://bugs.winehq.org/show_bug.cgi?id=56492
Fell fell@fellr.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEEDINFO |RESOLVED
--- Comment #6 from Fell fell@fellr.net --- I can confirm this issue has been fixed in Wine 9.8
https://bugs.winehq.org/show_bug.cgi?id=56492
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.9.