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

Rebecca N. Palmer rebecca_palmer at zoho.com
Sat Apr 29 11:43:19 UTC 2017


The above patch is now in Alioth, but please do *not* upload it yet.

>  $ grep '^model name'  /proc/cpuinfo | head -n1
> model name      : Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
> ... 4200U is [Haswell] so I guess I can do the testing, right?

If your integrated GPU is enabled (it might not be if you also have a 
discrete GPU - xrandr --listproviders), yes.  Please try, with both 
current beignet-opencl-icd and the above fix:

- the test suite (/usr/lib/x86_64-linux-gnu/beignet/utest_run from 
beignet-dev): many failures before this fix, should be none after.

- the clFFT test from https://bugs.freedesktop.org/show_bug.cgi?id=100639
This needs a small change to work in sid (its reporter was using 
jessie-backports):
-DCMAKE_C_FLAGS:STRING="-O3 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS=1"
as linking to an __inline symbol (clfftInitSetupData) without 
optimization fails in recent gcc.

> Depends: beignet-opencl-icd|mesa-opencl-icd|opencl-icd

I'd suggest just Depends: opencl-icd, as which one will actually work is 
hardware dependent.



More information about the Pkg-opencl-devel mailing list