Skip to content

Instantly share code, notes, and snippets.

@ToxicMushroom
Created April 18, 2023 00:05
Show Gist options
  • Save ToxicMushroom/d6cd025656f75e425c14249c1bc53f96 to your computer and use it in GitHub Desktop.
Save ToxicMushroom/d6cd025656f75e425c14249c1bc53f96 to your computer and use it in GitHub Desktop.
Dead cells Native wayland linux tutorial

If you've also experienced SEGV when trying to run deadcells native this gist might help.

                Stack trace of thread 86007:
                #0  0x00007f1b0d2a4938 wl_proxy_marshal_constructor (libwayland-client.so.0 + 0xa938)
                #1  0x00007f1b0b4da52b n/a (/home/merlijn/.local/share/Steam/steamapps/common/Dead Cells/>
                ELF object binary architecture: AMD x86-64

disclamer I've almost no idea what I'm doing, I'm not responsible for your game bugging out or ruining your save, always keep a backup.

  • For me it turned out that the provided libSDL2-2.0.so.0 was too outdated (or bugged) for my wayland version.
  • After simply deleting this file, dead cells would try to use the system installed SDL version extra/sdl2.
  • Sadly the sdl.hdll now started causing problems. I simply looked this one up and found that this was a hashlink binary.
  • To solve this I installed hashlink from the AUR and renamed the provided binary to sdl.hdll.bak.

At the time of writing these are the relevant versions of software I uses:

  • wayland 1.22.0-1
  • sdl2 2.26.5-1
  • hashlink 1.13-2
  • dead cells (buildId: 11019997, version nr: v33 (2023-04-17 - 4529e8fb6 - 31 - steam))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment