Jump to content

Game freezes whole system on startup on Void Linux


ILoveOxygenn
  • Branch: Live Branch Version: Linux Closed

OS:Void Linux, running flatpak steam (bug still exists on native package)

Kernel:6.12.41_1

The game starts,  then the CPU usage increases until everything freezes. It doesn't get past the intro

 specs: lshw.txt


Steps to Reproduce

I was clicking the play button

Steps to reproduce:open Oxygen Not Included on Void Linux




User Feedback


Edit:I fixed it!!. How do I close this bug report?

the issue was the nofile limit, it was too low

Steps to change it to a higher limit. 

1.. Edit /etc/security/limits.conf and add this line

<usernamehere> hard nofile 524288

2. Edit /etc/pam.d/login and add this to the bottom of the file 

session required /lib/security/pam_limits.so

3.  Edit your display manager's /etc/pam.d file and add session required /lib/security/pam_limits.so . For example if you're using SDDM you would edit /etc/pam.d/sddm and add session required "/lib/security/pam_limits.so" to the bottom of the line

4. Reboot and run  "ulimit -Hn"  It should say "524288". If it says "4096" you did something wrong

Share this comment


Link to comment
Share on other sites

Changed Status to Closed

Changed Note: to Thanks, how did you realize you'd run out of file descriptors? Was there a helpful error in the log?

Share this comment


Link to comment
Share on other sites

no, I read the void maintainer notes on the steam package and figured I'd try it out. This line might be related though " The referenced script on this Behaviour (Game Object '<null>') is missing!"

9 hours ago, nome said:

Changed Status to Closed

Changed Note: to Thanks, how did you realize you'd run out of file descriptors? Was there a helpful error in the log?

 

7 minutes ago, ILoveOxygenn said:

no, I read the void maintainer notes on the steam package and figured I'd try it out.

 

Quote

"If you are using SteamPlay/Proton and the game crashes or hangs with error
 10 messages that include "eventfd: Too many open files", this means the number of
  9 open file descriptors per process is too low for proper Proton functionality.
  8 In this case, consult limits.conf(5) and set a higher nofile limit for your
  7 user. For more information, see the upstream documentation in the README.esync
  6 file from https://github.com/ValveSoftware/wine."

/usr/share/doc/steam/README.voidlinux

Edited by ILoveOxygenn
added a snippet from the log file
  • Like 1

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...