Get Started Guide

  • 2021.3
  • 10/21/2021
  • Public Content

Optional (Only for Sony* IMX390 Setups): Run a GStreamer* Video Pipeline using Sony’s IMX390 MIPI Sensor in Docker* Container

If you want to enable Sony’s IMX390 MIPI sensor, you must use the Resource Design Center (RDC), have a Corporate Non-Disclosure Agreement (CNDA) in place, and ask for download access.

Run the Sample Application

  1. Download the Tiger Lake IPU6 Packages on the host (it contains the IPU RPM libraries and IPU firmware).
  2. Unzip the archive, and copy the RPM folder to the /tmp folder:
    unzip tar -xf ipu6_rpm_beta.tar.bz2 cp -r rpm /tmp
  3. Run the Docker* image as root:
    ./ amr-ubuntu2004-full-flavour-sdk:<TAG> root -e "--volume /sys/kernel/:/sys/kernel:rw --volume /sys/class:/sys/class:rw"
  4. If needed, export the corresponding proxies in the container.
  5. Install the RPM package in the Docker* container:
    apt-get update apt-get install rpm
  6. Set isys_freq:
    echo 400 > /sys/kernel/debug/intel-ipu/buttress/isys_freq
  7. Install the IPU6 firmware and other necessary user-space libraries:
    rpm -ivh /tmp/rpm/* --nodeps –force
  8. Prepare the setup:
    export DISPLAY=:0 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib64:/usr/lib export GST_PLUGIN_PATH=/usr/lib/gstreamer-1.0 export GST_GL_PLATFORM=egl xhost +
  9. Run the GStreamer* pipeline:
    gst-launch-1.0 icamerasrc device-name=imx390 printfps=true num-vc=1 ! video/x-raw,format=NV12,width=1920,height=1200 ! videoconvert ! Xvimagesink
    Expected result: A video opens, showing images captured with the camera using Sony’s IMX390 MIPI sensor.

Summary and Next Steps

In this tutorial, you learned how to set up and run a GStreamer* video pipeline using Sony’s IMX390 MIPI sensor.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at