Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
vescomstudios's avatar
vescomstudios
Honored Guest
8 years ago

Are CPU and GPU levels working?

Dear VR
Brotherhood,



we’re finishing developing of gear VR game
based on Unity. So far everything was pretty much ok. Unfortunately recently
we’re suffering from decreased performance. Trying to resolve these we’ve been
removing unnecessary things from scenes and optimizing game with OVR plugin
options. In doing so we’ve found some troubling issues:



- Cpu and
gpu levels set via “OVRPlugin.cpuLevel” and “OVRPlugin.gpuLevel” accessors had
none impact on performance nor framerate.



- VSync
embedded into Oculus SDK is snapping very rapidly from 60 to 30 frame per
second. (Unity vSync is disabled.)



- Changing
cpu or gpu levels was disabling (we’re guessing here) said vsync for a brief
moment resulting in peak of framerate.



Above
mentions and some testing breed questions:



- Have
anyone ever experienced something similar?



- Is it a
bug or intended behaviour?



- Are cpu
and gpu levels some kind of obsolete or disabled code? (We’re been checking
reference for such but found none information on it).



- What are
real available levels for CPU and GPU? Reference mentions 0-2, but there are
forum posts suggesting 0-3. And plugin accepts anything (even negative numbers)
without error, warning nor clamp of values.



 



Some
reference to previous posts on this subject:



https://forums.oculus.com/developer/discussion/23675/default-cpu-gpu-throttling-level-for-unity-applications



https://forums.oculus.com/developer/discussion/42111/automatically-set-cpu-gpu-levels



 

2 Replies

Replies have been turned off for this discussion
  • r0b0saru's avatar
    r0b0saru
    Expert Protege
    I just experienced this issue. I was also incorrectly setting CPU and GPU scale via OVRPlugin. It worked until recently, but in the latest updates seems to have no effect. OvrManager.cpuLevel and OvrManager.gpuLevel work fine though. 

    Unfortunately it took me 24 hours of me trying to work out what I did to break performance in my game before I realized this was the cause! zzzzz Luckily this forum exists or I would still be none the wiser...