getUserMedia with max resolution results in corrupted video stream
Categories
(Core :: WebRTC, defect)
Tracking
()
People
(Reporter: kbrosnan, Unassigned)
Details
From github: https://github.com/mozilla-mobile/fenix/issues/27973.
Steps to reproduce
- Create a video stream from phone camera through getUserMedia, specifying large ideal resolution, for example 10000x10000. This is just to get the largest possible resolution - requiring the largest possible directly will also reproduce this. I have reproduced this in a sligtly modified sample page
- Stream is opened, which reports size 3024x4032 (in video element, stream settings report swapped resolution 4032x3024, this must be requested in step 1) - this is fine, but the video stream itself is corrupted
Expected behaviour
The image should not be corrupted and should have a reasonable FPS, like all smaller resolutions do. Chrome (specifically GrapeheneOS Vanadium fork) can show this resolution normally, without slowdowns or image corruption.
Actual behaviour
The image stream is corrupted (always roughly in the same way, see image) and has low FPS (about 0.2 FPS?)
When smaller resolution stream (2160x3840) is opened first, opening the problematic one fails with "Starting videoinput failed - AbortError". Retrying usually fixes this. Reloading the page sometimes fixes this, sometimes it causes all stream openings to fail with this error and Firefox has to be relaunched, but that might be caused by #22884.
Sometimes there are only 2 "stripes" on the image.
This does not happen on user-facing camera, possibly because of its lower resolution (2448x3264).
Device name
Google Pixel 4a
Android version
Android 13 (Graphene OS)
Firefox release type
Firefox
Firefox version
107.1.0
Device logs
There is nothing relevant (only my own logs) in Firefox console (accessed through about:debugging).
Logcat reports nothing when normal video stream is open.
Switching between working dimensions prints:
<details><summary>Logcat output</summary>2022-11-25 13:54:24.456 1008-2178/? W/ISPHVX: QueryFrameOisSamples query ois data earlier than 40ms(391249320654858) in req(1559) 2022-11-25 13:54:24.456 1008-2178/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:665 SubmitCommand() IMX363: Failed submitting OIS communicator packet. 2022-11-25 13:54:24.456 1008-2178/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:755 UpdateShiftBuffer() IMX363: Failed getting OIS shift from kernel. 2022-11-25 13:54:24.457 1008-2178/? W/ISPHVX: QueryFrameOisSamples query ois data earlier than 40ms(391249320654858) in req(1560) 2022-11-25 13:54:24.457 1008-2178/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:665 SubmitCommand() IMX363: Failed submitting OIS communicator packet. 2022-11-25 13:54:24.457 1008-2178/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:755 UpdateShiftBuffer() IMX363: Failed getting OIS shift from kernel. 2022-11-25 13:54:24.457 1008-2178/? W/ISPHVX: QueryFrameOisSamples query ois data earlier than 40ms(391249320654858) in req(1561) 2022-11-25 13:54:24.457 1008-2178/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:665 SubmitCommand() IMX363: Failed submitting OIS communicator packet. 2022-11-25 13:54:24.457 1008-2178/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:755 UpdateShiftBuffer() IMX363: Failed getting OIS shift from kernel. 2022-11-25 13:54:24.459 1008-2176/? W/ISPHVX: QueryFrameOisSamples query ois data earlier than 40ms(391249320654858) in req(1563) 2022-11-25 13:54:24.459 1008-2176/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:665 SubmitCommand() IMX363: Failed submitting OIS communicator packet. 2022-11-25 13:54:24.459 1008-2176/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:755 UpdateShiftBuffer() IMX363: Failed getting OIS shift from kernel. 2022-11-25 13:54:24.464 1008-2180/? W/ISPHVX: QueryFrameOisSamples query ois data earlier than 40ms(391249320654858) in req(1562) 2022-11-25 13:54:24.464 1008-2180/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:665 SubmitCommand() IMX363: Failed submitting OIS communicator packet. 2022-11-25 13:54:24.464 1008-2180/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:755 UpdateShiftBuffer() IMX363: Failed getting OIS shift from kernel. 2022-11-25 13:54:24.468 1008-2180/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:665 SubmitCommand() IMX363: Failed submitting OIS communicator packet. 2022-11-25 13:54:24.468 1008-2180/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:755 UpdateShiftBuffer() IMX363: Failed getting OIS shift from kernel. 2022-11-25 13:54:24.480 1008-8033/? E/GCH_PendingRequestsTracker: TrackReturnedAcquiredBuffers: stream 0 should not have any pending acquired buffers. 2022-11-25 13:54:24.497 1008-1008/? W/FATPStuffs: releaseService, Service exits. 2022-11-25 13:54:24.550 1298-7941/? E/CameraService: CameraService::connect evicting conflicting client for camera ID 0 2022-11-25 13:54:24.628 1298-7941/? E/CameraServiceProxyWrapper: logClose: SessionStatsMap should contain camera 0 before it's closed 2022-11-25 13:54:24.632 1008-1008/? E/GCH_Utils: GetZoomRatioRange: Getting ANDROID_CONTROL_ZOOM_RATIO_RANGE failed: No such file or directory(-2) count: 0 2022-11-25 13:54:24.632 1008-1008/? W/GCH_CameraDeviceSession: InitializeZoomRatioMapper: Failed to get the zoom ratio range: No such file or directory(-2) 2022-11-25 13:54:24.643 1298-7941/? W/cameraserver: createSurfaceFromGbp: Camera 0 with consumer usage flag: 256: Forcing asynchronous mode forstream 2022-11-25 13:54:24.643 1298-7941/? W/cameraserver: createSurfaceFromGbp: Camera 0: Overriding format 0x1 to IMPLEMENTATION_DEFINED 2022-11-25 13:54:24.646 1008-1008/? E/GCH_ZslSnapshotCaptureSession: IsStreamConfigurationSupported: Software denoised not enabled 2022-11-25 13:54:24.646 1008-1008/? E/GCH_CameraVendorHwl: SetSessionData: error, vendor lib is not initialized. 2022-11-25 13:54:24.647 1008-1008/? E/CamX: [ERROR][CORE ] camxpipeline.cpp:4354 InitCPILibrary() [CPI] can not find the correct calibration file 2022-11-25 13:54:24.652 1008-1204/? E/DMABUFHEAPS: No ion heap of name ion_system_heap exists 2022-11-25 13:54:24.652 1008-1204/? E/DMABUFHEAPS: No ion heap of name ion_system_heap exists 2022-11-25 13:54:24.663 1008-1204/? E/native: simple_context.cc:41 Failed to create an OpenCL command queue with the given options. 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_ChiNodeWrapper_7 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_ChiNodeWrapper_7 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_ChiNodeWrapper_7 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_JPEG_Encoder_0 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.677 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_JPEG_Encoder_1 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.678 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IPE_1 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.678 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IPE_1 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.678 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_FDHw_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.678 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_FDHw_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(11). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.681 1008-1008/? W/binder:1008_2: type=1400 audit(0.0:742920): avc: denied { search } for name="camera" dev="dm-16" ino=205 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:camera_vendor_data_file:s0 tclass=dir permissive=0 2022-11-25 13:54:24.685 1008-1008/? E/CamX: [ERROR][STATS_AF] pdlib_lcr_utils.cpp:147 pdaf_lcr_get_vertical_blocks() Cound not find a good partition, set mega_block_y = 1 2022-11-25 13:54:24.685 1008-1008/? E/GABC: FlickerCancellation: flicker_cancellation.cc: 84: Load:No Flickertuning 2022-11-25 13:54:24.692 1008-1008/? E/GHAWB: Algo: ghawb_algorithm.cc: 432: SetTuning:Disable the awb of spectral because the history is invalid. 2022-11-25 13:54:24.700 1008-1008/? E/native: simple_context.cc:41 Failed to create an OpenCL command queue with the given options. 2022-11-25 13:54:24.697 1032-1032/? W/sensors@2.0-ser: type=1400 audit(0.0:742921): avc: denied { read write } for name="diag" dev="tmpfs" ino=26691 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:diag_device:s0 tclass=chr_file permissive=0 2022-11-25 13:54:24.697 1032-1032/? W/sensors@2.0-ser: type=1400 audit(0.0:742922): avc: denied { read write } for name="diag" dev="tmpfs" ino=26691 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:diag_device:s0 tclass=chr_file permissive=0 2022-11-25 13:54:24.711 1008-1008/? W/binder:1008_2: type=1400 audit(0.0:742923): avc: denied { search } for name="camera" dev="dm-16" ino=205 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:camera_vendor_data_file:s0 tclass=dir permissive=0 2022-11-25 13:54:24.711 1008-1008/? W/binder:1008_2: type=1400 audit(0.0:742924): avc: denied { search } for name="camera" dev="dm-16" ino=205 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:camera_vendor_data_file:s0 tclass=dir permissive=0 2022-11-25 13:54:24.718 1008-1008/? E/GAF: AlgoModule-imx363: gaf_mod_hw_controller.cc: 59: SanitizeAppRoi:ERROR! Focus roi Attempting to focus completely out of Cropped Window!! 2022-11-25 13:54:24.718 1008-1008/? E/GAF: AlgoModule-imx363: gaf_mod_hw_controller.cc: 66: SanitizeAppRoi:debug info: focusROI : xyDxDy 1693 1270 645 483 , CropWindw xyDxDy 0 0 0 0 2022-11-25 13:54:24.718 1008-1008/? E/GAF: AlgoModule-imx363: gaf_mod_hw_controller.cc: 59: SanitizeAppRoi:ERROR! Focus roi Attempting to focus completely out of Cropped Window!! 2022-11-25 13:54:24.718 1008-1008/? E/GAF: AlgoModule-imx363: gaf_mod_hw_controller.cc: 66: SanitizeAppRoi:debug info: focusROI : xyDxDy 1693 1270 645 483 , CropWindw xyDxDy 0 0 0 0 2022-11-25 13:54:24.805 1008-1008/? W/GCH_CameraPipelineHwl: DeactivateInternal Warning! pipeline has already been deactivated 2022-11-25 13:54:24.805 1008-1008/? W/FATPStuffs: releaseService, Service exits. 2022-11-25 13:54:24.845 1008-1008/? E/android.hardware.camera.provider@2.7-service-google: g3a_data_manager_vendor_module.cc:UnregisterCallback:251 DataManagerModule5: cannot delete ungrsistered module 2022-11-25 13:54:24.869 1008-1008/? E/android.hardware.camera.provider@2.7-service-google: g3a_data_manager_vendor_module.cc:UnregisterCallback:251 DataManagerModule5: cannot delete ungrsistered module 2022-11-25 13:54:24.912 1008-1008/? E/GCH_ZslSnapshotCaptureSession: IsStreamConfigurationSupported: Software denoised not enabled 2022-11-25 13:54:24.913 1008-1008/? E/GCH_CameraVendorHwl: SetSessionData: error, vendor lib is not initialized. 2022-11-25 13:54:24.913 1008-1008/? E/CamX: [ERROR][CORE ] camxpipeline.cpp:4354 InitCPILibrary() [CPI] can not find the correct calibration file 2022-11-25 13:54:24.916 1008-1204/? E/DMABUFHEAPS: No ion heap of name ion_system_heap exists 2022-11-25 13:54:24.916 1008-1204/? E/DMABUFHEAPS: No ion heap of name ion_system_heap exists 2022-11-25 13:54:24.928 1008-1204/? E/native: simple_context.cc:41 Failed to create an OpenCL command queue with the given options. 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_ChiNodeWrapper_7 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_ChiNodeWrapper_7 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_ChiNodeWrapper_7 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.935 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IFE_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.936 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_JPEG_Encoder_0 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.936 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_JPEG_Encoder_1 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.936 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IPE_1 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.936 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_IPE_1 maxImageBuffers(8) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.936 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_FDHw_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.936 1008-1008/? E/CamX: [ERROR][CORE ] camxnode.cpp:6727 FinalizeInitialization() Node::GooglePhotoRear_FDHw_0 maxImageBuffers(10) from link properties should be atleast requiredMaxImageBuffers(12). So replacing maxImageBuffers with requiredMaxImageBuffers 2022-11-25 13:54:24.940 1008-1008/? E/CamX: [ERROR][STATS_AF] pdlib_lcr_utils.cpp:147 pdaf_lcr_get_vertical_blocks() Cound not find a good partition, set mega_block_y = 1 2022-11-25 13:54:24.941 1008-1008/? E/GABC: FlickerCancellation: flicker_cancellation.cc: 84: Load:No Flickertuning 2022-11-25 13:54:24.944 1008-1008/? E/GHAWB: Algo: ghawb_algorithm.cc: 432: SetTuning:Disable the awb of spectral because the history is invalid. 2022-11-25 13:54:24.949 1008-1008/? E/native: simple_context.cc:41 Failed to create an OpenCL command queue with the given options. 2022-11-25 13:54:24.957 1008-1008/? E/GAF: : gaf_mod_infnet.cc: 77: CModInfNet:Can not open the on device training file. 2022-11-25 13:54:24.957 1008-1008/? E/GAF: : gaf_mod_infnet.cc: 84: CModInfNet:Can not open the data collection file. 2022-11-25 13:54:24.957 1008-1008/? E/GAF: AlgoModule-imx363: gaf_mod_hw_controller.cc: 59: SanitizeAppRoi:ERROR! Focus roi Attempting to focus completely out of Cropped Window!! 2022-11-25 13:54:24.957 1008-1008/? E/GAF: AlgoModule-imx363: gaf_mod_hw_controller.cc: 66: SanitizeAppRoi:debug info: focusROI : xyDxDy 847 477 322 181 , CropWindw xyDxDy 0 0 0 0 2022-11-25 13:54:24.957 1008-1008/? E/GAF: AlgoModule-imx363: gaf_mod_hw_controller.cc: 59: SanitizeAppRoi:ERROR! Focus roi Attempting to focus completely out of Cropped Window!! 2022-11-25 13:54:24.957 1008-1008/? E/GAF: AlgoModule-imx363: gaf_mod_hw_controller.cc: 66: SanitizeAppRoi:debug info: focusROI : xyDxDy 847 477 322 181 , CropWindw xyDxDy 0 0 0 0 2022-11-25 13:54:25.019 1579-1579/? W/NotificationHistory: Attempted to add notif for locked/gone/disabled user 0 2022-11-25 13:54:25.089 1008-2180/? E/GHAWB: Algo: ghawb_algorithm.cc: 432: SetTuning:Disable the awb of spectral because the history is invalid. 2022-11-25 13:54:25.089 1008-2175/? E/GABC: FlickerDetection: flicker_detection.cc: 158: ComputeFlickerResult:RLS is not enabled, using timezone 100 2022-11-25 13:54:25.138 1008-2179/? E/native: frame_series.h:63 No valid frame assigned. Do nothing. 2022-11-25 13:54:25.138 1008-2179/? E/native: frame_series.h:63 No valid frame assigned. Do nothing. 2022-11-25 13:54:25.138 1008-2179/? E/native: hdrnet_node.cc:267 stat(/data/vendor/camera/hdrnet) failed: (errno: 13). 2022-11-25 13:54:25.139 1008-2176/? E/GABC: GABC-wrapper: google_abc_wrapper.cpp: 876: GabcOutputCalculateAfLumaStats:GabcOutputCalculateAfLumaStats Wrong input
</details>
after this the stream works fine and does not output anything relevant.
Switching from no stream to broken stream pastebin (too large for github).
The log never goes silent/calm like when normal stream is opened and keeps logging out large amount of these logs.Additional information
No response
┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Comment 1•2 years ago
|
||
Interesting android issue with high resolution requests. Might be fun to poke at.
Updated•2 years ago
|
Comment 2•2 years ago
•
|
||
I've tested the current release 108 on a Pixel 3 and Pixel6 using the supplied sample page. The rear camera was able to generate a large image of 3024x4032 without corruption or slow FPS. It would be good if they could try updating to 108 build and see if it still has the same issue.
Comment 3•2 years ago
•
|
||
Can we try to have this retested with 108 to see if it is still reproducible?
Reporter | ||
Comment 4•2 years ago
|
||
Still reproducible https://github.com/mozilla-mobile/fenix/issues/27973#issuecomment-1380134851
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Not sure if this is specific to Graphine OS, or the Pixel 4.
Updated•2 years ago
|
Description
•