# Prerequisites

- [Get started with the Qualcomm IM SDK](https://docs.qualcomm.com/bundle/publicresource/topics/80-80022-51/install-sdk.html) for your Qualcomm Linux 1.7 or Ubuntu Server.
- Activate SSH on your Qualcomm Linux or Ubuntu to sign in with SSH and connect to the target device. For instructions see:

    - [Sign in using SSH](https://docs.qualcomm.com/bundle/publicresource/topics/80-80022-254/how_to.html#use-ssh) for Qualcomm Linux
    - [Sign in using SSH](https://docs.qualcomm.com/bundle/publicresource/topics/80-90441-1/Use_Ubuntu_on_RB3_Gen2_3.html#sign-in-to-the-rb3-gen-2-console-using-ssh) for Ubuntu Server

Note

If SSH is already set up and Wi-Fi is connected, skip this step.
- Use the HDMI port to connect the display to the device. For instructions, see [Set up HDMI display](https://docs.qualcomm.com/doc/80-80022-18/topic/enable_the_display.html#set-up-hdmi-display).
- Sign in to the target device using SSH.
- In the terminal of the target device, enable the camera for Config #2 and Config #1 using following instructions:

<button aria-controls="panel-0-0-0" aria-selected="true" class="sphinx-tabs-tab" id="tab-0-0-0" name="0-0" role="tab" tabindex="0">Config #2</button><button aria-controls="panel-0-0-1" aria-selected="false" class="sphinx-tabs-tab" id="tab-0-0-1" name="0-1" role="tab" tabindex="-1">Config #1</button>

1. Config #2 uses the qtiqmmfsrc plugin as the camera source.
    2. Flash the proprietary image and allow the device complete the boot process.
    3. Select the `camx` overlay through the UEFI variable using the following command:

> 
> 
> adb shell
>             echo -n "camx" > /var/data
>             efivar -n 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays -w -f /var/data
>             efivar -n 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays -p
>             sync
>             reboot
>             Copy to clipboard
    4. To stop the camera service after the system reboot, run the following command:

> 
> 
> systemctl stop cam-server.service
>             Copy to clipboard

        If you cannot locate the qtiqmmfsrc plugin, ensure that the camera server is running and clear the GStreamer cache using the following commands:

> 
> 
> ps -ef | grep cam-server
>             Copy to clipboard
> 
> 
> rm ~/.cache/gstreamer-1.0/registry.aarch64.bin
>             Copy to clipboard

1. Config #1 uses the libcamera plugin as the camera source for Dragonwing RB3 Gen 2 Development Kit.

> 
> 
> Note
> 
> 
> The libcamera plugin supports only the IMX577 camera sensor. Connect the IMX577 sensor before enabling libcamera.
    2. In the terminal of the target device, enable the libcamera using the following command:

> 
> 
> reboot bootloader
>             Copy to clipboard
    3. Once the device enters bootloader mode, flash the Vision Kit CDT file from the extracted folder:

> 
> 
> fastboot flash cdt cdt_vision_kit.bin
>             Copy to clipboard
> 
> 
> Note
> 
> 
> You can obtain the `cdt_vision_kit.bin` file from the [Qualcomm multimedia proprietary image folder](https://artifacts.codelinaro.org/artifactory/qli-ci/flashable-binaries/meta-qcom/rb3gen2-core-kit/qli-2.0-rc3-qcom-multimedia-proprietary-image.zip) at `images/rb3gen2-core-kit/qcom-multimedia-proprietary-image-rb3gen2-core-kit/`.
    4. Reboot the device:

> 
> 
> fastboot reboot
>             Copy to clipboard
- For Dragonwing IQ-615, run the following command in the terminal of the target device to enable the camera using the CSI0 2Lane:

> 
> 
> echo "FDClient=FDSWOnly" > /var/cache/camera/camxoverridesettings.txt
>         echo "FDProcessingControl=FDProcessingControlForceDisable" >>  /var/cache/camera/camxoverridesettings.txt
>         echo "disableFDSegment=TRUE" >> /var/cache/camera/camxoverridesettings.txt
>         echo "enableDualIFE=FALSE" >> /var/cache/camera/camxoverridesettings.txt
>         echo "enableEarlyBitMLSkelLoad=FALSE" >> /var/cache/camera/camxoverridesettings.txt
>         echo "enableMCTF=FALSE" >> /var/cache/camera/camxoverridesettings.txt
>         echo "overrideForceSensorMode=0" >> /var/cache/camera/camxoverridesettings.txt
>         Copy to clipboard
- In the terminal of the target device, run the following command to enable the audio:

> 
> 
> > 
> > 
> > systemctl stop pipewire wireplumber pipewire.socket pipewire-manager.socket
> >         chmod 777 /dev/dma_heap/system
> >         adsprpcd audiopd &
> >         systemctl start pipewire wireplumber
> >         wpctl status
> >         Copy to clipboard
> 
> 
> 
> To set the default devices for sink and source, get the device numbers from the `wpctl status` and run the following command:
> 
> 
> 
> > 
> > 
> > wpctl set-default <device ID>
> >         Copy to clipboard
- In the terminal of the target device, run the following command to enable the GPU delegate and backend:

> 
> 
> ln -sf /usr/lib/libOpenCL.so.1 /usr/lib/libOpenCL.so
>         export OCL_ICD_FILENAMES=/usr/lib/libOpenCL_adreno.so.1
>         Copy to clipboard
- In the terminal of the target device, run the following commands from the SSH shell of the target device to activate the display on the host computer running Ubuntu Server:

> 
> 
> export XDG_RUNTIME_DIR=/run/user/$(id -u ubuntu)/ && export WAYLAND_DISPLAY=wayland-1
>         Copy to clipboard
- Connect the speaker to activate the audio on the target device. For instructions, see [Set up audio hardware](https://docs.qualcomm.com/bundle/publicresource/topics/80-80022-16/enable-audio.html).

    If you face issues in recording the audio, run the following command in the terminal of the target device:

pactl set-default-source pal_source_speaker_mic
        Copy to clipboard
- If you face issues with the camera or display, see [Camera troubleshooting](https://docs.qualcomm.com/bundle/publicresource/topics/80-80022-17/troubleshooting.html) and [Troubleshoot display issues](https://docs.qualcomm.com/doc/80-80022-18/topic/troubleshoot_display_issues.html).

Last Published: May 17, 2026

Previous Topic
 
Run multimedia sample applications Next Topic

Run sample applications for a camera