Linux: Working Distributions

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

  1. retrry

    retrry Member

    Messages:
    52
    Likes Received:
    5
    Hey, hey Steam did it again. In newest beta they added support for 64bit games, so now they ship steam-runtime with Steam installation, just checked you don't need any more workarounds to play PA (to play I needed libcurl and libudev workarounds).

    Edit: crashupload work too.
  2. chrt

    chrt New Member

    Messages:
    4
    Likes Received:
    0
    Ubuntu 13.10 beta here, NVIDIA 319 proprietary drivers, i7 3770k, geforce 670.

    When I click play on steam, nothing happens. When I try to run PA manually, I get a black window, and this in the terminal:

    Code:
    ~/.local/share/Steam/SteamApps/common/Planetary Annihilation$ ./PA
    [15:46:39.953] INFO Log file /home/klemen/.local/share/Steam/SteamApps/common/Planetary Annihilation/media/user/log/PA-15-46-39.953.txt opened
    [15:46:39.953] INFO Loaded 0 mods
    [15:46:40.024] INFO GL_VENDOR: NVIDIA Corporation
    [15:46:40.024] INFO GL_RENDERER: GeForce GTX 670/PCIe/SSE2
    [15:46:40.024] INFO GL_VERSION: 4.3.0 NVIDIA 319.32
    [15:46:40.024] INFO GL_SHADING_LANGUAGE_VERSION: 4.30 NVIDIA via Cg compiler
    [15:46:40.024] INFO Gamma correct pipeline enabled.
    [15:46:40.062] INFO Configure, 1280 by 720
    [15:46:40.075] INFO build version 54459
    [15:46:40.075] INFO Coherent content root: "coui://ui/"
    [15:46:40.075] INFO Coherent host dir: "/home/klemen/.local/share/Steam/SteamApps/common/Planetary Annihilation/host"
    [15:46:40.075] INFO Coherent local store: "/home/klemen/.local/share/Steam/SteamApps/common/Planetary Annihilation/media/user/localstore"
    Could not find libudev.
    /home/klemen/.local/share/Steam/SteamApps/common/Planetary Annihilation/host/CoherentUI_Host: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
    [15:46:40.228] ERROR : invalid movement type "hover"
    [15:46:40.231] ERROR multiple models in spec for Air Factory have nav structures, this is unexpected.
    [15:46:40.232] ERROR multiple models in spec for Advanced Air Factory have nav structures, this is unexpected.
    [15:46:40.233] ERROR /pa/units/air/bomber_torpedo/bomber_torpedo.papa: open failed
    [15:46:40.253] INFO {{FMOD}} fmod buffer size 5
    [15:46:40.265] INFO Setting graphics to high
    
    
    what do
  3. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    First you can't run game though Steam because of this bug: FS#2100
    Right now game is not compatible with Steam runtime, I want to believe this will be fixed soon.

    "Could not find libudev.
    /home/klemen/.local/share/Steam/SteamApps/common/Planetary Annihilation/host/CoherentUI_Host: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory"
    This is main problem why you can't run it without Steam, game trying to find libudev.so.0, but on 13.10 libudev have different filename. You might fix it with proper symlink.
  4. chrt

    chrt New Member

    Messages:
    4
    Likes Received:
    0
    All right, symlinked libudev.so.1 as libudev.so.0, it runs now. Thanks!
  5. garat

    garat Cat Herder Uber Alumni

    Messages:
    3,344
    Likes Received:
    5,376
    And this should be fixed now, without a work around. Let us know if that's not the case for any ubuntu or variants.
    shootall likes this.
  6. aonoa

    aonoa New Member

    Messages:
    16
    Likes Received:
    0
    I still have to symlink my libudev.so to libudev.so.0 on Gentoo with the latest 54757 build.
  7. vadi

    vadi New Member

    Messages:
    12
    Likes Received:
    0
    Is there a way for them to fix that though? Ubuntu provides libudev.so.0 and so the game gets built against it. If another Linux OS doesn't provide it, the fix has to be done user-side to be compatible.
  8. chrt

    chrt New Member

    Messages:
    4
    Likes Received:
    0
    With the latest update, the game is now launching from Steam on Ubuntu 13.10, but it seems to be stuck on this screen:

    i.imgur.com/0yfcGoT.png

    Launching from the terminal works normally.
  9. YourATowl

    YourATowl New Member

    Messages:
    11
    Likes Received:
    0
    Game is not working on Ubuntu 13.04 for me. It launches game from steam but only opens a blank window.
  10. tbacav

    tbacav Member

    Messages:
    52
    Likes Received:
    27
    Standalone works on Gentoo/~amd64

    Requires libudev.so.0 hack to work.

    Note to Uber: This copy/symlink nonsense is a really nonsensical way of working around this issue. *.so.0 means the original version of the API, *.so.1 means the API may have changed and compatibility is not assured. The recent version bump on Coherent doesn't appear to have fixed this. Either 1. target Steam runtime (which doesn't appear to include libudev), 2. given your software is a binary blob include the necessary libraries to make your software run as part of the software or 3. file a bug upstream to get them to update to the modern (and most likely to be present going forward) version of the library.

    Needs various things like 32bit flash with nspluginwrapper to work fully. Still throws various errors to command line.
  11. tbacav

    tbacav Member

    Messages:
    52
    Likes Received:
    27
    I suspect you are suffering from the libudev issue. You can symlink/copy it to provide an interim fix.

    Given the coverage of this issue and beta nature of the software I would suggest you please do a little more research in the future.
  12. nihilusiua

    nihilusiua New Member

    Messages:
    5
    Likes Received:
    0
    Ubuntu 12.04 LTS 64 bit, stock kernel, A10 APU with Catalysts from 13.4 through 13.11 beta are all giving the same result - a black window with some background sounds. Running the game from a terminal or in any other weird way doesn't change it's behavior. libudev0 and libudev:i386 packages are both present and installed. Am I missing something here?
    PS. Attached some logs

    Attached Files:

  13. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Yep, you need to check this issue: FS#2343
  14. nihilusiua

    nihilusiua New Member

    Messages:
    5
    Likes Received:
    0
    Tried installing OSS radeon driver with the latest graphics firmware. Now I have a nice blue in-game cursor in that black window instead of a system one when it gets above it but that's it. I guess that means that the game is currently unplayable on my hardware.
    PS. Steam overlay works perfectly regardless of the driver - at least some content in that infinite blackness :D
  15. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    I'm totally sure that game is playable on open source driver. I'm using it myself your card is using R600 too.
    Let's try to find out what happen with FOSS driver? Can you try to run PA directly and then check logs again?

    Also you can check this topic:
    https://forums.uberent.com/threads/black-screen-ubuntu-13-04.52558/
    shootall and nihilusiua like this.
  16. nihilusiua

    nihilusiua New Member

    Messages:
    5
    Likes Received:
    0
    Oh wow, running it from a terminal really did a trick, thanks. The game is still unplayable though but for a different reasons.
    Sending a new pack of logs and a few screenshots.
    PS. Cursor is a nearly disintegrated white square between planets, lol, and it's a real pain to aim with it actually - don't know why screenshots took a system cursor instead of it.
    EDIT: The game runs in windowed mode regardless of the settings.

    Attached Files:

    Last edited: October 9, 2013
  17. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Most of graphical bugs you might see caused by outdated Mesa:
    Code:
    [22:49:38.826] INFO GL_VERSION: 2.1 Mesa 9.0.3
    If you don't want to wait before game will work with proprietary drivers you need do that:
    1. Get latest Mesa and kernel, enable DPM, then configure it for best performance:
      https://forums.uberent.com/threads/black-screen-ubuntu-13-04.52558/
      Check my post in this topic.
    2. Use Debugger to bypass problem with cursor as explained here:
      https://forums.uberent.com/threads/linux-foss-drivers-issues-and-fixes.51007/#post-779846
    3. From same topic grab sun shader fix and also features (trees, stones, etc) shader fix:
      https://forums.uberent.com/threads/linux-foss-drivers-issues-and-fixes.51007/page-3#post-802318
    After fixes applied open source drivers have only few tiny problems (bugged shadows, few black lines on textures borders), but game is perfectly playable.

    This one is easy fixable.

    Fullscreen not implemented for Linux, can be easily replaced by WM.
    shootall and nihilusiua like this.
  18. nihilusiua

    nihilusiua New Member

    Messages:
    5
    Likes Received:
    0
    Managed to configure a system/driver with Liquorix 3.11 kernel, new Mesa from xorg-edgers PPA etc
    Thanks for the links provided, but I need a clarification on one more thing:
    What is that supposed to mean? I haven't found anything even remotely similar to this in the Debugger's UI.
  19. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Sorry, I'm need to fix this port for new version (atlases not named anymore).
    Just one each link to "Coherent UI View" and all icons/cursors will be fixed.
  20. chrt

    chrt New Member

    Messages:
    4
    Likes Received:
    0
    With the latest update, I'm getting a black window again. This is getting ridiculous.

    Code:
    $ ./PA
    [13:24:19.935] INFO Log file /home/fgsfds/.local/share/Steam/SteamApps/common/Planetary Annihilation/media/user/log/PA-13-24-19.935.txt opened
    [13:24:19.935] INFO Loaded 0 mods
    [13:24:20.032] INFO GL_VENDOR: NVIDIA Corporation
    [13:24:20.032] INFO GL_RENDERER: GeForce GTX 670/PCIe/SSE2
    [13:24:20.032] INFO GL_VERSION: 4.3.0 NVIDIA 319.32
    [13:24:20.032] INFO GL_SHADING_LANGUAGE_VERSION: 4.30 NVIDIA via Cg compiler
    [13:24:20.032] INFO Gamma correct pipeline enabled.
    [13:24:20.074] INFO Configure, 1280 by 720
    [13:24:20.076] INFO build version 55089
    [13:24:20.080] INFO Coherent content root: "coui://ui/"
    [13:24:20.080] INFO Coherent host dir: "/home/fgsfds/.local/share/Steam/SteamApps/common/Planetary Annihilation/host"
    [13:24:20.080] INFO Coherent local store: "/home/fgsfds/.local/share/Steam/SteamApps/common/Planetary Annihilation/media/user/localstore"
    Could not find libudev.
    [13:24:20.240] ERROR multiple models in spec for Air Factory have nav structures, this is unexpected.
    [13:24:20.242] ERROR multiple models in spec for Advanced Air Factory have nav structures, this is unexpected.
    [13:24:20.250] ERROR /pa/units/air/bomber_torpedo/bomber_torpedo.papa: open failed
    [13:24:20.289] INFO {{FMOD}} fmod buffer size 5
    [13:24:20.294] INFO Setting graphics to high
    [10960:10960:ERROR:resource_bundle.cc(528)] Failed to load /home/fgsfds/.local/share/Steam/SteamApps/common/Planetary Annihilation/host/ui_resources_100_percent.pak
    Some features may not be available.
    10943 11:24:20.428003 W | PID: 10945 | 10945 11:24:20.260012 [10945:10945:ERROR:resource_bundle.cc(528)] Failed to load /home/fgsfds/.local/share/Steam/SteamApps/common/Planetary Annihilation/host/ui_resources_100_percent.pak
    Some features may not be available.
    10943 11:24:20.428067 W | PID: 10945 | 10978 11:24:20.425194 [10945:10978:ERROR:tcp_listen_socket.cc(72)] Could not bind socket to 127.0.0.1:9999
    [13:24:20.778] INFO SystemReady
    10943 11:24:20.790817 W | PID: 10945 | 10975 11:24:20.784202 [10945:10975:WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation
    [10985:10985:INFO:renderer_main.cc(215)] Running without renderer sandbox
    [10986:10986:INFO:renderer_main.cc(215)] Running without renderer sandbox
    [10987:10987:INFO:renderer_main.cc(215)] Running without renderer sandbox
    [10990:10990:INFO:renderer_main.cc(215)] Running without renderer sandbox
    10943 11:24:21.003000 W | PID: 10945 | 10945 11:24:20.999859 [10945:10945:ERROR:(0)] Failed to load /home/fgsfds/.local/share/Steam/SteamApps/common/Planetary Annihilation/host/ui_resources_100_percent.pak
    Some features may not be available.
    10943 11:24:21.456898 W | PID: 10945 | 10945 11:24:21.455528 Requesting resource read for coui://ui/mods/ui_mod_list.js with internal id 39 reported FAIL
    10943 11:24:21.456949 W | PID: 10945 | 10945 11:24:21.455558 Requesting resource read for coui://ui/mods/ui_mod_list.js with internal id 40 reported FAIL
    10943 11:24:21.490234 W | PID: 10945 | 10945 11:24:21.481979 Requesting resource read for coui://ui/mods/ui_mod_list.js with internal id 41 reported FAIL
    The program 'CoherentUI_Host' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadAccess (attempt to access private resource denied)'.
      (Details: serial 151 error_code 10 request_code 130 minor_code 1)
      (Note to programmers: normally, X errors are reported asynchronously;
      that is, you will receive the error a while after causing it.
      To debug your program, run it with the --sync command line
      option to change this behavior. You can then get a meaningful
      backtrace from your debugger if you break on the gdk_x_error() function.)
    
    
    Last edited: October 10, 2013

Share This Page