microsoft / MixedReality-HolographicRemoting-Samples

Code samples for using Microsoft's Holographic Remoting library.
Other
141 stars 47 forks source link

FPS locked to 30 #83

Closed almoga296 closed 1 year ago

almoga296 commented 1 year ago

Describe the bug

Under heavy load task the application FPS locked to 30 fps - (profiler shows that), it released after the task finished. While I check the fps via Hololens2 device portal I see that the holographic remote player running at 60fps.

Can I control it, make it not being locked (v-synced)?

To Reproduce Steps to reproduce the behavior:

  1. Launch remoting player on the HoloLens
  2. Connect from any client
  3. Try run any heavy CPU load task

Screenshots / videos image

Remote side (your Windows PC):

Player side (e.g. your HoloLens 2)

yl-msft commented 1 year ago

@almoga296 , It's hard to tell from reports. I have a few questions to clarify, hopefully can help us diagnose.

almoga296 commented 1 year ago

Hi, 1) Profiler image attached. The application running slow and it doesn't pass the 30fps. 2) We use spout implementation for Unity. 3) Waiting for discord friend approval in order to sent the trace file.

image

Thanks, Almog

yl-msft commented 1 year ago

@almoga296, i've acceptted the friend request on discord. Waiting for the trace file and see if I can discover anything.

It is interesting that you are using spout for video stream. Are you also setting up the Spout Sender component to the main camera as instructed by the linked GitHub? I wonder if this video capture component is the one who is locking the main camera's frame rate. Can you double check, for example disable this component?
image

yl-msft commented 1 year ago

@almoga296 , we've not heard from you for a while. Have you investigated if this "SpoutSender" is causing the FPS lock when it's doing video capture? Or do you have further investigation on this issue?