mrousavy / react-native-vision-camera

📸 A powerful, high-performance React Native Camera library.
https://react-native-vision-camera.com
MIT License
6.64k stars 983 forks source link

🐛 `EUNSPECIFIED - quality` from `takeSnapshot()` on Pixel 3a (Android 12) #2804

Open jkaufman opened 3 weeks ago

jkaufman commented 3 weeks ago

What's happening?

takeSnapshot() throwing error EUNSPECIFIED quality

Reproduceable Code

const camera = useRef<Camera>(null)
const device = useCameraDevice('back')
<Camera
  style={StyleSheet.absoluteFill}
  ref={camera}
  device={device}
  isActive={true}
  photo={true}
  video={true}
  audio={true}
/>

Relevant log output

Type    Time    PID Tag Message
    2024-04-25T16:07:07.410Z    2053    ConnectivityService NetReassign [no changes] [c 0] [a 1] [i 3]
    2024-04-25T16:07:07.919Z    23310   CameraSession   Camera Lifecycle changed to CREATED!
    2024-04-25T16:07:07.922Z    23310   CameraView  Updating CameraSession...
    2024-04-25T16:07:07.935Z    23310   CameraSession   configure { ... }: Waiting for lock...
    2024-04-25T16:07:07.936Z    23310   CameraView  A new configure { ... } call arrived, aborting this one...
    2024-04-25T16:07:07.937Z    23310   CameraSession   configure { ... }: Waiting for lock...
    2024-04-25T16:07:07.937Z    23310   CameraView  A new configure { ... } call arrived, aborting this one...
    2024-04-25T16:07:07.937Z    23310   CameraSession   configure { ... }: Waiting for lock...
    2024-04-25T16:07:07.938Z    23310   CameraSession   configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true, locationChanged=true)
    2024-04-25T16:07:07.938Z    23310   CameraSession   Creating new Outputs for Camera #0...
    2024-04-25T16:07:07.938Z    23310   CameraSession   Using FPS Range: null
    2024-04-25T16:07:07.938Z    23310   CameraSession   Creating Preview output...
    2024-04-25T16:07:07.944Z    23310   CameraSession   Creating Photo output...
    2024-04-25T16:07:07.949Z    23310   CameraSession   Creating Video output...
    2024-04-25T16:07:07.949Z    23310   CameraSession   Creating new Recorder...
    2024-04-25T16:07:07.956Z    23310   CameraSession   Successfully created new Outputs for Camera #0!
    2024-04-25T16:07:07.956Z    23310   CameraSession   Binding Camera #0...
    2024-04-25T16:07:07.957Z    23310   CameraSession   Binding 3 use-cases...
    2024-04-25T16:07:07.983Z    23310   CameraOrientationUtil   getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
    2024-04-25T16:07:07.996Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=42000000, frameRate=30, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:07.996Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:07.996Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=18000000, frameRate=60, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:07.997Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:07.997Z    23310   QualitySelector supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}]
    2024-04-25T16:07:07.997Z    23310   QualitySelector Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, fallbackRule=1}
    2024-04-25T16:07:07.997Z    23310   QualitySelector 
    2024-04-25T16:07:07.998Z    23310   VideoCapture    
    2024-04-25T16:07:08.000Z    23310   VideoCapture    Set custom ordered resolutions = [1920x1080, 1280x720, 720x480, 3840x2160]
    2024-04-25T16:07:08.002Z    23310   DynamicRangeResolver    Resolved dynamic range for use case androidx.camera.core.Preview-f25c4863-0c15-4655-bd19-a7b00658fa2f to no compatible HDR dynamic ranges.
DynamicRange@e7d20b7{encoding=UNSPECIFIED, bitDepth=0}
->
DynamicRange@71c8bb6{encoding=SDR, bitDepth=8}
    2024-04-25T16:07:08.015Z    23310   CameraOrientationUtil   getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
    2024-04-25T16:07:08.016Z    23310   DeferrableSurface   Surface created[total_surfaces=1, used_surfaces=0](androidx.camera.core.processing.SurfaceEdge$SettableSurface@2c5da90}
    2024-04-25T16:07:08.019Z    23310   DeferrableSurface   Surface created[total_surfaces=2, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@c560fbc}
    2024-04-25T16:07:08.022Z    23310   DeferrableSurface   New surface in use[total_surfaces=2, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@c560fbc}
    2024-04-25T16:07:08.022Z    23310   DeferrableSurface   use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@c560fbc
    2024-04-25T16:07:08.023Z    23310   CameraOrientationUtil   getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
    2024-04-25T16:07:08.028Z    23310   ImageCapture    createPipeline(cameraId: 0, streamSpec: StreamSpec{resolution=4032x3024, dynamicRange=DynamicRange@71c8bb6{encoding=SDR, bitDepth=8}, expectedFrameRateRange=[0, 0], implementationOptions=androidx.camera.camera2.impl.Camera2ImplConfig@bd536c1})
    2024-04-25T16:07:08.035Z    23310   DeferrableSurface   Surface created[total_surfaces=3, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@abd4e66}
    2024-04-25T16:07:08.045Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Use case androidx.camera.core.ImageCapture-f43d4408-f774-4c57-b80c-718dd199ea4d168471436 ACTIVE

    2024-04-25T16:07:08.046Z    23310   UseCaseAttachState  Active and attached use case: [] for camera: 0
    2024-04-25T16:07:08.049Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=42000000, frameRate=30, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:08.049Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:08.049Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=18000000, frameRate=60, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:08.049Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:08.050Z    23310   QualitySelector supportedQualities = [ConstantQuality{value=8, name=UHD, typicalSizes=[3840x2160]}, ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, ConstantQuality{value=5, name=HD, typicalSizes=[1280x720]}, ConstantQuality{value=4, name=SD, typicalSizes=[720x480, 640x480]}]
    2024-04-25T16:07:08.050Z    23310   QualitySelector Select quality by fallbackStrategy = RuleStrategy{fallbackQuality=ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]}, fallbackRule=1}
    2024-04-25T16:07:08.050Z    23310   QualitySelector 
    2024-04-25T16:07:08.050Z    23310   VideoCapture    
    2024-04-25T16:07:08.052Z    23310   VideoCapture    Set custom ordered resolutions = [1920x1080, 1280x720, 720x480, 3840x2160]
    2024-04-25T16:07:08.053Z    23310   VideoCapture    onSuggestedStreamSpecUpdated: StreamSpec{resolution=1920x1080, dynamicRange=DynamicRange@71c8bb6{encoding=SDR, bitDepth=8}, expectedFrameRateRange=[0, 0], implementationOptions=androidx.camera.camera2.impl.Camera2ImplConfig@99fde76}
    2024-04-25T16:07:08.054Z    23310   CameraSession   Successfully bound Camera #0!
    2024-04-25T16:07:08.054Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Use case androidx.camera.core.Preview-f25c4863-0c15-4655-bd19-a7b00658fa2f240310463 ACTIVE

    2024-04-25T16:07:08.054Z    23310   CameraSession   Camera Lifecycle changed to STARTED!
    2024-04-25T16:07:08.055Z    23310   UseCaseAttachState  Active and attached use case: [] for camera: 0
    2024-04-25T16:07:08.056Z    23310   CameraView  invokeOnStopped()
    2024-04-25T16:07:08.058Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Use case androidx.camera.core.ImageCapture-f43d4408-f774-4c57-b80c-718dd199ea4d168471436 ACTIVE

    2024-04-25T16:07:08.058Z    23310   UseCaseAttachState  Active and attached use case: [] for camera: 0
    2024-04-25T16:07:08.058Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=42000000, frameRate=30, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:08.059Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:08.059Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=18000000, frameRate=60, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:08.059Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:08.059Z    23310   CapabilitiesByQuality   Using supported quality of ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]} for size 1920x1080
    2024-04-25T16:07:08.061Z    23310   VideoConfigUtil MediaSpec video mime matches EncoderProfiles. Using EncoderProfiles to derive VIDEO settings [mime type: video/avc]
    2024-04-25T16:07:08.061Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Use case androidx.camera.video.VideoCapture-0d2d52b6-07cf-48eb-824a-067e2d18f02418342613 INACTIVE

    2024-04-25T16:07:08.061Z    23310   UseCaseAttachState  Active and attached use case: [] for camera: 0
    2024-04-25T16:07:08.061Z    23310   VidEncVdPrflRslvr   Resolved frame rate 30fps [Video profile frame rate: 60fps, Expected operating range: <UNSPECIFIED>]
    2024-04-25T16:07:08.061Z    23310   VidEncVdPrflRslvr   Resolved VIDEO frame rate: 30fps
    2024-04-25T16:07:08.061Z    23310   VidEncVdPrflRslvr   Using resolved VIDEO bitrate from EncoderProfiles
    2024-04-25T16:07:08.062Z    23310   VideoConfigUtil Base Bitrate(33000000bps) * Bit Depth Ratio (8 / 8) * Frame Rate Ratio(30 / 60) * Width Ratio(1920 / 1920) * Height Ratio(1080 / 1080) = 16500000
    2024-04-25T16:07:08.062Z    23310   VideoConfigUtil Unsupported mime type video/avc or profile level -1. Data space is unspecified.
    2024-04-25T16:07:08.064Z    23310   UseCaseAttachState  Active and attached use case: [] for camera: 0
    2024-04-25T16:07:08.074Z    23310   MediaCodecList  codecHandlesFormat: no format, so no extra checks
    2024-04-25T16:07:08.078Z    23310   CCodec  allocate(c2.qti.avc.encoder)
    2024-04-25T16:07:08.079Z    23310   Codec2Client    Available Codec2 services: "default" "software"
    2024-04-25T16:07:08.086Z    23310   CCodec  setting up 'default' as default (vendor) store
    2024-04-25T16:07:08.089Z    1138    QC2Interface    Created Interface (c2.qti.avc.encoder)
    2024-04-25T16:07:08.091Z    1138    QC2Prop SK::kPropInputDelay:0
    2024-04-25T16:07:08.092Z    1138    QC2Prop SK::kPropOutputDelay:0
    2024-04-25T16:07:08.092Z    1138    QC2Comp Create: Allocated component[73] for name c2.qti.avc.encoder
    2024-04-25T16:07:08.092Z    1138    QC2CompStore    Created component(c2.qti.avc.encoder) id(73)
    2024-04-25T16:07:08.094Z    23310   CCodec  Created component [c2.qti.avc.encoder]
    2024-04-25T16:07:08.094Z    23310   CCodecConfig    read media type: video/avc
    2024-04-25T16:07:08.096Z    23310   ReflectedParamUpdater   extent() != 1 for single value type: output.buffers.pool-ids.values
    2024-04-25T16:07:08.099Z    23310   CCodecConfig    ignoring local param raw.color (0xc2001809) as it is already supported
    2024-04-25T16:07:08.099Z    1138    QC2Prop SK::kPropInputDelay:0
    2024-04-25T16:07:08.099Z    1138    QC2Prop SK::kPropOutputDelay:0
    2024-04-25T16:07:08.101Z    23310   CCodecConfig    query failed after returning 20 values (BAD_INDEX)
    2024-04-25T16:07:08.101Z    23310   CCodecConfig    
    2024-04-25T16:07:08.102Z    23310   ColorUtils  expected specified color aspects (0:0:0:0)
    2024-04-25T16:07:08.113Z    1138    QC2Comp NOTE: handleReleaseCodec returning: 0 (OK=0)
    2024-04-25T16:07:08.113Z    1138    QC2Comp NOTE: Release returning: 0 (OK=0)
    2024-04-25T16:07:08.113Z    23310   hw-BpHwBinder   onLastStrongRef automatically unlinking death recipients
    2024-04-25T16:07:08.113Z    1138    QC2CompStore    Deleting component(c2.qti.avc.encoder) id(73)
    2024-04-25T16:07:08.114Z    1138    QC2Comp [avcE_73] Deallocated component c2.qti.avc.encoder [id=73]
    2024-04-25T16:07:08.114Z    23310   CameraOrientationUtil   getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
    2024-04-25T16:07:08.115Z    23310   VideoCapture    camera timebase = REALTIME, processing timebase = UPTIME
    2024-04-25T16:07:08.115Z    23310   DeferrableSurface   Surface created[total_surfaces=4, used_surfaces=1](androidx.camera.core.processing.SurfaceEdge$SettableSurface@2a09750}
    2024-04-25T16:07:08.119Z    23310   DeferrableSurface   Surface created[total_surfaces=5, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@9ffd87c}
    2024-04-25T16:07:08.124Z    23310   DeferrableSurface   New surface in use[total_surfaces=5, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@9ffd87c}
    2024-04-25T16:07:08.124Z    23310   DeferrableSurface   use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@9ffd87c
    2024-04-25T16:07:08.125Z    23310   Recorder    Surface is requested in state: CONFIGURING, Current surface: 0
    2024-04-25T16:07:08.127Z    23310   CameraOrientationUtil   getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
    2024-04-25T16:07:08.127Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=42000000, frameRate=30, width=3840, height=2160, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:08.128Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=33000000, frameRate=60, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:08.129Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=18000000, frameRate=60, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:08.129Z    23310   CapabilitiesByQuality   profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=30, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=96000, sampleRate=48000, channels=1, profile=1}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=6000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
    2024-04-25T16:07:08.130Z    23310   Recorder    Using supported quality of ConstantQuality{value=6, name=FHD, typicalSizes=[1920x1080]} for surface size 1920x1080
    2024-04-25T16:07:08.130Z    23310   Recorder    Try to safely release video encoder: null
    2024-04-25T16:07:08.131Z    23310   VideoEncoderSession Create VideoEncoderSession: VideoEncoderSession@159961447 for androidx.camera.core.SurfaceRequest@3bde36f
    2024-04-25T16:07:08.132Z    23310   VideoConfigUtil MediaSpec video mime matches EncoderProfiles. Using EncoderProfiles to derive VIDEO settings [mime type: video/avc]
    2024-04-25T16:07:08.132Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Use case androidx.camera.video.VideoCapture-0d2d52b6-07cf-48eb-824a-067e2d18f02418342613 ACTIVE

    2024-04-25T16:07:08.132Z    23310   VidEncVdPrflRslvr   Resolved frame rate 30fps [Video profile frame rate: 60fps, Expected operating range: <UNSPECIFIED>]
    2024-04-25T16:07:08.132Z    23310   UseCaseAttachState  Active and attached use case: [] for camera: 0
    2024-04-25T16:07:08.132Z    23310   VidEncVdPrflRslvr   Resolved VIDEO frame rate: 30fps
    2024-04-25T16:07:08.132Z    23310   VidEncVdPrflRslvr   Using resolved VIDEO bitrate from EncoderProfiles
    2024-04-25T16:07:08.133Z    23310   VideoConfigUtil Base Bitrate(33000000bps) * Bit Depth Ratio (8 / 8) * Frame Rate Ratio(30 / 60) * Width Ratio(1920 / 1920) * Height Ratio(1080 / 1080) = 16500000
    2024-04-25T16:07:08.133Z    23310   CameraSession   Camera State: CLOSED (has error: false)
    2024-04-25T16:07:08.133Z    23310   CameraSession   Camera Lifecycle changed to RESUMED!
    2024-04-25T16:07:08.134Z    23310   VideoConfigUtil Unsupported mime type video/avc or profile level -1. Data space is unspecified.
    2024-04-25T16:07:08.134Z    23310   MetadataProvider    Stopping location updates...
    2024-04-25T16:07:08.134Z    23310   CameraSession   configure { ... }: Completed CameraSession Configuration! (State: RESUMED)
    2024-04-25T16:07:08.135Z    23310   CameraSession   configure { ... }: Waiting for lock...
    2024-04-25T16:07:08.136Z    23310   CameraSession   Nothing changed, aborting configure { ... }
    2024-04-25T16:07:08.136Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Use cases [androidx.camera.core.Preview-f25c4863-0c15-4655-bd19-a7b00658fa2f240310463, androidx.camera.core.ImageCapture-f43d4408-f774-4c57-b80c-718dd199ea4d168471436, androidx.camera.video.VideoCapture-0d2d52b6-07cf-48eb-824a-067e2d18f02418342613] now ATTACHED

    2024-04-25T16:07:08.139Z    23310   UseCaseAttachState  All use case: [androidx.camera.core.ImageCapture-f43d4408-f774-4c57-b80c-718dd199ea4d168471436, androidx.camera.core.Preview-f25c4863-0c15-4655-bd19-a7b00658fa2f240310463, androidx.camera.video.VideoCapture-0d2d52b6-07cf-48eb-824a-067e2d18f02418342613] for camera: 0
    2024-04-25T16:07:08.140Z    23310   Camera2CameraImpl   mMeteringRepeating is ATTACHED, SessionConfig Surfaces: 3, CaptureConfig Surfaces: 1
    2024-04-25T16:07:08.140Z    23310   MediaCodecList  codecHandlesFormat: no format, so no extra checks
    2024-04-25T16:07:08.142Z    23310   CCodec  allocate(c2.qti.avc.encoder)
    2024-04-25T16:07:08.142Z    23310   UseCaseAttachState  Active and attached use case: [androidx.camera.core.ImageCapture-f43d4408-f774-4c57-b80c-718dd199ea4d168471436, androidx.camera.core.Preview-f25c4863-0c15-4655-bd19-a7b00658fa2f240310463, androidx.camera.video.VideoCapture-0d2d52b6-07cf-48eb-824a-067e2d18f02418342613] for camera: 0
    2024-04-25T16:07:08.144Z    23310   CCodec  setting up 'default' as default (vendor) store
    2024-04-25T16:07:08.144Z    1138    QC2Interface    Created Interface (c2.qti.avc.encoder)
    2024-04-25T16:07:08.145Z    1138    QC2Prop SK::kPropInputDelay:0
    2024-04-25T16:07:08.145Z    1138    QC2Prop SK::kPropOutputDelay:0
    2024-04-25T16:07:08.145Z    1138    QC2Comp Create: Allocated component[74] for name c2.qti.avc.encoder
    2024-04-25T16:07:08.145Z    1138    QC2CompStore    Created component(c2.qti.avc.encoder) id(74)
    2024-04-25T16:07:08.147Z    23310   CCodec  Created component [c2.qti.avc.encoder]
    2024-04-25T16:07:08.147Z    23310   CCodecConfig    read media type: video/avc
    2024-04-25T16:07:08.148Z    23310   ReflectedParamUpdater   extent() != 1 for single value type: output.buffers.pool-ids.values
    2024-04-25T16:07:08.149Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Resetting Capture Session

    2024-04-25T16:07:08.150Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Releasing session in state INITIALIZED

    2024-04-25T16:07:08.152Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Attempting to force open the camera.

    2024-04-25T16:07:08.152Z    23310   CCodecConfig    ignoring local param raw.color (0xc2001809) as it is already supported
    2024-04-25T16:07:08.153Z    23310   CameraStateRegistry tryOpenCamera(Camera@3b73812[id=0]) [Available Cameras: 1, Already Open: false (Previous state: null)] --> SUCCESS
    2024-04-25T16:07:08.153Z    1138    QC2Prop SK::kPropInputDelay:0
    2024-04-25T16:07:08.153Z    1138    QC2Prop SK::kPropOutputDelay:0
    2024-04-25T16:07:08.154Z    23310   CCodecConfig    query failed after returning 20 values (BAD_INDEX)
    2024-04-25T16:07:08.154Z    23310   CameraStateRegistry Recalculating open cameras:
Camera                                       State                 
-------------------------------------------------------------------
Camera@3b73812[id=0]                         OPENING               
Camera@a295155[id=1]                         UNKNOWN               
-------------------------------------------------------------------
Open count: 1 (Max allowed: 1)
    2024-04-25T16:07:08.154Z    23310   CCodecConfig    
    2024-04-25T16:07:08.154Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Opening camera.

    2024-04-25T16:07:08.154Z    23310   ColorUtils  expected specified color aspects (0:0:0:0)
    2024-04-25T16:07:08.155Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Transitioning camera internal state: INITIALIZED --> OPENING

    2024-04-25T16:07:08.156Z    23310   CameraStateMachine  New public camera state CameraState{type=OPENING, error=null} from OPENING and null
    2024-04-25T16:07:08.156Z    23310   CameraStateMachine  Publishing new public camera state CameraState{type=OPENING, error=null}
    2024-04-25T16:07:08.158Z    23310   UseCaseAttachState  All use case: [androidx.camera.core.ImageCapture-f43d4408-f774-4c57-b80c-718dd199ea4d168471436, androidx.camera.core.Preview-f25c4863-0c15-4655-bd19-a7b00658fa2f240310463, androidx.camera.video.VideoCapture-0d2d52b6-07cf-48eb-824a-067e2d18f02418342613] for camera: 0
    2024-04-25T16:07:08.162Z    23310   VideoEncoder    mInputTimebase = UPTIME
    2024-04-25T16:07:08.162Z    23310   VideoEncoder    mMediaFormat = {color-format=2130708361, i-frame-interval=1, mime=video/avc, width=1920, bitrate=16500000, frame-rate=30, height=1080}
    2024-04-25T16:07:08.163Z    1286    CameraService   CameraService::connect call (PID -1 "com.redacted.redacted", camera ID 0) and Camera API version 2
    2024-04-25T16:07:08.163Z    1138    QC2Comp NOTE: handleReleaseCodec returning: 0 (OK=0)
    2024-04-25T16:07:08.164Z    1138    QC2Comp NOTE: Release returning: 0 (OK=0)
    2024-04-25T16:07:08.164Z    23310   hw-BpHwBinder   onLastStrongRef automatically unlinking death recipients
    2024-04-25T16:07:08.164Z    1286    Camera2ClientBase   Camera 0: Opened. Client: com.redacted.redacted (PID 23310, UID 10311)
    2024-04-25T16:07:08.164Z    1286    CameraDeviceClient  CameraDeviceClient 0: Opened
    2024-04-25T16:07:08.164Z    1138    QC2CompStore    Deleting component(c2.qti.avc.encoder) id(74)
    2024-04-25T16:07:08.164Z    1138    QC2Comp [avcE_74] Deallocated component c2.qti.avc.encoder [id=74]
    2024-04-25T16:07:08.167Z    1286    CameraService   onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=0
    2024-04-25T16:07:08.168Z    23310   CCodec  allocate(c2.qti.avc.encoder)
    2024-04-25T16:07:08.169Z    23310   CameraDevices   Camera #0 is now unavailable.
    2024-04-25T16:07:08.170Z    2559    GRIL-S  [0123]> UPDATE_DEVICE_STATE DeviceState: Usb:1, Wifi: 1, Wifi AP: 0, Earpiece: 0, Bluetooth: 1, Wireless charging: 0, Screen: 1, Camera: 1, 0, -, -, Motion: 1, Bluetooth tethering: 0, Voice: 0, Wifi 2.4G: 0, Radio: 1, Bluetooth connected: 0, Bluetooth media: 0, Wifi Band: 2, Wifi AP Band: 0, Wifi call: 0, mmWave: 0, mCellBackhaul: 0, mHallSensor: 0
    2024-04-25T16:07:08.171Z    23310   CCodec  setting up 'default' as default (vendor) store
    2024-04-25T16:07:08.171Z    1138    QC2Interface    Created Interface (c2.qti.avc.encoder)
    2024-04-25T16:07:08.171Z    3274    AiAiEcho    Settings changed for uri: content://settings/secure/flashlight_available
    2024-04-25T16:07:08.172Z    1138    QC2Prop SK::kPropInputDelay:0
    2024-04-25T16:07:08.172Z    1138    QC2Prop SK::kPropOutputDelay:0
    2024-04-25T16:07:08.172Z    1138    QC2Comp Create: Allocated component[75] for name c2.qti.avc.encoder
    2024-04-25T16:07:08.172Z    1138    QC2CompStore    Created component(c2.qti.avc.encoder) id(75)
    2024-04-25T16:07:08.172Z    2559    GRIL-S  [0123]< UPDATE_DEVICE_STATE 
    2024-04-25T16:07:08.173Z    1108    ISPHVX  [KPI]open: +
    2024-04-25T16:07:08.173Z    1286    CameraProviderManager   Camera device device@3.4/legacy/0 torch status is now NOT_AVAILABLE
    2024-04-25T16:07:08.173Z    1286    CameraService   onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=0
    2024-04-25T16:07:08.174Z    3199    SconeBluetoothSarContro No config
    2024-04-25T16:07:08.174Z    1108    CameraThermalHAL    Starting Thermal HAL polling thread
    2024-04-25T16:07:08.176Z    23310   CCodec  Created component [c2.qti.avc.encoder]
    2024-04-25T16:07:08.176Z    23310   CCodecConfig    read media type: video/avc
    2024-04-25T16:07:08.177Z    23310   ReflectedParamUpdater   extent() != 1 for single value type: output.buffers.pool-ids.values
    2024-04-25T16:07:08.180Z    1108    CameraThermalHAL    Started thermal polling thread successfully
    2024-04-25T16:07:08.182Z    1108    ISPHVX  [KPI]open: -
    2024-04-25T16:07:08.184Z    1108    libc    Access denied finding property "ro.camera.req.fmq.size"
    2024-04-25T16:07:08.183Z    1108    HwBinder:1108_4 type=1400 audit(0.0:497): avc: denied { read } for name="u:object_r:default_prop:s0" dev="tmpfs" ino=19401 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
    2024-04-25T16:07:08.184Z    1108    libc    Access denied finding property "ro.camera.res.fmq.size"
    2024-04-25T16:07:08.183Z    1108    HwBinder:1108_4 type=1400 audit(0.0:498): avc: denied { read } for name="u:object_r:default_prop:s0" dev="tmpfs" ino=19401 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
    2024-04-25T16:07:08.186Z    23310   CCodecConfig    ignoring local param raw.color (0xc2001809) as it is already supported
    2024-04-25T16:07:08.187Z    1138    QC2Prop SK::kPropInputDelay:0
    2024-04-25T16:07:08.187Z    1138    QC2Prop SK::kPropOutputDelay:0
    2024-04-25T16:07:08.187Z    23310   CCodecConfig    query failed after returning 20 values (BAD_INDEX)
    2024-04-25T16:07:08.188Z    23310   CCodecConfig    
    2024-04-25T16:07:08.188Z    23310   ColorUtils  expected specified color aspects (0:0:0:0)
    2024-04-25T16:07:08.193Z    2053    CompatibilityChangeReporter Compat change id reported: 189229956; UID 10311; state: DISABLED
    2024-04-25T16:07:08.193Z    23310   MediaCodec  MediaCodec will operate in async mode
    2024-04-25T16:07:08.194Z    2053    CompatibilityChangeReporter Compat change id reported: 191513214; UID 10311; state: DISABLED
    2024-04-25T16:07:08.194Z    2053    CameraService_proxy The activity is N or above and claims to support resizeable-activity. Crop-rotate-scale is disabled.
    2024-04-25T16:07:08.195Z    2291    BcSmartspaceCard    No title view to update
    2024-04-25T16:07:08.199Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Use case androidx.camera.core.Preview-f25c4863-0c15-4655-bd19-a7b00658fa2f240310463 ACTIVE

    2024-04-25T16:07:08.199Z    2745    BcSmartspaceCard    No title view to update
    2024-04-25T16:07:08.202Z    23310   UseCaseAttachState  Active and attached use case: [androidx.camera.core.ImageCapture-f43d4408-f774-4c57-b80c-718dd199ea4d168471436, androidx.camera.core.Preview-f25c4863-0c15-4655-bd19-a7b00658fa2f240310463, androidx.camera.video.VideoCapture-0d2d52b6-07cf-48eb-824a-067e2d18f02418342613] for camera: 0
    2024-04-25T16:07:08.209Z    23310   CodecSeeding    Seed: codec c2.qti.avc.encoder, mediatype video/avc, overrideable 1
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-target-bpp,0)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-target-bpp-1080p,1.90)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-target-bpp-720p,2.25)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-target-bpp-540p,2.65)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-target-bpp-480p,3.00)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-target-bpp-320x240,0)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-target-qpmax,-1)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-target-qpmax-1080p,45)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-target-qpmax-720p,43)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-target-qpmax-540p,42)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-target-qpmax-480p,38)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-bitrate-phaseout,1.75)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setTuningValue(vq-boost-missing-qp,0.20)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setFeatureValue(_vq_eligible.device,1)
    2024-04-25T16:07:08.209Z    23310   CodecProperties setFeatureValue(_quality.target,1)
    2024-04-25T16:07:08.209Z    23310   CodecSeeding    Seed: codec c2.qti.avc.encoder, mediatype video/avc, overrideable 0
    2024-04-25T16:07:08.209Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Use case androidx.camera.core.ImageCapture-f43d4408-f774-4c57-b80c-718dd199ea4d168471436 ACTIVE

    2024-04-25T16:07:08.209Z    23310   MediaCodec  shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = {
    int32_t android._encoding-quality-level = 0
  }
    2024-04-25T16:07:08.210Z    23310   CCodec  [c2.qti.avc.encoder] buffers are bound to CCodec for this session
    2024-04-25T16:07:08.210Z    23310   CCodecConfig    no c2 equivalents for color-format
    2024-04-25T16:07:08.210Z    23310   CCodecConfig    no c2 equivalents for flags
    2024-04-25T16:07:08.210Z    23310   CCodecConfig    no c2 equivalents for encoder
    2024-04-25T16:07:08.211Z    23310   CCodecConfig    c2 config diff is   c2::u32 coded.bitrate.value = 16500000
  c2::i32 coding.gop.intra-period = 30
  c2::u32 raw.pixel-format.value = 34

    2024-04-25T16:07:08.212Z    23310   ColorUtils  expected specified color aspects (0:0:0:0)
    2024-04-25T16:07:08.212Z    23310   UseCaseAttachState  Active and attached use case: [androidx.camera.core.ImageCapture-f43d4408-f774-4c57-b80c-718dd199ea4d168471436, androidx.camera.core.Preview-f25c4863-0c15-4655-bd19-a7b00658fa2f240310463, androidx.camera.video.VideoCapture-0d2d52b6-07cf-48eb-824a-067e2d18f02418342613] for camera: 0
    2024-04-25T16:07:08.212Z    23310   Codec2Client    query -- param skipped: index = 1107298332.
    2024-04-25T16:07:08.212Z    23310   Codec2Client    query -- param skipped: index = 3254781982.
    2024-04-25T16:07:08.212Z    23310   CCodec  
    2024-04-25T16:07:08.212Z    23310   CCodec  
    2024-04-25T16:07:08.213Z    1138    QC2Prop SK::kPropInputDelay:0
    2024-04-25T16:07:08.213Z    1138    QC2Prop SK::kPropOutputDelay:0
    2024-04-25T16:07:08.213Z    23310   CCodecConfig    query failed after returning 20 values (BAD_INDEX)
    2024-04-25T16:07:08.215Z    23310   CCodec  
    2024-04-25T16:07:08.216Z    23310   GraphicBufferSource setting dataspace: 0x104, acquired=0
    2024-04-25T16:07:08.216Z    23310   CCodec  ISConfig not changed
    2024-04-25T16:07:08.218Z    23310   VideoEncoder    Transitioning encoder internal state: null --> CONFIGURED
    2024-04-25T16:07:08.219Z    23310   Recorder    Video source has transitioned to state: ACTIVE_NON_STREAMING
    2024-04-25T16:07:08.219Z    23310   VideoEncoderSession provide surface: Surface(name=null)/@0xa1913e6
    2024-04-25T16:07:08.220Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Use case androidx.camera.video.VideoCapture-0d2d52b6-07cf-48eb-824a-067e2d18f02418342613 ACTIVE

    2024-04-25T16:07:08.220Z    23310   Recorder    VideoEncoder is created. androidx.camera.video.internal.encoder.EncoderImpl@1a99bd4
    2024-04-25T16:07:08.220Z    23310   Recorder    Transitioning streamId: 0 --> 169415654
    2024-04-25T16:07:08.222Z    23310   Recorder    Transitioning Recorder internal state: CONFIGURING --> IDLING
    2024-04-25T16:07:08.223Z    23310   UseCaseAttachState  Active and attached use case: [androidx.camera.core.ImageCapture-f43d4408-f774-4c57-b80c-718dd199ea4d168471436, androidx.camera.core.Preview-f25c4863-0c15-4655-bd19-a7b00658fa2f240310463, androidx.camera.video.VideoCapture-0d2d52b6-07cf-48eb-824a-067e2d18f02418342613] for camera: 0
    2024-04-25T16:07:08.230Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} CameraDevice.onOpened()

    2024-04-25T16:07:08.230Z    23310   Camera2CameraImpl   {Camera@3b73812[id=0]} Transitioning camera internal state: OPENING --> OPENED

    2024-04-25T16:07:08.231Z    23310   CameraStateRegistry Recalculating open cameras:
Camera                                       State                 
-------------------------------------------------------------------
Camera@3b73812[id=0]                         OPEN                  
Camera@a295155[id=1]                         UNKNOWN               
-------------------------------------------------------------------
Open count: 1 (Max allowed: 1)
    2024-04-25T16:07:08.231Z    23310   CameraStateMachine  New public camera state CameraState{type=OPEN, error=null} from OPEN and null
    2024-04-25T16:07:08.231Z    23310   CameraStateMachine  Publishing new public camera state CameraState{type=OPEN, error=null}
    2024-04-25T16:07:08.233Z    23310   UseCaseAttachState  All use case: [androidx.camera.core.ImageCapture-f43d4408-f774-4c57-b80c-718dd199ea4d168471436, androidx.camera.core.Preview-f25c4863-0c15-4655-bd19-a7b00658fa2f240310463, androidx.camera.video.VideoCapture-0d2d52b6-07cf-48eb-824a-067e2d18f02418342613] for camera: 0
    2024-04-25T16:07:08.239Z    23310   UseCaseAttachState  Active and attached use case: [androidx.camera.core.ImageCapture-f43d4408-f774-4c57-b80c-718dd199ea4d168471436, androidx.camera.core.Preview-f25c4863-0c15-4655-bd19-a7b00658fa2f240310463, androidx.camera.video.VideoCapture-0d2d52b6-07cf-48eb-824a-067e2d18f02418342613] for camera: 0
    2024-04-25T16:07:08.274Z    23310   PreviewView Surface requested by Preview.
    2024-04-25T16:07:08.322Z    23310   VideoCapture    Stream info update: old: StreamInfo{id=0, streamState=INACTIVE, inProgressTransformationInfo=null} new: StreamInfo{id=169415654, streamState=INACTIVE, inProgressTransformationInfo=null}
    2024-04-25T16:07:08.323Z    23310   CameraSession   Camera State: OPEN (has error: false)
    2024-04-25T16:07:08.323Z    23310   CameraView  invokeOnInitialized()
    2024-04-25T16:07:08.344Z    23310   TextureViewImpl SurfaceTexture available. Size: 1600x1200
    2024-04-25T16:07:08.344Z    23310   TextureViewImpl Surface set on Preview.
    2024-04-25T16:07:08.346Z    23310   SyncCaptureSessionBase  [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@e25e2b8] getSurface done with results: [Surface(name=android.graphics.SurfaceTexture@7f535cc)/@0x1944015, Surface(name=null)/@0xf81011b, Surface(name=null)/@0xa1913e6]
    2024-04-25T16:07:08.346Z    23310   CaptureSession  Opening capture session.
    2024-04-25T16:07:08.355Z    23310   PreviewView Preview transformation info updated. TransformationInfo{getCropRect=Rect(0, 0 - 1600, 1200), getRotationDegrees=90, getTargetRotation=-1, hasCameraTransform=true, getSensorToBufferTransform=Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false}
    2024-04-25T16:07:08.355Z    23310   PreviewTransform    Transformation info set: TransformationInfo{getCropRect=Rect(0, 0 - 1600, 1200), getRotationDegrees=90, getTargetRotation=-1, hasCameraTransform=true, getSensorToBufferTransform=Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false} 1600x1200 false
    2024-04-25T16:07:08.356Z    23310   CameraOrientationUtil   getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
    2024-04-25T16:07:08.357Z    23310   SyncCaptureSessionImpl  [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@e25e2b8] start openCaptureSession
    2024-04-25T16:07:08.358Z    23310   DeferrableSurface   use count+1, useCount=2 androidx.camera.core.SurfaceRequest$2@c560fbc
    2024-04-25T16:07:08.359Z    23310   DeferrableSurface   New surface in use[total_surfaces=5, used_surfaces=3](androidx.camera.core.impl.ImmediateSurface@abd4e66}
    2024-04-25T16:07:08.359Z    23310   DeferrableSurface   use count+1, useCount=1 androidx.camera.core.impl.ImmediateSurface@abd4e66
    2024-04-25T16:07:08.359Z    23310   DeferrableSurface   use count+1, useCount=2 androidx.camera.core.SurfaceRequest$2@9ffd87c
    2024-04-25T16:07:08.361Z    1286    cameraserver    createSurfaceFromGbp: Camera 0 with consumer usage flag: 256: Forcing asynchronous mode forstream
    2024-04-25T16:07:08.361Z    1286    cameraserver    createSurfaceFromGbp: Camera 0: Overriding format 0x1 to IMPLEMENTATION_DEFINED
    2024-04-25T16:07:08.366Z    1108    ISPHVX  Number of streams: 3
    2024-04-25T16:07:08.366Z    1108    ISPHVX    stream[0] = 0x6f070c84a8 - info:
    2024-04-25T16:07:08.366Z    1108    ISPHVX              format       : 34, HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED
    2024-04-25T16:07:08.366Z    1108    ISPHVX              width        : 1600
    2024-04-25T16:07:08.366Z    1108    ISPHVX              height       : 1200
    2024-04-25T16:07:08.366Z    1108    ISPHVX              stream_type  : 00000000, CAMERA3_STREAM_OUTPUT
    2024-04-25T16:07:08.366Z    1108    ISPHVX              usage        : 00000100
    2024-04-25T16:07:08.366Z    1108    ISPHVX    stream[1] = 0x6f070a85d8 - info:
    2024-04-25T16:07:08.366Z    1108    ISPHVX              format       : 33, HAL_PIXEL_FORMAT_BLOB
    2024-04-25T16:07:08.366Z    1108    ISPHVX              width        : 4032
    2024-04-25T16:07:08.366Z    1108    ISPHVX              height       : 3024
    2024-04-25T16:07:08.366Z    1108    ISPHVX              stream_type  : 00000000, CAMERA3_STREAM_OUTPUT
    2024-04-25T16:07:08.366Z    1108    ISPHVX              usage        : 00000003
    2024-04-25T16:07:08.366Z    1108    ISPHVX    stream[2] = 0x6f070c51c8 - info:
    2024-04-25T16:07:08.366Z    1108    ISPHVX              format       : 34, HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED
    2024-04-25T16:07:08.366Z    1108    ISPHVX              width        : 1920
    2024-04-25T16:07:08.366Z    1108    ISPHVX              height       : 1080
    2024-04-25T16:07:08.366Z    1108    ISPHVX              stream_type  : 00000000, CAMERA3_STREAM_OUTPUT
    2024-04-25T16:07:08.366Z    1108    ISPHVX              usage        : 00010000
    2024-04-25T16:07:08.366Z    1108    ISPHVX    operation_mode: 0
    2024-04-25T16:07:08.372Z    1108    libc    Access denied finding property "ro.bootimage.build.fingerprint"
    2024-04-25T16:07:08.372Z    1108    CHIUSECASE  build.fingerprint: 

    2024-04-25T16:07:08.370Z    1108    HwBinder:1108_3 type=1400 audit(0.0:499): avc: denied { read } for name="u:object_r:build_bootimage_prop:s0" dev="tmpfs" ino=19353 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:build_bootimage_prop:s0 tclass=file permissive=0
    2024-04-25T16:07:08.372Z    1108    CHIUSECASE  boot.revision: MP1.0

    2024-04-25T16:07:08.372Z    1108    CHIUSECASE  Google usecase selected
    2024-04-25T16:07:08.372Z    1108    CHIUSECASE  usecase ID:13
    2024-04-25T16:07:08.372Z    1108    CHIUSECASE  LogClassifiedStream: Camera 0 preview stream type = 0 format = 34 width = 1600 height = 1200
    2024-04-25T16:07:08.372Z    1108    CHIUSECASE  LogClassifiedStream: Camera 0 jpeg stream type = 0 format = 33 width = 4032 height = 3024
    2024-04-25T16:07:08.372Z    1108    CHIUSECASE  LogClassifiedStream: Camera 0 video stream type = 0 format = 34 width = 1920 height = 1080
    2024-04-25T16:07:08.372Z    1108    CHIUSECASE  Use preview aspect ratio as dummy stream
    2024-04-25T16:07:08.372Z    1108    CHIUSECASE  CreatePipelines: Creating pipelines for CHI usecase: UsecaseGoogleBackCameraNon4kVideo
    2024-04-25T16:07:08.372Z    1108    CHIUSECASE  [Realtime] CreateChiPipeline: Creating the CHI pipeline.
    2024-04-25T16:07:08.378Z    1108    goog_llv    Create
    2024-04-25T16:07:08.378Z    1108    aion_buffer AIonInit
    2024-04-25T16:07:08.381Z    1108    goog_eis    SetChiNodeInterface
    2024-04-25T16:07:08.381Z    1108    goog_eis    Create
    2024-04-25T16:07:08.381Z    1108    goog_eis    persist.camera.eis.checktripod is set to 1
    2024-04-25T16:07:08.381Z    1108    goog_eis    persist.camera.eis.debug is set to 0
    2024-04-25T16:07:08.381Z    1108    goog_eis    persist.camera.eis.enable is set to 1
    2024-04-25T16:07:08.381Z    1108    goog_eis    persist.camera.eis.usegyropoll is set to 1
    2024-04-25T16:07:08.381Z    1108    goog_eis    persist.camera.eis.usegyrodirect is set to 0
    2024-04-25T16:07:08.381Z    1108    goog_eis    persist.camera.eis.useois is set to 1
    2024-04-25T16:07:08.381Z    1108    goog_eis    persist.camera.eis.rawois is set to 0
    2024-04-25T16:07:08.381Z    1108    goog_eis    persist.camera.eis.vcmdelay is set to 0
    2024-04-25T16:07:08.382Z    1108    goog_eis    Extra request Buffer num 18
    2024-04-25T16:07:08.382Z    1108    goog_eis    Start fence check thread.
    2024-04-25T16:07:08.386Z    1401    lowi-server type=1400 audit(0.0:500): avc: granted { net_admin } for capability=12 scontext=u:r:location:s0 tcontext=u:r:location:s0 tclass=capability
    2024-04-25T16:07:08.392Z    1108    GoogleFDNode    Initialize: GoogleFDNode created ensemble detector successfully.
    2024-04-25T16:07:08.393Z    1108    GoogleFDNode    Initialize: GoogleFDNode uses dedicated thread for Ensemble.
    2024-04-25T16:07:08.396Z    1108    CamX    [DEBUG][PPROC  ] camxipenode.cpp:2378 ProcessingNodeFinalizeInputRequirement() IPE video dimension: 1920 x 1080
    2024-04-25T16:07:08.396Z    1108    GoogleFDNode    QueryBufferInfo: [FD] Google FD Node publishing com.google.nexus.experimental2018 | faceSkipFrame to 8055000e
    2024-04-25T16:07:08.396Z    1108    GoogleFDNode    QueryBufferInfo: [FD] Google FD Node publishing com.google.nexus.experimental2018 | faceLandmark.count to 8055000f
    2024-04-25T16:07:08.396Z    1108    GoogleFDNode    QueryBufferInfo: [FD] Google FD Node publishing com.google.nexus.experimental2018 | faceLandmark.ids to 80550010
    2024-04-25T16:07:08.396Z    1108    GoogleFDNode    QueryBufferInfo: [FD] Google FD Node publishing com.google.nexus.experimental2018 | faceLandmark.xy to 80550011
    2024-04-25T16:07:08.396Z    1108    GoogleFDNode    QueryBufferInfo: [FD] Google FD Node publishing com.google.nexus.experimental2018 | faceLandmark.depth to 80550012
    2024-04-25T16:07:08.396Z    1108    GoogleFDNode    QueryBufferInfo: [FD] Google FD Node publishing com.google.nexus.experimental2018 | faceOrientation to 80550014
    2024-04-25T16:07:08.396Z    1108    CamX    [ERROR][PPROC  ] camxipenode.cpp:3598 GetEISMargin() No margin for stabilization type 0
    2024-04-25T16:07:08.396Z    1108    CamX    [DEBUG][PPROC  ] camxipenode.cpp:2378 ProcessingNodeFinalizeInputRequirement() IPE video dimension: 1920 x 1080
    2024-04-25T16:07:08.396Z    1108    CHIUSECASE  select modeindex 6 for DFPS, LLV, AR modes
    2024-04-25T16:07:08.396Z    1108    CHIUSECASE  CameraID: 0, SelectedMode W=4032, H=2272, FPS:30, NumBatchedFrames:1, modeIndex:6
    2024-04-25T16:07:08.396Z    1108    CHIUSECASE  Create: Created a GoogleUsecaseRealtimePipeline for camera 0
    2024-04-25T16:07:08.396Z    1108    CHIUSECASE  Build: building a session with pipeline for camera id 0
    2024-04-25T16:07:08.451Z    1108    CamX    [ERROR][HAL    ] camxmetadatapool.cpp:1556 SetMetadataByTag() Invalid slot; cannot set metadata tag 80090003
    2024-04-25T16:07:08.451Z    1108    CamX    [ERROR][HAL    ] camxmetadatapool.cpp:1720 PublishMetadataList() Invalid slot, cannot publish metadata list
    2024-04-25T16:07:08.452Z    1108    android.hardware.camera.provider@2.4-service_64 [GOOG_STATS] PDLibData already assigned
    2024-04-25T16:07:08.452Z    1108    android.hardware.camera.provider@2.4-service_64 [GOOG_STATS] Calling CreatePDLib in QC library
    2024-04-25T16:07:08.452Z    1108    CamX    [ERROR][SENSOR ] camxsensornode.cpp:2174 LoadPDlibrary() PD library CreateLib failure result=0, m_pPDLib=0x6eb70556d0
    2024-04-25T16:07:08.468Z    1128    sensors-hal batch_physical_sensor:285, android.sensor.gyroscope/41, period=5000000, max_latency=0
    2024-04-25T16:07:08.469Z    1128    sensors-hal batch_physical_sensor:296, android.sensor.gyroscope/41, period=5000000, max_latency=0 request completed
    2024-04-25T16:07:08.469Z    1128    sensors-hal flush_physical_sensor:328, android.sensor.gyroscope/41
    2024-04-25T16:07:08.469Z    1128    sensors-hal flush_physical_sensor:336, android.sensor.gyroscope/41 completed
    2024-04-25T16:07:08.469Z    1108    CamX    [ERROR][CORE   ] camxnode.cpp:4705 CreateBufferManagers() invalid type streamConfig 
    2024-04-25T16:07:08.516Z    1136    QCALOG  [LOWIClientListener] @computeRssiMetrics(): no measurements available to calculate rssi metrics
    2024-04-25T16:07:08.517Z    1108    CamX    [ERROR][CORE   ] camxnode.cpp:4705 CreateBufferManagers() invalid type streamConfig 
    2024-04-25T16:07:08.520Z    2858    dzkh    Received empty WiFi-RTT scan. [CONTEXT service_id=6 ]

    2024-04-25T16:07:08.520Z    1108    CamX    [ERROR][CORE   ] camxnode.cpp:4705 CreateBufferManagers() invalid type streamConfig 
    2024-04-25T16:07:08.522Z    1108    CamX    [ERROR][STATS_AF] camxcaecstatsprocessor.cpp:3392 ReadTuningModeParameter() PropertyIDUsecaseChiTuningModeParameter is not published!
    2024-04-25T16:07:08.526Z    1108    CamX    [ WARN][STATS  ] camxae.cpp:2179 AECLoadTuning() load tuning(cameraID,SensorMode,Usecase)=(0,0,0),opMode=2, name:IMX363 Full
    2024-04-25T16:07:08.526Z    1108    CamX    [ERROR][STATS_AEC] aec_set.cpp:2692: aec_set_param Aec_Error: Sensor Config input is wrong
    2024-04-25T16:07:08.526Z    1108    CamX    [ERROR][STATS_AEC] aec_led_calibration.cpp:560: aec_led_cal_apply_calibration Invalid pointer 0x6e030e1e20 0x0
    2024-04-25T16:07:08.526Z    1108    CamX    [ERROR][STATS_AEC] aec_set.cpp:1350: aec_set_fps_range Aec_Error invalid input 417 
    2024-04-25T16:07:08.526Z    1108    CamX    [ERROR][STATS_AEC] aec_set.cpp:225: aec_calculate_sensitivity Set sensor configuration has not been set
    2024-04-25T16:07:08.526Z    1108    CamX    [ERROR][STATS  ] gcamfastaeutil.cpp:1154 SetTuningData() [FastAE] ERROR! Failed to get the tuning data
    2024-04-25T16:07:08.526Z    1108    CamX    [ERROR][HAL    ] camxmetadatapool.cpp:1397 GetMetadataByTag() Invalid Slot to get a metadata from
    2024-04-25T16:07:08.526Z    1108    CamX    [ERROR][STATS_AEC] aec_led_calibration.cpp:560: aec_led_cal_apply_calibration Invalid pointer 0x6e030e1e20 0x0
    2024-04-25T16:07:08.526Z    1108    CamX    [ERROR][STATS_AEC] aec_set.cpp:1350: aec_set_fps_range Aec_Error invalid input 417 
    2024-04-25T16:07:08.526Z    1108    CamX    [ERROR][HAL    ] camxmetadatapool.cpp:1397 GetMetadataByTag() Invalid Slot to get a metadata from
    2024-04-25T16:07:08.530Z    1108    GoogTuning  Error! Unsupported tuning mode (usecase: 65535, sensorMode: 65535) - using the default tuning header instead
    2024-04-25T16:07:08.541Z    1108    CamX    [DEBUG][STATS_AWB] camxcawbstatsprocessor.cpp:787 SetOperationModetoAlgo() Mode set to Algo: 1
    2024-04-25T16:07:08.541Z    1108    CamX    [ERROR][HAL    ] camxmetadatapool.cpp:1397 GetMetadataByTag() Invalid Slot to get a metadata from
    2024-04-25T16:07:08.545Z    1128    sensors-hal flush_physical_sensor:328, android.sensor.gyroscope/41
    2024-04-25T16:07:08.545Z    1128    sensors-hal flush_physical_sensor:336, android.sensor.gyroscope/41 completed
    2024-04-25T16:07:08.549Z    1128    VSC @ 5696.480: {Fusion} configure fusion 9 19230us 0us.
    2024-04-25T16:07:08.549Z    1128    VSC @ 5696.480: [Gravity Sensor] Request accel, interval 19.2 ms, latency 0.0 ms
    2024-04-25T16:07:08.549Z    1128    VSC @ 5696.480: [Gravity Sensor] Request gyro, interval 5.0 ms, latency 0.0 ms
    2024-04-25T16:07:08.552Z    1128    ASH @ 5696.483: SensorType 1 resampler quality 3
    2024-04-25T16:07:08.552Z    1108    CamX    [ERROR][HAL    ] camxsession.cpp:3537 GetIntraRealtimePipelineId() Less than two realtime pipelines, no intra result
    2024-04-25T16:07:08.552Z    1108    CamX    [ERROR][STATS_AF] camxcafioutil.cpp:378 ReadTuningModeParameter() PropertyIDUsecaseChiTuningModeParameter is not published!
    2024-04-25T16:07:08.552Z    1108    GoogTuning  Error! Unsupported tuning mode (usecase: 65535, sensorMode: 65535) - using the default tuning header instead
    2024-04-25T16:07:08.552Z    1108    CamX    [ERROR][HAL    ] camxmetadatapool.cpp:1397 GetMetadataByTag() Invalid Slot to get a metadata from
    2024-04-25T16:07:08.561Z    1108    android.hardware.camera.provider@2.4-service_64 [GOOG_STATS] PDAF wrapper is successfully initialized
    2024-04-25T16:07:08.561Z    1108    android.hardware.camera.provider@2.4-service_64 [GOOG_STATS] PDAF infinity DAC = -230, macro DAC = 503, image bits = 8
    2024-04-25T16:07:08.561Z    1108    android.hardware.camera.provider@2.4-service_64 [GOOG_STATS] doDefaultPDProcess = 0
    2024-04-25T16:07:08.561Z    1108    android.hardware.camera.provider@2.4-service_64 [GOOG_STATS] Calling QC PDLibInitialize: run on sparse PD = 0
    2024-04-25T16:07:08.561Z    1108    CamX    [ERROR][STATS_AF] pdlib_lcr_utils.cpp:136 pdaf_lcr_get_vertical_blocks() Cound not find a good partition, set mega_block_y = 1
    2024-04-25T16:07:08.594Z    1108    CamX    [ERROR][HAL    ] camxmetadatapool.cpp:1397 GetMetadataByTag() Invalid Slot to get a metadata from
    2024-04-25T16:07:08.595Z    1108    GoogSensorSync  GoogSensorSync 67 Sensor sync camera ID: 0
    2024-04-25T16:07:08.597Z    1108    GoogSensorSync  GetSensorHandle 109 handle for 0 is found.
    2024-04-25T16:07:08.599Z    1128    sensors-hal batch_physical_sensor:285, com.google.sensor.camera_vsync/11051, period=5000000, max_latency=0
    2024-04-25T16:07:08.599Z    1128    sensors-hal batch_physical_sensor:296, com.google.sensor.camera_vsync/11051, period=5000000, max_latency=0 request completed
    2024-04-25T16:07:08.599Z    1128    sensors-hal activate_physical_sensor:220, com.google.sensor.camera_vsync/11051 en=1
    2024-04-25T16:07:08.600Z    1128    sensors-hal get_qmi_debug_flag:245, support_qmi_debug : false
    2024-04-25T16:07:08.601Z    1128    sensors-hal activate_physical_sensor:233, com.google.sensor.camera_vsync/11051 en=1 completed
    2024-04-25T16:07:08.601Z    1108    CHIUSECASE  Create: Initialized Google use case successfully.
    2024-04-25T16:07:08.601Z    1108    CHIUSECASE  usecase UsecaseJPEGEncodeLiveSnapshot, pipelineName JPEGEncodeLiveSnapshotPreview
    2024-04-25T16:07:08.601Z    1108    ISPHVX  Override data space to BT601_625 full range: 0x102
    2024-04-25T16:07:08.605Z    1286    Camera3-Device  Set real time priority for request queue thread (tid 23586)
    2024-04-25T16:07:08.606Z    23310   SyncCaptureSessionImpl  [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@e25e2b8] Session onConfigured()
    2024-04-25T16:07:08.607Z    23310   CaptureSession  Attempting to send capture request onConfigured
    2024-04-25T16:07:08.607Z    23310   CaptureSession  Issuing request for session.
    2024-04-25T16:07:08.607Z    23310   Camera2CaptureRequestBuilder    createCaptureRequest
    2024-04-25T16:07:08.614Z    23310   CaptureSession  CameraCaptureSession.onConfigured() mState=OPENED
    2024-04-25T16:07:08.615Z    23310   CaptureSession  CameraCaptureSession.onReady() OPENED
    2024-04-25T16:07:08.616Z    1108    CHIUSECASE  SubmitRequest: ActivatePipeline camera id 0
    2024-04-25T16:07:08.629Z    1108    CamX    [ERROR][STATS_AF] camxafstatemachine.cpp:238 HandleAFStateTransition() Cause 3 not handled in state 0
    2024-04-25T16:07:08.629Z    1108    CamX    [ERROR][STATS_AF] camxcafioutil.cpp:988 ReadAECInput() PropertyIDAECInternal null data
    2024-04-25T16:07:08.629Z    1108    CamX    [ERROR][STATS_AF] camxcafioutil.cpp:1015 ReadAECInput() PropertyIDAECFrameInfo null data
    2024-04-25T16:07:08.631Z    1108    CamX    [ WARN][STATS  ] camxae.cpp:2179 AECLoadTuning() load tuning(cameraID,SensorMode,Usecase)=(0,6,0),opMode=4, name:IMX363 LLV 30fps
    2024-04-25T16:07:08.631Z    1108    CamX    [ERROR][STATS_AEC] aec_led_calibration.cpp:560: aec_led_cal_apply_calibration Invalid pointer 0x6e030e1e20 0x0
    2024-04-25T16:07:08.631Z    1108    CamX    [ERROR][STATS_AEC] aec_set.cpp:1350: aec_set_fps_range Aec_Error invalid input 385 
    2024-04-25T16:07:08.631Z    1108    CamX    [ERROR][STATS  ] camxcaecstatsprocessor.cpp:3347 ProcessRequestFastAE() [FastAE] Failed to apply gain to the stats!
    2024-04-25T16:07:08.631Z    1108    CamX    [ERROR][STATS_AEC] aec_process.cpp:1229: aec_process_stats_parsing aec is null or invalid
    2024-04-25T16:07:08.631Z    1108    CamX    [ERROR][STATS_AEC] aec_process.cpp:8002: aec_process_preview_and_video Error: invalid stats
    2024-04-25T16:07:08.634Z    1108    CamX    [DEBUG][STATS  ] camxcawbstatsprocessor.cpp:622 IsValidAlgoOutput() gains from algo for ReqId :1 Red  = 1.946148, green  = 1.000000, blue  = 1.999216
    2024-04-25T16:07:08.634Z    1108    CamX    [ERROR][STATS_AEC] camxcaecstatsprocessor.cpp:1745 SetAlgoBayerHistValue() Unsupported bayer hist channel!
    2024-04-25T16:07:08.634Z    1108    CamX    [ERROR][STATS  ] camxcaecstatsprocessor.cpp:3347 ProcessRequestFastAE() [FastAE] Failed to apply gain to the stats!
    2024-04-25T16:07:08.634Z    1108    CamX    [ERROR][STATS_AEC] aec_process.cpp:1229: aec_process_stats_parsing aec is null or invalid
    2024-04-25T16:07:08.634Z    1108    CamX    [ERROR][STATS_AEC] aec_process.cpp:8002: aec_process_preview_and_video Error: invalid stats
    2024-04-25T16:07:08.635Z    1108    CamX    [DEBUG][STATS  ] camxcawbstatsprocessor.cpp:622 IsValidAlgoOutput() gains from algo for ReqId :2 Red  = 1.946148, green  = 1.000000, blue  = 1.999216
    2024-04-25T16:07:08.636Z    1108    CamX    [ERROR][STATS  ] camxcaecstatsprocessor.cpp:3347 ProcessRequestFastAE() [FastAE] Failed to apply gain to the stats!
    2024-04-25T16:07:08.636Z    1108    CamX    [ERROR][STATS_AEC] aec_process.cpp:1229: aec_process_stats_parsing aec is null or invalid
    2024-04-25T16:07:08.636Z    1108    CamX    [ERROR][STATS_AEC] aec_process.cpp:8002: aec_process_preview_and_video Error: invalid stats
    2024-04-25T16:07:08.637Z    1108    CamX    [DEBUG][STATS  ] camxcawbstatsprocessor.cpp:622 IsValidAlgoOutput() gains from algo for ReqId :3 Red  = 1.946148, green  = 1.000000, blue  = 1.999216
    2024-04-25T16:07:08.638Z    1108    CamX    [ERROR][STATS_AEC] camxcaecstatsprocessor.cpp:1745 SetAlgoBayerHistValue() Unsupported bayer hist channel!
    2024-04-25T16:07:08.639Z    1108    CamX    [ERROR][STATS  ] camxcaecstatsprocessor.cpp:3347 ProcessRequestFastAE() [FastAE] Failed to apply gain to the stats!
    2024-04-25T16:07:08.639Z    1108    CamX    [ERROR][STATS_AEC] aec_process.cpp:1229: aec_process_stats_parsing aec is null or invalid
    2024-04-25T16:07:08.639Z    1108    CamX    [ERROR][STATS_AEC] aec_process.cpp:8002: aec_process_preview_and_video Error: invalid stats
    2024-04-25T16:07:08.640Z    1108    CamX    [DEBUG][STATS  ] camxcawbstatsprocessor.cpp:622 IsValidAlgoOutput() gains from algo for ReqId :4 Red  = 1.946148, green  = 1.000000, blue  = 1.999216
    2024-04-25T16:07:08.651Z    1128    sensors-hal handle_indication_realtime:456,  SCHED_FIFO(10) for qmi_cbk
    2024-04-25T16:07:08.652Z    1108    CamX    [ERROR][HAL    ] camxmetadatapool.cpp:1556 SetMetadataByTag() Invalid slot; cannot set metadata tag 80210000
    2024-04-25T16:07:08.652Z    1108    CamX    [ERROR][HAL    ] camxmetadatapool.cpp:1720 PublishMetadataList() Invalid slot, cannot publish metadata list
    2024-04-25T16:07:08.685Z    1108    CamX    [ERROR][HAL    ] camxmetadatapool.cpp:1556 SetMetadataByTag() Invalid slot; cannot set metadata tag 80210000
    2024-04-25T16:07:08.685Z    1108    CamX    [ERROR][HAL    ] camxmetadatapool.cpp:1720 PublishMetadataList() Invalid slot, cannot publish metadata list
    2024-04-25T16:07:08.750Z    1108    android.hardware.camera.provider@2.4-service_64 GetExposureStartTimestampVsync 179 goog_sensor_sync_handle is null.
    2024-04-25T16:07:08.750Z    1108    GoogSensorSync  GoogSensorSync 67 Sensor sync camera ID: 0
    2024-04-25T16:07:08.754Z    1108    GoogSensorSync  GetSensorHandle 109 handle for 0 is found.
    2024-04-25T16:07:08.754Z    1108    CamX    [ERROR][STATS_AFD] afd_process.cpp:1533: afd_process_algo_run stats=0x6deb72f088, bg_stats=0x6deb72f2c8, rowSumTime=0.000000
    2024-04-25T16:07:08.767Z    23310   VideoCapture    cameraCaptureResult timestampNs = 5693953032339, current system uptimeMs = 5694016, current system realtimeMs = 5694016
    2024-04-25T16:07:08.779Z    23310   StreamStateObserver Update Preview stream state to STREAMING
    2024-04-25T16:07:08.781Z    23310   CameraView  invokeOnStarted()
    2024-04-25T16:07:09.214Z    23310   CameraView  invokeOnAverageFpsChanged(0.0)
    2024-04-25T16:07:09.216Z    1108    native  tripod_detector.cc:58 Enter tripod mode.

    2024-04-25T16:07:09.336Z    1108    goog_eis    Fence waiting timed out. Force processing the frame 10
    2024-04-25T16:07:09.367Z    1108    goog_eis    Fence waiting timed out. Force processing the frame 11
    2024-04-25T16:07:09.397Z    1108    goog_eis    Fence waiting timed out. Force processing the frame 12
    2024-04-25T16:07:09.469Z    1108    goog_eis    Fence waiting timed out. Force processing the frame 14
    2024-04-25T16:07:09.500Z    1108    goog_eis    Fence waiting timed out. Force processing the frame 15
    2024-04-25T16:07:09.531Z    1108    goog_eis    Fence waiting timed out. Force processing the frame 16
    2024-04-25T16:07:09.572Z    1108    goog_eis    Fence waiting timed out. Force processing the frame 17
    2024-04-25T16:07:09.804Z    1108    ISPHVX  PREVIEW_FRAMES_PER_SECOND: 30.067895
    2024-04-25T16:07:09.923Z    2053    WifiNl80211Manager  Scan result ready event
    2024-04-25T16:07:09.923Z    2053    WifiNative  Scan result ready event
    2024-04-25T16:07:09.927Z    2053    IE_Capabilities Unknown RSN cipher suite: 6ac0f00
    2024-04-25T16:07:09.934Z    2053    WificondScannerImpl Filtering out 2 scan results.
    2024-04-25T16:07:09.957Z    2053    PasspointManager    ANQP entry not found for: e6:bf:fa:b8:6e:88:<>
    2024-04-25T16:07:09.958Z    2053    PasspointManager    ANQP entry not found for: e6:bf:fa:b8:6e:8a:<>
    2024-04-25T16:07:09.958Z    2053    PasspointManager    ANQP entry not found for: e6:bf:fa:b8:6e:8e:<>
    2024-04-25T16:07:09.963Z    1401    lowi-server type=1400 audit(0.0:501): avc: granted { net_admin } for capability=12 scontext=u:r:location:s0 tcontext=u:r:location:s0 tclass=capability
    2024-04-25T16:07:10.024Z    1136    QCALOG  [LOWIClientListener] @computeRssiMetrics(): no measurements available to calculate rssi metrics

    2024-04-25T16:07:10.085Z    2858    dzkh    Received empty WiFi-RTT scan. [CONTEXT service_id=6 ]

    2024-04-25T16:07:10.214Z    23310   CameraView  invokeOnAverageFpsChanged(0.0)
    2024-04-25T16:07:10.426Z    2053    ConnectivityService NetReassign [no changes] [c 1] [a 0] [i 1]
    2024-04-25T16:07:10.523Z    1401    lowi-server type=1400 audit(0.0:502): avc: granted { net_admin } for capability=12 scontext=u:r:location:s0 tcontext=u:r:location:s0 tclass=capability
    2024-04-25T16:07:10.592Z    1136    QCALOG  [LOWIClientListener] @computeRssiMetrics(): no measurements available to calculate rssi metrics
    2024-04-25T16:07:10.597Z    2858    dzkh    Received empty WiFi-RTT scan. [CONTEXT service_id=6 ]

    2024-04-25T16:07:10.835Z    1108    ISPHVX  PREVIEW_FRAMES_PER_SECOND: 30.067895
    2024-04-25T16:07:10.943Z    1128    CHRE    @ 5698.874: [AR] ON => IDLE
    2024-04-25T16:07:11.216Z    23310   CameraView  invokeOnAverageFpsChanged(0.0)
    2024-04-25T16:07:11.533Z    1128    VSC @ 5699.463: [Significant Motion] Request motion_detect, interval 18446744027136.0 ms, latency 0.0 ms
    2024-04-25T16:07:11.534Z    1128    VSC @ 5699.464: [Significant Motion] Stop accel
    2024-04-25T16:07:11.545Z    1128    ASH @ 5699.476: SensorType 195 resampler quality 2
    2024-04-25T16:07:11.858Z    1108    ISPHVX  PREVIEW_FRAMES_PER_SECOND: 30.273438
    2024-04-25T16:07:12.215Z    23310   CameraView  invokeOnAverageFpsChanged(0.0)
    2024-04-25T16:07:12.600Z    1401    lowi-server type=1400 audit(0.0:503): avc: granted { net_admin } for capability=12 scontext=u:r:location:s0 tcontext=u:r:location:s0 tclass=capability
    2024-04-25T16:07:12.682Z    1136    QCALOG  [LOWIClientListener] @computeRssiMetrics(): no measurements available to calculate rssi metrics
    2024-04-25T16:07:12.687Z    2858    dzkh    Received empty WiFi-RTT scan. [CONTEXT service_id=6 ]

    2024-04-25T16:07:12.863Z    1108    ISPHVX  PREVIEW_FRAMES_PER_SECOND: 29.850746

    2024-04-25T16:07:13.216Z    23310   CameraView  invokeOnAverageFpsChanged(0.0)
    2024-04-25T16:07:13.440Z    2053    ConnectivityService NetReassign [no changes] [c 1] [a 0] [i 2]
    2024-04-25T16:07:13.803Z    1128    sensors-hal batch_physical_sensor:285, android.sensor.pressure/61, period=100000000, max_latency=0
    2024-04-25T16:07:13.803Z    1128    sensors-hal batch_physical_sensor:296, android.sensor.pressure/61, period=100000000, max_latency=0 request completed
    2024-04-25T16:07:13.804Z    1128    sensors-hal activate_physical_sensor:220, android.sensor.pressure/61 en=1
    2024-04-25T16:07:13.804Z    1128    sensors-hal get_qmi_debug_flag:245, support_qmi_debug : false
    2024-04-25T16:07:13.806Z    1128    sensors-hal activate_physical_sensor:233, android.sensor.pressure/61 en=1 completed
    2024-04-25T16:07:13.810Z    1128    ASH @ 5701.739: bmp380: pressure odr = 10
    2024-04-25T16:07:13.812Z    1128    sensors-hal handle_indication_realtime:456,  SCHED_FIFO(10) for qmi_cbk
    2024-04-25T16:07:13.817Z    2858    ActivityScheduler   nextTriggerTime: 5703817, in 4752ms, detectorType: 0,  alarmWindowMillis: 2000
    2024-04-25T16:07:13.836Z    2858    ActivityScheduler   nextTriggerTime: 5703817, in 4732ms, detectorType: 0,  alarmWindowMillis: 2000
    2024-04-25T16:07:13.895Z    1108    ISPHVX  PREVIEW_FRAMES_PER_SECOND: 30.038760
    2024-04-25T16:07:14.217Z    23310   CameraView  invokeOnAverageFpsChanged(0.0)
    2024-04-25T16:07:14.690Z    1401    lowi-server type=1400 audit(0.0:504): avc: granted { net_admin } for capability=12 scontext=u:r:location:s0 tcontext=u:r:location:s0 tclass=capability
    2024-04-25T16:07:14.836Z    1136    QCALOG  [LOWIClientListener] @computeRssiMetrics(): no measurements available to calculate rssi metrics
    2024-04-25T16:07:14.846Z    2858    dzkh    Received empty WiFi-RTT scan. [CONTEXT service_id=6 ]

    2024-04-25T16:07:14.919Z    1108    ISPHVX  PREVIEW_FRAMES_PER_SECOND: 30.273438
    2024-04-25T16:07:15.217Z    23310   CameraView  invokeOnAverageFpsChanged(0.0)
    2024-04-25T16:07:15.341Z    23310   ReactNativeJS   Shutter Pressed (photo)
    2024-04-25T16:07:15.412Z    23310   CameraView  Finding view 3637...
    2024-04-25T16:07:15.413Z    23310   CameraView  Found view 3637!
    2024-04-25T16:07:15.457Z    23310   ReactNativeJS   { [EUNSPECIFIED: quality]
  name: 'EUNSPECIFIED',
  _code: 'EUNSPECIFIED',
  _message: 'quality',
  _cause: undefined }

Camera Device

{
  "formats": [],
  "sensorOrientation": "landscape-left",
  "hardwareLevel": "full",
  "maxZoom": 7,
  "minZoom": 1,
  "maxExposure": 24,
  "supportsLowLightBoost": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": false,
  "isMultiCam": false,
  "minFocusDistance": 10,
  "minExposure": -24,
  "name": "0 (BACK) androidx.camera.camera2",
  "hasFlash": true,
  "hasTorch": true,
  "position": "back",
  "id": "0"
}

Device

Pixel 3a (Android 2)

VisionCamera Version

4.0.0

Can you reproduce this issue in the VisionCamera Example app?

I didn't try (⚠️ your issue might get ignored & closed if you don't try this)

Additional information

jkaufman commented 3 weeks ago

Also reproduces with Moto G Stylus 5G 2022.