Linux: Working Distributions

Discussion in 'Mac and Linux' started by garat, June 25, 2013.

  1. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Well, this seems rather odd:
    Code:
    [22:09:53.275] ERROR Could not create shared memory segment.
    Can you try running it with --software-ui?
  2. steelshield

    steelshield New Member

    Messages:
    15
    Likes Received:
    0
    Hey All,

    So searching through my system I found the libs that Steam has and have symlinked them to my lib64 directory.

    Running PA from the terminal I get this:

  3. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    You're not supposed to have to do that though. PA ought to just use the .so files itself. Can you undo the symlinking and then verify the integrity of the game cache in Steam? Instructions are here: https://support.steampowered.com/kb_article.php?ref=2037-QEUH-3335
  4. steelshield

    steelshield New Member

    Messages:
    15
    Likes Received:
    0
    Hey, thanks for this.

    Game successfully verified.
  5. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Sorry, just to be clear: That fixed it?
  6. steelshield

    steelshield New Member

    Messages:
    15
    Likes Received:
    0
    Sorry should have been clearer, no the game still loads up with a black screen and crashes.
  7. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Ah, too bad...

    When you go to the directory where the PA executable is, can you run the following command:
    Code:
    ls -l steam-runtime/amd64/usr/lib/x86_64-linux-gnu
    and also
    Code:
    ldd steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
    And this probably doesn't work, but give it a go:
    Code:
    LD_LIBRARY_PATH=steam-runtime/amd64/usr/lib/x86_64-linux-gnu ./PA
    (By the way, if you use [ code] and [ /code] (without spaces) to put your output in, it's somewhat more readable.)
  8. steelshield

    steelshield New Member

    Messages:
    15
    Likes Received:
    0
    Hey, thanks for the tip.

    Output of the first, second and third command says that the directory does not exist.
  9. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Eh? It really should. How about "~/.local/share/Steam/steamapps/common/Planetary Annihilation/steam-runtime/amd64/usr/lib/x86_64-linux-gnu"?
  10. steelshield

    steelshield New Member

    Messages:
    15
    Likes Received:
    0
    Hi DeathByDenim,

    Nope that directory does not exist in that location from the install on my system the runtime is in ~/.local/share/Steam/ubuntu12_32/steam-runtime, I symlinked it to this and it ran the same as the Steam client does.

    Removed the symlink and ran through Steam from CLI, looking over what it was doing Steam actually sets the runtime destination for you so this directory is only needed to run the client when not using Steam.

    The crash report that the game gave me with vanilla settings was this web location:
    crashes.uberent.com/report/index/2bbdb017-6941-43bf-a23c-b1c682150822
  11. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Hmm, but that's wrong. Those contain the 32-bit libraries judging from the name and PA is exclusively a 64-bit program so it wouldn't use those, which is probably why it falls back to the system libraries (if present).

    Could you try downloading the files outside of Steam and see if that works? You can get those here: https://store.uberent.com/download/pa
    It's a 2GB file though...
  12. steelshieldgaming

    steelshieldgaming New Member

    Messages:
    2
    Likes Received:
    0
    Hi DeathByDenim,

    Thank you for the suggestion but unfortunately because I purchased the game through Steam I cannot download it from UberEnt, due to the fact that my Uber account does not have the game key.

    Any other debug is welcome :)
  13. steelshield

    steelshield New Member

    Messages:
    15
    Likes Received:
    0
    Sorry posted with the wrong account.
  14. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    It should be able to use your Steam name, I think. Even if you buy the game from Steam, it's still linked to an Uber account.
  15. steelshield

    steelshield New Member

    Messages:
    15
    Likes Received:
    0
    Yes that is true, but on the Steam Q and A for PA they explicitly say that purchases through Steam get handled by Valve not them, if I had purchased straight from Uber then I would have got a key that could be turned into a Steam key.... oh well.

    So, Steam says that the game is installed properly, but we think that there are some missing files, would there be anyone else who uses the Steam version willing to check if the steam-runtime directory is in the location of their PA binary, just so I know that it is not my distribution to blame...?

    Thanks
  16. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Yeah, see here:
    https://forums.uberent.com/threads/...oing-from-gw-to-main-menu.69802/#post-1103804

    Also a Fedora 22 user btw (though that output was for 21)

    That's true about Valve by the way, but you still have an Uber account attached to Steam that should allow you to download PA from the Uber store as well.
  17. steelshieldgaming

    steelshieldgaming New Member

    Messages:
    2
    Likes Received:
    0
    Hi DeatByDenim,

    I have reinstalled Steam and PA and this directory does not get created.

    I will use this account to download the tar for PA, would you be able to point me to any install instructions or is it just a case of it all being in the tar?

    Thanks
  18. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Yeah, it's all in the tar.bz2. You can extract it wherever you like and just run the PA executable inside of it. There's no installation whatsoever.
  19. steelshield

    steelshield New Member

    Messages:
    15
    Likes Received:
    0
    Hi DeathByDenim,

    Right I have done this now and steam-runtime does appear in the .tar.bz, Hurrah!

    Now though I still have the same black screen appear and crashes saying:

    Code:
    [ben@Arbalest PA]$ ./PA
    [19:56:05.762] INFO Started at 2015-08-25 19:56:05
    [19:56:05.762] INFO Setting STEAM_RUNTIME to /home/ben/Games/PA/steam-runtime
    [19:56:05.763] INFO SDL: Built w/ v2.0.3, linked w/ v2.0.3
    [19:56:05.763] INFO Loading mod : server_browser_show_cheat_servers
    [19:56:05.763] INFO LoadedLocalModCollection::loadLocalModCollection: Failed listDir call for "/home/ben/.local/Uber Entertainment/Planetary Annihilation/mods"; no mods will be loaded from this path
    [19:56:05.763] WARN LoadedLocalModCollection::loadLocalModCollection: Could not open /home/ben/.local/Uber Entertainment/Planetary Annihilation/mods/mods.json file; mods will not be mounted
    [19:56:05.763] INFO Client loaded 1 mods, mounted 0
    [19:56:05.763] INFO Loading mod : cheat_allow_mod_data_updates
    [19:56:05.763] INFO Loading mod : cheat_allow_change_control
    [19:56:05.763] INFO Loading mod : cheat_allow_create_unit
    [19:56:05.763] INFO Loading mod : cheat_allow_change_vision
    [19:56:05.763] INFO LoadedLocalModCollection::loadLocalModCollection: Failed listDir call for "/home/ben/.local/Uber Entertainment/Planetary Annihilation/server_mods"; no mods will be loaded from this path
    [19:56:05.763] WARN LoadedLocalModCollection::loadLocalModCollection: Could not open /home/ben/.local/Uber Entertainment/Planetary Annihilation/server_mods/mods.json file; mods will not be mounted
    [19:56:05.764] INFO build version 86422, id 2015081886422
    [19:56:05.764] INFO Log file /home/ben/.local/Uber Entertainment/Planetary Annihilation/log/PA-2015-08-25_195605.txt opened
    [19:56:05.769] INFO Starting async parallel for driver with 3 threads
    [19:56:05.897] INFO Successfully created context with configuration 6/8: v3.3 (core)
    [19:56:05.897] INFO HAL initializing...
    [19:56:05.897] INFO OpenGL Vendor: Intel Open Source Technology Center
    [19:56:05.897] INFO OpenGL Renderer: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)
    [19:56:05.897] INFO OpenGL Version: 3.3 (Core Profile) Mesa 10.6.3 (git-ccef890)
    [19:56:05.897] INFO OpenGL Shader Language Version: 3.30
    [19:56:05.897] INFO Vendor flag set to Intel.
    [19:56:05.897] INFO Supported rasterizer capabilities: Gamma correct pipeline, Ranged mapping, Advanced instancing, Advanced shaders
    [19:56:05.897] INFO Unsupported rasterizer capabilities: Compute shaders, Persistent buffer mapping
    [19:56:05.897] INFO Buffer textures enabled.
    [19:56:05.898] INFO initial size 1280x720
    [19:56:05.903] INFO Loading effects from file /shaders/post.json
    [19:56:06.061] INFO Loading effects from file /shaders/content.json
    [19:56:07.397] INFO Loading effects from file /shaders/impostors.json
    [19:56:07.449] INFO Loading effects from file /shaders/misc.json
    Dump written to /tmp/79a9c1ee-abf5-36da-6826f995-5bd8b42e.dmp
    Invalid argument for -p: should be VAR=VALUE
    crashupload exited with error code 1
    Segmentation fault (core dumped)
    Sigh..... :)
  20. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Well, PA really hates you, eh? :)

    Can you do "ldd PA" again?

Share This Page