Jump to content

Welcome to Obsidian Forum Community
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

[Linux] Unable to start game, hangs on black screen


  • Please log in to reply
5 replies to this topic

#1
kujeger

kujeger

    (2) Evoker

  • Members
  • 68 posts
  • Pillars of Eternity Silver Backer
  • Kickstarter Backer
  • Deadfire Silver Backer
  • Fig Backer
Hi,

PoE2 hangs immediately after pressing "Play" in steam (or directly running the PillarsOfEternity2 executable). It simply shows a black screen, and uses 100% cpu in a loop. I have to forcefully kill -9 it in order to shut it down.

On my intel iGPU machine, I can get it running by starting steam with STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 .

Unfortunately, I cannot do this on my amd GPU machine, as steam is unable to start because of driver problems (it is unable to load radeonsi_dri.so and swrast_dri.so) .

I am running on Fedora 27. I would guess PoE2 is unable to start because of differing system libraries that probably should be bundled with the game, as the default for steam is to use system libraries -- it is likely that PoE2 will have problems on other modern distros as well (or future versions of existing ones).

Pillars 1 works without any problems.

It is basically the same problem that is reported here: https://forums.obsid...rawn-to-screen/ (which was marked as "solved" with the steam workaround).

Full terminal output is:
 
$ ./PillarsOfEternity2
Set current directory to /home/kujeger/Games/Steam/steamapps/common/Pillars of Eternity II - Public Beta
Found path: /home/kujeger/Games/Steam/steamapps/common/Pillars of Eternity II - Public Beta/PillarsOfEternity2
Mono path[0] = '/home/kujeger/Games/Steam/steamapps/common/Pillars of Eternity II - Public Beta/PillarsOfEternity2_Data/Managed'
Mono path[1] = '/home/kujeger/Games/Steam/steamapps/common/Pillars of Eternity II - Public Beta/PillarsOfEternity2_Data/Mono'
Mono config path = '/home/kujeger/Games/Steam/steamapps/common/Pillars of Eternity II - Public Beta/PillarsOfEternity2_Data/Mono/etc'
Preloaded 'ScreenSelector.so'
Preloaded 'libAkFlanger.so'
Preloaded 'libAkHarmonizer.so'
Preloaded 'libAkPitchShifter.so'
Preloaded 'libAkSoundEngine.so'
Preloaded 'libAkStereoDelay.so'
Preloaded 'libAkTremolo.so'
Preloaded 'libMcDSP.so'
Preloaded 'libSDL2-2.0.so'
Preloaded 'libsteam_api.so'
Player data archive not found at `/home/kujeger/Games/Steam/steamapps/common/Pillars of Eternity II - Public Beta/PillarsOfEternity2_Data/data.unity3d`, using local filesystem



#2
kujeger

kujeger

    (2) Evoker

  • Members
  • 68 posts
  • Pillars of Eternity Silver Backer
  • Kickstarter Backer
  • Deadfire Silver Backer
  • Fig Backer

Bump -- I hope this is something that could be resolved before the next BB update



#3
kujeger

kujeger

    (2) Evoker

  • Members
  • 68 posts
  • Pillars of Eternity Silver Backer
  • Kickstarter Backer
  • Deadfire Silver Backer
  • Fig Backer

Bump -- hope this is/can be registered in the bugtracker



#4
Sking

Sking

    Obsidian Alumni

  • Members
  • 655 posts
  • Location:Huntington Beach

Hey kujeger,

 

I sent this over to our resident Linux tester Cdiaz. He'll hopefully be able to figure something out for you.

 

I got your back

- SKing



#5
kujeger

kujeger

    (2) Evoker

  • Members
  • 68 posts
  • Pillars of Eternity Silver Backer
  • Kickstarter Backer
  • Deadfire Silver Backer
  • Fig Backer
Hi! this is still a problem in the latest backer beta (beta 4). I spent a little time digging into it this evening, and this is what I've found:

 
$ ldd PillarsOfEternity2_Data/Plugins/x86_64/libAkSoundEngine.so
[..]
libSDL2-2.0.so.0 => /lib64/libSDL2-2.0.so.0 (0x00007f001ceb0000)
[..]
this library is dynamically linked against SDL2, and the version seems to be 2.0.4. Never versions of SDL2 breaks things (in fact, removing libAkSoundEngine.so allows PoE2 to start, albeit with many fun bugs).
libSDL 2.0.4 is included in the steam runtime, and a copy is actually shipped in the PoE2 dir as well:
./PillarsOfEternity2_Data/Plugins/x86_64/libSDL2-2.0.so
(well, almost, it's missing the ending '0')

With that, a workaround can be done by starting PoE2 with an LD_PRELOAD:
LD_PRELOAD=./PillarsOfEternity2_Data/Plugins/x86_64/libSDL2-2.0.so ./PillarsOfEternity2

A "proper" fix would probably be to statically link libAkSoundEngine to libSDL2, which would ensure things work automagically.
  • Boeroer likes this

#6
Boeroer

Boeroer

    Arch-Mage

  • Members
  • 14870 posts
  • Location:Bucharest, Romania
  • Lords of the Eastern Reach Backer
  • Deadfire Backer
  • Fig Backer
  • Black Isle Bastard!
Good work!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users