Laggy UI (Probably not a new topic)

Discussion in 'Support!' started by jonasuj, January 10, 2017.

  1. jonasuj

    jonasuj New Member

    Messages:
    5
    Likes Received:
    0
    I really love the game, but one thing that sucks is that the build menus for fabricators, factories and commanders take seconds to appear and generally feels laggy.

    I searched Google, but found nothing that worked as expected. I've tried:
    • Disabling Steam overlay
    • Enabling Threaded optimisation
    • Disabling global chat
    • Reinstalling
    • Verifying game cache
    • Adding
      --coherent-options="--renderer-process-limit=16"
      to the launch parameters
    • Adding
      --software-ui
      to the launch parameters
    • Disabling ShadowPlay
    • Adding
      --nomods
      to the launch parameters

    The only thing that kind of worked was adding
    --software-ui
    to the launch parameters, which completely fixed the issue, it, however, introduced a new bug that causes the game to go black when i return to "Game Menu". It also makes it lags when in the galactic war map.

    More info:
    • I'm running the game on my NVidia GPU
    • You can't see my mouse pointer on this (link doesn't work) screenshot but it's out somewhere to the right.
    • EDIT: Not letting me upload images and not letting me add links to imgur is irritating. Here's the link in text form: i.imgur.com/oBLg1VF.jpg

    Let me know if there's more information needed
    -----------------------
    Dell Inspiron 7559
    System Manufacturer: Dell Inc.
    OS: Windows 10 Home 64-bit (10.0, Build 14393)
    BOIS: 1.1.8
    Processor: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (8 CPUs), ~2.60Ghz
    Memory: 8192MB DDR3L RAM Single Channel
    Graphics: NVIDIA GeForce GTX 960M 4GB and integrated Intel(R) HD Graphics 530
    DirectX: Version 12
    Storage: Samsung SSD 850 EVO M.2 500GB and Seagate SSHD ST1000LM014-1EJ164 1TB MLC/8GB 64MB Cache SATA 6.0Gb/s (5400RPM)
    WiFi Card: Intel Dual Band Wireless-AC 3165
    Average Internet Speed: 40Mbps

    Attached Files:

    Last edited: January 10, 2017
  2. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    It sounds like you already discovered the list of incompatible software, but I'll put the link here just in case you missed it: https://wiki.palobby.com/wiki/Windows_Incompatible_Software
    You may also want to try the clean boot mentioned at the end of that list.

    Another thing you may want to try is also adding CoherentHost_UI.exe to the list of programs that should run on the NVidia card instead of just PA.exe.
  3. jonasuj

    jonasuj New Member

    Messages:
    5
    Likes Received:
    0
    Yea I had a look at the list.
    I tried clean booting, but it was still lagging.

    By:
    I hope you mean selecting "Run with NVidia Graphics Card" in the NVidia Control Panel. If not then please enlighten me. That didn't help either though.
  4. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Yeah, that's what I meant.

    So when you click the commander and don't move the mouse, does the build menu appear after several seconds? Or do you need to mouse the mouse over the area where the build menu is supposed to be for it to appear?
  5. jonasuj

    jonasuj New Member

    Messages:
    5
    Likes Received:
    0
    It's more like:
    1. I move my mouse the area with all the different things you can produce
    2. It the element I'm hovering over gets highlighted a couple seconds later
    3. If I move my mouse all over the place, random element seem to just highlight
    4. When I click something (like a building) I can instantly place it, need to wait for the element to highlight
  6. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    If think you forgot a "not" in point 4. You can not instantly place it, or you need not wait for the element to highlight?
    As a test, can you open the file "<PA Install Directory>/media/ui/main/game/live_game/live_game_build_bar.css". Go to this section:
    Code:
    .div_build_item {
        height: 62px;
        width: 62px;
        border: 1px solid transparent;
        border-right: 1px solid #002A3D;
        border-bottom: 1px solid #002A3D;
        margin: 0px -1px -1px 0px;
        display: block;
        flex-shrink: 0;
        position: relative;
        -webkit-animation: fadeout;
        -webkit-transition: .3s ease-out;
        /*z-index: -1;*/
    }
    and comment out the -webkit- stuff like so:
    Code:
    /*    -webkit-animation: fadeout;
        -webkit-transition: .3s ease-out;*/
    That will turn off the animations. I'm wondering if that makes a difference for you in lag.
  7. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    Do not enable --software-ui on windows with your setup.
  8. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    It's highly likely you have UI components trying to run on the Intel HD Graphics 530 which only has 128MB of dedicated VRAM.

    You want everything running on the 960M.
  9. jonasuj

    jonasuj New Member

    Messages:
    5
    Likes Received:
    0
    I tried setting the "Preferred graphics processor" in "Global settings" to the NVidia GPU, but to my disappointment, it still lagged.

    When I'm playing, I'm using --software-ui, since it's much easier to just Alt+f4 when I've finished a game, than to play with the laggy ui.
  10. jonasuj

    jonasuj New Member

    Messages:
    5
    Likes Received:
    0
    I've uploaded a video here:
    youtu.be/jlDM3qv4v8g

    I got a bit lazy with editing it, just skip to, like, 1:10
  11. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    You could try increasing the VRAM allocation to the 530 in the BIOS.

Share This Page