Undertale

Undertale

Ikanu Apr 8, 2018 @ 3:03pm
Undertale crashes on Linux
Hello, guys. I've installed Undertale, and when i run it, the game goes, but instantly it crashes and , instead of thw window where the game should be, there is a reflection of my desktop. Does anyone knows something? Thanks
< >
Showing 1-15 of 21 comments
tuxutku Oct 6, 2018 @ 11:15am 
i have the same problem, window po ups but crashes after couple seconds
doubledup Oct 18, 2018 @ 12:52pm 
Yup, same problem here for months. I'm on Solus 3.9999 - are either of you running Ubuntu? That's the officially supported distro, so if that's not working there's a problem with Undertale's Linux support
Feline Fowl Oct 29, 2018 @ 4:16pm 
For the longest time, I thought the only solution was to use an old version of the game (Properties -> Betas -> old version 101). However, I discovered that if you add "R600_DEBUG=mono %command%" to the game's launch options, it'll run perfectly! You might also need the 32bit OpenAL and 32bit OpenSSL (or 32bit OpenSSL v1.0.0, which is what Undertale specifically complains about).

Originally posted by doubledup:
Yup, same problem here for months. I'm on Solus 3.9999 - are either of you running Ubuntu? That's the officially supported distro, so if that's not working there's a problem with Undertale's Linux support

I tried Undertale on Ubuntu 16.04 and 16.10 way back in 2016, and it worked. It did not work on Linux Mint 18.3, KDE neon, Antergos, Arch or Manjaro.

When attempting to run "runner" from the game's install folder, I get errors about libopenal being missing. I installed the 32bit OpenAL library, and I also got errors about missing libcrypto (OpenSSL), so I installed the 32bit OpenSSL libraries. The repos listed a version 1.0.0 and one which, at the time of writing, is at version 1.1.1. Manjaro comes with a bunch of 32bit libraries, so I'm surprised it doesn't have these. Regardless, installing these packages resulted in the game returning a segfault error. At this point, I added the "R600_DEBUG=mono %command%" launch option.

I'm not an expert when it comes to this stuff, but to my knowledge this crash occurs when using AMD graphics with the Mesa drivers. I'm running an RX 480 with Mesa 18.2.3 as of writing. The game is apparently unable to properly compile shaders. This is not an Undertale problem, but rather an overall GameMaker problem on Linux. I imagine the engine only officially supports Ubuntu, which probably does some things different. I haven't tested on versions of Ubuntu after 16.10, so I'm unsure of whether or not it works.

I did a lot of searching to find this thread, which is where I got my solution: https://steamcommunity.com/app/212800/discussions/0/154644045362699308/

The "R600_DEBUG=check_vm" did not work for me, as someone suggested in that post, but the OP's command did. All credit goes to them for discovering this, I just hope I can shed some light on people having this issue!
Last edited by Feline Fowl; Oct 29, 2018 @ 4:16pm
Architector #4 Nov 4, 2018 @ 11:20am 
So I'm using Ubuntu 18.04 with xfce4 as my DE. Undertale doesn't start, and "runner" just segfaults.
The suggestion of changing the R600_DEBUG variable did nothing at all with any variables mention in that thread or anything.
Had to install 32bit version of libssl 1.0.0 to make it do at least something - so it just spawns an empty window that disappears really shortly after, leaving a segfault message in the terminal.
._.
Araraura Nov 5, 2018 @ 4:33am 
If what people suggested to you won't help, email them.
DUKEATREIDES Nov 5, 2018 @ 3:44pm 
Originally posted by Feline Fowl:
For the longest time, I thought the only solution was to use an old version of the game (Properties -> Betas -> old version 101). However, I discovered that if you add "R600_DEBUG=mono %command%" to the game's launch options, it'll run perfectly! You might also need the 32bit OpenAL and 32bit OpenSSL (or 32bit OpenSSL v1.0.0, which is what Undertale specifically complains about).

Originally posted by doubledup:
Yup, same problem here for months. I'm on Solus 3.9999 - are either of you running Ubuntu? That's the officially supported distro, so if that's not working there's a problem with Undertale's Linux support

I tried Undertale on Ubuntu 16.04 and 16.10 way back in 2016, and it worked. It did not work on Linux Mint 18.3, KDE neon, Antergos, Arch or Manjaro.

When attempting to run "runner" from the game's install folder, I get errors about libopenal being missing. I installed the 32bit OpenAL library, and I also got errors about missing libcrypto (OpenSSL), so I installed the 32bit OpenSSL libraries. The repos listed a version 1.0.0 and one which, at the time of writing, is at version 1.1.1. Manjaro comes with a bunch of 32bit libraries, so I'm surprised it doesn't have these. Regardless, installing these packages resulted in the game returning a segfault error. At this point, I added the "R600_DEBUG=mono %command%" launch option.

I'm not an expert when it comes to this stuff, but to my knowledge this crash occurs when using AMD graphics with the Mesa drivers. I'm running an RX 480 with Mesa 18.2.3 as of writing. The game is apparently unable to properly compile shaders. This is not an Undertale problem, but rather an overall GameMaker problem on Linux. I imagine the engine only officially supports Ubuntu, which probably does some things different. I haven't tested on versions of Ubuntu after 16.10, so I'm unsure of whether or not it works.

I did a lot of searching to find this thread, which is where I got my solution: https://steamcommunity.com/app/212800/discussions/0/154644045362699308/

The "R600_DEBUG=check_vm" did not work for me, as someone suggested in that post, but the OP's command did. All credit goes to them for discovering this, I just hope I can shed some light on people having this issue!

Thank you so much! I spent a long time messing with libraries and whatnot, and this worked immediately
Feline Fowl Feb 1, 2019 @ 1:58pm 
Originally posted by Architector #4:
So I'm using Ubuntu 18.04 with xfce4 as my DE. Undertale doesn't start, and "runner" just segfaults.
The suggestion of changing the R600_DEBUG variable did nothing at all with any variables mention in that thread or anything.
Had to install 32bit version of libssl 1.0.0 to make it do at least something - so it just spawns an empty window that disappears really shortly after, leaving a segfault message in the terminal.
._.

I'm now facing this issue as well. Undertale stopped working randomly. No rhyme nor reason, it just stopped! I have not yet been able to find a solution, or someone dealing with the same problem as me until now.
tuxutku Feb 1, 2019 @ 3:52pm 
Have you tryed adding this to launch options:
R600_DEBUG=mono %command%
Architector #4 Feb 2, 2019 @ 4:50am 
IGNORE, A TAD BIT BETTER SOLUTION IS BELOW IN POST #14

OH, I actually found a solution long ago and completely forgot about this thread. Sorry!

The solution that I found is this:
https://www.reddit.com/r/Deltarune/comments/9wizh3/deltarune_running_on_linux_natively/

This is for running Windows version of Deltarune on Linux natively using "YoYo Games Linux Runner V1.3".

BUT, the thing is, Linux port of Undertale is pretty much that - except, I guess, this port uses a different version of that runner software, which is prone to crash unlike this one.

Anyways, I don't remember how I did it exactly, but I downloaded the thing that's in the first 3 download links(it's the same thing on all 3 of them), and did some strategic file movements (i.e. the icon and stuff) with this launcher and Undertale files. I also edited "desktop.sh" to replace all instances of "Deltarune" with "Undertale" to create myself a fancy desktop shortcut of Undertale.

You'd need to open the directory with Undertale files to do this though. To do that, go to your library, right-click Undertale>Properties>LOCAL FILES>BROWSE LOCAL FILES...
And that will open you the game's folder where you'll need to do the shenanigans.

Also, after that, running Undertale through Steam works but results in like 3FPS garbage performance - but running the executable file outside of Steam works perfectly.
The garbage performance was because I had the R600_DEBUG launch option set - it really slows the game down! So, if it doesn't help, remove the launch options you got from this thread!


Also this link contains long explanations on how to port Deltarune yourself, with all kinds of renames and movements - from what I remember, I didn't even look at that. So, I think it's better not to bother with that.

Would love to hear your experience with this thing, guys!
Last edited by Architector #4; Mar 22, 2019 @ 10:32am
Architector #4 Feb 2, 2019 @ 5:08am 
I've just received a new Steam update that allows to force Steam to download Windows version of the game to then run it through Steam Play. If the solution above doesn't work/too hard/something else, considering you have this update too, you can right-click Undertale in the library, click Properties, and use the checkbox and drop-down menu below on the first page to launch Windows version instead.

That should probably work, considering that Deltarune can run through vanilla Wine just fine and is built on pretty much the same engine as Undertale.
Judgebringer Feb 23, 2019 @ 11:50am 
Get me Toby Foxx so I can tell him his Linux Port is broken.
Architector #4 Feb 23, 2019 @ 12:24pm 
Has anyone tried the 2 solutions in my 2 posts above, by any chance?
Judgebringer Mar 8, 2019 @ 5:30am 
The problem seems to be Mesa related to AMD. You can track the bug here. @Feline Fowl is correct in that adding "R600_DEBUG=mono %command%" in Set Launch Options for the Linux version will work the game just fine. Without quotes of course. https://bugs.freedesktop.org/show_bug.cgi?id=103915
Last edited by Judgebringer; Mar 8, 2019 @ 5:33am
Architector #4 Mar 22, 2019 @ 10:36am 
Made a clean Arch Linux install, dropped Steam into it, Undertale didn't work.
I figured my solution mentioned above is way too hard and basically says "you'll figure it out", so here's a more concise thing:


HOW TO MAKE UNDERTALE WORK
1. Download the archive from one of download links in this Reddit post:
https://www.reddit.com/r/Deltarune/comments/9wizh3/deltarune_running_on_linux_natively/

2. Extract the "runner" file and "lib" folder from it and put them into ~/.steam/steam/steamapps/common/Undertale/ folder replacing the old ones.

THAT'S IT.

Now, please, someone confirm if this method works for others or not!
Last edited by Architector #4; May 13, 2019 @ 7:34pm
zapduke May 13, 2019 @ 9:16am 
Originally posted by Architector #4:
Made a clean Arch Linux install, dropped Steam into it, Undertale didn't work.
I figured my solution mentioned above is way too hard and basically says "you'll figure it out", so here's a more concise thing:


HOW TO MAKE UNDERTALE WORK
1. Download the archive from one of download links in this Reddit post:
https://www.reddit.com/r/Deltarune/comments/9wizh3/deltarune_running_on_linux_natively/

2. Extract the "runner" file and "lib" folder from it and put them into ~/.steam/steamapps/common/Undertale/ folder replacing the old ones.

THAT'S IT.

Now, please, someone confirm if this method works for others or not!

Fixes the crash for me.
Also R600_DEBUG=mono %command% fixes it.

Ubuntu 18:04, Ryzen 2200g.
< >
Showing 1-15 of 21 comments
Per page: 1530 50

Date Posted: Apr 8, 2018 @ 3:03pm
Posts: 21