New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 911481 link

Starred by 5 users

Issue metadata

Status: WontFix
Owner:
Closed: Dec 14
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Coral device failed to record video with back camera

Project Member Reported by shenghao@chromium.org, Dec 4

Issue description

Chrome Version: M70-11021.56.0

What steps will reproduce the problem?
(1) Open GCA
(2) Switch to back camera
(3) Switch to video mode

GCA crashed with the following logs:


12-04 16:29:46.182    59  2388 E ACodec  : [OMX.arc.h264.encode] storeMetaDataInBuffers (output) failed w/ err -1010
12-04 16:29:46.210    56    56 E OMXNodeInstance: setConfig(380050:arc.h264.encode, ConfigPriority(0x6f800002)) ERROR: NotImplemented(0x80001006)
12-04 16:29:46.210    56    95 E OMXNodeInstance: setConfig(380050:arc.h264.encode, ConfigOperatingRate(0x6f800003)) ERROR: NotImplemented(0x80001006)
12-04 16:29:46.212    56    95 E OMXNodeInstance: getConfig(380050:arc.h264.encode, ConfigAndroidIntraRefresh(0x6f60000a)) ERROR: NotImplemented(0x80001006)
12-04 16:29:46.212    56   297 E OMXNodeInstance: getParameter(380050:arc.h264.encode, ParamVideoIntraRefresh(0x6000006)) ERROR: UnsupportedIndex(0x8000101a)
12-04 16:29:46.213    56   297 E OMXNodeInstance: getParameter(380050:arc.h264.encode, ParamConsumerUsageBits(0x6f800004)) ERROR: UnsupportedIndex(0x8000101a)
12-04 16:29:46.262    56  1716 E OMXNodeInstance: setConfig(380051:google.aac.encoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
12-04 16:29:46.283    22    22 E ConsumerBase: [SurfaceView - com.google.android.GoogleCameraArc/com.android.camera.CameraLauncher] getOccupancyHistory: ConsumerBase is abandoned!
12-04 16:29:46.283    22    22 E ConsumerBase: [SurfaceView - com.google.android.GoogleCameraArc/com.android.camera.CameraLauncher] getOccupancyHistory: ConsumerBase is abandoned!
12-04 16:29:46.331  2101  2376 E Legacy-CameraDevice-JNI: getNativeWindow: Surface had no valid native window.
12-04 16:29:46.337    22    24 E wayland-service: HandleTaskSetFrameAttributes(8) visible=35, enabled=35
12-04 16:29:46.338    22    88 E wayland-service: HandleTaskSetFrameAttributes(8) visible=35, enabled=35
12-04 16:29:46.358  2101  2157 E CameraDevice-0-LE: Surface with size (w=1280, h=720) and format 0x1 is not valid, size not in valid set: [640x480, 640x360, 320x240]
12-04 16:29:46.360  2101  2157 E CameraDevice-0-LE: submitRequestList - cannot use a surface that wasn't configured

Aka, is this something you can help triage?
 
12-04 16:29:46.358  2101  2157 E CameraDevice-0-LE: Surface with size (w=1280, h=720) and format 0x1 is not valid, size not in valid set: [640x480, 640x360, 320x240]

This looks weird. Coral is still using HAL v1 and I wonder if this is a bug on the legacy camera stack.
Labels: Hotlist-ConOps-CrOS Hotlist-ConOps-Source-Forum
Cc: akahuang@chromium.org
Owner: shenghao@chromium.org
The error message of ACodec is expected and can be ignored.
Shenghao can you check the camera stack by Ricky's suggestion first?
Owner: hywu@chromium.org
Daniel, could you triage this?
Created b/120951195 to follow up this issue.
Owner: henryhsu@chromium.org
@Henry, please check if we can remove the resolution restriction.

// TODO(henryhsu): Remove the restriction when we support JPEG hardware decode and different
// video recording resolution in media_profiles.xml.
Owner: hywu@chromium.org
Status: WontFix (was: Untriaged)
There is some problem (firmware?) with this device, which is an EVT. I get a DVT device, and there is no such issue because it supports 1280x960.

EVT device:
- Available formats:
        Format 0: MJPEG (47504a4d)
        Type: Video capture (1)
        Name: Motion-JPEG
        Frame size: 2592x1944 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 640x480 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 640x360 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 320x240 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 1280x720 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 1280x1024 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 1600x1200 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 1920x1080 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)

        Format 1: YUYV (56595559)
        Type: Video capture (1)
        Name: YUYV 4:2:2
        Frame size: 640x480 (1/30, 1/15)
        Frame size: 640x360 (1/30, 1/15)
        Frame size: 320x240 (1/30, 1/15)
        Frame size: 1280x720 (1/5)
        Frame size: 1920x1080 (1/1)
        Frame size: 2592x1944 (1/1)

PVT device:
- Available formats:
        Format 0: MJPEG (47504a4d)
        Type: Video capture (1)
        Name: Motion-JPEG
        Frame size: 2592x1944 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 640x480 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 640x360 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 320x240 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 1280x720 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 1280x960 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 1280x1024 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 1600x1200 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)
        Frame size: 1920x1080 (1/30, 1/25, 1/20, 1/15, 1/10, 1/5)

        Format 1: YUYV (56595559)
        Type: Video capture (1)
        Name: YUYV 4:2:2
        Frame size: 640x480 (1/30, 1/15)
        Frame size: 640x360 (1/30, 1/15)
        Frame size: 320x240 (1/30, 1/15)
        Frame size: 1280x720 (1/5)
        Frame size: 1280x960 (1/5)
        Frame size: 1920x1080 (1/1)
        Frame size: 2592x1944 (1/1)

Sign in to add a comment