Skip to content

DG2 (Arc A770) not detected by compute-runtime when using xe kernel driver #905

@markussiebert

Description

@markussiebert

Description

OpenCL and Level Zero report 0 platforms/drivers when Intel Arc A770 (DG2, device ID 56a0) is using the xe kernel driver. The same hardware works correctly with the i915 driver.

This appears related to #853 (Arc Pro A40 with xe), which was reported as fixed in 26.01.36711.4, but the issue persists for DG2/Arc A770 on the latest release.

Environment

  • GPU: Intel Arc A770 (DG2, PCI ID 8086:56a0, rev 08)
  • OS: Proxmox VE 9 (Debian Trixie)
  • Kernel: 6.17.13-1-pve
  • Kernel driver: xe (via xe.force_probe=56a0)
  • compute-runtime: 26.05.37020.3-0
  • IGC: 2.28.4+20760
  • libigdgmm: 22.9.0

Reproduction

  1. Bind Arc A770 to xe driver:
    modprobe xe force_probe=56a0
    echo "0000:0a:00.0" > /sys/bus/pci/drivers/xe/bind
    
  2. Run clinfo:
    Number of platforms                               0
    
  3. Level Zero also fails:
    # zeInit returns 0x78000001 (ZE_RESULT_ERROR_DEPENDENCY_UNAVAILABLE)
    # zeDriverGet returns 0 drivers

strace shows successful device communication

The runtime does discover and query the device via xe ioctls — all calls succeed:

openat(AT_FDCWD, "/dev/dri/by-path/pci-0000:0a:00.0-render", O_RDWR|O_CLOEXEC) = 4
ioctl(4, DRM_IOCTL_VERSION, ...) = 0
ioctl(4, DRM_IOCTL_XE_DEVICE_QUERY, ...) = 0   # multiple successful queries

But then the runtime silently drops the device — no platform is registered.

dmesg (xe driver)

xe 0000:0a:00.0: [drm] Found dg2/g10 (device ID 56a0) discrete display version 13.00 stepping C0
xe 0000:0a:00.0: [drm] VRAM[0]: Actual physical size 0x0000000400000000, usable size exclude stolen 0x00000003fa000000, CPU accessible size 0x0000000010000000

Expected behavior

compute-runtime should support DG2/Arc via the xe driver. The motivation for using xe over i915 is proper runtime power management — xe achieves suspended state (~1W idle headless), while i915 reports unsupported for runtime PM and keeps the GPU active at all times.

Workaround

Switching back to i915 makes compute work, but the GPU cannot enter deep sleep.

Questions

  1. Is DG2 compute via xe driver intended to be supported?
  2. Is there a timeline for xe+DG2 compute support?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions