Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
hardhotsweet's avatar
11 months ago

Changing GPU Performance in a Native Quest app?

I have a mixed reality app running on Quest 3.  I wrote it using OpenXR and Vulkan.  It's written in C/C++, running in a native activity.  How do I change the CPU/GPU performance level?  vrapi is no longer supported.  Is there a way to do this using OpenXR or OVR (Oculus Platform SDK)?  I downloaded ovr_platform_sdk_72.0 and there is no documentation for this.  Even in general, the Oculus Platform SDK seems poorly documented.

Anyway how do I change the CPU/GPU performance level during runtime?

https://developers.meta.com/horizon/documentation/native/android/os-cpu-gpu-levels#setting-cpu-and-gpu-levels

Meta's webpage says use the functions ovrp_SetSuggestedCpuPerformanceLevel and ovrp_GetSuggestedGpuPerformanceLevel but they are undocumented.  They aren't listed anywhere in the ovr platform sdk.  Also, none of the functions in the SDK start with ovrp_ they all start with ovr_ it doesn't make sense.  Where are the functions?

1 Reply

  • In OpenXR the function is xrPerfSettingsSetPerformanceLevelEXT.  If someone could update the website to point to the correct function.  Thanks.