LogoLogo
AI HubCommunityWebsite
  • Start Here
  • AI Hub
    • Overview
    • Quickstart
    • Teams
    • Device Farm
    • Browser Inference
    • Model Zoo
      • Hailo
      • Intel
      • MemryX
      • BrainChip
      • Google
      • DeGirum
      • Rockchip
    • View and Create Model Zoos
    • Model Compiler
    • PySDK Integration
  • PySDK
    • Overview
    • Quickstart
    • Installation
    • Runtimes and Drivers
      • Hailo
      • OpenVINO
      • MemryX
      • BrainChip
      • Rockchip
      • ONNX
    • PySDK User Guide
      • Core Concepts
      • Organizing Models
      • Setting Up an AI Server
      • Loading an AI Model
      • Running AI Model Inference
      • Model JSON Structure
      • Command Line Interface
      • API Reference Guide
        • PySDK Package
        • Model Module
        • Zoo Manager Module
        • Postprocessor Module
        • AI Server Module
        • Miscellaneous Modules
      • Older PySDK User Guides
        • PySDK 0.16.0
        • PySDK 0.15.2
        • PySDK 0.15.1
        • PySDK 0.15.0
        • PySDK 0.14.3
        • PySDK 0.14.2
        • PySDK 0.14.1
        • PySDK 0.14.0
        • PySDK 0.13.4
        • PySDK 0.13.3
        • PySDK 0.13.2
        • PySDK 0.13.1
        • PySDK 0.13.0
    • Release Notes
      • Retired Versions
    • EULA
  • DeGirum Tools
    • Overview
      • Streams
        • Streams Base
        • Streams Gizmos
      • Compound Models
      • Result Analyzer Base
      • Inference Support
  • DeGirumJS
    • Overview
    • Get Started
    • Understanding Results
    • Release Notes
    • API Reference Guides
      • DeGirumJS 0.1.3
      • DeGirumJS 0.1.2
      • DeGirumJS 0.1.1
      • DeGirumJS 0.1.0
      • DeGirumJS 0.0.9
      • DeGirumJS 0.0.8
      • DeGirumJS 0.0.7
      • DeGirumJS 0.0.6
      • DeGirumJS 0.0.5
      • DeGirumJS 0.0.4
      • DeGirumJS 0.0.3
      • DeGirumJS 0.0.2
      • DeGirumJS 0.0.1
  • Orca
    • Overview
    • Benchmarks
    • Unboxing and Installation
    • M.2 Setup
    • USB Setup
    • Thermal Management
    • Tools
  • Resources
    • External Links
Powered by GitBook

Get Started

  • AI Hub Quickstart
  • PySDK Quickstart
  • PySDK in Colab

Resources

  • AI Hub
  • Community
  • DeGirum Website

Social

  • LinkedIn
  • YouTube

Legal

  • PySDK EULA
  • Terms of Service
  • Privacy Policy

© 2025 DeGirum Corp.

On this page
  • Linux Kernel Driver Installation
  • Linux Kernel Driver Troubleshooting
  • Windows Kernel Driver Installation
  • Kernel Driver Installation for Other Operating Systems

Was this helpful?

  1. Orca

M.2 Setup

This page details the installation and troubleshooting procedures for the Linux kernel driver required for DeGirum Orca PCIe cards.

Linux Kernel Driver Installation

Hosts that have DeGirum Orca PCI Express card installed need a driver to enable its functionality. The driver is distributed as a source package via a DeGirum APT software repository. It can be built automatically after download. To download, build, and install the driver please perform the following steps:

  1. Install prerequisites:

    sudo apt install curl dkms mokutil
  2. Download DeGirum public key:

    • Ubuntu 20.04:

wget -O - -q http://assets.degirum.com/apt-repo/DeGirum.gpg.key | sudo apt-key add -   
  • Ubuntu 22.04:

  • Ubuntu 24.04:

curl -fsSL http://assets.degirum.com/apt-repo/DeGirum.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/degirum.gpg   
  1. Add DeGirum software repository to APT sources configuration file:

    • Ubuntu 20.04:

echo deb [arch=amd64,arm64] https://assets.degirum.com/apt-repo ORCA main | sudo tee -a /etc/apt/sources.list
  • Ubuntu 22.04:

echo deb [arch=amd64,arm64 signed-by=/usr/share/keyrings/degirum.gpg] https://assets.degirum.com/apt-repo ORCA main | sudo tee -a /etc/apt/sources.list
  • Ubuntu 24.04:

echo 'Types: deb
URIs: https://assets.degirum.com/apt-repo
Suites: ORCA
Components: main
Architectures: amd64 arm64
Signed-By: /usr/share/keyrings/degirum.gpg' | sudo tee /etc/apt/sources.list.d/degirum.sources
  1. Update package information from configured sources:

sudo apt update
  1. Download and build DeGirum Linux driver package:

sudo -E apt install cdapci-dkms
  1. Either perform reboot or execute the following command to load the driver:

sudo modprobe cdapci
  1. If secure boot is enabled, it will prompt to add the certificate used to sign the driver to MOK:

    1. Press Enter.

    2. Enter some password, and confirm it.

    3. When driver installation is complete, reboot the target.

    4. Once the target reboots, the Shim UEFI Key Management screen is displayed. Select the Enroll MOK option from the menu.

    5. Review the keys in the current enrollment list and confirm their enrollment. The MOK password from step 2 is required to confirm these operations.

    6. Continue with the target boot.

Linux Kernel Driver Troubleshooting

  1. Verify that Orca PCIe device is recognized by the system. Run the following command:

sudo lspci | grep accelerators

If the PCIe device is recognized, you should see something like:

03:00.0 Processing accelerators: Device 1f0d:0100

If the PCIe device is not recognized, then you will see empty output.

2. If the PCIe device is not recognized, check that the device is plugged in and green LED light is flashing. If the device is plugged, but green LED light is not flashing, then the device is not functioning and needs to be replaced. 3. Verify that Orca Kernel Driver is installed. Run the following command:

sudo lsmod | grep cda

If the driver is installed, you should see something like:

cdapci                 28672  0

If the driver is not installed, then you will see empty output.

cat /etc/group | grep dg_orca && groups | grep dg_orca

If the group does not exist, please reinstall the driver following the steps described in the Linux Kernel Driver Installation section. If the group does exist, but the user is not in it, add the user via

sudo -E usermod -a -G dg_orca <username>
  1. If you installed DeGirum AI Server then verify AI Server operation. Run the following command on any system in your local network, which has PySDK installed:

degirum sys-info --host <hostname or IP>    

The <hostname or IP> is the hostname or IP address of the system running AI server. If you have PySDK installed on the same system where you run AI server, then run this command on that system and specify --host localhost. If AI server operates properly, you should see something like:

Devices:
...
ORCA:
- '@Index': 0
        Device Description: 'Orca[ #0, bus 3, dev 0 ]'
        Firmware Version: 0.1.40
        IC Frequency (MHz): 250
        IC Temperature (C): 51
        Memory DRAM (MB): 1024
Software Version: 0.5.1

Check for the ORCA section. It should be present in the output.

The following command combines the above checks in one:

sudo lspci | grep accelerators && sudo lsmod | grep cda && cat /etc/group | grep dg_orca && groups | grep dg_orca

Windows Kernel Driver Installation

Hosts that have DeGirum Orca PCI Express card installed need a driver to enable its functionality. The driver is distributed as a Zip archive.

  1. Unpack the ORCA driver .zip file. This can be done with Windows explorer.

  2. Start Device Manager. Open the Power User menu by right-clicking on the Start button (or by pressing Win+X), then click “Device Manager”.

  3. Find “PCI Device” under “Other devices”.

  4. Right-click on “PCI Device”, then select "Update driver”.

  5. Choose “Browse my computer for drivers”.

  6. Click “Browse…”, then navigate to the folder that contains the driver files unpacked in Step 1. Check “Include subfolders”. Then, click “Next”.

Kernel Driver Installation for Other Operating Systems

Kernel driver support for other operating systems is under development. This document will be updated when kernel drivers for other operating systems will be released.

PreviousUnboxing and InstallationNextUSB Setup

Last updated 2 months ago

Was this helpful?

4. If the driver is not installed, please reinstall the driver following the steps described in the section. 5. The driver requires permissions to be correct in order to access ORCA. Usually, these are set up automatically during the driver install process. Verify that a user group named dg_orca exists, and that the current user belongs to it:

7. If AI server does not operate properly, reinstall the server following the steps described in guide.

Download the driver:

AI Server Configuration
Orca Windows Driver
Linux Kernel Driver Installation