★ TouchArcade needs your help. Click here to support us on Patreon.

Experiencing slight lag in some games

06-25-2009, 09:37 AM
#1
Joined: Apr 2009
Location: 夣胧桃源
Posts: 1,869
Experiencing slight lag in some games

Starting around yesterday, I experienced slight lag in a few games I have, including DDR-S, Zenonia, and Castle of Magic, the most noticeable being DDR-S, which is also a killer because lag means it's impossible to tap the arrows at the exact time. With Zenonia the character would freeze for a fraction of a second, but does not happen too often. With Castle of Magic, the cutscenes' framerate is slightly reduced. I have restarted my iPhone twice now, and I did not download anything except games, or change any settings. It's also not a low disk space problem because I've had 2GB free space for at least a month now, and now it's still 2GB free space.
Did anyone else experience this or know of a solution?
Edit: I'm using FW 2.2.1, not 3.0.

Last edited by Aurora; 06-25-2009 at 12:39 PM.
06-25-2009, 10:46 AM
#2
Is the device jailbroken?

06-25-2009, 11:35 AM
#3
Joined: Nov 2008
Location: San Francisco
Posts: 430
When Apple Introduced 3.0 they changed some of the Audio Session.

One of the sessions in 2.2.1 would use the Hardware to decode compressed audio (such as Mp3).

In 3.0 that same session now uses Software to decode compressed audio.

That decompression will impact performance. That's why we had to put out an update to Top Gun.

I've made a lot of games. You've played them.
06-25-2009, 12:38 PM
#4
Joined: Apr 2009
Location: 夣胧桃源
Posts: 1,869
Oh I forgot to mention, I did not upgrade to 3.0 due to hesitations about restoring all app data after jailbreaking it again (and jailbreaking it again is a nasty process to start with).
06-25-2009, 02:13 PM
#5
Joined: Mar 2009
Location: USA
Posts: 1,944
I'm experiencing SEVERE slowdowns from Flight Control and Harbor Master, funny that they're both the same genre. App opening times are also a little slower... music turned off for both of those games but they still have framerate issues. Hope this gets fixed sooner or later.
06-25-2009, 02:30 PM
#6
Joined: Oct 2008
Location: Toronto Canada
Posts: 863
Quote:
Originally Posted by Hippieman View Post
When Apple Introduced 3.0 they changed some of the Audio Session.

One of the sessions in 2.2.1 would use the Hardware to decode compressed audio (such as Mp3).

In 3.0 that same session now uses Software to decode compressed audio.
Can you elaborate? According to the docs you still get 1 hardware decoded track, and the rest are decoded in software where previously the software decoded tracks would simply fail to play. I can see this being a problem if a game tries to play music over existing iPod playback but I'd think the noise would tip the user off in that case.

As far as general slowdowns are concerned, system background tasks (especially network access) can really destroy performance in games. OS 3.0 might be worse in that regard than 2.x and some games may be more prone to those effects depending on the aggressiveness of their run loops/threads.

SHREDD GO FAST! FREE!
Nozoku Rush Kick Math's Ass!
Critter Panic Break yer brain! FREE!
Silverfish & Silverfish MAX Hardcore arcade insanity!
Nozoku A casual game of math & logic.
More: cbox.me Twitter YouTube
06-25-2009, 02:37 PM
#7
Joined: Nov 2008
Location: San Francisco
Posts: 430
Quote:
Originally Posted by Frank Condello View Post
Can you elaborate? According to the docs you still get 1 hardware decoded track, and the rest are decoded in software where previously the software decoded tracks would simply fail to play. I can see this being a problem if a game tries to play music over existing iPod playback but I'd think the noise would tip the user off in that case.

As far as general slowdowns are concerned, system background tasks (especially network access) can really destroy performance in games. OS 3.0 might be worse in that regard than 2.x and some games may be more prone to those effects depending on the aggressiveness of their run loops/threads.
You do, they just changed the audio session a lot of us use. Now we need to set our games to AmbientSolo or Mediaplayback, where before it was just Ambient.

I've made a lot of games. You've played them.
06-25-2009, 05:35 PM
#8
Joined: Oct 2008
Location: Toronto Canada
Posts: 863
Quote:
Originally Posted by Hippieman View Post
You do, they just changed the audio session a lot of us use. Now we need to set our games to AmbientSolo or Mediaplayback, where before it was just Ambient.
So, if your session is set to Ambient you *always* get software decoded audio? Yikes, sounds like a bug or at least poor planning on Apple's part - first-come-first-served would make more sense IMHO.

SHREDD GO FAST! FREE!
Nozoku Rush Kick Math's Ass!
Critter Panic Break yer brain! FREE!
Silverfish & Silverfish MAX Hardcore arcade insanity!
Nozoku A casual game of math & logic.
More: cbox.me Twitter YouTube
06-25-2009, 11:40 PM
#9
Joined: Sep 2008
Location: Washington, DC
Posts: 1,151
Quote:
Originally Posted by theone1007 View Post
I'm experiencing SEVERE slowdowns from Flight Control and Harbor Master, funny that they're both the same genre. App opening times are also a little slower... music turned off for both of those games but they still have framerate issues. Hope this gets fixed sooner or later.
RE Harbor Master - Thanks for reporting this. Do you have a lot of push notifications coming in? We tested extensively on 3.0 and had no speed problems. What device are you using?
06-25-2009, 11:55 PM
#10
Joined: Jul 2008
Location: Orlando, FL
Posts: 4,491
Quote:
Originally Posted by theone1007 View Post
I'm experiencing SEVERE slowdowns from Flight Control and Harbor Master, funny that they're both the same genre. App opening times are also a little slower... music turned off for both of those games but they still have framerate issues. Hope this gets fixed sooner or later.
Aren't you on a 1st gen iphone like I am?

If so it's an issue with push notifications. Both games have a lot of things happening at once (Adding more vehicles, different speeds, creating paths, keeping score), 1st gen is already pretty low on speed, add the overhead that runs cell functions, and the added strain of the constant connection with Apple's server and you have some serious slowdown.

I've had some bad issues with it on many games and even had my iphone become blazing hot in the simplest tasks.

Turns out it also had to do with ATT not allowing data connections on prepaid plans in order to force me into a contract (I wish I could sue ATT, seriously). Just like with a normal cell if you can't get a signal it will keep searching until it gets something. Well the connection with the Apple push server is the same way.

While playing a game the firmware is still checking. My best guess is that if a connection is found it will stop wi-fi and put me on EDGE so I conserve battery power. But since I don't have a data plan it keeps me on wi-fi but loops the check over EDGE.

After a jailbreak I disabled EDGE and all games are working just like they should.

Hope That Helps!
Cheers