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

Andreas Tille andreas at an3as.eu
Tue May 2 06:57:17 UTC 2017


Hi Rebecca,

On Sat, Apr 29, 2017 at 12:43:19PM +0100, Rebecca N. Palmer wrote:
> The above patch is now in Alioth, but please do *not* upload it yet.

I have tested beignet-dev_1.3.0-2 and compared it to what you get when
building commit 7d60bf92c6706f174305393172841e2078ecd508.


> > $ 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.

I can confirm that beignet-dev_1.3.0-2 produces a lot of errors which
vanished when using said status from Git.  So the patch works perfectly
on my machine.
 
> - 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.

In other words:  I would need to rebuild beignet-dev_1.3.0-2 with the
said change in d/rules as well as rebuild
7d60bf92c6706f174305393172841e2078ecd508 and compare again?  Could
you please give a direct link what program to run once I have rebuild?
 
Thanks a lot for your work on this

       Andreas. 

-- 
http://fam-tille.de



More information about the Pkg-opencl-devel mailing list