Azure-Kinect-Sensor-SDK icon indicating copy to clipboard operation
Azure-Kinect-Sensor-SDK copied to clipboard

high cpu utilization.

Open barakooda opened this issue 7 years ago • 6 comments

cpu : intel 7700HQ gpu : gtx 1080 mobile

60% + cpu utilization ... 10-30% + gpu utilization...

Maybe its just Azure Kinect Viewer issue.

barakooda avatar Jul 19 '19 09:07 barakooda

@barakooda there will be higher CPU utilization in the viewer than when using the SDK. Thanks for reporting I am also seeing higher than expected CPU utilization in the viewer with the 1.1.1 release.

cdedmonds avatar Jul 19 '19 22:07 cdedmonds

@barakooda I determined that the issue on my machine was unrelated. Can you provide some more details on SDK version, operating system version, and camera mode?

cdedmonds avatar Jul 19 '19 22:07 cdedmonds

sdk version : 1.1 screenshots: https://ufile.io/e2kj2ks5

barakooda avatar Jul 20 '19 06:07 barakooda

Can it be related to MJPEG -> BGRA decoding? I found that this decoding in Sensor SDK is very slow and consumes a lot of CPU.

bibigone avatar Jul 21 '19 18:07 bibigone

10-30% + gpu utilization...

This is very likely due to IMGUI on which the Azure Kinect Viewer is based. Merely running the IMGUI demo code will cost ~20% GPU utilization, even if no UI widget is actually being drawn on the screen. But I don't think this is a big deal though, unused resources are wasted resources :).

Gnimuc avatar Jul 22 '19 03:07 Gnimuc

Thanks, this usage is by design. We do expect an added CPU and GPU load with using the K4aViewer tool.

wes-b avatar Jul 22 '19 17:07 wes-b