Status Update
Comments
we...@google.com <we...@google.com>
ch...@google.com <ch...@google.com> #2
Hi,
The problem might be caused by the other Samsung A23 known issue CameraAccessException: CAMERA_ERROR (3)
occurred or the images received from ImageAnalysis might be cropped.
When migrating to use ResolutionSelector, the selected resolution for ImageAnalysis might be changed according to your setting. To clarify whether this issue is the same as
As I remembered, the problem might occur on different resolutions if another ImageCapture is bound together. Therefore, I didn't find a good workaround for this issue.
Looks like your app requires Preview + ImageAnalysis UseCases combination. If it is confirmed that the issue is the same as
About the following log, it should not be printed by CameraX. By searching some internal info, it might be printed by some qcom related code. If Samsung indicates it is related to the root cause, I would think the issue you reported should be really caused from the device side.
08-12 14:29:43.170 1047 1118 1118 E CHINODEUTIL: [SS_ERR]camxchinodeutil.cpp:1006 GetAlignment()Stride or scanline alignment calculation may be incorrect!, strideAlignment = 512, scanlineAlignment = 256
BTW, for
Description
Instead, we started using the following two methods as recommended by Android:
Unfortunately, after that update the clients having a Samsung A23 device started to call our support as the camera / QR Code scanner in the app stopped working. It’s kind of frozen / greyed out.
After contacting Samsung they provided us the following logs:
-----------------
here you will find the answer from R&D.
Issue related to stride alignment.
08-12 14:29:43.170 1047 1118 1118 E CHINODEUTIL: [SS_ERR]camxchinodeutil.cpp:1006 GetAlignment()Stride or scanline alignment calculation may be incorrect!, strideAlignment = 512, scanlineAlignment = 256
08-12 14:29:43.170 1047 1118 1118 E CHINODEUTIL: [SS_ERR]camxchinodeutil.cpp:1006 GetAlignment()Stride or scanline alignment calculation may be incorrect!, strideAlignment = 512, scanlineAlignment = 512
08-12 14:29:43.170 1047 1118 1118 E CHINODEUTIL: [SS_ERR]camxchinodeutil.cpp:1006 GetAlignment()Stride or scanline alignment calculation may be incorrect!, strideAlignment = 512, scanlineAlignment = 256
08-12 14:29:43.170 1047 1118 1118 E CHINODEUTIL: [SS_ERR]camxchinodeutil.cpp:1006 GetAlignment()Stride or scanline alignment calculation may be incorrect!, strideAlignment = 512, scanlineAlignment = 512
08-12 14:29:43.170 1047 1118 1118 E CHINODEUTIL: [SS_ERR]camxchinodeutil.cpp:1006 GetAlignment()Stride or scanline alignment calculation may be incorrect!, strideAlignment = 512, scanlineAlignment = 256
08-12 14:29:43.170 1047 1118 1118 E CHINODEUTIL: [SS_ERR]camxchinodeutil.cpp:1006 GetAlignment()Stride or scanline alignment calculation may be incorrect!, strideAlignment = 512, scanlineAlignment = 512
08-12 14:29:43.170 1047 1118 1118 E CHINODEUTIL: [SS_ERR]camxchinodeutil.cpp:1006 GetAlignment()Stride or scanline alignment calculation may be incorrect!, strideAlignment = 512, scanlineAlignment = 256
Stridealignment and scanlinealignment calculations are incorrect leading to recovery, so this alignment need to be handled from 3rd party app side.
-----------------
CAMERAX VERSION 1.3.2
CAMERA APPLICATION NAME AND VERSION: version 14.1.00.67
ANDROID OS BUILD NUMBER: UP1A.231005.007.A236BXXU6EXF3
DEVICE NAME: Galaxy A23 5G