ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.25k stars 175 forks source link

Divinity Original Sin Enhanced requires wayland. #4240

Closed orbea closed 7 years ago

orbea commented 8 years ago

I recently got the enhanced version of Divinity Original Sin since it got ported to GNU/Linux. However I found out I can not play it because it relies on libwayland-egl.so.1 which I understand requires recompiling mesa with wayland support. Can Divinity be recompiled so it does not depend on wayland or that the library be added to your runtime? Thanks, it sucks to buy a game and then not be able to play it...

./EoCApp: error while loading shared libraries: libwayland-egl.so.1: cannot open shared object file: No such file or directory
Game removed: AppID 373420 "Divinity: Original Sin Enhanced Edition", ProcID 8427 
gdrewb-valve commented 8 years ago

You'll want to report this to the developers also.

Tele42 commented 8 years ago

This sounds like one of the shared libraries which is being loaded by the game is linked against libwayland-egl.so.1.

orbea commented 8 years ago

So both the steam client and the game updated, so I tried it again...

Game update: AppID 373420 "Divinity: Original Sin Enhanced Edition", ProcID 14529, IP 0.0.0.0:0
ERROR: ld.so: object '/media/data/home/.local/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/media/data/home/.local/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/media/data/home/.local/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ATTENTION: default value of option force_s3tc_enable overridden by environment.
Setting breakpad minidump AppID = 373420
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197973703884 [API loaded no]
Thread "EoCApp" (3741145088)
received signal 11

Call stack:

(0) /lib64/libpthread.so.0 : +0x11290 [0x7f6cd9bc2290]
/media/data/home/.local/Steam/steamapps/common/Divinity Original Sin Enhanced Edition/runner.sh: line 3: 14531 Segmentation fault      LD_LIBRARY_PATH="." ./EoCApp
Game removed: AppID 373420 "Divinity: Original Sin Enhanced Edition", ProcID 14531 

This is how I start steam.

#! /bin/sh
# Export so all child processes are affected as well
export LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libasound.so.2 /usr/$LIB/apulse/libpulse-simple.so.0 /usr/$LIB/apulse/libpulse.so.0'
force_s3tc_enable=true /usr/bin/steam