[elrepo] elrepo nvidia driver and latest cuda (version 9)

Bert RAM Aerts bert.ram.aerts at gmail.com
Tue Nov 7 13:59:11 EST 2017


My way of working on CentOS 7.4 is as follows:
I download the CUDA 9 standalone installer (not an rpm package).
This installer lets me choose to install only the CUDA SDK and Examples and
not the provided driver.
I always keep the elrepo nVIDIA driver.
This way there are no conflicts.
Hope this helps...

2017-11-07 19:11 GMT+01:00 Phil Perry <phil at elrepo.org>:

> On 07/11/17 17:40, Phil Perry wrote:
>
>> Hi Giacomo,
>>
>> I'm not familiar with CUDA but let me share some observations below.
>>
>>
> I think I may have found it (see below).
>
>
> On 07/11/17 17:15, Giacomo G. Brussino wrote:
>>
>>> I have the latest elrepo nvidia driver installed on a RHEL 6 system and
>>> working well with the Cuda version 8.
>>>
>>> Cuda version 9 was released a while back, but I cannot upgrade to it
>>> because of conflicts with the elrepo nvidia driver:
>>>
>>> --> Processing Conflict: nvidia-x11-drv-384.98-1.el6.elrepo.x86_64
>>> conflicts xorg-x11-drv-nvidia
>>> --> Processing Conflict: 1:nvidia-kmod-384.81-2.el6.x86_64 conflicts
>>> nvidia-uvm-kmod < 1:361.00
>>>
>>> Error: nvidia-kmod conflicts with kmod-nvidia-384.98-1.el6.elrepo.x86_64
>>> Error: nvidia-x11-drv conflicts with 1:xorg-x11-drv-nvidia-384.81-1
>>> .el6.x86_64
>>>
>>> I have not been able to locate any info on this issue, so I decided to
>>> try to post it to the mailing list.
>>>
>>> Below are all the info I though may help diagnose the problem.
>>> Please let me know if you need any additional information.
>>>
>>>
>>> OS: Red Hat Enterprise Linux Workstation release 6.9 (Santiago)
>>> Kernel: 2.6.32-696.13.2.el6.x86_64 #1 SMP Fri Sep 22 12:32:14 EDT 2017
>>> x86_64 x86_64 x86_64 GNU/Linux
>>>
>>> yum list installed | grep elrepo
>>> elrepo-release.noarch               6-8.el6.elrepo      @elrepo
>>> kmod-nvidia.x86_64                  384.98-1.el6.elrepo @elrepo
>>> nvidia-detect.x86_64                384.98-1.el6.elrepo @elrepo
>>> nvidia-x11-drv.x86_64               384.98-1.el6.elrepo @elrepo
>>> nvidia-x11-drv-32bit.x86_64         384.98-1.el6.elrepo @elrepo
>>> yum-plugin-nvidia.noarch            1.0.2-1.el6.elrepo  @elrepo
>>>
>>> yum list installed | grep cuda
>>> cuda.x86_64                         8.0.61-1            @cuda
>>> cuda-8-0.x86_64                     8.0.61-1            @cuda
>>> cuda-command-line-tools-8-0.x86_64  8.0.61-1            @cuda
>>> cuda-core-8-0.x86_64                8.0.61-1            @cuda
>>> cuda-cublas-8-0.x86_64              8.0.61.2-1          @cuda
>>> cuda-cublas-dev-8-0.x86_64          8.0.61.2-1          @cuda
>>> cuda-cudart-8-0.x86_64              8.0.61-1            @cuda
>>> cuda-cudart-dev-8-0.x86_64          8.0.61-1            @cuda
>>> cuda-cufft-8-0.x86_64               8.0.61-1            @cuda
>>> cuda-cufft-dev-8-0.x86_64           8.0.61-1            @cuda
>>> cuda-curand-8-0.x86_64              8.0.61-1            @cuda
>>> cuda-curand-dev-8-0.x86_64          8.0.61-1            @cuda
>>> cuda-cusolver-8-0.x86_64            8.0.61-1            @cuda
>>> cuda-cusolver-dev-8-0.x86_64        8.0.61-1            @cuda
>>> cuda-cusparse-8-0.x86_64            8.0.61-1            @cuda
>>> cuda-cusparse-dev-8-0.x86_64        8.0.61-1            @cuda
>>> cuda-demo-suite-8-0.x86_64          8.0.61-1            @cuda
>>> cuda-documentation-8-0.x86_64       8.0.61-1            @cuda
>>> cuda-driver-dev-8-0.x86_64          8.0.61-1            @cuda
>>> cuda-license-8-0.x86_64             8.0.61-1            @cuda
>>> cuda-misc-headers-8-0.x86_64        8.0.61-1            @cuda
>>> cuda-npp-8-0.x86_64                 8.0.61-1            @cuda
>>> cuda-npp-dev-8-0.x86_64             8.0.61-1            @cuda
>>> cuda-nvgraph-8-0.x86_64             8.0.61-1            @cuda
>>> cuda-nvgraph-dev-8-0.x86_64         8.0.61-1            @cuda
>>> cuda-nvml-dev-8-0.x86_64            8.0.61-1            @cuda
>>> cuda-nvrtc-8-0.x86_64               8.0.61-1            @cuda
>>> cuda-nvrtc-dev-8-0.x86_64           8.0.61-1            @cuda
>>> cuda-repo-rhel6.x86_64              8.0.61-1
>>> @/cuda-repo-rhel6-8.0.61-1.x86_64
>>> cuda-runtime-8-0.x86_64             8.0.61-1            @cuda
>>> cuda-samples-8-0.x86_64             8.0.61-1            @cuda
>>> cuda-toolkit-8-0.x86_64             8.0.61-1            @cuda
>>> cuda-visual-tools-8-0.x86_64        8.0.61-1            @cuda
>>>
>>>
>>> yum check-update
>>> Loaded plugins: auto-update-debuginfo, changelog, filter-data, keys,
>>> list-data,
>>>                : nvidia, product-id, refresh-packagekit,
>>> search-disabled-repos,
>>>                : security, subscription-manager, verify
>>> Skipping filters plugin, no data
>>>
>>> cuda.x86_64 9.0.176-1                       cuda
>>> cuda-repo-rhel6.x86_64 9.0.176-1                       cuda
>>>
>>>
>>> yum update
>>> Loaded plugins: auto-update-debuginfo, changelog, filter-data, keys,
>>> list-data,
>>>                : nvidia, product-id, refresh-packagekit,
>>> search-disabled-repos,
>>>                : security, subscription-manager, verify
>>> Setting up Update Process
>>> Skipping filters plugin, no data
>>> Resolving Dependencies
>>> Skipping filters plugin, no data
>>> --> Running transaction check
>>> ---> Package cuda.x86_64 0:8.0.61-1 will be updated
>>> ---> Package cuda.x86_64 0:9.0.176-1 will be an update
>>> --> Processing Dependency: cuda-9-0 >= 9.0.176 for package:
>>> cuda-9.0.176-1.x86_64
>>> ---> Package cuda-repo-rhel6.x86_64 0:8.0.61-1 will be updated
>>> ---> Package cuda-repo-rhel6.x86_64 0:9.0.176-1 will be an update
>>> --> Running transaction check
>>> ---> Package cuda-9-0.x86_64 0:9.0.176-1 will be installed
>>> --> Processing Dependency: cuda-toolkit-9-0 >= 9.0.176 for package:
>>> cuda-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-runtime-9-0 >= 9.0.176 for package:
>>> cuda-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-demo-suite-9-0 >= 9.0.176 for package:
>>> cuda-9-0-9.0.176-1.x86_64
>>> --> Running transaction check
>>> ---> Package cuda-demo-suite-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-runtime-9-0.x86_64 0:9.0.176-1 will be installed
>>> --> Processing Dependency: nvidia-drivers >= 384.81 for package:
>>>
>>
> OK, our elrepo package doesn't provide nvidia-drivers but the cuda-drivers
> package does:
>
> $ rpm -qp --provides cuda-drivers-384.81-1.x86_64.rpm
> warning: cuda-drivers-384.81-1.x86_64.rpm: Header V3 RSA/SHA512
> Signature, key ID 7fa2af80: NOKEY
> cuda-driver = 384.81
> nvidia-drivers = 384.81
> cuda-drivers = 384.81-1
> cuda-drivers(x86-64) = 384.81-1
>
> So I have added that as a virtual provide to our package and rebuilt it
> for you to test. The following package has been uploaded and is currently
> syncing to the mirrors:
>
> nvidia-x11-drv-384.98-2.el6.elrepo.x86_64.rpm
>
> Once available on your mirror, I'm hoping this will resolve the dependency
> issues for you. So please give it a couple hours and try again (you might
> need to run 'yum clean all' first to clear out the yum cache), and let us
> know how you get on. Thanks
>
>
>
> cuda-runtime-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-license-9-0 >= 9.0.176 for package:
>>> cuda-runtime-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-libraries-9-0 >= 9.0.176 for package:
>>> cuda-runtime-9-0-9.0.176-1.x86_64
>>> ---> Package cuda-toolkit-9-0.x86_64 0:9.0.176-1 will be installed
>>> --> Processing Dependency: cuda-visual-tools-9-0 >= 9.0.176 for package:
>>> cuda-toolkit-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-samples-9-0 >= 9.0.176 for package:
>>> cuda-toolkit-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-nvml-dev-9-0 >= 9.0.176 for package:
>>> cuda-toolkit-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-libraries-dev-9-0 >= 9.0.176 for
>>> package: cuda-toolkit-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-documentation-9-0 >= 9.0.176 for
>>> package: cuda-toolkit-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-core-9-0 >= 9.0.176 for package:
>>> cuda-toolkit-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-command-line-tools-9-0 >= 9.0.176 for
>>> package: cuda-toolkit-9-0-9.0.176-1.x86_64
>>> --> Running transaction check
>>> ---> Package cuda-command-line-tools-9-0.x86_64 0:9.0.176-1 will be
>>> installed
>>> --> Processing Dependency: cuda-cudart-dev-9-0 for package:
>>> cuda-command-line-tools-9-0-9.0.176-1.x86_64
>>> ---> Package cuda-core-9-0.x86_64 0:9.0.176-1 will be installed
>>> --> Processing Dependency: cuda-misc-headers-9-0 for package:
>>> cuda-core-9-0-9.0.176-1.x86_64
>>> ---> Package cuda-documentation-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-drivers.x86_64 0:384.81-1 will be installed
>>>
>>
>> The cuda installation is pulling in cuda-drivers (above) which in turn
>> pulls in the following nvidia driver packages with conflict with the elrepo
>> driver packages.
>>
>> Our nvidia-x11-drv package provides 'cuda-drivers' (current version
>> 384.98) which is >= than the cuda-drivers.x86_64 0:384.81-1 being pulled in
>> above. Our package should have already satisfied that dependency so I'm
>> unsure what/why it is being pulled in?
>>
>> So there must be some other dependency chain pulling in cuda-drivers form
>> the CUDA repo. Solve that and we should be able to fix the issue.
>>
>>
>> --> Processing Dependency: xorg-x11-drv-nvidia-libs(x86-64) >= 1:384.81
>>> for package: cuda-drivers-384.81-1.x86_64
>>> --> Processing Dependency: xorg-x11-drv-nvidia-gl(x86-64) >= 1:384.81
>>> for package: cuda-drivers-384.81-1.x86_64
>>> --> Processing Dependency: xorg-x11-drv-nvidia-devel(x86-64) >=
>>> 1:384.81 for package: cuda-drivers-384.81-1.x86_64
>>> --> Processing Dependency: xorg-x11-drv-nvidia >= 1:384.81 for package:
>>> cuda-drivers-384.81-1.x86_64
>>> --> Processing Dependency: nvidia-kmod >= 1:384.81 for package:
>>> cuda-drivers-384.81-1.x86_64
>>> ---> Package cuda-libraries-9-0.x86_64 0:9.0.176-1 will be installed
>>> --> Processing Dependency: cuda-nvrtc-9-0 >= 9.0.176 for package:
>>> cuda-libraries-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-nvgraph-9-0 >= 9.0.176 for package:
>>> cuda-libraries-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-npp-9-0 >= 9.0.176 for package:
>>> cuda-libraries-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-cusparse-9-0 >= 9.0.176 for package:
>>> cuda-libraries-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-cusolver-9-0 >= 9.0.176 for package:
>>> cuda-libraries-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-curand-9-0 >= 9.0.176 for package:
>>> cuda-libraries-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-cufft-9-0 >= 9.0.176 for package:
>>> cuda-libraries-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-cudart-9-0 >= 9.0.176 for package:
>>> cuda-libraries-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-cublas-9-0 >= 9.0.176 for package:
>>> cuda-libraries-9-0-9.0.176-1.x86_64
>>> ---> Package cuda-libraries-dev-9-0.x86_64 0:9.0.176-1 will be installed
>>> --> Processing Dependency: cuda-nvrtc-dev-9-0 >= 9.0.176 for package:
>>> cuda-libraries-dev-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-nvgraph-dev-9-0 >= 9.0.176 for package:
>>> cuda-libraries-dev-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-npp-dev-9-0 >= 9.0.176 for package:
>>> cuda-libraries-dev-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-driver-dev-9-0 >= 9.0.176 for package:
>>> cuda-libraries-dev-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-cusparse-dev-9-0 >= 9.0.176 for package:
>>> cuda-libraries-dev-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-cusolver-dev-9-0 >= 9.0.176 for package:
>>> cuda-libraries-dev-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-curand-dev-9-0 >= 9.0.176 for package:
>>> cuda-libraries-dev-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-cufft-dev-9-0 >= 9.0.176 for package:
>>> cuda-libraries-dev-9-0-9.0.176-1.x86_64
>>> --> Processing Dependency: cuda-cublas-dev-9-0 >= 9.0.176 for package:
>>> cuda-libraries-dev-9-0-9.0.176-1.x86_64
>>> ---> Package cuda-license-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-nvml-dev-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-samples-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-visual-tools-9-0.x86_64 0:9.0.176-1 will be installed
>>> --> Running transaction check
>>> ---> Package cuda-cublas-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-cublas-dev-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-cudart-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-cudart-dev-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-cufft-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-cufft-dev-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-curand-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-curand-dev-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-cusolver-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-cusolver-dev-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-cusparse-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-cusparse-dev-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-driver-dev-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-misc-headers-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-npp-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-npp-dev-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-nvgraph-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-nvgraph-dev-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-nvrtc-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package cuda-nvrtc-dev-9-0.x86_64 0:9.0.176-1 will be installed
>>> ---> Package nvidia-kmod.x86_64 1:384.81-2.el6 will be installed
>>> --> Processing Dependency: dkms for package:
>>> 1:nvidia-kmod-384.81-2.el6.x86_64
>>> ---> Package xorg-x11-drv-nvidia.x86_64 1:384.81-1.el6 will be installed
>>> ---> Package xorg-x11-drv-nvidia-devel.x86_64 1:384.81-1.el6 will be
>>> installed
>>> ---> Package xorg-x11-drv-nvidia-gl.x86_64 1:384.81-1.el6 will be
>>> installed
>>> ---> Package xorg-x11-drv-nvidia-libs.x86_64 1:384.81-1.el6 will be
>>> installed
>>> --> Processing Dependency: libvdpau(x86-64) >= 0.5 for package:
>>> 1:xorg-x11-drv-nvidia-libs-384.81-1.el6.x86_64
>>> --> Running transaction check
>>> ---> Package dkms.noarch 0:2.4.0-1.20170926git959bd74.el6 will be
>>> installed
>>> ---> Package libvdpau.x86_64 0:0.9-1.el6 will be installed
>>> --> Processing Conflict: nvidia-x11-drv-384.98-1.el6.elrepo.x86_64
>>> conflicts xorg-x11-drv-nvidia
>>> --> Processing Conflict: 1:nvidia-kmod-384.81-2.el6.x86_64 conflicts
>>> nvidia-uvm-kmod < 1:361.00
>>> --> Finished Dependency Resolution
>>> Error: nvidia-kmod conflicts with kmod-nvidia-384.98-1.el6.elrepo.x86_64
>>> Error: nvidia-x11-drv conflicts with 1:xorg-x11-drv-nvidia-384.81-1
>>> .el6.x86_64
>>>   You could try using --skip-broken to work around the problem
>>>   You could try running: rpm -Va --nofiles --nodigest
>>>
>>>
>>> _______________________________________________
>> elrepo mailing list
>> elrepo at lists.elrepo.org
>> http://lists.elrepo.org/mailman/listinfo/elrepo
>>
>
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20171107/5179a712/attachment-0001.html>


More information about the elrepo mailing list