[UNOFFICIAL] Running BMS on Linux/WINE with opentrack HOWTO
-
I’m glad you’ve sorted it out.
I guess I wrote in post#1 of this very thread:- in the same prefix open explorer, go to "My Computer/Control Panel/Game Controllers and disable evdev controllers (optional but highly recommended)
Linux talks with game controllers using two drivers (kernel modules): older js and newer evdev.
[…]
Wine apps will see two distinct devices, while pysically there’s just one. This may lead to confusion with button mapping where one joystick is selected, but apps “thinks” button was pressed on the other device.
for a reason
- in the same prefix open explorer, go to "My Computer/Control Panel/Game Controllers and disable evdev controllers (optional but highly recommended)
-
I have to admit I never caught that note about explorer when reading your howto… sorry for being a bit dense there
Cheers, Uwe
-
I didn’t got that either until later. You are not being dense… or not the only one
Deviating slitghtly but still in this controller subject… does anyone know how to (easily?) merge two controllers into one? I’m not having problems with mine once I solved my issue through the control panel, but for a moment it was the approach I was taking and failed. The few options I found were old and complex. Again, for now is just out of curiosity and only if it’s “easy”.
Cheers!
-
Just got opentrack to work with BMS as well, very cool (I was missing the wine protocol configuration part, might be due to the fact that I wasn’t using a dedicated wine prefix for bms previously).
So what’s everyone using for display extraction on Linux?
All the best,
uwe
-
Hi all again.
Sorry hoover for not answering the extraction thing. Never tried it. Did you manage to get it working?
I’m here to share another thing I just found out: create shortcuts for wine virtual desktop. Is not as easy as it sounds. If the program you install (like Opentrack) gives you the create a desktop shortcut, then there will it be but, otherwise, seems you have to fiddle with some weird configs.
So I found that using the shortcut file is easier. Donwload it and extract where you want. I put it directly in the wine’s
Then open wineconsole and go to where you extract the file. Write:Shortcut /a:c /f:"%USERPROFILE%\Desktop\WDP.lnk" /t:"C:\WDP\WeaponDeliveryPlanner.exe" ```Mind the quotes. In the image you can see my trial and errors and final success with the Weapon Delivery Planner (with a typo :mrgreen:). Hope it helps someone! Sources: [https://askubuntu.com/questions/433623/how-to-add-shortcut-onto-wine-desktop](https://askubuntu.com/questions/433623/how-to-add-shortcut-onto-wine-desktop) [https://superuser.com/questions/392061/how-to-make-a-shortcut-from-cmd](https://superuser.com/questions/392061/how-to-make-a-shortcut-from-cmd) [https://ss64.com/nt/shortcut.html](https://ss64.com/nt/shortcut.html)
-
for DE I’ve fiddled with YAME on Linux for a while and it worked quite wll in the 4.34 days. I haven’t gotten around to trying it with 4.35 on Linux sadly.
Cheers Uwe
-
Hey flying penguins,
I am still trying to figure out what is different with my setup where Falcon BMS straight up crashes on startup, seeing that it works quite well for lots of you here. To get an overview and after put me in a position to either have it solved, or be able to post a well researched bug report on the bugs.winehq.org bugtracker, I would like to ask those of you who have gotten Falcon BMS running for a favor:Here on the Wine AppDB https://appdb.winehq.org/objectManager.php?sClass=application&iId=14685, one can submit short test results about how well Wine runs a program. Would you who it works for mind filling this out?
It is rather structured and doesn’t need many words, but specifying the wine version (and staging or non-staging), any winetricks/dxvk used (which would prevent a Platinum or Gold rating), the distribution and what kind of graphics hardware and driver are used is what it asks for. You wouldn’t need the details about all the external programs BMS interfaces with (WDP, opentrack, the weather thingy and the like)
Having a current structured overview of a few recent results might help in establishing a pattern.
Thanks. -
I personally installed it through Lutris, so can’t help with that but is a good idea.
-
Just submitted my report, however the wine version used on my end (5.5) is not listed in the available versions.
cheers, Uwe
wine-5.5 (Ubuntu 5.5-3ubuntu1)
-
BMS 4.35 runs great on linux, considerably faster than on windows with the same hardware.
I have checked that it runs on ubuntu 20.04, 20.10 and 21.04. You do need
winetricks dxvkI use the latest winehq-staging version of wine, currently wine 6.15 (Staging)
It also runs on manjaro; select dxvk there too.
-
Just submitted my report, however the wine version used on my end (5.5) is not listed in the available versions.
cheers, Uwe
wine-5.5 (Ubuntu 5.5-3ubuntu1)
This is the wine version you get from the ubuntu repository, right? Nothing custom just apt install wine. Do you use dxvk with that?
BMS 4.35 runs great on linux, considerably faster than on windows with the same hardware.
I have checked that it runs on ubuntu 20.04, 20.10 and 21.04. You do need
winetricks dxvkI use the latest winehq-staging version of wine, currently wine 6.15 (Staging)
It also runs on manjaro; select dxvk there too.
What happens if you try to run it without dxvk?
Does non-staging work too?–----
And are you guys using a nvidia card with the proprietary drivers or something else?
I get a crash on startup with what I tried, even though I have confirmed that wine runs other games fine and the same hardware runs BMS on windows.
-
Yep dauerhaft that’s correct, it’s the wine version from the ubuntu repo which I am using with dxvk (installed using winetricks).
All the best, Uwe
-
I’m not sure about cougar (it maight need to load firmware under win), most of the other joysticks should be fine using js or evdev.
If anyone is using a HOTAS Couger on Linux then this util https://www.benchmarksims.org/forum/showthread.php?33430-New-Cougar-HOTAS-Linux-Utility&p=466788#post466788 should help. You do need access to Windows to do a one time setup if you want to use manual calibration data which you should if you’re using force mods.
-
-
Hi all!
I’m back with another thing I’ve discovered about the PS3eye and opentrack.
Although my system detects it and I can use it, I was never able to set it at more than 30fps. I haven’t found any direct solution and it bugged me that seems everyone is able to have full access to its capabilities but me.
I haven’t found any definitive solution, but installing QT V4L2 Utility (or V4L2 Test Bench, naming is a bit inconsistent), which is the package qv4l2. You can have a GUI to configure the webcam. When setting up the resolution I want there, it’s then detected by opentrack.
Drawback is I have to open it again after a reboot/power off. Not a big deal really, just to put it all there.
Hope this helps someone.
-
Thanks for the heads-up! I think it should be possible to save a profile and then load it at launch via command line parameter… I’ll check this out, right now I’m using qcvuview (also weirdly named and probably wrong from memory) to set my camera’s parameters on Linux.
Cheers, Uwe
-
@hoover said in [UNOFFICIAL] Running BMS on Linux/WINE with opentrack HOWTO:
Thanks for the heads-up! I think it should be possible to save a profile and then load it at launch via command line parameter… I’ll check this out, right now I’m using qcvuview (also weirdly named and probably wrong from memory) to set my camera’s parameters on Linux.
Cheers, Uwe
Thanks. I guess you meant guvcview (just googled it). I might take a look at it on another lazy moment, hehehe.
-
-
Hi all!
Sorry for being back to this topic but I think it’s better to have all things Linux together. Let me know if it’s better to open a new topic referencing this one.Truth to be told, I NEVER managed to run opentrack natively but I run the windows version inside the same BMS prefix and carry on. This is not ideal and I always keep trying to compile it natively so I’m also able to use it in other places.
Now I manage to compile it!!! But somehow doesn’t detect my cam even if anything else in my system recognizes it. The errors are:DEBUG [/home/MYUSER/opentrack/api/plugin-support.hpp:106]: library "easy" failed: "Cannot load library /home/MYUSER/opentrack/build/install/bin/../libexec/opentrack//opentrack-tracker-easy.so: (libIlmImf-2_3.so.24: cannot open shared object file: No such file or directory)" DEBUG [/home/MYUSER/opentrack/api/plugin-support.hpp:106]: library "opencv" failed: "Cannot load library /home/MYUSER/opentrack/build/install/bin/../libexec/opentrack//opentrack-video-opencv.so: (libdc1394.so.22: cannot open shared object file: No such file or directory)" DEBUG [/home/MYUSER/opentrack/opentrack/main-window.cpp:1021]: no preset dir
I’ve searched a lot and tried several thing with no joy. Any help?
On the other hand, I have less input (Aruco, neuralnet) options than in the windows version. Is that normal?
On the bight side, I’m using a dirty trick to be able to run opentrack with other wine or steam games. I run the wine opentrack and use UDP output. Then open the Linux version and use UDP input and wine/proton as output. It works and, as a side effect, the head movement feels smoother, I’m guessing because of double smoothing and deadzones.
Again, I can play BMS and other games, I just would prefer to do better.
-
@Ferde
It seems some of the dependences are not met, i mean it might be there are only dev packages (headers) installed bout not actual libs.
What provides libs listed in errors (libIlmImf-2_3.so.24 and libdc1394.so.22)
Make sure both are installed.
WRT missing trackers it’s to be expected. For Arucco and neural tracker, you have to compile their libs first, then point opentrack compilation to those compiled libs.
At some point I plan to update opentrack build procedure with steps for missing trackers and outputs (arucco, nt and XPlane output.) -
@Xeno said in [UNOFFICIAL] Running BMS on Linux/WINE with opentrack HOWTO:
@Ferde
It seems some of the dependences are not met, i mean it might be there are only dev packages (headers) installed bout not actual libs.
What provides libs listed in errors (libIlmImf-2_3.so.24 and libdc1394.so.22)
Make sure both are installed.
WRT missing trackers it’s to be expected. For Arucco and neural tracker, you have to compile their libs first, then point opentrack compilation to those compiled libs.
At some point I plan to update opentrack build procedure with steps for missing trackers and outputs (arucco, nt and XPlane output.)Thank you very much for pointing me in the direction to look for and for the need to compile the other things.
Will try again later. -
Apologies for double posting. Seems I already had the apparently missing libraries installed, so I don’t know how I could fix that. Maybe I should link something to somewhere? I’m not good at that.
I’ve also tested a 2-year old app-image of opentrack and it recognizes my webcam without issues so… I don’t know what’s going on here the image probably has some missing thing my system doesn’t. I would use that app-image but it hasn’t wine output or the input trackers I need.
Unfortunately seems there is no up to date app-image, flatpak os snap package. I’ve found a .deb one but is not working.So seems this new attempt of using native opentrack is another half-failure for me. At least this time I got it half-working.
Maybe I should reinstall ubuntu at some point. I’m in 21.10 and too lazy to upgrade because, apart from this, it all works.