New issue
Advanced search Search tips

Issue 735797 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

camera_V4L2: Failed on sentry board

Project Member Reported by henryhsu@chromium.org, Jun 22 2017

Issue description

https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/124418933-chromeos-test/chromeos4-row8-rack9-host1/debug/

06/21 14:24:34.508 INFO |       camera_V4L2:0082| Running /usr/local/autotest/tests/camera_V4L2/media_v4l2_test --device=/dev/video0 --usb-info=1bcf:2c82 --constant-framerate
06/21 14:24:34.509 DEBUG|             utils:0212| Running '/usr/local/autotest/tests/camera_V4L2/media_v4l2_test --device=/dev/video0 --usb-info=1bcf:2c82 --constant-framerate'
06/21 14:24:34.894 DEBUG|             utils:0280| [stdout] [Info] check 1280x960: 0
06/21 14:24:34.895 DEBUG|             utils:0280| [stdout] [Info] check 1600x1200: 0
06/21 14:24:34.896 DEBUG|             utils:0280| [stdout] [Info] check constant framerate: 1
06/21 14:24:34.897 DEBUG|             utils:0280| [stdout] [Info] num of skip frames after stream on: 0
06/21 14:24:34.897 DEBUG|             utils:0280| [stdout] [Info] TestResolutions
06/21 14:24:34.898 DEBUG|             utils:0280| [stdout] <<< Warning: VIDIOC_CROPCAP not supported.>>>
06/21 14:24:34.898 DEBUG|             utils:0280| [stdout] actual format for capture 320x240 MJPG picture at 30.00 fps with constant framerate
06/21 14:24:37.811 DEBUG|             utils:0280| [stdout] .....................................................................................
06/21 14:24:37.812 DEBUG|             utils:0280| [stdout] <<< Info: Actual fps is 28.333334 on /dev/video0.>>>
06/21 14:24:37.813 DEBUG|             utils:0280| [stdout] [Error] Capture test 320x240 (47504A4D) failed with fps 28.33 in /dev/video0
06/21 14:24:37.818 DEBUG|              test:0390| Test failed due to Command </usr/local/autotest/tests/camera_V4L2/media_v4l2_test --device=/dev/video0 --usb-info=1bcf:2c82 --constant-framerate> failed, rc=1, Command returned non-zero exit status
* Command: 
    /usr/local/autotest/tests/camera_V4L2/media_v4l2_test
    --device=/dev/video0 --usb-info=1bcf:2c82 --constant-framerate
Exit status: 1
Duration: 3.30141115189

stdout:
[Info] check 1280x960: 0
[Info] check 1600x1200: 0
[Info] check constant framerate: 1
[Info] num of skip frames after stream on: 0
[Info] TestResolutions
<<< Warning: VIDIOC_CROPCAP not supported.>>>
actual format for capture 320x240 MJPG picture at 30.00 fps with constant framerate
 
Cc: henryhsu@chromium.org
Owner: yueherngl@chromium.org
The camera config says module 1bcf:2c82 supports constant framerate.

Hi YH,
Could you double check the camera module supports constant framerate?

camera0.module1.usb_vid_pid=1bcf:2c82
camera0.module1.horizontal_view_angle_16_9=69.8
camera0.module1.horizontal_view_angle_4_3=55.3
camera0.module1.lens_info_available_focal_lengths=1.55
camera0.module1.lens_info_available_apertures=2.0
camera0.module1.lens_info_minimum_focus_distance=0.2
camera0.module1.lens_info_optimal_focus_distance=0.5
camera0.module1.sensor_info_physical_size=2.296x1.295
camera0.module1.sensor_info_pixel_array_size=1280x720
camera0.module1.vertical_view_angle_16_9=43
camera0.module1.vertical_view_angle_4_3=43
camera0.module1.constant_framerate_unsupported=false
camera0.module1.resolution_1280x960_unsupported=true
>camera0.module1.constant_framerate_unsupported=false

Yes, this line is modified by the partner. We will ask for their confirmation.

After enabled constant framerate config, the fps is 28.333334.
The test only allows 1 fps margin. That means the fps should be between 29 fps to 31 fps.
Partner has uploaded new CL to change constant_framerate_unsupported to true.

https://chrome-internal-review.googlesource.com/#/c/399450/

Thanks.
Status: Fixed (was: Untriaged)
Change has been merged and landed on 9678.0.0.
Mark the bug fixed. Please re-open if in need.
Thanks.

Sign in to add a comment