[SOLVED] fullscreen:false setting overwritten on start

Discussion in 'Mac and Linux' started by ouroboros88, March 8, 2015.

  1. ouroboros88

    ouroboros88 New Member

    Messages:
    7
    Likes Received:
    2
    I'm trying to get PA working on 64 bit Arch. Currently I get only sound and no video on launch. I think it may be a problem with fullscreen mode: I use the XMonad window manager, and fullscreen often interacts weirdly with it.

    I tried setting fullscreen:false in window_settings.json, but whenever I start the game, the file is overwritten. Is this not the correct approach?
  2. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I dunno that file, but the key combination to toggle fullscreen is alt+enter afaik
  3. ouroboros88

    ouroboros88 New Member

    Messages:
    7
    Likes Received:
    2
    That doesn't seem to work for me =/
  4. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Try running PA with the --software-ui argument. That may help with the black screen. Which drivers do you use for your graphics card by the way? If that doesn't work, can you upload a PA log? You can find those in ~/.local/Uber Entertainment/Planetary Annihilation/log or just copy-paste from the terminal.

    I'm also not sure what the purpose of the window_settings.json file is. :)
  5. ouroboros88

    ouroboros88 New Member

    Messages:
    7
    Likes Received:
    2
    I tried software-ui, but no change. Logs with and without software-ui are identical.

    Code:
    [22:23:01.316] INFO Setting STEAM_RUNTIME to /opt/PA/steam-runtime
    [22:23:01.316] INFO SDL: Built w/ v2.0.3, linked w/ v2.0.3
    [22:23:01.316] INFO build version 78071, id 2015021278071
    [22:23:01.316] INFO Log file /home/dan/.local/Uber Entertainment/Planetary Annihilation/log/PA-22-23-01.316.txt opened
    [22:23:01.317] INFO delete /home/dan/.local/Uber Entertainment/Planetary Annihilation/log/PA-19-23-41.955.txt
    [22:23:01.317] INFO Loading mod : server_browser_show_cheat_servers
    [22:23:01.317] INFO LoadedLocalModCollection::loadLocalModCollection: Failed listDir call for "/home/dan/.local/Uber Entertainment/Planetary Annihilation/mods"; no mods will be loaded from this path
    [22:23:01.317] WARN LoadedLocalModCollection::loadLocalModCollection: Could not open /home/dan/.local/Uber Entertainment/Planetary Annihilation/mods/mods.json file; mods will not be mounted
    [22:23:01.317] INFO Client loaded 1 mods, mounted 0
    [22:23:01.317] INFO Loading mod : cheat_allow_change_vision
    [22:23:01.317] INFO Loading mod : cheat_allow_change_control
    [22:23:01.317] INFO Loading mod : cheat_allow_create_unit
    [22:23:01.317] INFO Loading mod : cheat_allow_mod_data_updates
    [22:23:01.317] INFO LoadedLocalModCollection::loadLocalModCollection: Failed listDir call for "/home/dan/.local/Uber Entertainment/Planetary Annihilation/server_mods"; no mods will be loaded from this path
    [22:23:01.317] WARN LoadedLocalModCollection::loadLocalModCollection: Could not open /home/dan/.local/Uber Entertainment/Planetary Annihilation/server_mods/mods.json file; mods will not be mounted
    [22:23:01.317] INFO Starting async parallel for driver with 3 threads
    [22:23:01.387] INFO Successfully created context with configuration 6/8: v3.3 (core)
    [22:23:01.387] INFO HAL initializing...
    [22:23:01.387] INFO OpenGL Vendor: Intel Open Source Technology Center
    [22:23:01.387] INFO OpenGL Renderer: Mesa DRI Intel(R) Haswell Mobile
    [22:23:01.387] INFO OpenGL Version: 3.3 (Core Profile) Mesa 10.4.5
    [22:23:01.387] INFO OpenGL Shader Language Version: 3.30
    [22:23:01.387] INFO Vendor flag set to Intel.
    [22:23:01.388] INFO Supported rasterizer capabilities: Gamma correct pipeline, Ranged mapping, Advanced instancing, Advanced shaders
    [22:23:01.388] INFO Unsupported rasterizer capabilities: Compute shaders, Persistent buffer mapping
    [22:23:01.388] INFO Buffer textures enabled.
    [22:23:01.388] INFO initial size 1366x768
    [22:23:01.393] INFO Loading effects from file /shaders/post.json
    [22:23:01.522] INFO Loading effects from file /shaders/content.json
    [22:23:01.644] INFO Failed to load shader file: shadowmap_batch_index.vs
    [22:23:01.644] INFO Failed to load vertex shader shadowmap_batch_index.vs for technique ShadowMapBatchIndex
    [22:23:01.644] INFO Technique in effect pa_unit failed
    [22:23:01.668] INFO Failed to load shader file: prelight_flat_batch_index.vs
    [22:23:01.669] INFO Failed to load vertex shader prelight_flat_batch_index.vs for technique PrelightBatchIndex
    [22:23:01.669] INFO Technique in effect pa_unit failed
    [22:23:01.767] INFO Failed to load shader file: shadowmap_batch_index.vs
    [22:23:01.767] INFO Failed to load vertex shader shadowmap_batch_index.vs for technique ShadowMapBatchIndex
    [22:23:01.767] INFO Technique in effect pa_unit_dead failed
    [22:23:01.790] INFO Failed to load shader file: prelight_flat_batch_index.vs
    [22:23:01.790] INFO Failed to load vertex shader prelight_flat_batch_index.vs for technique PrelightBatchIndex
    [22:23:01.790] INFO Technique in effect pa_unit_dead failed
    [22:23:01.915] INFO Loading effects from file /shaders/impostors.json
    [22:23:01.943] INFO Loading effects from file /shaders/misc.json
    [22:23:01.982] INFO Loading effects from file /shaders/particle.json
    [22:23:02.545] INFO Loading effects from file /shaders/scene.json
    [22:23:02.700] INFO Loading effects from file /shaders/vtex.json
    [22:23:03.192] INFO Coherent content root: "coui://ui/"
    [22:23:03.192] INFO Coherent host dir: "/opt/PA/host"
    [22:23:03.192] INFO Coherent local store: "/home/dan/.local/Uber Entertainment/Planetary Annihilation/localstore"
    [22:23:03.199] INFO ClientInterface constructed
    [22:23:03.231] INFO {{FMOD}} fmod buffer size 5
    [22:23:03.255] INFO Using local server at /opt/PA/server
    [22:23:03.255] INFO ClientInterface constructed
    [22:23:03.405] INFO SystemReady
    [22:23:05.125] INFO resetGameState
    [22:23:05.125] INFO Mouse constraint cleared.
    [22:23:05.125] INFO ClientInterface constructed
    [22:23:05.133] INFO ClientInterface constructed
    [22:23:05.210] INFO setMusic /Music/Main_Menu_Music
    [22:23:06.202] INFO Setting option graphics to 'low'
    [22:23:06.202] INFO Setting option graphics.vte to 'low'
    [22:23:06.202] INFO Setting option graphics.headlights to 'off'
    [22:23:06.202] INFO Setting option graphics.shadows to 'off'
    [22:23:06.202] INFO Setting option graphics.ao to 'off'
    [22:23:06.202] INFO Setting option graphics.hdr to 'off'
    [22:23:06.202] INFO Setting option graphics.aa to 'off'
    [22:23:06.202] INFO Setting option graphics.display_mode to 'fullscreen'
    [22:23:06.202] INFO Setting camera mouse pan speed to 1x
    [22:23:06.202] INFO Setting camera key pan speed to 1x
    [22:23:06.202] INFO Setting camera zoom speed to 4x
    [22:23:06.202] INFO Setting camera friction to 2.5x
    [22:23:06.202] INFO Setting camera edge scroll to off (no mouselock)
    [22:23:06.202] INFO Setting planet pole lock to off
    [22:23:09.613] INFO Shutting down CoherentUI
    
    The screen only goes black momentarily, then video closes and I get only sound. The game doesn't actually crash, just continues playing sound with no video.

    I have the FLOSS Intel driver, my graphics are Intel HD 4000.

    Thanks for the help =)
  6. ouroboros88

    ouroboros88 New Member

    Messages:
    7
    Likes Received:
    2
    Solved: installed openbox (a more conventional window manager) and ran it under that; software-ui was actually necessary in the end, so thanks for that tip! =) Once it was running under openbox I changed the settings to windowed mode, not runs in XMonad no problem.
    cdrkf and DeathByDenim like this.

Share This Page