[SRU] nvidia-opencl-icd-* should not conflicts/replaces on opencl-icd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-304 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned | ||
nvidia-graphics-drivers-304-updates (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned | ||
nvidia-graphics-drivers-331 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned | ||
nvidia-graphics-drivers-331-updates (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
Users with proprietary Nvidia graphics drivers are unable to co-install CUDA and OpenCL applications.
The patches in comment #21 and #22 backport the fix from Utopic and resolve this issue by allowing nvidia-opencl-icd-* (Nvidia's OpenCL ICD) to be co-installed with ocl-icd-libopencl1 (the generic OpenCL ICD loader).
[SRU Verification Test Case #1]
sudo apt-get remove nvidia-opencl-icd-* nvidia-libopencl1-* ocl-icd-ibopencl1
sudo apt-get install nvidia-
With the 331.38-0ubuntu7 drivers, the Nvidia OpenCL ICD will be installed without any dependencies.
With the 331.38-0ubuntu7.1 drivers, ocl-icd-libopencl1 will be installed as a dependency:
The following extra packages will be installed:
ocl-icd-
Suggested packages:
opencl-icd
The following NEW packages will be installed:
nvidia-
Repeat the above for nvidia-
[SRU Verification Test Case #2]
sudo apt-get install nvidia-
OR
sudo apt-get install nvidia-
(does not require an Nvidia graphics card)
sudo apt-get install beignet
(an alternate OpenCL ICD)
With the 331.38-0ubuntu7 drivers, the Nvidia OpenCL ICD will be removed:
The following packages will be REMOVED:
nvidia-
The following NEW packages will be installed:
beignet
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
With the 331.38-0ubuntu7.1 drivers, beignet and nvidia-
[Test Case]
sudo apt-get install nvidia-331 or sudo apt-get install nvidia-331-updates (does not require an Nvidia graphics card)
sudo apt-get install python-pycuda
sudo apt-get install python-pyopencl
This will result in the error message below.
The following packages have unmet dependencies:
python-pyopencl : Depends: libopencl-1.1-1
E: Unable to correct problems, you have held broken packages.
A similar conflict exists between wine and nvidia-
sudo apt-get install nvidia-331 or sudo apt-get install nvidia-331-updates (does not require an Nvidia graphics card)
sudo apt-get install wine
sudo apt-get install nvidia-cuda-toolkit
This will result in a warning similar to the one below.
The following extra packages will be installed:
nvidia-
The following packages will be REMOVED:
ocl-icd-
wine1.6-i386:i386
The following NEW packages will be installed:
nvidia-
[Regression Potential]
This fix only affects the relationships between packages and should not introduce any new bugs. However, since packages that were previously difficult to install together will now be co-installable, new bugs in those packages may be exposed.
[Other Info]
It is possible to work around this issue by first installing the CUDA application, then installing ocl-icd-opencl-dev, and finally installing the OpenCL application. (See comment #7)
-------
Don't know.
ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: ocl-icd-libopencl1 (not installed)
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Sun Nov 3 14:03:41 2013
DpkgTerminalLog:
Unpacking ocl-icd-
dpkg: error processing /var/cache/
trying to overwrite '/usr/lib/
DuplicateSignature: package:
ErrorMessage: trying to overwrite '/usr/lib/
InstallationDate: Installed on 2013-10-28 (6 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
SourcePackage: ocl-icd
Title: package ocl-icd-libopencl1 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
tags: | removed: need-duplicate-check |
Changed in ocl-icd (Debian): | |
status: | Unknown → New |
summary: |
- package ocl-icd-libopencl1 (not installed) failed to install/upgrade: - trying to overwrite '/usr/lib/x86_64-linux-gnu/libOpenCL.so', which is - also in package nvidia-opencl-dev:amd64 5.0.35-7ubuntu1 + nvidia-opencl-icd-* should not conflicts/replaces on opencl-icd |
Changed in nvidia-graphics-drivers-331 (Ubuntu): | |
status: | New → Confirmed |
Changed in nvidia-graphics-drivers-331-updates (Ubuntu): | |
status: | New → Confirmed |
Changed in nvidia-cuda-toolkit (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in ocl-icd (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in nvidia-cuda-toolkit (Ubuntu Trusty): | |
status: | New → Invalid |
Changed in ocl-icd (Ubuntu Trusty): | |
status: | New → Invalid |
tags: | added: patch |
description: | updated |
summary: |
- nvidia-opencl-icd-* should not conflicts/replaces on opencl-icd + [SRU] nvidia-opencl-icd-* should not conflicts/replaces on opencl-icd |
Changed in ocl-icd (Ubuntu Trusty): | |
status: | Invalid → Confirmed |
tags: | added: utopic |
Changed in ocl-icd (Ubuntu Trusty): | |
status: | Confirmed → Invalid |
no longer affects: | ocl-icd (Debian) |
Changed in nvidia-graphics-drivers-304 (Ubuntu): | |
status: | New → Fix Released |
Changed in nvidia-graphics-drivers-340 (Ubuntu Trusty): | |
status: | Confirmed → Invalid |
description: | updated |
no longer affects: | nvidia-graphics-drivers-340 (Ubuntu) |
description: | updated |
tags: | added: packaging |
no longer affects: | nvidia-cuda-toolkit (Ubuntu Trusty) |
no longer affects: | nvidia-cuda-toolkit (Ubuntu) |
no longer affects: | ocl-icd (Ubuntu Trusty) |
no longer affects: | ocl-icd (Ubuntu) |
no longer affects: | nvidia-graphics-drivers-340 (Ubuntu Trusty) |
Status changed to 'Confirmed' because the bug affects multiple users.