DICE PACKS BUNDLE
Page 1 of 2 12 Last
  1. #1

    Moving tokens drops output every 1 second, pointers every 2.5 seconds

    Hello.

    When tokens are moved over a LOS map there is a massive frame-rate drop every 1 second, output is practically stopped for a short time. When pointers are moved it happens about every 2.5 seconds. This does not seem to happen on maps without LOS (tried a GM map).

    Tokens:


    Pointers:


    PS: While testing this it happened that I could not grab/move tokens anymore until I closed and reopened the map.
    Last edited by Weissrolf; November 3rd, 2020 at 09:37.

  2. #2
    Moving tokens requires updating the LoS visibility of every token with every other token on a map; as well as adding/removing targeting lines. So, I would expect some higher utilization during token movement.

    I'll pass on the note about moving pointers. I think it's probably an artifact of the complexity of the image layering system.

    Regards,
    JPG

  3. #3
    Thanks for the quick reply, but this is not just higher utilization (minuscule on my 2070S), this is frame-rate dropping down to 5 fps, virtually stopping output every 1s. And LoS visibility is constantly updated while the token is moved, still the drops only happen every 1s (see the spikes in the graph). It also does not matter whether I am using 1 token or 2 dozens, same result.

    This looks like some background task happening every 1s that interferes with LoS processing. And seeing how FGU is mostly only single-threaded (not happy about that in 2020!), it's easy to imagine one part getting in the way of another.

    Repeatedly opening/closing a character sheet (double-click on char token) creates a spike every 5 seconds. This is all happening in a single CPU thread.
    Last edited by Weissrolf; November 3rd, 2020 at 17:54.

  4. #4
    Quote Originally Posted by Weissrolf View Post
    Thanks for the quick reply, but this is not just higher utilization (minuscule on my 2070S), this is frame-rate dropping down to 5 fps, virtually stopping output every 1s. And LoS visibility is constantly updated while the token is moved, still the drops only happen every 1s (see the spikes in the graph). It also does not matter whether I am using 1 token or 2 dozens, same result.

    This looks like some background task happening every 1s that interferes with LoS processing. And seeing how FGU is mostly only single-threaded (not happy about that in 2020!), it's easy to imagine one part getting in the way of another.

    Repeatedly opening/closing a character sheet (double-click on char token) creates a spike every 5 seconds. This is all happening in a single CPU thread.
    As far as I remember, the LoS stuff is actually multi-threaded, but not sure

    But how many LoS nodes do you have on that map? I expect a slowdown when you really have a lot of such nodes; then it might be better to split the map in smaller pieces

  5. #5
    Let me clarify again, there are no slowdowns happening in between the regular frame-rate dips (CPU load spikes). As long as the token is kept being moved the spikes happen on a clock (see the graphs I posted before). But I just opened another map and experienced the drops happening in a longer interval with tokens.

    And unfortunately no, it's all running in a single FGU thread apart from some Unity player threads doing minimal extra work plus a Nvidia driver thread. Even worse, with many LoS nodes FGU output (FPS) is absolutely CPU bottlenecked while the GPU is twiddling thumbs mostly idle. So more tokens on the map = lower overall FPS, but the regular spikes happen with one token or many in regular intervals (look at the graph).



    This is on an Intel 9900K in combination with a NVidia 2070 Super. So throwing more money on the problem is not going to help much.
    Last edited by Weissrolf; November 3rd, 2020 at 19:04.

  6. #6
    pindercarl's Avatar
    Join Date
    Jan 2015
    Posts
    974
    Blog Entries
    2
    @Weisstolf A few questions:

    1) Can you provide a copy of a campaign that clearly exhibits the issue? (I can send you a Dropbox link, if you'd like.)
    2) Does this happen when no players are connected?
    3) Did this behavior begin with the latest release?

    Thanks.

  7. #7
    1) I can reproduce it with a fresh PF2 - Age of Ashes campaign with any of the more complex LoS maps. Time gaps are larger then, though. Using an empty FG "Battlemap" does not produce these distinct dropouts, populating the map does have some impact, though.

    Turns out that the one map were I had the 1 second gaps is one I imported from my Classic campaign. This is the "Jungle Clearing 2" map from AoA part 2, but I put two dozens pointers on said map to emulate the bushes' LoS obstructions in Classic. Moving a single token around this map leads to the shorter gap dropouts (rest of CT and map empty). This is also the map where moving a token leads to similar dropouts, but at longer intervals.

    I can upload this campaign to you.

    2) No players connected.

    3) I only just reinstalled FGU (after purchase) and started testing it again, planing to switch a campaign to it. I think I started this feedback thread before the last update arrived, but I am not even sure about that.
    Last edited by Weissrolf; November 3rd, 2020 at 22:52.

  8. #8
    So where do I upload the campaign to? Or did you reproduce this in your own tests already?

  9. #9
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,827
    Quote Originally Posted by Weissrolf View Post
    So where do I upload the campaign to? Or did you reproduce this in your own tests already?
    Put it in Dropbox or somewhere similar and email the link to [email protected] and link to this thread as well.
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  10. #10
    I sent a read-only link to the OneDrive folder where the campaign resides anyway. It can be reproduced with a fresh Age of Ashes campaign, too. But my "Map: Jungle Clearing 2" is full of pointers on top of the LoS blocks, so it's easier to reproduce there.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in