Skip to main content
Up and Coming
May 11, 2017

Horribly slow fps on galaxy s8

As stupid as it might sound, we are getting incrementally worse performance for our GearVR app on Samsung Galaxy devices. s6 performs the best at ~60fps, s7 at ~57-60 and s8 at ~25-30. We've tried unity versions 5.6.0f3 and 5.5.1f1 with similar results. We have also tried Oculus Utilities v1.13.0 and v1.14.0. Has anyone else faced similar issues?

The profiler shows substantially high amount of time for Camera.Render for s8(~12ms) than s7(~3-4fps).

/parth
This topic has been closed for replies.

56 replies

Inspiring
May 17, 2017
Hi Parthdarji

So far, from my testing,  Unity 5.3 and 5.4 don't have the issue ( I tested  5.3.7p4  and 5.4.3p4 )
Start from Unity 5.5, the problem start happening.
Inspiring
May 17, 2017
To HoldenTB

I'm not quite sure if it is the same problem,  the problem Parthdarji described is only on Qualcomm S8 and it is on the CPU side.

For gpu issue,  we do see GPU regression from 5.3 to 5.4 and 5.5 to 5.6 on MALI phones, which can lead longer gpu wait time,  can you confirm you phone model ?   btw, a repro project is always welcome

Thanks
Inspiring
May 19, 2017
Hey Parthdarji

I'm able to find the issue.  Unity 5.5/5.6 ( or maybe even later version of 5.4 ) are using new logic to detect big.LITTLE core,  unfortunately, there is a bug , which eventually results unity main thread running on the little core of Qualcomm S8, then more than half of the cpu power is gone.

I had sent my fix to Unity and asking for a patch, will update here again once we got a release schedule ( should be soon )

Before that,  probably Unity 5.4.3p4 is a good version  




Up and Coming
May 19, 2017

JianZ said:

Hey Parthdarji

I'm able to find the issue.  Unity 5.5/5.6 ( or maybe even later version of 5.4 ) are using new logic to detect big.LITTLE core,  unfortunately, there is a bug , which eventually results unity main thread running on the little core of Qualcomm S8, then more than half of the cpu power is gone.

I had sent my fix to Unity and asking for a patch, will update here again once we got a release schedule ( should be soon )

Before that,  probably Unity 5.4.3p4 is a good version  






Hi JianZ,

Thank you very much for helping out with the issue.

My initial tests suggest that Unity 5.4.3p1 works well on the S8 on the sample project. I am trying to downgrade my project to 5.4.3p1, but it looks like the downgrade would have to be done manually (because of API changes) and before I invest time in doing that, it would be helpful to know an estimate release date for the patch. Do you have a timeline on the release?

Also, not sure if this would be an unreasonable request, but is it in any way possible to get this version of the update individually before it gets released?

/parth
Inspiring
May 19, 2017
this is up our partner Unity, I had asked them handle this ASAP since this is very serious issue.
But no eta so far.  My personal estimate would be a few weeks for patch release ( note personal opinion).

and we have no right to release local compiled version


thanks

Up and Coming
May 19, 2017

JianZ said:

this is up our partner Unity, I had asked them handle this ASAP since this is very serious issue.
But no eta so far.  My personal estimate would be a few weeks for patch release ( note personal opinion).

and we have no right to release local compiled version


thanks



Thank you again for the update.

I might be shooting an arrow in the dark, but is this scenario possible:
With Oculus Utilities 1.14.0, there is a way to use the plugin downloaded from the store and not the one shipped with Unity. Is it possible that a next update of OVRPlugin fixes this issue without Unity's involvement in it?

/parth
Inspiring
May 19, 2017
No, this is a general Unity Android issue, not even related with VR,  ovrPlugin has nothing to do with it.
Inspiring
May 19, 2017
JianZ, I really appreciate your efforts on this.  Looking forward to that patch in the coming weeks!
Titans of Space PLUS for Quest is now available on DrashVR.com
Up and Coming
May 23, 2017
Big thanks for bringing this up, I´ve been laughing and crying trying to get my build working and just when I managed to balance my optimiaztions this comes up.  I hope they patch soon but at least can focus on some new things in the meantime and not waste my time because of bug Unity in their Android stuff. Keep us posted on the issue.
Up and Coming
May 24, 2017

JianZ said:

Hey Parthdarji

I'm able to find the issue.  Unity 5.5/5.6 ( or maybe even later version of 5.4 ) are using new logic to detect big.LITTLE core,  unfortunately, there is a bug , which eventually results unity main thread running on the little core of Qualcomm S8, then more than half of the cpu power is gone.

I had sent my fix to Unity and asking for a patch, will update here again once we got a release schedule ( should be soon )

Before that,  probably Unity 5.4.3p4 is a good version  






For anyone who stumbles across this thread, here a report on Unity 5.4.3p4 downgrade:
1. The downgrade will most likely break all your UI for the project, so you will have to practically rebuild the entire thing again.
2. The performance definitely increases, but Anti Aliasing of 4 or more would again bring you back to practically the same performance as 5.6
3. 5.4.3p1 doesn't have Single Pass Stereo rendering, so you'll have double the draw calls.
4. The app still doesn't run at 60fps on the S8 after rebuilding it - the performance fiddles between 40-55 whenever a UI is in view. Without the UI, the fps is 60. The same app performs at 60fps on both S7 and S6.

HTH.