I have 4 ~20M pixels sensors. Every sensor for itself is working properly streaming full resolution, but running Multi Session in argus_camera sample app results in NULL pointer.
I’ve tried maxing VI clock and running jetson_clocks script.
error:
[ 73.696721] misc tegra_camera_ctrl: tegra_camera_update_isobw: Warning, Requested ISO BW 11250000 has been capped to VI's max BW 6400000
[ 73.822214] tegra194-vi5 15c10000.vi: vi_channel_power_off_vi_device
[ 73.837192] misc tegra_camera_ctrl: tegra_camera_update_isobw: Warning, Requested ISO BW 8437500 has been capped to VI's max BW 6400000
[ 73.840380] tegra194-vi5 15c10000.vi: vi_channel_power_on_vi_device
[ 73.840451] tegra194-vi5 15c10000.vi: vi_channel_power_off_vi_device
[ 73.840567] tegra194-vi5 15c10000.vi: vi_channel_power_on_vi_device
[ 73.840601] tegra194-vi5 15c10000.vi: vi_channel_power_off_vi_device
[ 73.840621] tegra194-vi5 15c10000.vi: vi_channel_power_on_vi_device
[ 73.840653] tegra194-vi5 15c10000.vi: vi_channel_power_off_vi_device
[ 73.840668] tegra194-vi5 15c10000.vi: vi_channel_power_on_vi_device
[ 73.840952] tegra194-vi5 15c10000.vi: 6 GoS tables configured.
[ 73.840997] tegra194-vi5 15c10000.vi: gos[0] = 0xeca00000
[ 73.841083] tegra194-vi5 15c10000.vi: gos[1] = 0xeca01000
[ 73.841087] tegra194-vi5 15c10000.vi: gos[2] = 0xeca02000
[ 73.841091] tegra194-vi5 15c10000.vi: gos[3] = 0xeca03000
[ 73.841095] tegra194-vi5 15c10000.vi: gos[4] = 0xeca04000
[ 73.841098] tegra194-vi5 15c10000.vi: gos[5] = 0xeca05000
[ 73.867894] misc tegra_camera_ctrl: tegra_camera_update_isobw: Warning, Requested ISO BW 11250000 has been capped to VI's max BW 6400000
[ 74.130422] Unable to handle kernel NULL pointer dereference at virtual address 00000020
[ 74.130603] Mem abort info:
[ 74.130662] ESR = 0x96000006
[ 74.130723] Exception class = DABT (current EL), IL = 32 bits
[ 74.130864] SET = 0, FnV = 0
[ 74.130923] EA = 0, S1PTW = 0
[ 74.130980] Data abort info:
[ 74.131034] ISV = 0, ISS = 0x00000006
[ 74.131104] CM = 0, WnR = 0
[ 74.131172] user pgtable: 4k pages, 39-bit VAs, pgd = ffffffc3a0886000
[ 74.131290] [0000000000000020] *pgd=0000000420f18003, *pud=0000000420f18003, *pmd=0000000000000000
[ 74.131887] Internal error: Oops: 96000006 [#1] PREEMPT SMP
[ 74.132024] Modules linked in:
[ 74.132106] CPU: 2 PID: 7519 Comm: CaptureSchedule Not tainted 4.9.108-framos-005 #22
[ 74.132247] Hardware name: jetson-xavier (DT)
[ 74.132331] task: ffffffc36ca02a00 task.stack: ffffffc376458000
[ 74.132445] PC is at iommu_dma_alloc_iova+0x58/0x90
[ 74.132785] LR is at iommu_dma_alloc_iova+0x58/0x90
[ 74.133167] pc : [<ffffff80086d69a0>] lr : [<ffffff80086d69a0>] pstate: 80400045
[ 74.135104] sp : ffffffc37645ba50
[ 74.138435] x29: ffffffc37645ba50 x28: ffffffc3e9d43800
[ 74.144289] x27: 00000000026e0000 x26: ffffffc2c0b37000
[ 74.150087] x25: 0000000000000000 x24: 0000000000000083
[ 74.155327] x23: ffffffc3e9ccfcb8 x22: 0000000000000001
[ 74.160922] x21: 0000007fffffffff x20: 00000000026e0000
[ 74.166687] x19: 000000000000000c x18: 0000000000000010
[ 74.172461] x17: 0000007fa5223b10 x16: ffffff80082622c0
[ 74.177907] x15: 0000000000000001 x14: 0000000000000000
[ 74.183673] x13: 0000000000000000 x12: 0088000000000000
[ 74.189274] x11: 0088000000000000 x10: 0101010101010101
[ 74.194972] x9 : ffffff8009572000 x8 : 00000043f650e000
[ 74.200772] x7 : 0000000380000000 x6 : ffffffc2c0b50488
[ 74.206253] x5 : ffffffc2c4847100 x4 : ffffffc3ffd75c80
[ 74.211837] x3 : 00000000000109c2 x2 : ffffffc2c48470c0
[ 74.217174] x1 : 0000000000000000 x0 : 0000000000000000
[ 74.223666] Process CaptureSchedule (pid: 7519, stack limit = 0xffffffc376458028)
[ 74.230918] Call trace:
[ 74.233208] [<ffffff80086d69a0>] iommu_dma_alloc_iova+0x58/0x90
[ 74.239056] [<ffffff80086d75a4>] iommu_dma_map_sg+0x124/0x3c0
[ 74.244400] [<ffffff80080a195c>] __iommu_map_sg_attrs+0x64/0x98
[ 74.250002] [<ffffff800855ce4c>] _nvmap_dmabuf_map_dma_buf+0x49c/0x5b0
[ 74.255979] [<ffffff8008565184>] nvmap_dmabuf_map_dma_buf+0x7c/0x168
[ 74.261845] [<ffffff80087feb2c>] dma_buf_map_attachment+0x94/0x1c0
[ 74.267940] [<ffffff8008b75fe4>] capture_common_pin_memory+0x54/0xe8
[ 74.273794] [<ffffff8008b762c0>] capture_common_request_pin_and_reloc+0x248/0x4b0
[ 74.280971] [<ffffff8008b78834>] isp_capture_request+0x284/0x4d0
[ 74.286484] [<ffffff8008b76d14>] isp_channel_ioctl+0x38c/0x418
[ 74.292526] [<ffffff8008261a78>] do_vfs_ioctl+0xb0/0x8f8
[ 74.297769] [<ffffff8008262354>] SyS_ioctl+0x94/0xa8
[ 74.302668] [<ffffff8008083580>] el0_svc_naked+0x34/0x38
[ 74.308189] ---[ end trace 22ab5ad3101ec6b2 ]---
Assume problem is in buffers…
Streaming in ~9M pixels resolution with 4 sensors running Multi Session is ok.
Any suggestion?