Jump to content

GemRB became slower on Android


alx3apps

Recommended Posts

Posted

Edit: new market version 0.6.6 seems to be the latest and the greatest, in case of speed problems you should try it first.

 

Some users reported slow run on Android gemrb versions after 0.6.4. Creating new topic to separate this problem from gemrb inner problems (scripts, etc) and other android specific problems (touch gestures, etc).

 

This slowness were caused by changes in android SDL port, that were added about three months ago.

The problem is - slowness show itself only on some devices.

There were changes in android SDL port targeted on fixing this problem, it would be great, if android users check this version on their devices. If problem remains, please check speed in other versions (I'll add links further), and report your android platform version and actual FPS you've got.

 

What size FPS should be? It depends of device, I think that 25+ is comfortable one, and 10 and lower is unplayable.

To enable FPS counter put "DrawFPS=1" into your GemRB.cfg.

 

Versions for testing (please check the first one, and check other in series, until you step onto fast one):

1) last GemRB with last SDL wrapper

2) last GemRB with July 28 version of SDL wrapper

3) older GemRB, September 8 SDL wrapper

4) older GemRB, July 1 SDL wrapper

5) older GemRB, June 1 SDL wrapper

6) version from Android Market

 

To improve speed you should set "Bpp=16". I've got 20-25% speed improvement of this. Also "AudioDriver=none" must improve speed slightly (all sound will be disabled).

 

Hope for your help!

Guest tufty1074
Posted
Some users reported slow run on Android gemrb versions after 0.6.4. Creating new topic to separate this problem from gemrb inner problems (scripts, etc) and other android specific problems (touch gestures, etc).

 

This slowness were caused by changes in android SDL port, that were added about three months ago.

The problem is - slowness show itself only on some devices.

There were changes in android SDL port targeted on fixing this problem, it would be great, if android users check this version on their devices. If problem remains, please check speed in other versions (I'll add links further), and report your android platform version and actual FPS you've got.

 

What size FPS should be? It depends of device, I think that 25+ is comfortable one, and 10 and lower is unplayable.

To enable FPS counter put "DrawFPS=1" into your GemRB.cfg.

 

Versions for testing (please check the first one, and check other in series, until you step onto fast one):

1) last GemRB with last SDL wrapper

2) last GemRB with July 28 version of SDL wrapper

3) older GemRB, September 8 SDL wrapper

4) older GemRB, July 1 SDL wrapper

5) older GemRB, June 1 SDL wrapper

6) version from Android Market

 

Hope for your help!

 

I only jumped on the GemRB bandwagon a few days ago and my experiences are this:

 

Any of the versions of GemRB posted above plus the market versio play BG1 + TOTSC at 25-30 fps on both my Asus Transformer pad and my EVO 4G phone. If I try to play a BGT install using the BG2 engine on my tab, then it drops to around 10-15 fps outside and goes back to 30 when inside. It seems to make no difference what version of the app or SDK I use. Haven't tried BGT on the phone due to lack of storage space.

 

I haven't tried a vanilla BG2 game to see if it's the BG2 engine that is slowing things down, or the modded files from BGT. If I get a chance to try it I will post the answer.

Posted

since you're trying with gemrb, the engine is always the same (the differences are in the details). I suspect some unoptimal/unoptimised modding.

Posted
since you're trying with gemrb, the engine is always the same (the differences are in the details). I suspect some unoptimal/unoptimised modding.

He says it slows down when outside (maybe large areas).

I think we hit the memory limit, it could probably be fixed if we load tiles on demand.

Posted

Abits,

could you post actual FPS you've got in market and (1) versions? AFAIK, you are running android 2.3.

 

Also, forgot to add this to op-post:

To improve speed you should set "Bpp=16". I've got 20-25% speed improvement of this. Also "AudioDriver=none" must improve speed slightly (all sound will be disabled).

Posted
Abits,

could you post actual FPS you've got in market and (1) versions? AFAIK, you are running android 2.3.

 

Also, forgot to add this to op-post:

To improve speed you should set "Bpp=16". I've got 20-25% speed improvement of this. Also "AudioDriver=none" must improve speed slightly (all sound will be disabled).

How can I see fps? And bop is already 16 in my cfg file

Posted

One request please, could someone of moderators add this line to the top of the op-post in bold:

 

Edit: new market version 0.6.6 seems to be the latest and the greatest, in case of speed problems you should try it first.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...