Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.2, 6.8
-
None
Description
We are seeing quite heavy CPU load when running Qt's widget (and QML) camera example to view a camera stream on the screen without recording. This only happens when using jpeg camera format. Lower resolution gives less cpu load, different framerates doesn't.
Here's an overview of average cpu usage for camera app process with different camera formats. 100% usage equals full use of 1 cpu core.
camera format | cpu usage |
---|---|
jpeg 2560x1440 30 fps | 87 % |
jpeg 2560x1440 15 fps | 87 % |
jpeg 1920x1080 30 fps | 60 % |
jpeg 640x360 30 fps | 18 % |
YUYV 640x360 30 fps | 2 % |
Test equipment: Linux X11, 3.50 GHz Intel Xeon, NVIDIA GeForce GTX 1060 6GB, Camera: Exibel QHD 2560*1440