Re: [Mesa-dev] mesa git break nvidia opencl

2019-01-14 Thread Jan Vesely
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.benz...@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 VersionOpenCL 1.1 Mesa
> 18.3.1
>   Platform ProfileFULL_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.benz...@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@lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 
> 

-- 
Jan Vesely 

signature.asc
Description: This is a digitally signed message part
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa git break nvidia opencl

2019-01-14 Thread andreas . benzler
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 VersionOpenCL 1.1 Mesa
18.3.1
  Platform ProfileFULL_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.benz...@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@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] mesa git break nvidia opencl

2019-01-12 Thread 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.benz...@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

-- 
Jan Vesely 

signature.asc
Description: This is a digitally signed message part
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] mesa git break nvidia opencl

2019-01-11 Thread andreas . benzler
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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev