r/falconbms • • 5d ago

Ask The Devs BMS Linux Client

With LLM tools getting more advanced, I'm hoping that the devs might have an easier time supporting Linux in the future.

I know there is already the official BMS Linux script to run the Windows version using Proton:

https://github.com/BenchmarkSims/bms-helper

So I'm guessing with the devs liking software they seem to be into Linux too.

Fingers crossed for the future!

7 Upvotes

13 comments sorted by

8

u/Lowball72 BMS Dev 5d ago

Without saying yes or no..   Sell me on it.   What result do you want from that, that wine/proton don't provide. 

(Ease of setup?  Perf?  Interop with VR or head-tracking or voice reco?)

Frame it in terms of a problem statement, not a solution statement.

8

u/Xeno_PL 5d ago

For me interoperability is most glaring thing. For VR you have to use some form of proton. Proton usually runs Steam runtime in container, which may break ext apps and add extra pieces to already complex setup.
Native build would make installation much simpler and let skip that whole Steam nonsense.

2

u/MrMinimal 4d ago

It highly depends on what headset you have too, the interop software stack varies substantially between them. Very hit or miss if VR works in Proton, I wouldn't want to wish that setup process upon my worst enemies.

3

u/Lowball72 BMS Dev 5d ago

Is it easier to do sharedmem ipc in that direction? (eg. a /dev/shm/FalconSharedMemoryArea created and owned by a native linux process -- consumed by a wine process? vs the opposite) I find myself wondering about the entire ecosystem of 2p/3p tools.. which has gotten huge lately

3

u/MrMinimal 4d ago

Love that we can just chat with you like this, cheers for the reply and your latest release!

Performance is not an issue with Proton, some game even run with more FPS than on Windows.


The biggest benefit I know is an easier time getting complex software such as sims with a lot of hardware interaction to run properly. Proton is fine for single games but flight simulators are usually more involved.

For example MSFS only runs with Proton and is a pain to set up - Xplane provides a Linux version and is loved by the community for it, making it the only viable flight sim on the platform.

Benefits for the user:

  • Reduced friction during install (one click installer vs. terminal use)
  • Stable support for multiple joysticks (getting them recognized in Wine/Proton is a pain)
  • Multiple programs interacting with each other via Proton is highly prone to error or doesn't work at all
  • VR support without connecting multiple brittle software interop layers

Benefits for the devs:

  • When Unreal Engine started supporting Linux in 2015 they realized that the users are on average a lot more likely to write good bug reports or even help out in development due to their technical backgrounds, mostly taking it into their own hands

2

u/Lowball72 BMS Dev 4d ago

[disclaimer: I don't have any veto or even much of a vote, whether this happens or not -- I'm just trying to decide, for myself, what the cost/benefit ratio is]

All my personal experience with linux, in an enterprise software settings, is constrained to a single distro and package environment that we control -- I think this describes most people's experience with linux.

My first biggest worry is that it will be "write once, test everywhere" with the fragmentation of distros and desktop envs (wayland vs x). But I guess we already have that problem, multiplied, with wine/proton configurations.

My second biggest worry is that postmortem debugging will be extremely difficult. Yes there are people on the dev team who are fans of linux -- I don't know if any of them are proficient with gdb or lldb .. and I don't mind learning new things .. but I worry what it's like in reality to setup and maintain debug environment to look at dumpfiles recorded on N number of different OS kernels.

But again, we already have that problem with wine.. eg. we know today our TTS engine doesn't work -- not just missing a component, it fails internally taking some unexpected codepath I can't understand from logs. I can't just ask for a dmp file -- I have no way to debug that further, without setting up a linux box. (so ok, I will)

So, that's where my head is at, right now -- I think the argument, to help interop with VR, head-tracking and voice-reco, is probably compelling enough to prefer a native linux binary over wine. I just want everyone (internal and external) asking for this, to be mindful of the costs. It's definitely not all-benefit / zero-cost.

2

u/MrMinimal 3d ago

Thanks for sharing your insight into the process. Agreed, definitely not zero-cost and current Proton/Wine setups make debugging harder. With Gnome, KDE and most distros being on Wayland now, the X11 issues will hopefully be a thing of the past.

Lately, in addition to my softare development skills, I have used Claude CLI to help with my Linux problems and it's very competent at debugging when it has access to the terminal. I'm sure that's because the "everything is a file" philosophy of UNIX makes it a more powerful tool.

2

u/Lowball72 BMS Dev 3d ago

it is a good point, that AI can improve the cost/benefit ratio .. both doing the work to port, and ongoing to work for crash analysis debugging

1

u/Xeno_PL 3d ago

Eliminating need for various wine/proton variants would simplify debug process a lot. For wine some distros have it vanilla as from WineHQ, some distros like Fedora use Wine-staging (extra patches), then there's Steam Proton, which may come in several versions and god only knows what else installed in prefix ('windows' instance) and unofficial Proton spins, where each one add extra goodies of their selection to already murky Proton base prefix. Complete mess.

As an example 4.38.2 VR using WiVRn seem to be just fine with Proton set up by Max scripts, but doesn't when Steam Proton is used. And now try to find out is it Proton itself, a difference how its flavors set their environment (containers, etc ...), or some extra lib or setting present in one, but not in another.

3

u/MaxWaldorf BMS Dev 4d ago

We released a version, can we get a couple days of rest before the Xmas suggestion box opens? 😅

1

u/MrMinimal 4d ago

Seeing the amazing work you do, it does inspire the imagination... can't blame me for that :)

2

u/Xeno_PL 4d ago

Absolutely, anything about BMS on Linux, 2-3 years ago was big 'no-no, you're on your own boy' reaction. We're grateful for what we've got already (it is huge). But if asked about opinion then, well sky is the limit.

2

u/Xeno_PL 5d ago

There are hints something may be in the works...