Bugzilla – Bug 1222141
openCL with intel i915/xe (Intel Arc series) missing in Kernel 6.8, no compute device
Last modified: 2024-04-05 14:04:58 UTC
Hello X11 Team, Since kernel 6.8, openCL computing no longer works. No device is recognized with clinfo, only the Mesa driver. Current tumbleweed with Intel Arc 770 GPU. What information do you still need? Dani
So it works by booting the same system, just with an older kernel?
yes by kernel 6.7 it works.
(In reply to dani mackiol from comment #2) > yes by kernel 6.7 it works. Kernel 6.7.9 Platform #0: Intel(R) OpenCL Graphics `-- Device #0: Intel(R) Arc(TM) A770 Graphics Platform #1: rusticl Platform #2: Clover Kernel 6.8.1 Platform #1: rusticl Platform #2: Clover
Ok. Then better let's assign this to kernel component.
Please give dmesg outputs from both 6.7.x and 6.8.x kernels. Also the hwinfo outputs from them, too.
============ start hardware log ============ ============ start debug info ============ libhd version 23.2 (x86-64) [7688] using /var/lib/hardware kernel version is 6.7 ----- /proc/cmdline ----- BOOT_IMAGE=/boot/vmlinuz-6.7.9-1-default root=UUID=cbbdfb54-2b97-431c-838e-cb75be748b9f splash=silent resume=/dev/disk/by-uuid/d765dd18-1826-4bc4-aacb-36c8df8a74aa quiet security=apparmor 915.force_probe=!56A0 xe.force_probe=56A0 mitigations=auto ----- /proc/cmdline end ----- 53: PCI d00.0: 0300 VGA compatible controller (VGA) [Created at pci.386] Unique ID: fSIl.nDfmnmUHKH4 Old Unique ID: XB5r.nDfmnmUHKH4 Parent ID: 2j84.mr2N3fBJq5F SysFS ID: /devices/pci0000:00/0000:00:03.1/0000:0b:00.0/0000:0c:01.0/0000:0d:00.0 SysFS BusID: 0000:0d:00.0 Hardware Class: graphics card HW Class List: graphics card, pci Model: "Intel VGA compatible controller" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x56a0 SubVendor: pci 0x8086 "Intel Corporation" SubDevice: pci 0x1020 Revision: 0x08 Driver: "i915" Driver Modules: "i915" Main Driver Module: "i915" Memory Range: 0xfa000000-0xfaffffff (rw,non-prefetchable) Memory Range: 0x7800000000-0x7bffffffff (ro,non-prefetchable) Memory Range: 0xfb000000-0xfb1fffff (ro,non-prefetchable,disabled) IRQ: 150 (77488 events) Module Alias: "pci:v00008086d000056A0sv00008086sd00001020bc03sc00i00" Driver Info #0: Driver Status: i915 is active Driver Activation Cmd: "modprobe i915" Driver DB0: 2, i915 Persistent Properties: hwinfo.res.interrupts = { '144,721,1' } hwinfo.res.memory = { '0xfa000000,0x1000000,1,3,1', '0xf800000000,0x400000000,1,1,1', '0xfb000000,0x200000,0,1,1' } hwinfo.hwclasslist = '00100020000000' hwinfo.sysfsbusid = '0000:0d:00.0' hwinfo.sysfsid = '/devices/pci0000:00/0000:00:03.1/0000:0b:00.0/0000:0c:01.0/0000:0d:00.0' hwinfo.drivers = { 'i915' } hwinfo.subdeviceid = 69664 (0x11020) hwinfo.subvendorname = 'Intel Corporation' hwinfo.subvendorid = 98438 (0x18086) hwinfo.deviceid = 87712 (0x156a0) hwinfo.vendorname = 'Intel Corporation' hwinfo.vendorid = 98438 (0x18086) hwinfo.revisionid = 8 (0x8) hwinfo.baseclass = 3 (0x3) hwinfo.slot = 3328 (0xd00) hwinfo.bus = 4 (0x4) hwinfo.active = 'unknown' hwinfo.needed = 'no' hwinfo.available = 'yes' hwinfo.configured = 'new' hwinfo.hwclass = 'graphics card' hwinfo.model = 'Intel VGA compatible controller' hwinfo.parentid = '2j84.mr2N3fBJq5F' hwinfo.uniqueid = 'fSIl.nDfmnmUHKH4' Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #47 (PCI bridge) 53: PCI d00.0: 0300 VGA compatible controller (VGA) [Created at pci.386] Unique ID: fSIl.nDfmnmUHKH4 Parent ID: 2j84.mr2N3fBJq5F SysFS ID: /devices/pci0000:00/0000:00:03.1/0000:0b:00.0/0000:0c:01.0/0000:0d:00.0 SysFS BusID: 0000:0d:00.0 Hardware Class: graphics card Model: "Intel VGA compatible controller" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x56a0 SubVendor: pci 0x8086 "Intel Corporation" SubDevice: pci 0x1020 Revision: 0x08 Driver: "i915" Driver Modules: "i915" Memory Range: 0xfa000000-0xfaffffff (rw,non-prefetchable) Memory Range: 0x7800000000-0x7bffffffff (ro,non-prefetchable) Memory Range: 0xfb000000-0xfb1fffff (ro,non-prefetchable,disabled) IRQ: 150 (77488 events) Module Alias: "pci:v00008086d000056A0sv00008086sd00001020bc03sc00i00" Driver Info #0: Driver Status: i915 is active Driver Activation Cmd: "modprobe i915" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #47 (PCI bridge) Primary display adapter: #53 ============ start hardware log ============ ============ start debug info ============ libhd version 23.2 (x86-64) [7688] using /var/lib/hardware kernel version is 6.8 ----- /proc/cmdline ----- BOOT_IMAGE=/boot/vmlinuz-6.8.1-1-default root=UUID=cbbdfb54-2b97-431c-838e-cb75be748b9f splash=silent resume=/dev/disk/by-uuid/d765dd18-1826-4bc4-aacb-36c8df8a74aa quiet security=apparmor 915.force_probe=!56A0 xe.force_probe=56A0 mitigations=auto ----- /proc/cmdline end ----- 53: PCI d00.0: 0300 VGA compatible controller (VGA) [Created at pci.386] Unique ID: fSIl.nDfmnmUHKH4 Old Unique ID: XB5r.nDfmnmUHKH4 Parent ID: 2j84.mr2N3fBJq5F SysFS ID: /devices/pci0000:00/0000:00:03.1/0000:0b:00.0/0000:0c:01.0/0000:0d:00.0 SysFS BusID: 0000:0d:00.0 Hardware Class: graphics card HW Class List: graphics card, pci Model: "Intel VGA compatible controller" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x56a0 SubVendor: pci 0x8086 "Intel Corporation" SubDevice: pci 0x1020 Revision: 0x08 Driver: "i915" Driver Modules: "i915" Main Driver Module: "i915" Memory Range: 0xfa000000-0xfaffffff (rw,non-prefetchable) Memory Range: 0x7800000000-0x7bffffffff (ro,non-prefetchable) Memory Range: 0xfb000000-0xfb1fffff (ro,non-prefetchable,disabled) IRQ: 150 (48163 events) Module Alias: "pci:v00008086d000056A0sv00008086sd00001020bc03sc00i00" Driver Info #0: Driver Status: i915 is active Driver Activation Cmd: "modprobe i915" Driver DB0: 2, i915 Driver Info #1: Driver Status: xe is active Driver Activation Cmd: "modprobe xe" Driver DB0: 2, xe Persistent Properties: hwinfo.res.interrupts = { '144,721,1' } hwinfo.res.memory = { '0xfa000000,0x1000000,1,3,1', '0xf800000000,0x400000000,1,1,1', '0xfb000000,0x200000,0,1,1' } hwinfo.hwclasslist = '00100020000000' hwinfo.sysfsbusid = '0000:0d:00.0' hwinfo.sysfsid = '/devices/pci0000:00/0000:00:03.1/0000:0b:00.0/0000:0c:01.0/0000:0d:00.0' hwinfo.drivers = { 'i915' } hwinfo.subdeviceid = 69664 (0x11020) hwinfo.subvendorname = 'Intel Corporation' hwinfo.subvendorid = 98438 (0x18086) hwinfo.deviceid = 87712 (0x156a0) hwinfo.vendorname = 'Intel Corporation' hwinfo.vendorid = 98438 (0x18086) hwinfo.revisionid = 8 (0x8) hwinfo.baseclass = 3 (0x3) hwinfo.slot = 3328 (0xd00) hwinfo.bus = 4 (0x4) hwinfo.active = 'unknown' hwinfo.needed = 'no' hwinfo.available = 'yes' hwinfo.configured = 'new' hwinfo.hwclass = 'graphics card' hwinfo.model = 'Intel VGA compatible controller' hwinfo.parentid = '2j84.mr2N3fBJq5F' hwinfo.uniqueid = 'fSIl.nDfmnmUHKH4' Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #47 (PCI bridge) 53: PCI d00.0: 0300 VGA compatible controller (VGA) [Created at pci.386] Unique ID: fSIl.nDfmnmUHKH4 Parent ID: 2j84.mr2N3fBJq5F SysFS ID: /devices/pci0000:00/0000:00:03.1/0000:0b:00.0/0000:0c:01.0/0000:0d:00.0 SysFS BusID: 0000:0d:00.0 Hardware Class: graphics card Model: "Intel VGA compatible controller" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x56a0 SubVendor: pci 0x8086 "Intel Corporation" SubDevice: pci 0x1020 Revision: 0x08 Driver: "i915" Driver Modules: "i915" Memory Range: 0xfa000000-0xfaffffff (rw,non-prefetchable) Memory Range: 0x7800000000-0x7bffffffff (ro,non-prefetchable) Memory Range: 0xfb000000-0xfb1fffff (ro,non-prefetchable,disabled) IRQ: 150 (48163 events) Module Alias: "pci:v00008086d000056A0sv00008086sd00001020bc03sc00i00" Driver Info #0: Driver Status: i915 is active Driver Activation Cmd: "modprobe i915" Driver Info #1: Driver Status: xe is active Driver Activation Cmd: "modprobe xe" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #47 (PCI bridge) Primary display adapter: #53
Same issue here with Intel i3-7100 and integrated Intel HD Graphics 630. Driver intel-opencl stopped working after the recent upgrade to kernel 6.8.1. Going back to kernel 6.7.9 fixes the problem. Attaching dmesg's.
Created attachment 874007 [details] dmesg with kernel 6.7.9
Created attachment 874008 [details] dmesg with kernel 6.8.1
Upstream issue https://github.com/intel/compute-runtime/issues/710
Seems there is a potential fix for the intel-compute-runtime at [1]. If that works I'll update the package tomorrow. [1] https://github.com/intel/compute-runtime/commit/420e1391b228586efa8546db343e8e6eb50e398b
Also, in the above issue discussion it's mentioned to set these env variables as a temporary workaround: NEOReadDebugKeys=1 and OverrideGpuAddressSpace=48. In my case it works: > NEOReadDebugKeys=1 OverrideGpuAddressSpace=48 clinfo -l Platform #0: Intel(R) OpenCL Graphics `-- Device #0: Intel(R) HD Graphics 630
I've updated the intel-graphics-compiler and intel-opencl (compute-runtime) packages to the latest version and added the fix to intel-opencl. This fixes the issue for me but please test the packages at [1] and confirm. [1] https://build.opensuse.org/project/show/home:patrikjakobsson:branches:X11:XOrg
Works for me.
with kernel-update 6.8.2-1.1 fixed the problem.