question

Stephanie-3983 avatar image
0 Votes"
Stephanie-3983 asked SajidFarooq-7109 commented

Framerate on tutorial Unreal app for Hololens 2 is 15 FPS

I created an app for Hololens 2 using Unreal and following all steps of the chess tutorial instructions (https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unreal/tutorials/unreal-uxt-ch1). It sounds like 60 FPS should be possible and is ideal for apps on Hololens 2 (https://docs.microsoft.com/en-us/windows/mixed-reality/develop/platform-capabilities-and-apis/hologram-stability). However, the app is consistently running at 15 FPS, according to both Unreal's stat fps command and the Hololens framerate counter display. The same is true in all apps I have created in Unreal. The framerate is 60 FPS for the main menu and when running non-Unreal apps such as Tips.

How do you get the tutorial Unreal app to run at 60 FPS on Hololens 2?

hololens-development
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SarahZhang-MSFT avatar image
0 Votes"
SarahZhang-MSFT answered SajidFarooq-7109 commented

Hello, Welcome to Microsoft Q&A,

Have you built the application with the non-debug mode? Using debug mode to build the application will increase the burden of the program and slow down the efficiency of the operation. For your case, you can consider building the project as the shipping version to achieve the best performance. Besides, to optimize the performance of programs, we would also suggest you use the real device to test the program instead with using the editor remote streaming.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have been testing on the device, not remote streaming. The build configuration was Development. I realized that by executing some Unreal console commands for stats for debugging, it was actually slowing the frame rate. When I removed those stats, the framerate was 30 FPS per the Hololens framrate counter display. It is still 30 FPS in shipping. What else can I do to get it up to 60 FPS? I'm having a similar issue in an app we are developing.

0 Votes 0 ·

Could you please clarify that do you use the device portal mixed reality capture or have some video captures to see what the user is seeing? For clarification, the operating system throttles down applications to 30 FPS when mixed reality capture is running. Please check this document, especially this section – Limitations of mixed reality capture for more information.

0 Votes 0 ·

I am not using Mixed Reality Capture to capture any videos or photos when I see the ~30 FPS. This is happening when simply running the app. The FPS varies from 29-31 when I am looking at the chess board and king. It increases to 32-36 after a few seconds then remains there. When I look away from these actors, the FPS increases to 59-60. I also double checked that I am using all the recommended settings from this page https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unreal/performance-recommendations-for-unreal.

0 Votes 0 ·
Show more comments