RHS Feedback

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005479PKL[All Projects] Generalpublic2020-01-26 23:072020-02-05 19:24
ReporterRon4Swat 
Assigned ToSoul_Assassin 
PrioritynoneSeverityminorReproducibilityalways
StatusclosedResolutionnot fixable 
PlatformOSOS Version
Summary0005479: fps decrease by over 50%
DescriptionAt the small military base at 5434/2526 there is a client fps decrease of a bit over 50% when looking to the south (over the stream towards Men Cheah ChabTrei).

When looking north the fps is back to normal. Tested with a objectviewdistance of 1000 m.

If i set the objectviewdistance to 500 at this position, it basically makes no difference if looking south or north.

Starting with a objectviewdistance of 600 the fps drops down.
TagsNo tags attached.
Attached Files? file icon init.sqf [^] (410 bytes) 2020-02-05 18:09
? file icon mission.sqm [^] (3,971 bytes) 2020-02-05 18:10
zip file icon perftest.rhspkl.zip [^] (2,017 bytes) 2020-02-05 19:22

- Relationships

-  Notes
(0010233)
Soul_Assassin (administrator)
2020-01-27 09:52

The map is super dense on objects and this is known and expected. Its really designed to have around 500 viewdistance.
(0010234)
Ron4Swat (reporter)
2020-01-27 21:40

The above observations were done on a dedicated server, i made some more tests locally on a hosted game and there are some strange behaviours.

1.) The issue does not appear on a clean map on that magnitude, the effect is still there but much more limited (ca. 20-25%).
2.) the performance drop was observed with AI around the place, but if the AI would be directly a issue the fps would not drop depending on which direction you look at
3.) the heavy fps impact could not be observed with AI placed in the editor for some strange reason, but only when spawned dynamically in the mission
4.) other areas with similiar terrain object count do not have that extreme fps decrease
5.) just walking around 10 m further towards the S while keeping same direction can suddenly remove the 50% fps drop. 10 m further away it could just drop again by same margin.
6.) Interestingly when staying on the spot with low fps and decreasing object viewdistance by 20-30m, it reverses the fps drop again. So the issue does not seem to be the objects nearby, but the objects far away that come into draw distance.


Especially point 5 and 6 seem to indicate to me that there might be a problem beside the amount of terrain objects.

As a guess, i wonder if there might be some objects that show the full polygone count when far away instead of a optimized model. So when in certain spots the polygon amount might increase when these objects suddenly come into view distance and cause that issue.

I checked out other places on the terrain with similiar amount of terrain objects, but did not have an effect that extreme.

Overall the terrain seem to work overall pretty well with a object viewdistance of 1000m as far i have seen.
(0010269)
Ron4Swat (reporter)
2020-02-03 20:03

I tried to find out which objects cause that performance impact, if its the houses or the vegetation and used the "Hide Terrain objects" feature from the Eden editor.

I removed that way easily 95% or more of all objects in the object viewdistance, but had no impact on the fps, it dropped down the same way.

This seems to indicate that it might not be the terrain objects that cause that issue but something else, unless the hiding feature works in a strange way so that the terrain objects are somehow still processed but not shown.

Maybe something like the cell size, which i have seen being mentioned in another terrain being increased, because it caused performance issues there.
(0010273)
Ron4Swat (reporter)
2020-02-04 19:07

I tried the same thing on PKL Legacy as described in previous post, removing all the terrain objects in the object viewdistance with Edens "Hide terrain objects" feature.

On PKL Legacy this had a significant effect, increasing fps by around 70-80%.

Why this has no effect with RHSPKL might be good to know and help to improve performance in that areas where it currently decreases alot.
(0010275)
reyhard (administrator)
2020-02-04 22:15

Are you using some mods perhaps? I tried it and I didn't have any fps drops at all when looking in all directions
(0010276)
Ron4Swat (reporter)
2020-02-05 18:10
edited on: 2020-02-05 18:11

Yes i'm using several mods, but it tried out the terrain without any mods and got also a frame decrease, even so it was more moderate of about 20%, which is not unusual even in other terrains.

I have been doing some more testing and finally have been successful to boil it down to a very simple mission (mission.sqm and init.sqf, both attached) to show the issue, as the heavy fps drop seem to only occur in combination with spawned units.


What the test mission does is:

1.) set viewdistance to 800m
2.) spawn 200 civilians in the S across the river, all have simulation disabled
3.) hide all terrain objects in 900 m radius with the "Hide terrain objects" feature in Eden editor, to exclude the possibility that terrain objects have any influence on fps

When looking N fps is very good, looking S it drops by about 50 %, at least on my system.

Load the mission with PKL legacy and fps are the same in any direction. So the units itself cannot be the cause of the fps drop, there seems to be some bad interaction with RHSPKL.

Interestingly, the amount of groups makes a difference. If the 200 units are spawned in just a few groups the fps drop dissappear. But RHPKL is the only terrain i have ever seen that.

Strangly lowering the object viewdistance to 500 m reverts the 50% fps drop on RHSPKL, even so there are not less terrain objects shown, as they are already all blend out. On PKL Legacy it does not make any difference.

(0010277)
reyhard (administrator)
2020-02-05 19:07

please zip file.
Could you try perhaps try PKL on Arma devbranch?
(0010278)
Ron4Swat (reporter)
2020-02-05 19:23
edited on: 2020-02-05 19:24

zip file with both files included added.

Already tried Arma devbranch to check if the newer version of PhysX might have a impact, but made no difference. Rechecked just today as i downloaded it again for other reasons.


- Issue History
Date Modified Username Field Change
2020-01-26 23:07 Ron4Swat New Issue
2020-01-27 09:52 Soul_Assassin Note Added: 0010233
2020-01-27 09:52 Soul_Assassin Status new => closed
2020-01-27 09:52 Soul_Assassin Assigned To => Soul_Assassin
2020-01-27 09:52 Soul_Assassin Resolution open => not fixable
2020-01-27 21:40 Ron4Swat Note Added: 0010234
2020-02-03 20:03 Ron4Swat Note Added: 0010269
2020-02-04 19:07 Ron4Swat Note Added: 0010273
2020-02-04 22:15 reyhard Note Added: 0010275
2020-02-05 18:09 Ron4Swat File Added: init.sqf
2020-02-05 18:10 Ron4Swat File Added: mission.sqm
2020-02-05 18:10 Ron4Swat Note Added: 0010276
2020-02-05 18:11 Ron4Swat Note Edited: 0010276 View Revisions
2020-02-05 19:07 reyhard Note Added: 0010277
2020-02-05 19:22 Ron4Swat File Added: perftest.rhspkl.zip
2020-02-05 19:23 Ron4Swat Note Added: 0010278
2020-02-05 19:24 Ron4Swat Note Edited: 0010278 View Revisions


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker