Jump to content

mod "restart" hangs on linux


smellymoo
  • Branch: Preview Branch Version: Linux Pending

if mods change, and it requests a restart, the restart button hangs the game.

This has always happened, including the latest full release.

I use Fedora Core 29.


Steps to Reproduce
1) change mods. 2) when it requests a restart, click it.



User Feedback


With any mod? I only recall reporting an issue with casing in mods.json but the button worked

Share this comment


Link to comment
Share on other sites

Concerned by this on Linux ubuntu 16.04.

Press "esc" at the second restart delete warning window and give access for playing.

Share this comment


Link to comment
Share on other sites

I'm on linux as well, and there is a definite hang in the restart button. It's not permanent, but lasts about 2 minutes. I can get around it by continuing and quitting to desktop then reload the game. Restart button never actually restarts the game just dumps me to desktop at any rate.

Edited by niklioni

Share this comment


Link to comment
Share on other sites

that is what I have been doing. So I guess this affects all linux users? (bit of a stretch, as there is only 2 of us confirming).

Share this comment


Link to comment
Share on other sites

I have this issue on Void linux but I have been able to get it to behave mostly correctly by placing this shell script Restarter (which must be named "Restarter" despite it wanting to download as ".estarter") in steamapps/common/OxygenNotIncluded/ and sending SIGTERM to all of Oxygen Not Included's processes using "pkill OxygenNot -TERM" after pressing the restart button.

To help with debugging here's the chain of events that I'm seeing:

  1. I enable or disable a mod
  2. I press close on the "mods" menu
  3. I press restart on the "mods changed" menu
  4. the game appears to freeze for >10 mins (completely unresponsive, the window stops repainting)
  5. I send SIGTERM (signal number 15) to all of OxygenNotIncluded's processes
  6. OxygenNotIncluded runs "/usr/bin/xdg-open $HOME/.local/share/Steam/steamapps/common/OxygenNotIncluded/Restarter $HOME/.local/share/Steam/steamapps/common/OxygenNotIncluded/OxygenNotIncluded" (telling xdg-open to run Restarter and feed it the path to OxygenNotIncluded as an argument)
  7. OxygenNotIncluded exits (and the Restarter exec's a new OxygenNotIncluded)

Restarter

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...