Hi,
I currently have an issue when capturing using the bypass mode on the TX2 and it seems to be related to the resolution of the frame. For instance, when trying to capture using the following command:
v4l2-ctl --set-fmt-video=width=4656,height=3496,pixelformat=BG10 --stream-mmap -d /dev/video0 --set-ctrl bypass_mode=0 --stream-to=test_5.raw --stream-count=1
I get the following frame on the TX1:
However, using the exact same configuration for the sensor on TX2 the frame seems to be cut out:
Inspecting the contents of the actual corrupted frame , it seems like it’s filled with zeros at the beginning:
The dmesg error shows a PXL_SOF message:
[ 1329.144846] imx298 30-0010: imx298_s_stream++ enable 1 mode 4
[ 1329.453008] imx298 30-0010: imx298_s_stream: s_data->mode 4
[ 1329.489449] imx298 30-0010: imx298_s_stream: success setting stream
[ 1329.495771] imx298 30-0010: imx298_s_stream: s_stream finished
[ 1329.524579] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0, pud=0, pmd=0, pte=0
[ 1330.498542] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 1330.523273] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0, pud=0, pmd=0, pte=0
[ 1331.502545] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 1331.521980] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0, pud=0, pmd=0, pte=0
[ 1332.506566] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 1332.520657] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0, pud=0, pmd=0, pte=0
[ 1333.510534] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 1333.519351] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0, pud=0, pmd=0, pte=0
[ 1334.514586] tegra-vi4 15700000.vi: ATOMP_FE syncpt timeout!
[ 1334.520804] imx298 30-0010: imx298_s_stream++ enable 0 mode 4
I’m not able to see this issue when capturing using Libargus or Nvcamerasrc. Also, the issue is not present when capturing at 1080p using the following command :
v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=BG10 --stream-mmap -d /dev/video0 --set-ctrl bypass_mode=0 --stream-to=test_5.raw --stream-count=1
I have the following questions:
- Is this a known issue?
- Any recommendations on what could be the path to fix this issue? I have the same sensor configuration when capturing from the sensor on TX1 and the issue is not present there
Thanks in advance.