iOS perfomance problem 4.8p3

Work on my own project, and after move to 4.8p3 have perfomance drop.
Engine downloaded from Louncher in Windows.

Project is same, just converted to 4.8p3

Maybe UE4Game build in debug or somthing?

4.7.6

4.8p3

Screens from iPhone 5S, Metal

Hi BorodMorod,

When you say ‘converted to 4.8p3’, did you actually choose the ‘convert in place’ option, or did you make a copy of your project for use in the preview? Convert in place sometimes does strange things to project blueprints.

If that was the case, can you try making a copy of your 4.7.6 version project and opening it in the 4.8 preview?

make some research… all is bad… some troubles with rendering.
ok, lets start,

Test 1.
1.1 Remove all blueprints from scene
1.2 Remove all lights, all reflection spheres.
1.3 On scene static meshes and skylight (static) only. (all is baked)
1.4 Remove skylight and bake, have massive perfomance boost (look at pictures.

Test 2.
2.1.Have full scene.
2.2 Remove skylight(static)
2.3 Remove all SceneCapture(using for image on TV) and SceneReflection
2.4 Remove all lights.Scene have only one Directional Stationary light, all lights is static.

SunTemple demo

Ok, I gotcha, thanks for the results. Did you see my above question?

Oh, sorry. In first time i’m try to “convert in place”, second time try to “copy and convert”.
Also tried for Sun Temple, make clean project in 4.8, open Sun Temple in 4.7.6, migrate map with all dependencies in 4,8 project and run

Where i can get 4.8 vesion of Sun Temple? in my Epic Games Launcher only 4.7.6

I tried to launch SunTemple 4.7 project with 4.8p3 engine with “Skip conversion”, the problem remains.

Right, sorry, I looked and they have not updated it to the 4.8 version yet, it won’t be updated until the 4.8 official. It will be easier to tell what actual performance will look like with the official release, which should be very soon.

In the meantime I will continue to look into what might be causing this in the previews.

Hi BorodMorod,

Do you mind making a copy (do not use convert at all, just make a copy) of your project and opening in the most recent 4.8 preview 4 and checking your results?

Hi wittlief,

I’m going to Launcher, download SunTemple 4.7.6, open a folder.
Double click on “SunTemple.uproject”

See menu for choosing engine version (have 4.8 only)

Editor opens, open “Project Settings/iOS” disable OpenGL ES2, Only Metal.

Hit “Lounch on”

Wait until packing, and run on my device.

Have 20 fps.

Hmm, change Only OpenGL ES2, have 35-40 fps. it’s better when Metal

Can you try to reproduce this bug?

Hi BorodMorod,

Our internal iPhone 5s is set to OS 7, and cannot be upgraded for testing purposes. I checked the historical FPS data for it, and it’s been consistently at about 30 FPS for Sun Temple since April. So there’s no way I’m going to be able to accurate internally reproduce what you’re seeing on your device. At this point, I am going to close this as resolved as the previews are not a finished product and should not be used for any sort of predictions of how FPS data is going to play out.

When the official release drops and you do further testing, we can reopen this issue if you are still seeing performance drops.

Thanks.

Hi wittlief,

i’m using “stat startfile” “stat stopfile” on device for generate profiler info.
Maybe it provide more detiled data for you

https://dl.dropboxusercontent.com/u/26664093/SunTemple.zip

In SunTemple.zip two files. 1 - Metal rendering, 2 - GLES2 rendering

4.8p4, iPhone 5s. iOS 8.3

Hi wittlief,

UE 4.8.0 Release from launcher
SunTemple v4.8 From launcher

Problem still present

Can you try reproduce it? with same settings?
Try Only Metal and Only GLES2. Start on device, touch 4 fingers and print in device console “stat raw” “stat fps”

if you have no iphone 5s with ios8, can you tray on another device with metal? iphone 6 or air?

Anecdotally we are seeing a similar performance drop in our game of approximately 20-30fps on Metal . We’re having trouble with the game crashing on load at the moment, so we can’t get additional data right now, but I thought I’d mention that BorodMorod’s issue doesn’t appear to be an isolated case.

Hi all,

I was able to obtain a 5s with 8.3 and made some comparisons. I was able to reproduce the performance drop between 4.7.6 and 4.8, and have reported it. For reference, the issue number is UE-17455. I will update this thread when I have more information concerning the status of the issue.

Thanks!

Just a friendly bump about this issue - it’s currently blocking QA on our game which is nearing RC. Has there been any progress, or is there anything we can do on our end pre-emptively to address this?

Hi Crinity,

Unfortunately, there isn’t much I can report at this juncture; there are a couple of Metal related issues that I know are being investigated, however neither are slated to for fixing prior to the 4.9 release, and even that is not at all a certainty. The only workaround we can see right now is that the perf drop does not seem to occur if Metal is disabled in the editor.

I will definitely update this thread when I have more information.

I’ve been able to reproduce this here. Preliminary results show me that every draw call in the forward pass has increased the time it takes to render on the GPU. This is most likely due to the change in lighting model, but I am still trying to track it down.

-Pete