I'm on Debian 10 (buster) 64bit now and playing SR. I had some issues:
- Firstly (this failed) I downloaded our archive, unpacked and started. It didn't work, crashed at start with:
- {l Code}: {l Select All Code}
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Complaining about locale 'C' not found, I found a similar issue here. But advice from it didn't help. IDK why. We have a line in sources to set locale to C to have always dot as decimal separator (and not comma for some OS locales).
- So next (and this worked) I followed the building from sources wiki.
Which got sources, installed dependencies and finally build project.
Game works fine.
A NOTE here: cmake by default builds: "Release with debug info" configuration. This results in big executables, 200MB for stuntrally and 100MB for sr-editor .
But some tracks (e.g. Industrial) have like half the FPS (e.g. 25 instead of 50). Our profiler says time is spent in physics, so probably that extra debug code is slowing down.
- GPU Drivers. I have to mention them here now. I still have GeForce GTX 560 Ti (my old GPU).
The default "nouveau drivers" (present with Debian after installing it) worked. But playing SR with nouveau drivers felt like having an old laptop not my GPU (only test tracks felt okay, and still low FPS).
So naturally I went for installing NVidia drivers. First I nearly crashed my Debian install and messed it up with some long instruction with many command lines.
What actually worked here was just installing with apt the package nvidia-legacy-390xx-driver. My old GPU needed it, not the newer one. I first installed and run nvidia-detect which told me exactly that.
- Lastly I built the Release version of SR. It's possible to do using: cmake -DCMAKE_BUILD_TYPE=Release ..
This way binaries are 6MB for sr and 4MB for editor. It helped with the half FPS issue. FPS on tracks seems just like on my old Windows 7 with NVidia drivers. But that stupid bug with crash freezing PC with 1 color screen happens too. I'll make another topic for it.