[Mesa-dev] mesa git break nvidia opencl
Jan Vesely
jan.vesely at rutgers.edu
Mon Jan 14 18:55:16 UTC 2019
Hi,
I don't know what "mesa card" means. You mentioned nvidia GPU, if you
want to use nvidia binary drivers, you can't use mesa provided
libOpenCL.so.
The output you posted looks like you're trying to use mesa to load
other ICD drivers, that won't work.
This is not a change in git. Unless you have a recent AMD GPU you
shouldn't build opencl, or at least configure with --enable-opencl-
icd.
Jan
On Sun, 2019-01-13 at 15:22 +0100, andreas.benzler at googlemail.com
wrote:
> Hello Jan,
>
> clinfo shows a little bit of opencl info while no "mesa" card is with
> the machine.
>
> That's wrong:
>
> flatpak --command=/bin/bash run online.winehub.GPUViewer
>
> clinfo
> Number of platforms 1
> Platform Name Clover
> Platform Vendor Mesa
> Platform Version OpenCL 1.1 Mesa
> 18.3.1
> Platform Profile FULL_PROFILE
> Platform Extensions cl_khr_icd
> Platform Extensions function suffix MESA
>
> Platform Name Clover
> Number of devices 0
>
> NULL platform behavior
> clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover
> clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)
> clCreateContext(NULL, ...) [default] No devices found in
> platform
> clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices
> found in platform
> clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found
> in platform
> clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found
> in platform
> clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices
> found in platform
> clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices
> found in platform
> clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found
> in platform
>
> ICD loader properties
> ICD loader Name OpenCL ICD Loader
> ICD loader Vendor OCL Icd free software
> ICD loader Version 2.2.12
> ICD loader Profile OpenCL 2.2
>
> AndyBe
> Am Samstag, den 12.01.2019, 16:39 -0500 schrieb Jan Vesely:
> > Hi,
> >
> > you're not very specific what 'break' means. Mesa libOpenCL.so does
> > not support loading additional opencl icd drivers.
> > It is, however, possible to use mesa as an icd driver
> > (libMesaOpenCL.so) which can be loaded by an icd loader, such as ocl-
> > icd, or other opencl drivers.
> >
> > Jan
> >
> >
> > On Thu, 2019-01-10 at 19:58 +0100, andreas.benzler at googlemail.com
> > wrote:
> > > Hello Everyone,
> > >
> > > at this moment I develop on freedesktop opencl. Current the mesa
> > > opencl
> > > break clinfo to read the information from nvidia when mesa opencl
> > > is
> > > available. There is no other graphic card plugged in.
> > >
> > > The stable 18.3.1 it works.
> > >
> > > Don't know how to analise this kind of problem.
> > >
> > > Sincerely
> > >
> > > AndyBe
> > >
> > > _______________________________________________
> > > mesa-dev mailing list
> > > mesa-dev at lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>
--
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190114/cf43d6c5/attachment-0001.sig>
More information about the mesa-dev
mailing list