[Pkg-opencl-devel] Bug#860805: beignet-opencl-icd: OpenCL fails with: drm_intel_gem_bo_context_exec() failed: Device or resource busy

Michael Gernoth michael at zerfleddert.de
Thu Apr 20 10:34:35 UTC 2017


Package: beignet-opencl-icd
Version: 1.3.0-2+b1
Severity: normal

Dear Maintainer,

running any opencl-using program (such as clinfo or osmocom_fft -F)
does not work but produces:

drm_intel_gem_bo_context_exec() failed: Device or resource busy
Beignet: "Exec event 0x55bc572926b0 error, type is 4592, error staus is -5"

This is on a Lenovo Thinkpad T440s with an Intel HD Graphics 4400.

Rebuilding beignet-opencl-icd with the following upstream-patch fixes
the problem and leads to working OpenCL:

https://cgit.freedesktop.org/beignet/commit/?id=8b04f0be372da8eabdc93d6ae1b81a3c83cba284

Cheers,
  Michael



-- Package-specific info:
Graphics hardware:
Providers: number : 1
Provider 0: id: 0x49 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 6 associated providers: 0 name:Intel
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
Extended renderer info (GLX_MESA_query_renderer):
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
04:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208M [GeForce GT 730M] [10de:1290] (rev a1)

Processor:
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    2
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 69
Model name:            Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz
Stepping:              1
CPU MHz:               2606.964
CPU max MHz:           2900.0000
CPU min MHz:           800.0000
BogoMIPS:              4988.37
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              3072K
NUMA node0 CPU(s):     0-3
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts

OpenCL library:
rc 	amd-libopencl1:amd64	1:15.9-4~deb8u1
un 	libopencl-1.1-1	
un 	libopencl-1.2-1	
un 	libopencl-2.0-1	
un 	libopencl-2.1-1	
un 	libopencl1	
rc 	nvidia-libopencl1:amd64	340.96-1
un 	nvidia-libopencl1-dev	
un 	nvidia-libopencl1-ia32	
ii 	ocl-icd-libopencl1:amd64	2.2.11-1
ii 	ocl-icd-libopencl1:i386	2.2.11-1
ii 	amd-opencl-icd:amd64	1:15.9-4~deb8u2
un 	amd-opencl-icd-ia32	
un 	amd-opencl-icd-virtual	
ii 	beignet-opencl-icd:amd64	1.3.0-2+b1
rc 	mesa-opencl-icd	10.3.2-1+deb8u1
un 	nvidia-opencl-icd	
un 	opencl-icd	
==> /etc/OpenCL/vendors/amdocl64.icd <==
libamdocl64.so

==> /etc/OpenCL/vendors/intel-beignet-x86_64-linux-gnu.icd <==
/usr/lib/x86_64-linux-gnu/beignet//libcl.so

==> /etc/OpenCL/vendors/mesa.icd <==
libMesaOpenCL.so

==> /etc/OpenCL/vendors/nvidia.icd <==
libnvidia-opencl.so.1

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages beignet-opencl-icd depends on:
ii  libc6          2.24-9
ii  libdrm-intel1  2.4.74-1
ii  libdrm2        2.4.74-1
ii  libgcc1        1:6.3.0-12
ii  libstdc++6     6.3.0-12
ii  libtinfo5      6.0+20161126-1
ii  libx11-6       2:1.6.4-3
ii  libxext6       2:1.3.3-1+b2
ii  libxfixes3     1:5.0.3-1
ii  zlib1g         1:1.2.8.dfsg-5

beignet-opencl-icd recommends no packages.

beignet-opencl-icd suggests no packages.

-- no debconf information



More information about the Pkg-opencl-devel mailing list