Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Locomancer

Toy train simulator with support for VR and desktop · By Selkcip

Linux Freezes

A topic by Fidgetcetera created Jun 17, 2020 Views: 532 Replies: 9
Viewing posts 1 to 4

Running the game's linux build, I keep hitting a complete freeze/crash. The unity splash screen loads if SteamVR is already up, and displays in my HMD (directional even, which I noticed because the HMD was upside down on my bed once, but past that point, the application freezes. I've been able to have it load to what looked like a menu screen once, but it still froze up and crashed, and I'm frankly not sure what miracle caused it to work that one time. Anytime this happens, it freezes to where I need to force-quit/sigkill.

The terminal output in such a case:

https://pastebin.com/kpEcJZ7B

and player.log:

https://pastebin.com/whFxTS6M


Running a GTX 980 Ti, i7-4790k, on basically xubuntu 20.04 ("basically" as it's technically an ubuntu server install with the xubuntu-desktop metapackage installed, but that's besides the point), using a regular Vive setup, steamVR version 1.12.5

When seeing the libopenvr issues, I grabbed the libopenvr-api1 and then libopenvr-dev packages from the ubuntu repos, but that didn't change anything.

I'll keep poking at this, but I thought I'd let you know where my issues are currently in case there's some obvious thing I missed?

Developer

Sorry, it's been a while since I ran the game on Linux without launching it from Steam and forgot to include run instructions.

You should be able to run the game like this:

path/to/steam/bin32/steam-runtime/run.sh path/to/game/Locomancer.x86_64

However, when I just ran it, it kept spewing about failing to create a pipe to the Steam API, so I might need to rebuild it with the Steam API ripped out. I left it in because it's used for multiplayer/workshop support and not DRM.

Let me know and I can rebuild it if necessary.

Just tried to the same effect. I also tried creating a steam_appid.txt file and putting the game's steam appID from the store page on there, still freezing.

Thanks so much for responding!

Developer

I uploaded a version with the Steam API calls disabled, but I haven't had a chance to test it yet.

So, it was still freezing, but I've managed to have a litttle bit more luck running it?

Here's a player.log from a sucessful run:

https://pastebin.com/zbP9EwyF

vs a current unsuccessful one:

https://pastebin.com/n0quF2TC
The difference really seems to be in that VK_ERROR_DEVICE_LOST line, and I can't quite figure out what's caused that. Tried glancing at a couple things, like alt-tabbing from the game or making sure the HMD was not in sleep mode, but no luck.

This seems the right time to note that I'm using nvidia-driver-440 on my 980 Ti, specifically apt pulls the version as 440.82+really.440.64-0ubuntu6 amd64. Juuuust in case that helps.

Developer

Does the game crash at that point or does it hang? I was dumb/lazy and never made it so that  loading the game didn't block the main thread so when you launch the game it sits there for about a minute loading/initializing everything. It might be that the vulkan driver thinks it's lost the device, but it's actually just taking forever to respond.

It just hangs. I can try to leave it for longer to see if it ever launches, but the 25% of the time it does run successfully, it just loads pretty much instantly.

Developer

I was able to repro the hang that you're seeing as well as the occasional run. So I tried to update to 440, but the latest I could see was 430. I updated to that and then Steam decided that it needed a specific version of libgl. So then I tried upgrading Steam from  apt-get and now it kind of looks like it's trying to build Steam from source...I'll keep trying.

Developer

Okay, I don't know if you're still waiting for this, but I've uploaded a build that I was able to run ~20 times without it hanging. Turn s out my scene was haunted.

Sweet! I'll give it a try later this afternoon, thanks so much!