Skip to main content
Participating Frequently
June 18, 2015
Question

renderMode gpu on iOS -- severe performance degradation in AIR 18?

  • June 18, 2015
  • 2 replies
  • 1795 views

Hi All,|

We just moved to AIR 18 (from AIR 15) in order to meet with Apple's new requirement about 64-bit applications.

We noticed a severe performance degradation (2-3 FPS) on iOS devices when playing a certain animation with a couple of large image files (1000x600).

In the first couple of times the animation playback was smooth, but after a couple of minutes into the game, the animation suddenly starts to lag, until an application-restart is required.

This does not happen on Android devices.

This issue does not occur on AIR 15


Using Scout, we noticed that "Decompressing Images" is responsible for 99% of the frame's time.

We suspect that the GPU is not correctly cleared, and that the runtime is kept endlessly busy swapping images.

We managed to test this by deliberately choking up the GPU on AIR 15 & 18, and indeed in AIR 18 the runtime slowly degrades.

Please advice on what to do, as we can't upgrade our application in the App Store until this issue is resolved.


Thanks


Eyal

This topic has been closed for replies.

2 replies

tdwivedi
Adobe Employee
Adobe Employee
July 2, 2015

Hi Eyal Katz,

We have been able to reproduce earlier, and our findings have been similar to what you have mentioned, ie. we were able to see FPS drops in Scout, specially for Decompressing Images. But the issue was happening intermittently, and more importantly, we were not able to see any significant effect on the device's screen. We could see fps drops in between, but as we weren't seeing noticeable effect on the screen So, we were keeping the priority low.

We would love to work on this issue if it is causing performance degradation in the actual application, as you have mentioned.

But we will need some detailed information about the issue.

1. Exact iOS version(s) on which you are facing the issue.

2. What is the effect you are seeing on the screen, can you share a video or a sample app in which similar behavior is reproducible?

3. Which AIR build (15.x.x) you were using earlier (in AIR 15, where it was working fine) and now (in AIR 18, where it is causing performance issue)?

-Tushar,

Adobe AIR Team

Eyal_KatzAuthor
Participating Frequently
July 2, 2015

Hi Tushar,

Thanks for the help, we're in great need for you guys' attention on this... here is my reply to your questions:

1.

We experience this issue in many iOS 8.X versions, for example iOS 8.3 (12F70)

2.

The following video clearly shows how an animation is lagging after playing the game for about 4-5 minutes.

https://dl.dropboxusercontent.com/u/14766452/techs/flash/ios-air-18/video1.mp4

The following videos shows the same animation - with slight lags - after 2-3 minutes of gameplay.

Notice the lags around time 00:03 of the video.

https://dl.dropboxusercontent.com/u/14766452/techs/flash/ios-air-18/video2.mp4

Before that, the very same animation runs smoothly.

On AIR 15, this animation was running smoothly all of the time, even after hours of gameplay.



3.

The same application runs without any issues on AIR 15.0.0, build 356.

The issues reported here were noticed on AIR 18 build 144.

Actually, we also noticed these issues while running our application on AIR 16 and even 17.

*

Can you give us your first impression of what's going on?

We're highly interested in any details regarding this issue as we can't publish our games in iOS until this is resolved, and we want to be able to give our customers and backers some information and time estimations...

Again, thank you very much for the help, and we hope to hear from you soon,

Eyal

tdwivedi
Adobe Employee
Adobe Employee
July 9, 2015

Hi Eyal Katz,


We have tried reproducing this issue using few sample applications at our end, but this behavior wasn't replicated. We would like to work closer to the scenario you are working with, to ensure we are able to find the problem sooner. Can you provide a sample AIR project, in which you are able to reproduce this issue?


-Tushar,

Adobe AIR Team

smolho
Participant
June 29, 2015

Strongly upvoting this post - we also encountered this severe issue while moving our iOS application from AIR15 to AIR18.

After continuously adding and removing large images on screen, the application start to slow down, and Scout shows it's all on "Decompressing Images".

The thing is, that the app never recover from this - I would expect removing all images from screen and then adding just some will improve performance, but there seems to be an overall degredation.

We're just stuck.

We can't publish any iOS applications until this issue will be fixed.

Anyone from Adobe, can you answer on this? this is the community official forum after all...