#Everest crashing on startup on Steam Deck

94 messages ยท Page 1 of 1 (latest)

wet gust
#

Hello guys ๐Ÿค—

#

I was wondering if anyone can help me with information on how to install Olympus on steam deck

wet gust
#

Please help ๐Ÿฅบ, with the steam deck is my first time using Linux os so i don't even know how to install Olympus on it

proven garnet
wet gust
#

Sorry, i didn't know that

final kestrel
#

I've attached the log here. The error is a "Too many open files" exception. I looked this up on the Everest resources, and the only advice for this is to make sure the mods are in zip files. All of the mods I have were installed through Olympus and are already in zip files; I have a few dozen (most of which are dependencies), but not a number that should be unreasonable (nor, I think, as many as work completely fine on my desktop PC).

Any advice here would be appreciated.

proven garnet
#

Try the fixes in the comments of this issue

final kestrel
#

So I'm trying that, and as far as I can tell, it's not working. That said, the only way I can find to directly set MONO_MANAGED_WATCHER is in the terminal using export, which I don't think saves it systemwide. As I understand it, to do that, I would have to put the line in etc/environment, but as far as I can tell that's read only and I have no idea how to give myself the permissions to do that

#

I'm not the most experienced linux user

#

I've been trying for the last half hour to set that variable unsuccessfully and I can't find any direct information on the matter that isn't for much more experienced linux users

proven garnet
#

I am not that experienced with linux either, but if you want to edit a file you don't have permissions for, you use sudo

final kestrel
#

So I ran "sudo vim environment" in the folder, and it opened, but it still doesn't let me actually type or do anything in the file

proven garnet
#

Just to check, do you know how to use vim

final kestrel
#

Oop, it seems the keyboard had just locked up at an inconvenient time, which is annoyingly frequent in desktop mode. It seems to be working now

proven garnet
#

Awesome, hopefully this helps

final kestrel
#

Not really lol but for basic text editing I've done it successfully a couple times. I'll try this now!

proven garnet
#

Alright, was just making sure you weren't stuck in the wrong mode or something

final kestrel
#

Okay now it's not letting me save. "Could not write to /etc/environment.part"

proven garnet
#

That sounds like the same permission error, which is weird

final kestrel
#

Yeah, and this was opened with sudo (I switched to nano because i really dont get vim lol)

proven garnet
#

I would have done the same tbh

final kestrel
#

Wait, I just remembered. I think the Steam Deck has a lot of the system folders set to read-only by default. This can be disabled to edit them, but the changes can be reverted anytime there's an update

proven garnet
#

If that doesn't work out for you, I have another idea

final kestrel
#

What's your idea? I'd rather do the readonly stuff as a last resort because I don't want to have to do this every time there's an update

proven garnet
#

Could you try going to your Celeste installation folder, then setting the variable with an export command, then running Celeste from the terminal

pine lance
#

you could always run celeste with MONO_MANAGED_WATCHER=whatever path/to/Celeste

proven garnet
#

Yeah, that basically

#

I couldn't remember the syntax for doing that in a single line

pine lance
#

if the celeste folder itself is read-writable, you could add the export command to the Celeste shell script, which i'm pretty sure is what actually launches the game

final kestrel
#

just tried "MONO_MANAGED_WATCHER=disabled ./Celeste", no dice ๐Ÿ˜ฆ It still crashes right after the EXOK logo

proven garnet
#

Could you run ulimit -n and see what the result is

final kestrel
#

1024

#

I tried it a lil bit ago and that was the result

pine lance
#

are you sure you can't set it higher?

final kestrel
#

How would I go about doing that?

#

I've been looking for info on that to no avail

proven garnet
#

According to that issue linked earlier, you can put a number after the -n to change it

#

Don't know if it goes up though

final kestrel
#

Ohhh whoops. I missed that, sorry ๐Ÿ˜…

#

Trying now

#

Okay it looks like the number went up. Lemme try now

pine lance
proven garnet
#

Why is there a limit at all? Just to stop a bugged program from causing chaos?

pine lance
final kestrel
#

Okay I set it once and tried it, and it wasn't enough. Now I'm trying and it's saying "bash: ulimit: open files: cannot modify limit: Operation not permitted"

pine lance
#

you'll have to change the hard limit then

#

does the file /etc/security/limits.conf exist? is it writable?

final kestrel
#

The issue wasn't that the hard limit was too high, it seems. I just restarted the steam deck and tried again, and it works. It looks like I can only change ulimit once per session.

#

The first one worked and it gives me the error every attempt after that

pine lance
#

hmm interesting

proven garnet
#

I've tested this on a laptop I have, and it seems I can raise the ulimit once, but lower it as many times as I want

final kestrel
#

Okay well instead of crashing now the game just freezes up on the loading screen

#

progress

proven garnet
#

Freezes completely? Or takes a very long time?

final kestrel
#

Granted it could take a very long time. But after a full minute of zero animation or audio whatsoever I'm concluding it's just frozen

proven garnet
#

Okay, yeah, zero animation sounds like it's frozen

pine lance
#

can you send log.txt?

final kestrel
#

Yep. I'm trying this one more time on a much higher ulimit, and if it doesn't work I'll send the log

#

Nope, it just crashed again lol

#

Gimme a minute to get the log sent

pine lance
#

still System.IO.IOException: Too many open files

#

maybe try with, say, only one mod enabled?

final kestrel
#

Okay. Lemme try clearing out the mod list

#

Okay clearing out like 10 mods worked

#

I accidentally started celeste in that interim but yeah, it worked lol

pine lance
#

ok i guess it was still ulimit or something. on my computer i have it at 1048576; what happens if you try to load eg. spring collab & dependencies with that ulimit?

final kestrel
#

My hard limit is half that

#

looked up how to find that

pine lance
#

ah. have you tried setting it equal to the hard limit?

final kestrel
#

I was still getting crashes at 500000 (that was before i knew my hard limit was around 502000)

pine lance
#

ouch. might just be a limitation of the steam deck unless you want to raise the hard limit

pine lance
final kestrel
#

Okay. I'll do the thing where I insert those at the start of the celeste script

#

Do I set that latter one with "export MONO_MANAGED_WATCHER=disabled"?

#

oki

#

So editing the Celeste file has turned it into a text file and it no longer executes

#

How can I change it back?

pine lance
#

chmod +x Celeste

final kestrel
#

That didn't seem to do anything :/

#

um okay

#

apparently nano just inserts a line

#

at the top of the file saying it was modified by nano

#

And that's messing everything up

#

I have no idea how to fix that

#

o wait

#

that only saved the output of the console that was visible

#

not the file itself

final kestrel
#

Alright, it appears to be working!

#

Setting the ulimit and using export MONO_MANAGED_WATCHER=disabled in the Celeste script file appears to have worked ๐Ÿ˜Š

#

I have a pretty wide smattering of mods here, including the winter and spring collabs, and the game launched successfully even after installing all the dependencies

#

Thank you @pine lance and @proven garnet for all the help!! ๐Ÿ˜Š