-
November 3rd, 2020, 09:32 #1
- Join Date
- Aug 2019
- Posts
- 2,025
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.
-
November 3rd, 2020, 16:59 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,563
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
-
November 3rd, 2020, 17:45 #3
- Join Date
- Aug 2019
- Posts
- 2,025
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.
-
November 3rd, 2020, 18:17 #4My extensions for 3.5e and Pathfinder
Bug reports please here
-
November 3rd, 2020, 18:59 #5
- Join Date
- Aug 2019
- Posts
- 2,025
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.
-
November 3rd, 2020, 22:12 #6
@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.
-
November 3rd, 2020, 22:50 #7
- Join Date
- Aug 2019
- Posts
- 2,025
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.
-
November 11th, 2020, 09:40 #8
- Join Date
- Aug 2019
- Posts
- 2,025
So where do I upload the campaign to? Or did you reproduce this in your own tests already?
-
November 11th, 2020, 09:55 #9
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
-
November 11th, 2020, 11:25 #10
- Join Date
- Aug 2019
- Posts
- 2,025
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