hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.37k stars 2.18k forks source link

Bottleneck on Adreno #2007

Closed jumpertwo closed 10 years ago

jumpertwo commented 11 years ago

Maybe you already know this, anyway testing Dragon Ball Shin Budokai 2 (it's just an example,same behaviour on any games) on my Htc One SV (Krait 1.2 ghz, Adreno 305) turns out i can run PPSSPP at about 38 fps averange.

i have seen myself an Xperia Z (Krait 1.5 ghz, Adreno 320),and other devices with Adreno 220 (and different CPU core) reaching the exactly same fps, and than i've seen a Samsung Galaxy S2 (A9 1.2 ghz, Mali 400 MP4) outperforming everything and running the same game/title at fullspeed.Based on my other tests,Krait is not a quantum leap from A9 (it is on paper),but in the worst scenario it should be at least on par with it expecially if they are running at same frequency,than what remains to be blamed is gpu driver i think.According to Adreno Profiler my gpu is only 25-30% busy, same goes with clock.

adreno

i already tried to disable alpha/color tests, everything to make it draw and calculate less, but seems uneffective, conferming that the hardware is pretty fast.how can different platform solutions have same performance if one of them is supposed to be the successor? if someone got a Nexus 4, situation changes with 4.2.2? ( it's supposed to be packed with new Adreno driver)

unknownbrackets commented 10 years ago

It seems like software skinning helped this. Is this still an issue we can debug further?

-[Unknown]

hrydgard commented 10 years ago

It seems that optimizing for Adreno is simply a matter of reducing the number of drawcalls as much as possible, which also helps other devices but not quite as strongly. So yeah, let's close.