Installing Intel® Open Middleware Xe

Follow this procedure to install Intel® Open Middleware Xe (Intel® OMIX) on systems with Intel® Arc Pro B-Series Graphics. Intel OMIX provides a streamlined way to install key Intel components for compute use cases, including:

  • Intel Level Zero and OpenCL drivers

  • Intel SYCL compiler

  • Intel performance libraries for compute, such as oneDNN and oneMKL

This procedure installs the following Intel OMIX components:

  • intel-omix: Contains all runtime drivers and libraries required to run PyTorch applications.

  • intel-omix-dev: Contains all components required to build and run PyTorch applications.

Prerequisites

Before you begin, verify that your system uses one of the supported configurations listed below:

  • Graphics hardware:

    • Intel® Arc™ Pro B50 Graphics

    • Intel® Arc™ Pro B60 Graphics

    • Intel® Arc™ Pro B65 Graphics

    • Intel® Arc™ Pro B70 Graphics

  • Operating system:

    • Ubuntu Desktop 24.04.4

    • Ubuntu Desktop 24.04 with the 6.17 Hardware Enablement (HWE) kernel

  • The latest GPG public key provided by Intel at https://repositories.intel.com/gpu/intel-graphics.key

    To maintain the security of the package repositories, the GPG keys used to sign packages and repository metadata are updated periodically. To ensure uninterrupted access to updates, make sure your system is updated with the latest GPG public key.

    wget -qO - https://repositories.intel.com/gpu/intel-graphics.key |
        sudo gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg
    

Installation procedure

  1. Update package metadata and install the tools required to add repository access.

    sudo apt update
    sudo apt install -y gnupg wget
    
  2. Add the online network package repository.

    . /etc/os-release
    if [[ ! " noble " =~ " ${VERSION_CODENAME} " ]]; then
        echo "Ubuntu version ${VERSION_CODENAME} not supported"
    else
        echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu ${VERSION_CODENAME}/intel-omix/0.1 unified" | \
        sudo tee /etc/apt/sources.list.d/intel-gpu-${VERSION_CODENAME}.list
        sudo apt update
    fi
    

    Note

    In the Intel OMIX repository path in the command above, you can specify a full major.minor.patch version, such as 0.1.0, to install that exact release. Specifying a major.minor value, such as 0.1, installs the latest available hotfix release in that series, while specifying only the major version, such as 0, installs the latest available release in that major series. If no version is specified, the latest available release is installed.

  3. Install the runtime package.

    sudo apt install -y intel-omix
    
  4. Install the development package.

    sudo apt install -y intel-omix-dev
    
  5. List the group assigned ownership of the render nodes and the groups you are a member of.

    There are specific groups that users must be a part of to access certain functionalities of the GPU. The render group specifically allows access to GPU resources for rendering tasks without giving full access to display management or other potentially more sensitive operations.

    stat -c "%G" /dev/dri/render*
    groups ${USER}
    
  6. If you are not a member of the same group used by the DRM render nodes, add your user to the render node group.

    sudo gpasswd -a ${USER} render
    
  7. Change the group ID of the current shell.

    newgrp render