meta-qcom-multimedia-image or qcom-multimedia-proprietary-image image as part of the entire software build package. For more information on the procedure to sync and build the meta-qcom-multimedia image, see Qualcomm Linux Build Guide.
Verify video software
This section provides information on the video recipe and the steps required to build the VPU driver. The following BitBake recipe file is used to build the Adreno VPU driver in theqcom-multimedia-proprietary-image:
<meta-qcom workspace>/recipes-kernel/iris-video-module/iris-video-dlkm_git_<version>.bb
Note:
version is the latest tag of the recipe. For example: 1.0.10, i.e., iris-video-dlkm_git_1.0.10.bb.
VPU driver build instructions - qcom-multimedia-proprietary-image
Following are the instructions to apply code changes to the video driver:
-
Follow the steps to create a patch file:
a. Clone the video driver repository using the following command:
b. Change to the cloned repository directory using the following command:c. Make the required code changes and commit the changes locally. d. Create a patch file from the latest commit using the following command:e. Open the generated patch file and add the following line after signed-off:f. Copy the patch file to following location in theiris-video-dlkmrecipe. -
Update the
SRC_URIin therecipes-kernel/iris-video-module/iris-video-dlkm_<version>.bbfile to include the patch files as follows: -
To build the Adreno video driver, run the following commands :
For example:
Note:
For various
<machine>combinations, see Release Notes. -
After compilation, the corresponding
iris_vpu.kois available at:<meta-qcom workspace>\build\tmp\sysroots-components\<MACHINE>\iris-video-dlkm\usr\lib\modules\<kernel version>\updates\video\> -
Enter the SSH shell and transfer the compiled library to the device using the following command:
Note:
You must start the SSH shell to access your Linux host computer. For instructions, see Sign in using SSH
-
Change the following command according to your
<workspace-path>, and the<IP address of the device>, and run the following command on the Linux host computer:Note:
When prompted for a password, enter
oelinux123. - To see the updated debug changes, power OFF and then power ON the device.
VPU driver build instructions - qcom-multimedia-image
Follwing are the instructions to apply code changes to the video driver:
- Follow the steps to create a patch file:
a. Clone kernel where the video driver is available:
b. Change to the cloned repository directory:- QCS615 uses:
drivers/media/platform/qcom/venus. - Dragonwing IQ-8275/Dragonwing IQ-9075/QCS6490 uses:
drivers/media/platform/qcom/iris
e. Open the generated patch file and add the following line after Signed-off:f. Copy the patch file to below location in the kernel recipe. - QCS615 uses:
- Update the
SRC_URIin the recipe(.bb)file to include the patch files as the following: - To build the Adreno video driver, run the following commands:
For example:
Note:
For different
<machine>combinations, see Release Notes. - Flash the
qcom-multimedia-image. For more information, see Qualcomm Linux Build Guide.
GStreamer plugins for video
The Qualcomm IM SDK includes GStreamer plugins for video decoding and encoding. Download the Qualcomm IM SDK to use thev4l2h264dec, v4l2h265dec, v4l2h264enc, v4l2h265enc, and v4l2vp9dec plugins.
The following table lists the GStreamer plugins and their corresponding reference links:
For information on the steps to download and build, see Qualcomm Intelligent Multimedia SDK (IM SDK) quickstart.

