Bug#763655: boinc-amd-opencl: wrong dependencies regarding OpenCL

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Thu Oct 2 12:09:23 UTC 2014


Hi Vincent, thank for teaching me how the gpu stuff works :)

 
[snip of full explanation about how the implementation works]


thanks for the explanation :)

>  It seems that they use dlopen so that they have only one client
>that can be use on any system, whatever is installed between CUDA,
>catalyst and/or OpenCL.

>  Another question is : do you want to use alternative depends and/or
>various independent Recommends ?

>  Is I correctly read the code, the client can work either
>- with AMD software (libfglrx-virtual provided by libfglrx and libfglrx-legacy)
>and/or
>- with NVidia cuda (libcuda1 + libnvidia-ml1 for card detection)
>and/or
>- with OpenCL 1.1 (libopencl-1.1-1) with ICD (opencl-icd) from
>  AMD (amd-opencl-icd or amd-opencl-icd-legacy),
>  NVidia (nvidia-opencl-icd)
>  Intel (not yet packaged)
>  and perhaps any other implementation (not sure)

>The fact is that there is no good default: it really depends on the
>hardware you have and it would be a pitty to *force* to install
>all packages.

of course I agree

>One proposal (for Debian) :

[snip]

I presume you are talking about "boinc-amd-opencl" package:

>Depends: libopencl-1.1-1 | libfglrx-virtual | libcuda1

sudo apt-get install libopencl-1.1-1 libfglrx-virtual  libcuda1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'ocl-icd-libopencl1' instead of 'libopencl-1.1-1'
Package libcuda1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package libfglrx-virtual
E: Package 'libcuda1' has no installation candidate

trying to pick the first one

sudo apt-get install libopencl-1.1-1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'ocl-icd-libopencl1' instead of 'libopencl-1.1-1'
Suggested packages:
  opencl-icd
The following packages will be REMOVED:
  nvidia-libopencl1-304
The following NEW packages will be installed:
  ocl-icd-libopencl1
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 28,1 kB of archives.
After this operation, 48,1 kB of additional disk space will be used.
Do you want to continue? [Y/n] 

So I'm worried about removing the nvidia package... and moreover many times boinc gets removed from testing because of nvidia/xserver ABI transitions (e.g. [1]).

And we moved everything to Suggest just to avoid this, but your package seems to be in unstable and testing without removals.

>Recommends: libopencl-1.1-1, opencl-icd, libfglrx-virtual, libcuda1, libnvidia-ml1

sudo apt-get install libopencl-1.1-1 opencl-icd libfglrx-virtual libcuda1 libnvidia-ml1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'ocl-icd-libopencl1' instead of 'libopencl-1.1-1'
Package opencl-icd is a virtual package provided by:
  nvidia-opencl-icd-331-updates 331.38-0ubuntu7.1
  nvidia-opencl-icd-331 331.38-0ubuntu7.1
  beignet 0.3-1
  nvidia-opencl-icd-304-updates 304.117-0ubuntu1
  nvidia-opencl-icd-304 304.117-0ubuntu1
You should explicitly select one to install.

Package libcuda1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'opencl-icd' has no installation candidate
E: Unable to locate package libfglrx-virtual
E: Package 'libcuda1' has no installation candidate
E: Unable to locate package libnvidia-ml1

only the first one is picked in ubuntu.

I don't want to have any ubuntu delta (if possible)

do you have any solution for this?

thanks for the help so far!

Gianfranco

[1] https://packages.qa.debian.org/n/nvidia-graphics-drivers/news/20140716T163916Z.html




More information about the pkg-boinc-devel mailing list