Patreon Logo Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal Logo PayPal. You can also buy games using our partner links for GOG and Humble Store.
Title: Pillars of Eternity (one not two)
_J_30000 6 Sep 2018
  • Supporter
Hi I am trying to finally run PoE (one) on my Ubuntu 18.04 but get a crash that tells me little:

GameAction [AppID 291650, ActionID 3] : LaunchApp changed task to Completed with ""
Generating new string page texture 151: 256x256, total string texture memory is 3.46 MB
GameAction [AppID 291650, ActionID 5] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 291650, ActionID 5] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 291650, ActionID 5] : LaunchApp changed task to ProcessingShaderCache with ""
GameAction [AppID 291650, ActionID 5] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 291650, ActionID 5] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 291650, ActionID 5] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 291650, ActionID 5] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask: 70
Game update: AppID 291650 "", ProcID 12739, IP 0.0.0.0:0
>>> Adding process 12739 for game ID 291650
GameAction [AppID 291650, ActionID 5] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/j/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/j/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Found path: /media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity
Mono path[0] = '/media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity_Data/Managed'
Mono path[1] = '/media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity_Data/Mono'
Mono config path = '/media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity_Data/Mono/etc'
GameAction [AppID 291650, ActionID 5] : LaunchApp changed task to Completed with ""
>>> Adding process 12740 for game ID 291650
>>> Adding process 12741 for game ID 291650
Game removed: AppID 291650 "", ProcID 12739 
No cached sticky mapping in ActivateActionSet.


its ubuntu 18.04 with latest nvidia drivers....

any ideas how to chase this up welcome
whizse 7 Sep 2018
User Avatar
There's not really anything useful in that log. Have you tried launching the game manually instead?
wojtek88 7 Sep 2018
I believe I had similar problem on Ubuntu 17.04 on Intel card. I haven't managed to solve it, however on my laptop with NVidia 540m gt card the gamevruns fine.
Could you provide us some details about PC you're trying to run game on?
whizse 7 Sep 2018
User Avatar
Quoting: Guest
ERROR: ld.so: object '/home/j/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/j/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
This makes me think that you use a 64 bit computer without proper multiarch support installed/configured.
Are you running a, let's say, gray version of the game? I ask because steam (if installed through the package manager) pulls in and configures basic multiarch support for i386. If you have some custom steam package, try installing the official one, or if it's a gray version buy it from gog.
I think those messages are pretty normal with Steam. It loads both a 32 and 64-bit version of the gameoverlay library but only one will obviously work for a given program.

PoE only have a 64bit version as I can remember.
_J_30000 7 Sep 2018
  • Supporter
Hi all,

firstly massive thanks for all the help! Really great, thanks

running from CLI:
$ ./PillarsOfEternity
Set current directory to /media/games/SteamLibrary/steamapps/common/Pillars of Eternity
Found path: /media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity
Mono path[0] = '/media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity_Data/Managed'
Mono path[1] = '/media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity_Data/Mono'
Mono config path = '/media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity_Data/Mono/etc'


Not really much help... Computer config is Intel Cori 7 6th gen with Nvidia GTX 1060 on Ubuntu Gnome 18.04 with Nvidia driver 396.54

any pointers welcome
Schattenspiegel 7 Sep 2018
Player.log should be under ~/.config/unity3d/Obsidian Entertainment/Pillars of Eternity
If it does not provide any clues I would advise to delete the directory and verify the game files via Steam.

Another possibility if you have multiple monitors try to start the game with only one connected.

If that still does not help you could try a total stab into the dark:
GoG lists for some of their games a number of dependencies that also helped me in the past to get one or two steam games running (not sure if PoE was one of them though).

Try:
sudo apt install libc6:i386 libasound2:i386 libasound2-data:i386 libasound2-plugins:i386 libcurl3:i386 libgtk2.0-0:i386 libopenal1:i386 libglu1:i386

Please make sure you do not replace or deinstall anything in the process. (libcurl3:i386 wanted to deinstall some stuff for me so I excluded it from the command on my system)

restart your system and try to start the game
Avehicle7887 8 Sep 2018
Quoting: SchattenspiegelPlease make sure you do not replace or deinstall anything in the process. (libcurl3:i386 wanted to deinstall some stuff for me so I excluded it from the command on my system)

restart your system and try to start the game
I personally recommend Synaptic for package management, it gives a much better picture when installing packages, can't count the times it saved me from breaking the system.
whizse 8 Sep 2018
User Avatar
I would expect it to complain loudly if it was a missing library. At this point I guess running it through gdb to see where it crashes would be helpful.
_J_30000 8 Sep 2018
  • Supporter
thanks again for the help:

installing the i386 libraries did not help, reinstalling steam and then reinstalling Pillars did not help.

gdb output leaves me baffled but does not say a lot (first time I used gdb)
Reading symbols from ./PillarsOfEternity...(no debugging symbols found)...done.
(gdb) run
Starting program: /media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Found path: /media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity
Mono path[0] = '/media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity_Data/Managed'
Mono path[1] = '/media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity_Data/Mono'
Mono config path = '/media/games/SteamLibrary/steamapps/common/Pillars of Eternity/PillarsOfEternity_Data/Mono/etc'
[New Thread 0x7ffff7fde700 (LWP 12275)]
[New Thread 0x7ffff4049700 (LWP 12276)]
[Thread 0x7ffff4049700 (LWP 12276) exited]
[Thread 0x7ffff7fde700 (LWP 12275) exited]
[Inferior 1 (process 12270) exited normally]
(gdb) 
whizse 8 Sep 2018
User Avatar
At least on my system it's a 64bit binary, so I would be surprised if installing 32bit libs would do much ^_^

[Inferior 1 (process 12270) exited normally] it doesn't seem to be crashing at least, it just exits without any reason?

Did you check the Unity log as suggested by others previously in the thread?
_J_30000 8 Sep 2018
  • Supporter
Apologies for the delay in coming back...
* I checked .config/unity3d/ there is no Obsidian... or Pillars... folders at all
* I did find that the Player.log updates everytime I try to start Pillars and says
[code]Player is already running
(Filename: Line: 439)/code]

A quick google indicated that could be related to having a chrome window open or chrome process but even rebooting and manually ensuring all chrome processes are killed still produces this bug - I am wondering if this is an old unity version that "thinks Gnome is running a unity process" or something ?

now downgraded nvidia driver to version 390.87 and it works -- so < the version of unity3d shipped with > PoE does not work with 396.54 ... ok lets see if once up and running I can get it to restart after driver update (doubt it) thanks for all the help
whizse 8 Sep 2018
User Avatar
It looks like Unity is quite broken when it comes to making sure only a single instance of the game is running. There's some analysis here:
https://forums.obsidian.net/topic/84736-game-dosent-start-using-the-steam-client-linux/
https://steamcommunity.com/app/240760/discussions/1/617320628324498086/

The bug was fixed, but each game affected needs to be updated. I'm not sure what version of Unity PoE uses.
https://forum.unity.com/threads/bug-in-unity-when-running-chrome-on-linux.441253/

I guess not only Chrome but any program that uses the same way to spawn child processes will trigger the bug.
whizse 8 Sep 2018
User Avatar
TLDR, at some point Unity ends up comparing the command lines for running prcesses with the string "/proc/self/exe" and not what readlink("/proc/self/exe"... points to. The lesson here is for parents not to name their children /proc/self/exe. Looking at you Chrome! :whistle:

Here's very quick python script to find any process on the system that might be a problem:
import os

procdir = "/proc"
for proc in os.listdir(procdir):
    try:
        with open(os.path.join(procdir, proc, "cmdline"), "rt") as fd:
            cmdline = fd.read()
            if "/proc/self/exe" in cmdline:
                print(proc, cmdline)
    except Exception:
        pass

(Considering Skitt's Law and that I'm criticizing Unity here, the code above probably will not work!)
_J_30000 11 Sep 2018
  • Supporter
Finally figured it out!

It was the VPN connector application (PIA) that was causing Unity to think that it was already running...

also works with nvidia 396.54 again

very odd but perhaps for future reference...
damarrin 11 Sep 2018
Might be worth letting them know, I guess?

Also, PIA has OpenVPN profiles, which should work through straight-up Network Manager without any additional software (once you get openvpn installed, as it's possibly not).
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon Logo Patreon. Plain Donations: PayPal Logo PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register