question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Camera3 Support failing

See original GitHub issue

Getting a black screen on my Pixel device. Logcat shows this error:

12-10 09:51:35.518   570  1434 E mm-camera: <C2D   ><ERROR> 394: c2d_module_start_session: Cannot open ION
12-10 09:51:35.521   570  1441 E mm-camera: <STATS_AIS ><ERROR> 605: sensor_native_thread_handler: Laser Sensor not found!
12-10 09:51:35.548   570 30919 E mm-camera: <MCT   ><ERROR> 537: mct_pipeline_lookup_session_data: Couldn't find stream for sessionid 15
12-10 09:51:35.548   570 30919 E mm-camera: <CPP   ><ERROR> 2206: cpp_module_notify_add_stream: failed, CPP current version can not support rotation
12-10 09:51:35.576   570   570 E Camera2-Metadata: Mismatched tag type when updating entry enable (-2146893824) of type byte; got type int32 data instead
12-10 09:51:35.576   570   570 E Camera2-Metadata: Mismatched tag type when updating entry is_main (-2146893823) of type byte; got type int32 data instead
12-10 09:51:35.578   570  9921 E QCamera : <MCI><ERROR> mm_channel_fsm_fn_stopped: 893: invalid state (1) for evt (6)
12-10 09:51:35.578   570  9921 E QCamera3HWI: int qcamera::QCamera3HardwareInterface::configureStreamsPerfLocked(camera3_stream_configuration_t *): Blob size greater than 4k and multiple streams are on encoder output
12-10 09:51:35.578   570  9921 E Camera3-Device: Camera 0: configureStreamsLocked: Set of requested inputs/outputs not supported by HAL
12-10 09:51:35.578   570  9921 E CameraDeviceClient: endConfigure: Camera 0: Unsupported set of inputs/outputs provided
12-10 09:51:35.579 32440 32440 E CameraCaptureSession: Session 0: Failed to create capture session; configuration failed
12-10 09:51:35.581   570 30919 E QCamera : <MCI><ERROR> mm_channel_fsm_fn_stopped: 893: invalid state (1) for evt (6)
12-10 09:51:35.582   570 30919 E QCamera3HWI: int qcamera::QCamera3HardwareInterface::configureStreamsPerfLocked(camera3_stream_configuration_t *): Blob size greater than 4k and multiple streams are on encoder output
12-10 09:51:35.582   570 30919 E Camera3-Device: Camera 0: configureStreamsLocked: Set of requested inputs/outputs not supported by HAL
12-10 09:51:35.582   570 30919 E CameraDeviceClient: endConfigure: Camera 0: Unsupported set of inputs/outputs provided
12-10 09:51:35.582 32440 32440 E CameraCaptureSession: Session 1: Failed to create capture session; configuration failed
12-10 09:51:35.599 32440 32440 E Camera2 : Failed to configure capture session.
12-10 09:51:35.599 32440 32440 E Camera2 : Failed to configure capture session.
12-10 09:51:35.634   570  1420 E mm-camera: <SENSOR><ERROR> 37: af_actuator_power_up: failed: rc = -1
12-10 09:51:35.634   570  1420 E mm-camera: <SENSOR><ERROR> 688: af_actuator_init: failed rc -5
12-10 09:51:35.957   570  9921 E QCamera : <MCI><ERROR> mm_channel_fsm_fn_stopped: 893: invalid state (1) for evt (6)
12-10 09:51:35.957   570  9921 E QCamera3HWI: int qcamera::QCamera3HardwareInterface::configureStreamsPerfLocked(camera3_stream_configuration_t *): Blob size greater than 4k and multiple streams are on encoder output
12-10 09:51:35.957   570  9921 E Camera3-Device: Camera 0: configureStreamsLocked: Set of requested inputs/outputs not supported by HAL
12-10 09:51:35.958   570  9921 E CameraDeviceClient: endConfigure: Camera 0: Unsupported set of inputs/outputs provided
12-10 09:51:35.959 32440 32440 E CameraCaptureSession: Session 2: Failed to create capture session; configuration failed
12-10 09:51:35.960 32440 32440 E Camera2 : Failed to configure capture session.
12-10 09:51:40.808  2205  2213 E DataBuffer: Internal data leak within a DataBuffer object detected!  Be sure to explicitly call release() on all DataBuffer extending objects when you are done with them. (internal object: com.google.android.gms.common.data.DataHolder@c2c7b1b)
12-10 09:51:40.809  2205  2213 E DataBuffer: Internal data leak within a DataBuffer object detected!  Be sure to explicitly call release() on all DataBuffer extending objects when you are done with them. (internal object: com.google.android.gms.common.data.DataHolder@e54d4b8)
12-10 09:51:40.809  2205  2213 E DataBuffer: Internal data leak within a DataBuffer object detected!  Be sure to explicitly call release() on all DataBuffer extending objects when you are done with them. (internal object: com.google.android.gms.common.data.DataHolder@13ed291)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
shipra578commented, Feb 24, 2017

remove “ImageFormat.JPEG” support. e.g. remove below line if you are using. ImageReader.newInstance(width, height, ImageFormat.JPEG, 1);

Use RAW-SENSOR: ImageReader mRawImageReader = ImageReader.newInstance(rawWidth, rawHeight, ImageFormat.RAW_SENSOR, 1);

0reactions
anurag-176commented, Oct 13, 2018

@shipra578 Thanks, that works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Camera Version Support | Android Open Source Project
Bugs that are exposed (and that cause a Camera API2 CTS failure) are bugs ... Addition of camera3 stream configuration operation mode to ......
Read more >
include/hardware/camera3.h - aosp/platform ... - Google Git
* the HAL state is now quiesced) or may issue new requests. *. * Note that it's sufficient to only support fully-succeeded and...
Read more >
Camera2 api error failed to create capture session
(moved from comments as an answer):. The error from the camera HAL suggests you have an unsupported combination of outputs.
Read more >
Axon View XL Troubleshooting - MyAxon
If these actions do not resolve the issue, contact Axon Technical Support for additional support. View XL Bluetooth Failure; Videos are not transferring...
Read more >
Uh oh, Hubble's Wide Field Camera 3 is Down - Universe Today
On January 8, 2019, the Wide Field Camera 3 on the Hubble Space Telescope suspended operations due to a hardware problem.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found