CoherentUI is not running.

Discussion in 'Mac and Linux' started by lolchik, March 16, 2016.

  1. lolchik

    lolchik New Member

    Messages:
    6
    Likes Received:
    1
    Hello, i'm using kubuntu 15.10 and getting error basil.
    I've figured out that CoherentUI is not launching with a game, is there any fixes of it?
  2. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    Can you post the PA log (or terminal output)?
    The logs you can find in ~/.local/Uber Entertainment/Planetary Annihilation/log
  3. lolchik

    lolchik New Member

    Messages:
    6
    Likes Received:
    1
    [23:20:58.416] INFO Started at 2016-03-14 23:20:58
    [23:20:58.416] INFO SDL: Built w/ v2.0.3, linked w/ v2.0.4
    [23:20:58.427] INFO Looks like we are running via Steam
    [23:20:58.428] INFO Loading mod : server_browser_show_cheat_servers
    [23:20:58.428] INFO Loading mod : scenario_demo_mode
    [23:20:58.428] INFO listDir failed to open directory: /home/zl01/.local/Uber Entertainment/Planetary Annihilation/mods
    [23:20:58.428] INFO LoadedLocalModCollection::loadLocalModCollection: Failed listDir call for "/home/zl01/.local/Uber Entertainment/Planetary Annihilation/mods"; no mods will be loaded from this path
    [23:20:58.428] WARN LoadedLocalModCollection::loadLocalModCollection: Could not open /home/zl01/.local/Uber Entertainment/Planetary Annihilation/mods/mods.json file; mods will not be mounted
    [23:20:58.428] INFO Client loaded 2 mods, mounted 0
    [23:20:58.428] INFO Loading mod : cheat_allow_change_vision
    [23:20:58.428] INFO Loading mod : cheat_allow_mod_data_updates
    [23:20:58.428] INFO Loading mod : cheat_allow_change_control
    [23:20:58.428] INFO Loading mod : cheat_allow_create_unit
    [23:20:58.428] INFO listDir failed to open directory: /home/zl01/.local/Uber Entertainment/Planetary Annihilation/server_mods
    [23:20:58.428] INFO LoadedLocalModCollection::loadLocalModCollection: Failed listDir call for "/home/zl01/.local/Uber Entertainment/Planetary Annihilation/server_mods"; no mods will be loaded from this path
    [23:20:58.428] WARN LoadedLocalModCollection::loadLocalModCollection: Could not open /home/zl01/.local/Uber Entertainment/Planetary Annihilation/server_mods/mods.json file; mods will not be mounted
    [23:20:58.429] INFO build version 89755, id 2015102089755
    [23:20:58.432] INFO Log file /home/zl01/.local/Uber Entertainment/Planetary Annihilation/log/PA-2016-03-14_232058.txt opened
    [23:20:58.437] INFO Starting async parallel for driver with 3 threads
    [23:20:58.602] INFO Successfully created context with configuration 1/8: v4.4 (core)
    [23:20:58.602] INFO HAL initializing...
    [23:20:58.603] INFO OpenGL Vendor: NVIDIA Corporation
    [23:20:58.603] INFO OpenGL Renderer: GeForce GT 640M/PCIe/SSE2
    [23:20:58.603] INFO OpenGL Version: 4.4.0 NVIDIA 352.63
    [23:20:58.604] INFO OpenGL Shader Language Version: 4.40 NVIDIA via Cg compiler
    [23:20:58.604] INFO Vendor flag set to NVidia
    [23:20:58.604] INFO Supported rasterizer capabilities: Gamma correct pipeline, Ranged mapping, Advanced instancing, Advanced shaders, Compute shaders
    [23:20:58.604] INFO Unsupported rasterizer capabilities: Persistent buffer mapping
    [23:20:58.604] INFO Buffer textures enabled.
    [23:20:58.604] INFO initial size 1280x720
    [23:20:58.614] INFO Loading effects from file /shaders/post.json
    [23:20:58.622] INFO Loading effects from file /shaders/content.json
    [23:20:58.657] INFO Loading effects from file /shaders/impostors.json
    [23:20:58.659] INFO Loading effects from file /shaders/misc.json
    [23:20:58.668] INFO Loading effects from file /shaders/particle.json
    [23:20:58.714] INFO Loading effects from file /shaders/scene.json
    [23:20:58.728] INFO Loading effects from file /shaders/vtex.json
    [23:20:58.746] INFO Coherent content root: "coui://ui/"
    [23:20:58.746] INFO Coherent host dir: "/home/zl01/.steam/steam/steamapps/common/Planetary Annihilation/host"
    [23:20:58.746] INFO Coherent local store: "/home/zl01/.local/Uber Entertainment/Planetary Annihilation/localstore"
    [23:20:58.747] INFO Coherent crash dumps: "/home/zl01/.local/Uber Entertainment/Planetary Annihilation/log"
    [23:20:58.747] INFO [COUI] Additional host options detected. Please note that these options are experimental, untested and not officially supported, they might cause unexpected behaviour.
    [23:20:58.747] INFO [COUI] AdditionalHostOptions {--resource-buffer-max-allocation-size=134217728 --resource-buffer-size=2097152}
    [23:21:01.696] ERROR Caught exception when constructing CoherentUI - locale::facet::_S_create_c_locale name not valid
    [23:21:01.696] ERROR Planetary Annihilation: Fatal error 'basil': Unexpected failure when initializing user interface subsystem.
  4. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    It doesn't like your locale. I can get the same error if I make up a non-existing one. Try starting PA as:
    Code:
    LANG=en_US.UTF-8 ./PA
    Apparently you can also set it in Steam under the launch parameters as
    Code:
    LANG=en_US.UTF-8 %command%
    but I haven't tested that.

    Out of curiosity, what is the value for LANG in your system?
  5. lolchik

    lolchik New Member

    Messages:
    6
    Likes Received:
    1
    ok, i'l try to change my LANG.
    this is my lang
    Code:
    zl01@zl01:~$ echo $LANG
    C.UTF-8
    
  6. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    Actually, that should be a valid entry. At least, my PA on Linux doesn't crash when I use that. Can you also check the output of
    Code:
    export | grep LC_
    ?

    You may also want to just try
    Code:
    LC_ALL=en_US.UTF-8 ./PA
    as that will override any other locale settings.
  7. lolchik

    lolchik New Member

    Messages:
    6
    Likes Received:
    1
    Code:
     export | grep LC_
    declare -x LC_ADDRESS="el_CY.UTF-8"
    declare -x LC_ALL="en_US.UTF-8"
    declare -x LC_IDENTIFICATION="el_CY.UTF-8"
    declare -x LC_MEASUREMENT="el_CY.UTF-8"
    declare -x LC_MONETARY="cy_GB.UTF-8"
    declare -x LC_NAME="el_CY.UTF-8"
    declare -x LC_NUMERIC="ru_RU.UTF-8"
    declare -x LC_PAPER="el_CY.UTF-8"
    declare -x LC_TELEPHONE="el_CY.UTF-8"
    declare -x LC_TIME="el_CY.UTF-8"
    

    Code:
    zl01@zl01:~/.steam/steam/steamapps/common/Planetary Annihilation$ LC_ALL=en_US.UTF-8 ./PA
    ./PA: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory
    
  8. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    Oh right, the steam runtime. Sorry. Not used to Steam. :)
    Try this:
    Code:
    LC_ALL=en_US.UTF-8 ~/.steam/ubuntu12_32/steam-runtime/run.sh ./PA
  9. lolchik

    lolchik New Member

    Messages:
    6
    Likes Received:
    1
    still nothing:(
    Code:
    zl01@zl01:~$ LC_ALL=en_US.UTF-8 ~/.steam/ubuntu12_32/steam-runtime/run.sh /.steam/steam/steamapps/common/Planetary Annihilation/PA
    /home/zl01/.steam/ubuntu12_32/steam-runtime/run.sh: line 20: /.steam/steam/steamapps/common/Planetary: No such file or directory
    
    
    actually i can try download PA from the site, maybe it will work
  10. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    Ah, you forgot the quotes, which you need because of the space in the path to PA. So the full command should be:
    Code:
    LC_ALL=en_US.UTF-8 ~/.steam/ubuntu12_32/steam-runtime/run.sh "~/.steam/steam/steamapps/common/Planetary Annihilation/PA"
    In any case, you can also right click on PA in Steam, choose properties, press Launch Parameters and put this there:
    Code:
    LC_ALL=en_US.UTF-8 %command%
    lolchik likes this.
  11. lolchik

    lolchik New Member

    Messages:
    6
    Likes Received:
    1
    omg it works, thanks!!
    DeathByDenim likes this.

Share This Page