Re: Problems using OpenCL in pbuilder (Was: OpenCL GPU usage on autobuilders)
you may need to bindmount some devices into the chroot.
e.g. for nvidia cards it may be /dev/nvidia*
try stracing clinfo to see what its looking for.
On 01/31/2016 09:26 AM, Andreas Tille wrote:
> Hi,
>
> I did some more investigation and played around with the
> Build-Dependencies and added
>
> ocl-icd-opencl-dev | opencl-dev,
> pocl-opencl-icd | opencl-icd
>
> but without any luck. I tried to run the affected test in a local
> chroot environment which worked nicely. So I wonder what exactly I need
> to do to let the test below pass and enable the detection of a smart
> enough GPU in pbuilder.
>
> Thanks for any help
>
> Andreas.
>
> On Sun, Jan 31, 2016 at 08:27:46AM +0100, Andreas Tille wrote:
>> Hi,
>>
>> I just realised that the issue also happens on my local machine - so the
>> assumption that only autobuilders are affected is wrong. I think I just
>> need to fix the dependencies for libhmsbeagle-dev. Sorry for the noise
>>
>> Andreas.
>>
>> On Sun, Jan 31, 2016 at 07:56:31AM +0100, Andreas Tille wrote:
>>> Hi,
>>>
>>> On Sat, Jan 30, 2016 at 11:51:26PM +0100, Chris Lamb wrote:
>>>> Source: python-biopython
>>>> Version: 1.66+dfsg-1
>>>> Severity: serious
>>>> Justification: fails to build from source
>>>> ...
>>>> ApplicationError: Non-zero return code 255 from 'phyml -i Phylip/interlaced2.phy -d aa', message 'beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware'
>>>> ...
>>>
>>> this bug is caused by the change in libhmsbeagle-dev which is now using
>>> OpenCL which does not seem to work on the machine that is doing the
>>> build tests. Any hint how that could be done properly?
>>>
>>> Kind regards
>>>
>>> Andreas.
>>>
>>> --
>>> http://fam-tille.de
>>>
>>>
>>
>> --
>> http://fam-tille.de
>>
>>
>
Reply to: