Penumbra: Overture

Penumbra: Overture

Problems with crashes on Linux version? Possible solution!
I sat down and wanted to play these games again after some years, and was happy that the Linux-version was included with steam! Sadly, it crashes at a specific point for me, precisely when you trigger a large explosion pretty early in the game. It was this specific event that triggered it for me every time, and I tried most things I could think of in vain.

Then I came across this old thread on the archlinux forum:
https://bbs.archlinux.org/viewtopic.php?id=138964

Process

2Karl mentions there that he used gdb to find out where exactly the game crashed, and to get more information about the crash. I was inspired by this, and ran the game like so:

cd ~/.steam/steam/steamapps/common/Penumbra\ Overture/ gdb penumbra.bin Enable debuginfod for this session? (y or [n]) ENTER (gdb) run

Then when the crash happens I have to alt-tab out to the terminal where I ran the game from and type:

(gdb) exit Quit anyway? (y or n) y

Now, above that in the terminal, I have more info about the crash:

Thread 1 "penumbra.bin" received signal SIGSEGV, Segmentation fault. 0xf7ab27fc in std::ctype<char>::_M_widen_init (this=0xf7c358e0 <(anonymous namespace)::ctype_c>) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/ctype.cc:90 90 /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/ctype.cc: No such file or directory.

This led me down the path of trying to use an older, local version of libstdc++. I run Archlinux, and I imagine that it is similar on for example Manjaro and perhaps the steamdeck. Archlinux has a package-archive that can be used to find older versions of packages. I found that the version of libstdc++ that penumbra.bin uses by default was the system-provided one:

ldd penumbra.bin linux-gate.so.1 (0xf7fa3000) libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7ef9000) libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf7ea0000) libCg.so => /home/XXX/.local/share/Steam/steamapps/common/Penumbra Overture/./lib/libCg.so (0x41fd2000) libCgGL.so => /home/XXX/.local/share/Steam/steamapps/common/Penumbra Overture/./lib/libCgGL.so (0x4e972000) libogg.so.0 => /home/XXX/.local/share/Steam/steamapps/common/Penumbra Overture/./lib/libogg.so.0 (0xf7e9a000) libvorbis.so.0 => /home/XXX/.local/share/Steam/steamapps/common/Penumbra Overture/./lib/libvorbis.so.0 (0xf7e72000) libvorbisfile.so.3 => /home/XXX/.local/share/Steam/steamapps/common/Penumbra Overture/./lib/libvorbisfile.so.3 (0xf7e6a000) libopenal.so.1 => /home/XXX/.local/share/Steam/steamapps/common/Penumbra Overture/./lib/libopenal.so.1 (0xf7e20000) libSDL2-2.0.so.0 => /home/XXX/.local/share/Steam/steamapps/common/Penumbra Overture/./lib/libSDL2-2.0.so.0 (0xf7d1e000) libSDL2_image-2.0.so.0 => /home/XXX/.local/share/Steam/steamapps/common/Penumbra Overture/./lib/libSDL2_image-2.0.so.0 (0xf7c9e000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7a00000) libm.so.6 => /usr/lib32/libm.so.6 (0xf792f000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7c79000) libc.so.6 => /usr/lib32/libc.so.6 (0xf7600000) libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf7c74000) libGLdispatch.so.0 => /usr/lib32/libGLdispatch.so.0 (0xf78b3000) libGLX.so.0 => /usr/lib32/libGLX.so.0 (0xf7c39000) libOpenGL.so.0 => /usr/lib32/libOpenGL.so.0 (0xf7891000) /lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xf7fa5000) librt.so.1 => /usr/lib32/librt.so.1 (0xf788c000) libdl.so.2 => /usr/lib32/libdl.so.2 (0xf7887000) libz.so.1 => /usr/lib32/libz.so.1 (0xf786e000) libX11.so.6 => /usr/lib32/libX11.so.6 (0xf74ae000) libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7842000) libXau.so.6 => /usr/lib32/libXau.so.6 (0xf783d000) libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7836000)

In Archlinux, you can check which package owns the file by using pacman:

pacman -Qo /usr/lib32/libstdc++.so.6.0.30 /usr/lib32/libstdc++.so.6.0.30 is owned by lib32-gcc-libs 12.2.1-2

So the package I need to find an older version for was lib32-gcc-libs.

Solution

I went to the package archive site and fetched "lib32-gcc-libs-8.3.0-1-x86_64.pkg.tar.xz " from here: https://archive.archlinux.org/packages/l/lib32-gcc-libs/ . It is the oldest one I could find.

Then, I extracted the file I needed:

tar xvf lib32-gcc-libs-8.3.0-1-x86_64.pkg.tar.xz usr/lib32/libstdc++.so.6.0.25 --strip-components=2

And then moved the file to the lib-directory in Penumbras folder:

mv libstdc++.so.6.0.25 ~/.steam/steam/steamapps/common/Penumbra\ Overture/lib/libstdc++.so.6

If you now run ldd like I did above, you should see that it picks up the file I placed in the lib-folder instead of the system one. Now that game should not crash! \O/

Wrap up

I had a similar issue with Penumbra: Black Plague as well, where I did the same thing and could play the game all the way to the end with minimal issues. Hopefully this helps someone who is frustrated like me. Overture played well in proton for me, but Black Plague caused me to get stuck in an early part of the game (dream sequence in sewer) and I could not get further with proton. Native Linux crashed early on as well. Applying this fix caused me to be able to play Black Plague using the native Linux version all the way to the end!
< >
Showing 1-3 of 3 comments
Strange, I just finished it today on an up-to-date Arch Linux.
My crashes were caused by Czech translation and its special characters (ěščřžýáíé) in map names, besides that it was completely stable when I changed all map names in the translation to non-special-ones.

Anyway, thank you for this research. I believe someone might find it very helpful.
Thank you for this! I couldn't even make it down the ladder to get out of the snowstorm in the beginning without the game crashing. Unzipped all the files and put them all in the lib folder. Works now!
"Great Hobby" write commands with mistakes =/ Does not work on Steam Deck
< >
Showing 1-3 of 3 comments
Per page: 1530 50