I have this problem: I want install these packages: nvidia-390 (driver) nvidia-libopencl1-390 nvidia-opencl-icd-390 on Ubuntu Server 18.04.
$ uname -r 4.15.0-29-generic
I have installed nvidia-390, further when installing nvidia-libopencl1-390 I have the following errors:
# apt install nvidia-libopencl1-390 Reading Package Lists ... Done Building a Dependency Tree Reading status information ... Done Some packages can not be installed. Perhaps you are asking for the impossible, or use an unstable version of the distribution, where you requested packages are not yet created or have been removed from Incoming. The following information may help you: Packages with unsatisfied dependencies: nvidia-libopencl1-390: Depends: nvidia-compute-390 but it can not be installed E: It is impossible to fix errors, you have held broken packages.
The same is true with nvidia-opencl-isd-390.
Such errors are observed on the versions 387,390. Deleted all the packages of the nvidia-*, then installed the 384 version, but 387, 390 also gave an error.
Version 384 packages were installed, entered the command
nvidia-xconfig, reboot. After that the driver is working, but opencl is not detected by the programs. They say that it is not installed by opencl.
How to fix 384 or fix and install version nvidia's 390 packages?
Thank you, I did so. First I checked what I needed ubuntu-drivers device
== /sys/devices/pci0000:00/0000:00:1d.1/0000:07:00.0/0000:08:03.0/0000:0b:00.0 == modalias : pci:v000010DEd00001C03sv00001462sd00003281bc03sc00i00 vendor : NVIDIA Corporation model : GP106 [GeForce GTX 1060 6GB] driver : nvidia-driver-390 - third-party free driver : nvidia-driver-396 - third-party free recommended driver : xserver-xorg-video-nouveau - distro free builtin
396 is recommended, but there is no opencl 396.