[xiaomi-beryllium][google-sargo][op6*] OOTB support for camera through pipewire/libcamera
Follow-up of the qcom-linux#14 issue
I've tried building gnome-snapshot locally and including the patches from Alpine/pmOS
0001-aperture-Default-to-720p.patch
0002-aperture-Support-H264-recorder-encoding.patch
0003-gsettings-Add-and-default-to-h264-mp4-format.patch
The result is better than what we actually have in Debian, but still far from how it works in pmOS: image blocks after preview starts, first photogram remains on the screen.
feb 06 21:35:18 mobian pipewire[4134]: [0:12:04.391026272] [4134] INFO Camera camera.cpp:1202 configuring streams: (0) 1280x720-ABGR8888
feb 06 21:35:18 mobian pipewire[4134]: [0:12:04.400598213] [4183] WARN CameraSensor camera_sensor_legacy.cpp:501 'imx363 16-0010': No sensor delays found in static properties. Assuming unverified defaults.
feb 06 21:35:18 mobian pipewire[4134]: [0:12:04.400679260] [4183] WARN IPASoft soft_simple.cpp:237 IPASoft: Minimum gain is zero, that can't be linear
feb 06 21:35:18 mobian pipewire[4134]: [0:12:04.400716734] [4183] INFO IPASoft soft_simple.cpp:251 IPASoft: Exposure 4-1286, gain 100-480 (1)
feb 06 21:35:19 mobian kernel: qcom_q6v5_pas 5c00000.remoteproc: fatal error received: err_qdi.c:456:EF:sensor_process:1:dog_virtual_user.c:240:USER-PD DOG detects stalled initialization, triage with IMAGE OWNER
feb 06 21:35:19 mobian kernel: remoteproc remoteproc2: crash detected in 5c00000.remoteproc: type fatal error
feb 06 21:35:19 mobian kernel: remoteproc remoteproc2: handling crash #18 in 5c00000.remoteproc
feb 06 21:35:19 mobian kernel: remoteproc remoteproc2: recovering 5c00000.remoteproc
feb 06 21:35:19 mobian kernel: remoteproc remoteproc2: stopped remote processor 5c00000.remoteproc
feb 06 21:35:19 mobian kernel: qcom,fastrpc 5c00000.remoteproc:glink-edge.fastrpcglink-apps-dsp.-1.-1: assigned reserved memory node fastrpc
feb 06 21:35:19 mobian kernel: qcom_scm firmware:scm: Assign memory protection call failed -22
feb 06 21:35:19 mobian kernel: remoteproc remoteproc2: remote processor 5c00000.remoteproc is now up
feb 06 21:35:20 mobian pipewire[4134]: [0:12:07.170939743] [4251] INFO Debayer debayer_cpu.cpp:788 Processed 30 frames in 698240us, 23274 us/frame
Tried with the Gstreamer pipeline after snapshot crashed and it works, then the issue doesn't seem to be (entirely) on kernel side...