Im using the Verdin IMX8MPlus SoM in combination with the Dahlia Carrier Board.
When running gst-inspect-1.0 imxvideoconvert_g2d (in a docker container, see Additional Notes below), I get the following error: “g2d_open: fail with status -7”
0:00:00.087035750 16 0x559671c630 LOG imxvideoconvert gstimxvideoconvert.c:1979:gst_imx_video_convert_register: Registering g2d video converter
g2d_open: fail with status -7
0:00:00.088508875 16 0x559671c630 ERROR imxvideoconvert gstimxvideoconvert.c:1940:gst_imx_video_convert_init: Open video process device failed.
I am using a custom image build, I built with the Torizon Core Builder v3.13.0 (Linux Kernel: toradex_6.6-2.2.x-imx, Torizon OS image: 7.3.0+build.18) that includes a device tree overlay for the Framos IMX678-driver (following instructions from First Steps with Framos FSM:GO CSI Optical Sensor Modules(Torizon) | Toradex Developer Center ):
input:
easy-installer:
local: torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.tar
customization:
device-tree:
include-dirs:
- linux/include
- device-trees/overlays
custom: linux/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dahlia.dts
overlays:
add:
- device-trees/overlays/verdin-imx8mp_imx678_overlay.dts
- device-trees/overlays/verdin-imx8mp_hdmi_overlay.dts
kernel:
modules:
- source-dir: imx678-driver/
autoload: false
output:
easy-installer:
local: custom-torizon-docker-verdin-imx8mp
name: Torizon OS - Framos Camera
When using the following BSP image (BSP 7, Downstream Linux Reference Multimedia, Verdin iMX8M Plus - 7.4.0+build.10): https://tezi.toradex.com/artifactory/tdxref-oe-prod-frankfurt/scarthgap-7.x.y/release/10/verdin-imx8mp/tdx-xwayland/tdx-reference-multimedia-image/oedeploy/Verdin-iMX8MP_Reference-Multimedia-Image-Tezi_7.4.0+build.10.tar The imxvideoconvert_g2d command is working normally.
Am I missing of installing/configuring something in my custom image?
Additional Notes:
- I used the torizon-samples/vpu/generic/vpuGeneric docker-compose (and docker files) for executing the gstreamer commands: torizon-samples/vpu/generic/vpuGeneric at 26f16348e5702b0722108add16e00e9b617a6f1a · toradex/torizon-samples · GitHub
- The following devices in
/proc/device-treeall show status “okay”:gpu2d@38008000, gpu3d@38000000, vipsi@38500000, vpu_g1@38300000, vpu_g2@38310000, vpu_v4l2