Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
MoveMusic's avatar
MoveMusic
Protege
4 years ago

`GetAvailableDisplayFrequencies` Function Broken for XR API: "OVRPlugin OpenXR"

I am developing an Unreal Engine app for Quest and recently moved from the Oculus XR API, "Legacy OVRPlugin", to the XR API, "OVRPlugin OpenXR".

After moving to the"OVRPlugin OpenXR" XR API, the Oculus library function `GetAvailableDisplayFrequencies` just returns an empty array instead of a legitimate list of the possible display frequencies. 

I am still able to set the display rate with `SetDisplayFrequency`. I am just unable to check the available frequencies. It would be helpful if I was able to check the available frequencies so I could always choose the highest frame rate option from the list. (Although this may not usually be best practice, it is very necessary for my particular app.)

4 Replies

Replies have been turned off for this discussion
  • pro_zac's avatar
    pro_zac
    Meta Employee

    I encountered the same issue and reported it. The bug is fixed in an upcoming OVRPlugin release.

  • IKARUS3D's avatar
    IKARUS3D
    Honored Guest

    Apparently when submitting my app they asked for 72 Hz refresh rate for quest 2 but its too low for quest 3 and since get available frequencies is giving an empty array I have to hard code it on the minimum of 72 , I could go to 80 Hz easily but then I have to drop quest 2, Isn't there any way I could make it variable.