[UNOFFICIAL] Running BMS on Linux/WINE with opentrack HOWTO
-
Sounds like we’re on the same hardware. Pretty sure it’s the kernel update too; I hate Ubuntu!
-
Unfortunatelly .NET 4.8 is still broken with 6.2 so no AL for now.
-
I can get it to 50Hz with a newer kernel, but not beyond. This still leaves quite stuttery headtracking Random changes like this are normal for Windows, not Linux!
-
50FPS should be enough, is it connected directly to the m/b port or trough hub? I suspect there might be something fishy about port bandwidth. Maybe bad hub or low voltage? IIRC even 30FPS should give relatively smooth tracking. It’s more about fps being stable.
Anyways, maybe it’s time to fill a bug? -
Thanks for this - headtracking on linux is something I have yet to tackle.
I didn’t see anything about hardware in this thread. What hardware has been tested? Is this something that works with a webcam alone? Can I use a TrackIR5? What hardware is recommended?
-
NaturalPoint does not support Linux. IIRC opentrack does not support trackir. There’s another project for it, but I have no experience with it. TBH I just started this headtracking adventure.
For me classic PS3 Eye + 3 IR diodes freetrack clip (selfmade, Delan or other clones) combo does the job good enough. -
Another small update, I’ve tried Wine 6.6 (Fedora rpms), opentrack crash is fixed, but somehow mouse doesn’t work in a pit at all, ie no cursor unable to click anything I guess we have to wait a lil’ bit longer for Wine releasse good for BMS.
As usual, pls post your experience with Wine releases available for your distro. It might help others to decide if they wanna stick with what wine they have or upgrade. -
Some maybe-FAQs… for someone who doesn’t live and breathe linux everyday (except maybe to manage headless virts in the cloud) but is willing to try dual-booting his desktop
-
is there a specific distro to recommend? (or, any specific distros known not to work?)
-
any perf comparisons vs Windows 10, on same hardware?
-
any known issues or pitfalls with video drivers (nvidia or amd)?
-
what about joystick drivers … or do they all just-work via HID class drivers?
is there a recommended tool for calibration/mapping similar to vJoy+Gremlin?
-
-
Some maybe-FAQs… for someone who doesn’t live and breathe linux everyday (except maybe to manage headless virts in the cloud) but is willing to try dual-booting his desktop
-
is there a specific distro to recommend? (or, any specific distros known not to work?)
-
any perf comparisons vs Windows 10, on same hardware?
-
any known issues or pitfalls with video drivers (nvidia or amd)?
-
what about joystick drivers … or do they all just-work via HID class drivers?
is there a recommended tool for calibration/mapping similar to vJoy+Gremlin?
Ubuntu 20.04 is working well for me - I wouldn’t normally choose Ubuntu, but it’s what was on the laptop.
Performance. With dxvk, at 3440x1440 on Linux for the Landing TE, I get roughly 110fps showing as the overall fps but with the occasional millisecond blip/stutter. Under Windows 10, same hardware, same resolution, same TE, 78fps.
Nvidia drivers seem solid but without the same options easily accessible as under Windows. I’ve done some fiddling here and there, but found it best to just leave it alone.
Joystick - not had any issues with device detection or with setting bindings, but do have calibration issues because I can’t get the CH software to work under Linux (yet)
The biggest reason I still use Windows (off an external drive) is that I haven’t invested the time in making kungfoo’s ICP and MFD app send the right keybindings under Linux - there’s something strange there.
-
-
WRT Distros, I think any of mainstream ones (*buntu/Mint, SUSE, Fedora) should be fine, Arch/Gentoo as long ans properly configured, I see no reason to be bad, just more troublesome because those two come not preconfigured.
My experience is limited to AMD/Intel GPUs, I stick to those because of Linux, Mostly it’s all plug and play, no need to install anything. With this spring/autumn releases all the AMD GPUs should work out of the box with good performance.
I haven’t tried BMS 4.35 under Windows, but 4.34 was about on par or maybe slightly faster when used with nine (D3D9 native linux implementation), DXVK should give close to native or better FPS too.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.
In most cases no need to fiddle with drivers etc… Basic axis remapping can be done with calibration tool for js driver (see Joystick section of HOWTO), but for BMS there’s little need to remap axis in the driver as all the mapping can be done in BMS UI, who cares what is the name of axis or button number, as long as it does what you want it to do.
If there’s some kind of exotic hardware xbox360 pad driver can be handy, 'tho I have never had a need to try it.I guess major hurdle right now would be display extraction, 'tho there was some app prototype written in python, also AL and voice command apps might be problematic.
-
Another small update, I’ve tried Wine 6.6 (Fedora rpms), opentrack crash is fixed, but somehow mouse doesn’t work in a pit at all, ie no cursor unable to click anything I guess we have to wait a lil’ bit longer for Wine releasse good for BMS.
As usual, pls post your experience with Wine releases available for your distro. It might help others to decide if they wanna stick with what wine they have or upgrade.I see the mouse problem in Ubuntu 20.04 LTS with winehq-staging, which currently is wine-6.6 (Staging).
When I switch to winehq-devel, which is currently wine-6.6, the mouse works correctly.
-
It seems issue is related to this one:
https://bugs.winehq.org/show_bug.cgi?id=49051
I’ve posted comment about mouse not working in BMS 3D world -
Some good news today, I’ve tried Wine 6.7 packages. Both mouse and opentrack worked just fine, some more further testing might be needed to confirm stability, but it might be the release to stick with for the moment.
-
I was not able to get BMS to work properly in Pop! OS 20.04.
I have the Steam version of Falcon 4 (no CD, just a Steam download)
Any suggestions?
-
This post is deleted! -
I have no experience with Steam version, but iirc there was suggestion to launch Falcon 4 at least once before installing BMS. I think best way to get some more elaborate answers is to specify what exactly went wrong. I mean at what stage it fails, is thre any error message?
Did Falcon 4 installed properly, if so then were Falcon BMS install files properly extracted to a directory, did the BMS installation process went fine. Does launcher start ok, can you access main UI, can you enter 3d world and so on. -
Falcon 4 installed fine and I was able to launch it and join a mission, but going back to the main menu after playing a mission does not work properly: audio plays though, but the screen is black.
As for trying to get BMS to work, I haven’t been able to. An error box pops us asking for a CD, sometimes.
I might just go back to Windows 10, since some other games aren’t working for me (but I’ll lose desktop capture on my NVIDIA GPU which I really need for streaming).
-
Again I have no experience with steam installer, iirc it causes some issues for Windows users too. But if BMS setup is asking for Falcon 4 installation, then maybe its a matter of installing bMS in the same wine prefix as Falcon 4. I don’t know how exactly BMS is looking for F4 but at least it uses Falcon4 registry ebtries and most likely is trying to find F4 main executable in location pointed by registry entry.
-
Has anyone been able to get current BMS running on Debian 11 (bullseye) or a similar/derived distribution?
If you have, which wine package did you use, what is you graphics card driver, and did you use any winetricks or other tweaks?For me on Debian 11 with the winehq-devel package from here (https://wiki.winehq.org/Download) and nvidia proprietary drivers from debian non-free I get a crash on startup.
edit: (using Falcon 4 from gog.com. works fine on Windows)
(vanilla Falcon 4 works fine with wine) -
Has anyone been able to get current BMS running on Debian 11 (bullseye) or a similar/derived distribution?
If you have, which wine package did you use, what is you graphics card driver, and did you use any winetricks or other tweaks?For me on Debian 11 with the winehq-devel package from here (https://wiki.winehq.org/Download) and nvidia proprietary drivers from debian non-free I get a crash on startup.
edit: (using Falcon 4 from gog.com. works fine on Windows)
(vanilla Falcon 4 works fine with wine)BMS 4.35.1 works on Ubuntu 20.04 LTS with wine-staging 6.7. Later versions of wine-staging will probably work also. Run
winetricks dxvk
before
wine Launcher.exe
I’m using a regular Intel i7 that is several years old with an nvidia graphics card