# How to change Oculus Quest 2 display refresh rate with OpenXR?

**URL:** <https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387>\
**Category:** XR Development\
**Tags:** oculus-quest, unreal-engine, question\
**Created:** [October 29, 2021, 12:46pm UTC](https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387 "2021-10-29T12:46:54Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![jvlp\_poplab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jvlp\_poplab](https://forums.unrealengine.com/u/jvlp_poplab)\
**Post date:** [October 29, 2021, 12:46pm UTC](https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387/1 "2021-10-29T12:46:54Z")

</div>

Hello! I’m trying to change the display refresh rate on a Quest 2 through Blueprint. With the Oculus VR plugin there is a node that will do exactly what I need (Set Display Frequency) but with the OpenXR plugin I could not find anything to do so. Any ideas on how to solve this?

---

<div class="post-metadata">

**Author:** ![Rectus\_SA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rectus\_SA](https://forums.unrealengine.com/u/Rectus_SA)\
**Post date:** [October 29, 2021, 5:10pm UTC](https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387/2 "2021-10-29T17:10:52Z")

</div>

The refresh rate seems to be set with the [XR\_FB\_display\_refresh\_rate](https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_FB_display_refresh_rate) OpenXR extension, and that doesn’t seem to be implemented currently for UE4. You will either have to wait for it to be implemented, or write a plugin for it yourself (check that Facebook has actually implemented the extension for the platform you are developing for first).

---

<div class="post-metadata">

**Author:** ![jvlp\_poplab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jvlp\_poplab](https://forums.unrealengine.com/u/jvlp_poplab)\
**Post date:** [November 9, 2021, 1:17am UTC](https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387/3 "2021-11-09T01:17:14Z")

</div>

Thanks for your answer! I guess I’ll wait for it to be implemented since writing a plugin isn’t anything near my programming skills.

---

<div class="post-metadata">

**Author:** ![Tim\_Arterbury](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tim_arterbury/32/266094_2.png) [@Tim\_Arterbury](https://forums.unrealengine.com/u/Tim_Arterbury)\
**Post date:** [February 7, 2022, 9:37pm UTC](https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387/4 "2022-02-07T21:37:09Z")

</div>

I would also like to know how to do this.  
Has some function like this been implemented since the original post?

I am developing for Oculus Quest. I just moved from the Oculus XR API “Legacy OVRPlugin” to the Oculus XR API “OVRPlugin OpenXR”. The Oculus functions `GetDisplayFrequencies` and `SetDisplayFrequency` no longer work in my app, so I assume I need to call some similar functions in the OpenXR API, but I have not found how to do this.

---

<div class="post-metadata">

**Author:** ![Tim\_Arterbury](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tim_arterbury/32/266094_2.png) [@Tim\_Arterbury](https://forums.unrealengine.com/u/Tim_Arterbury)\
**Post date:** [February 7, 2022, 10:07pm UTC](https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387/5 "2022-02-07T22:07:52Z")

</div>

After investigating my problem further, it seems the Oculus library function `SetDisplayFrequency` does properly work with the “OVRPlugin OpenXR” API (at least as of v37 OS and Oculus Unreal Engine 4 integration). **But, the function `GetDisplayFrequencies` is broken in that XR API.**

I have made a post in the Oculus forum about this:  
[https://forums.oculusvr.com/t5/Unreal-VR-Development/GetAvailableDisplayFrequencies-Function-Broken-for-XR-API-quot/td-p/943965](https://forums.oculusvr.com/t5/Unreal-VR-Development/GetAvailableDisplayFrequencies-Function-Broken-for-XR-API-quot/td-p/943965)

---

<div class="post-metadata">

**Author:** ![jvlp\_poplab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jvlp\_poplab](https://forums.unrealengine.com/u/jvlp_poplab)\
**Post date:** [February 10, 2022, 8:22am UTC](https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387/6 "2022-02-10T08:22:52Z")

</div>

Hi Tim!

I have a question for you: are you using the SetDisplayFrequency function through Blueprint or C++ code?

---

<div class="post-metadata">

**Author:** ![Tim\_Arterbury](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tim_arterbury/32/266094_2.png) [@Tim\_Arterbury](https://forums.unrealengine.com/u/Tim_Arterbury)\
**Post date:** [February 10, 2022, 1:46pm UTC](https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387/7 "2022-02-10T13:46:55Z")

</div>

I’m using it in Blueprint.

---

<div class="post-metadata">

**Author:** ![JJRV](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jjrv/32/492647_2.png) [@JJRV](https://forums.unrealengine.com/u/JJRV)\
**Post date:** [June 3, 2022, 10:43pm UTC](https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387/8 "2022-06-03T22:43:10Z")

</div>

Hi, do you guys had any success in changing the fixed 72Hz from blueprint?

---

<div class="post-metadata">

**Author:** ![JJRV](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jjrv/32/492647_2.png) [@JJRV](https://forums.unrealengine.com/u/JJRV)\
**Post date:** [June 4, 2022, 1:24pm UTC](https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387/9 "2022-06-04T13:24:49Z")

</div>

Ok, it works, but only in 4.26.2.  
Unreal Engine 5 has sent VR to oblivion for now.

---

<div class="post-metadata">

**Author:** ![Sir\_davis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sir\_davis](https://forums.unrealengine.com/u/Sir_davis)\
**Post date:** [February 24, 2024, 6:29am UTC](https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387/10 "2024-02-24T06:29:18Z")

</div>

I aplogize for necroing this thread, but I am quite stuck and would appreciate any pointers.  
I’ve updated to 5.3.2, have the newest v62 Meta XR and Meta platform Plugins.  
I’ve set it all up with the help of this guide:

> [@Community Tutorial: Unreal Engine 5.3.2 for Meta Quest VR](https://forums.unrealengine.com/t/community-tutorial-unreal-engine-5-3-2-for-meta-quest-vr/1376911/39):
>
> Hi! Followed the guide carefully, managed to set up everything, but my project build fails. I’ve been at it for a while, but I was not able to fix the issue. I get a whole lot of these errors: UATHelper: Packaging (Android (ASTC)): ld.lld: error: undefined symbol: ovr\_ApplicationOptions\_SetDestinationApiName referenced by OVRPlatformOptionsConverters.h:95 So I believe the MetaXR Platform is the one at fault. I installed UE 5.3.2 as instructed in the guide, However, the MetaXR 60 plu…

But packaging was only successful after applyin this fix:

> **[How do you install the Oculus platform SDK for unreal engine](https://communityforums.atmeta.com/t5/Unreal-VR-Development/How-do-you-install-the-Oculus-platform-SDK-for-unreal-engine/td-p/1066878)**
>
> I'm confused by how to install the oculus platform SDK as shown in https://developer.oculus.com/downloads/package/oculus-platform-sdk/       I have downloaded the SDK, but I do not know where to put these files  Is there...

Now the app packages and runs on quest, but this is where my issue comes into play.  
The main reason for migrating my project to 5.3.2 was to access the get and set Display Frequency functions.  
These however, do not seem to work.  
I’ve been at it for a long time, but my app, once packaged, has the limit of 72 FPS.  
It would doubtlessly run higher, but it is capped. Before I resubmit it was requested to increase it to 80, but my every attempt has failed.  
Any ideas would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![VictorLerp](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/victorlerp/32/738381_2.png) [@VictorLerp](https://forums.unrealengine.com/u/VictorLerp)\
**Post date:** [June 4, 2024, 4:53pm UTC](https://forums.unrealengine.com/t/how-to-change-oculus-quest-2-display-refresh-rate-with-openxr/490387/11 "2024-06-04T16:53:07Z")

</div>

Hey @Sir_davis, if you run “GetAvailableDisplayFrequencies” and you don’t see 120 as the last index in that array, make sure you have `quest3` in Project Settings → Android → Advanced APK Packaging → `Extra Settings for <application>`. In 5.3 it does not get added by default when you check “Package for Meta Quest devices”, but you can add it manually like so:

`<meta-data android:name="com.oculus.supportedDevices" android:value="quest2|quest3|questpro" />`

If you do see the function return 72/80/90/120 and you run Set Display Frequency with a value other than 72, but you’re not seeing the application run at a higher framerate, you’re bottlenecked by performance. I was able to get the VR Template to run at a steady 120 fps for reference.

I hope that helps!
