Status of the hardware-accelerated GStreamer elements in i.MX95

Hi all,

We are currently exploring the Verdin i.MX95 but we were unable to get the hardware-accelerated GStreamer elements when compiling the tdx-reference-multimedia-image. We checked the recipes for the gstreamer1.0-plugins-imx_2.0.0.bb, but it does not have the i.MX95 as a compatible machine. The same happens with imx-gst1.0-plugin_4.6.1.bb.

We are particularly interested in getting hardware-accelerated image signal processing, such as image transformations, colour space conversions and so on.

Hence, is hardware acceleration currently supported in GStreamer?

Thanks in advance,

Leon

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


I’d be glad to help! To provide you with accurate guidance on hardware-accelerated GStreamer support for the Verdin iMX95, could you let me know which OS and version you are using? For example:

  • Hardware: Verdin iMX95
  • Operating System: Yocto BSP 7.x.y, Torizon OS 6.x, or another version
  • Image: tdx-reference-multimedia-image

You can get this information by running the tdx-info command on your device. This will help me provide the most accurate information about GStreamer hardware acceleration support for your specific setup. More details about this command are available at: Getting Device Information with Tdx-Info | Toradex Developer Center

Current Status Based on Available Documentation

From the available documentation, I can see that the Verdin iMX95 is supported as a machine target(1):

  • Machine Name: verdin-imx95
  • Corresponding Module: Verdin iMX95(1)

The Reference Multimedia Image includes GStreamer and multimedia features(1):

  • Graphics stack: Weston / Wayland + XWayland
  • Camera and Video framework: V4L2 and Gstreamer
  • All graphical packages included in packagegroup-tdx-graphical.bb(1)

However, for specific details about hardware-accelerated GStreamer plugin compatibility with iMX95, the exact BSP version and build configuration you’re using will help determine the current support status and any potential workarounds.

Common Platforms to Consider:

  • Hardware: Verdin iMX95, Verdin i.MX8M Plus, Aquila AM69
  • OS Versions: BSP 7.x.y, Torizon OS 6.x, Torizon OS 7.x
  • Integration: Device tree, multimedia, GStreamer, hardware acceleration

Best regards, Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

Hello Luis,

The image transformation and colour space conversions can be obtained by adding the imx-gst1.0-plugin package to the image.

Using Yocto, you can add the following line to your local.conf file:

IMAGE_INSTALL:append = " imx-gst1.0-plugin"

This will allow you using imxvideoconvert_g2d which allow you to use G2D graphics hardware for image processing operations.

I made a test building the reference multimedia image (7.6.0) with this modification ,and I was able to run a pipeline to validate if the imxvideoconvert_g2d was available for iMX95.
You can do the same and test with the following pipeline:

gst-launch-1.0 -v videotestsrc num-buffers=300 ! video/x-raw,width=1280,height=720,format=YUY2,framerate=30/1 ! imxvideoconvert_g2d ! video/x-raw,format=NV12 ! fakesink sync=false

Let me know if this would work for you.

Best Regards,

Marcio Albano Hermelino Ferreira
Toradex