# Prerequisites

- [Get started with the Qualcomm IM SDK](https://docs.qualcomm.com/bundle/publicresource/topics/80-80021-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-80021-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/bundle/publicresource/topics/80-80021-18/samples.html).
- Sign in to the target device using SSH.
- In the terminal of the target device, enable the camera using following instructions:

> 
> 
> 1. Flash the proprietary image and allow the device complete the boot process.
>     2. 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
>     3. 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
- 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-80021-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-80021-17/troubleshooting.html) and [Display troubleshooting](https://docs.qualcomm.com/bundle/publicresource/topics/80-80021-18/debug.html).

Last Published: Mar 26, 2026

[Previous Topic
Run multimedia sample applications](https://docs.qualcomm.com/bundle/publicresource/80-80021-50/topics/multimedia-sample-applications.md) [Next Topic
Run sample applications for a camera](https://docs.qualcomm.com/bundle/publicresource/80-80021-50/topics/camera-sample-applications.md)