compute-runtime icon indicating copy to clipboard operation
compute-runtime copied to clipboard

Xe KMD doesn't work on Linux

Open kode54 opened this issue 1 year ago • 7 comments

Using the Xe KMD, with an updated xe_drm.h, synced between the latest linux-drm-xe-next kernel and this package, results in OpenCL tasks which cause my A770 LE 16GB to time out, but just for the OpenCL app. The result is that Blender live locks a single core until the process is terminated. Journal shows notices like this:

Apr 25 23:55:49 mrgency kernel: xe 0000:28:00.0: [drm] Ioctl argument check failed at drivers/gpu/drm/xe/xe_exec.c:178: engine->flags & ENGINE_FLAG_BANNED
Apr 25 23:55:49 mrgency kernel: xe 0000:28:00.0: [drm] Ioctl argument check failed at drivers/gpu/drm/xe/xe_exec.c:178: engine->flags & ENGINE_FLAG_BANNED

Using commit of kernel: 3cf57993a3f1 And two patches: https://gist.github.com/kode54/156da2ae09c9c8a591d0cdde7f77f511

Mesa 23.2.0_devel.170325.5c287290d88 built with mesa-tkg-git, with PR 20418 and 22652 applied.

This package from 22.43.24558.r1615.g16db7cc890 using AUR package intel-compute-runtime-git, with makepkg -o and swapping in the xe_drm.h from above, and then makepkg -efi.

kode54 avatar Apr 26 '23 23:04 kode54