elm: failed VEA unittest, bitrate is much less than a requested bitrate. |
||||||
Issue descriptionVEA unittest are failed on elm for MidStreamParamSwitchBitrate/VideoEncodeAcceleratorTest.TestSimpleEncode/0 and MultipleEncoders/VideoEncodeAcceleratorTest.TestSimpleEncode/1. The ChromeOS version is R63.9983.0.0. Because these test cases doesn't run by video_VideoEncodeAccelerator, video_VideoEncodeAccelerator is passed. # ./video_encode_accelerator_unittest --test_stream_data=crowd1080-96f60dd6ff87ba8b129301a0f36efc58.yuv:1920:1080:1:crowd.out:4000000 --ozone-platform=gbm [ RUN ] MidStreamParamSwitchBitrate/VideoEncodeAcceleratorTest.TestSimpleEncode/0 [0928/062555.897364:INFO:video_encode_accelerator_unittest.cc(476)] Measured encoder FPS: 68.284 ../../../../../chromeos-cache/distfiles/target/chrome-src/src/media/gpu/video_encode_accelerator_unittest.cc:1949: Failure The difference between bitrate and current_requested_bitrate_ is 3998127, which exceeds kBitrateTolerance * current_requested_bitrate_, where bitrate evaluates to 4001873, current_requested_bitrate_ evaluates to 8000000, and kBitrateTolerance * current_requested_bitrate_ evaluates to 800000. [ FAILED ] MidStreamParamSwitchBitrate/VideoEncodeAcceleratorTest.TestSimpleEncode/0, where GetParam() = (1, false, 0, true, false, true, false, false, false) (4421 ms) [ RUN ] MultipleEncoders/VideoEncodeAcceleratorTest.TestSimpleEncode/1 [0928/062618.117684:INFO:video_encode_accelerator_unittest.cc(476)] Measured encoder FPS: 22.708 ../../../../../chromeos-cache/distfiles/target/chrome-src/src/media/gpu/video_encode_accelerator_unittest.cc:1949: Failure The difference between bitrate and current_requested_bitrate_ is 3998127, which exceeds kBitrateTolerance * current_requested_bitrate_, where bitrate evaluates to 4001873, current_requested_bitrate_ evaluates to 8000000, and kBitrateTolerance * current_requested_bitrate_ evaluates to 800000. [0928/062618.132278:INFO:video_encode_accelerator_unittest.cc(476)] Measured encoder FPS: 22.682 ../../../../../chromeos-cache/distfiles/target/chrome-src/src/media/gpu/video_encode_accelerator_unittest.cc:1949: Failure The difference between bitrate and current_requested_bitrate_ is 3998127, which exceeds kBitrateTolerance * current_requested_bitrate_, where bitrate evaluates to 4001873, current_requested_bitrate_ evaluates to 8000000, and kBitrateTolerance * current_requested_bitrate_ evaluates to 800000. [ FAILED ] MultipleEncoders/VideoEncodeAcceleratorTest.TestSimpleEncode/1, where GetParam() = (3, false, 0, true, false, true, false, false, false) (13376 ms)
,
Sep 29 2017
I confirmed the same test cases were failed on ChromeOS R57-9202.64.0. That is the Chrome OS installed on elm when elm was launched. This shows this bug has happened since elm was launched and this is not regression. The bug failure reason seems due to MTK hardware problem, not Chrome and ChromeOS. It doesn't compute bitrate correctly.
,
Sep 29 2017
It sounds like a partner issue. Hi Nicolas, Please help to assign this issue to the right owner in mediatek.
,
Sep 29 2017
Assuming this is not a graphics issue, passing back to wuchengli.
,
Oct 2 2017
,
Jun 5 2018
,
Aug 3
This bug has an owner, thus, it's been triaged. Changing status to "assigned". |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by hiroh@chromium.org
, Sep 29 2017