cuda with gtx980 on Jessie

Alois Schloegl alois.schloegl at ist.ac.at
Fri Sep 11 14:22:31 UTC 2015


On 09/10/2015 11:29 PM, Luca Boccassi wrote:
> Hello Alois,
> 
> On Thu, 2015-09-10 at 12:17 +0200, Alois Schloegl wrote:
>> * nvidia-modprobe --version
>>
>> nvidia-modprobe:  version 352.39  (buildmeister at vm-ubuntu1404-x64-001)
>> Fri Aug 14 21:53:43 PDT 2015
> 
>> * It seems like a bug that the debian package
>> nvidia-cuda-toolbox/nvidia-drivers does not support GTX980 - at least
>> its a wishlist item. Is there any chance that the package will be
>> upgraded soon ?
>>
>> * Do you think that the non-matching version number in nvidia-modprobe
>> (:  version 352.39) and nvidia drivers (352.30) is part of the problem ?
>>   A web search seem to suggest that this is also a possible cause [2,3]
> 
> This could be a problem, where does that package come from? Looks like
> it was built on Ubuntu, but neither the official repository nor
> xorg-edgers seem to provide 352.39.


I downloaded the cuda-7.5 package for Ubuntu 14.04 from the Nvidia site at

    https://developer.nvidia.com/cuda-downloads

Select Platform -> Linux -> x86_64 -> Ubuntu -> 14.04 -> deb(local)


> 
> Also this package is from that revision:
> 
> libcuda1-352             352.39-0ubuntu1
> 
> Please install the versions from the Debian repository and try again.
> 
>> * Do you thing that nvidia-xconfig 352.30-1 is not in experimental yet,
>> is part of the problem? Any plans to upgrade it soon ?
> 
> That should not be an issue. I myself am running 352.30 with
> nvidia-xconfig 340.46. I'll have a peek inside the packages later to
> confirm, but I'm quite sure.
> 
>> Do you have any plans to upgrade the nvidia packages to some 352.xx
>> version anytime soon ? Is there anything I can help you with (testing ?)
> 
> The new 352.41 is lined up for release, but it doesn't look like from
> the changelog that it will make any difference for your GPU, the 980.


I removed all the foreign packages. The nvidia-cuda-toolkit 6.5 from
experimental did not solve the problem, but when downgrading
nvidia-cuda-toolkit the stable version, and and installing the drivers
from experimental is working.

I've these package installed

root at gpu62:/localhome/schloegl# dpkg -l |grep -i "nvidia\|cuda"
ii  glx-alternative-nvidia                 0.5.1
        amd64        allows the selection of NVIDIA as GLX provider
ii  libcublas6.0:amd64                     6.0.37-5
        amd64        NVIDIA cuBLAS Library
ii  libcuda1:amd64                         352.30-1
        amd64        NVIDIA CUDA Driver Library
ii  libcudart6.0:amd64                     6.0.37-5
        amd64        NVIDIA CUDA Runtime Library
ii  libcufft6.0:amd64                      6.0.37-5
        amd64        NVIDIA cuFFT Library
ii  libcufftw6.0:amd64                     6.0.37-5
        amd64        NVIDIA cuFFTW Library
ii  libcuinj64-6.0:amd64                   6.0.37-5
        amd64        NVIDIA CUINJ Library (64-bit)
ii  libcurand6.0:amd64                     6.0.37-5
        amd64        NVIDIA cuRAND Library
ii  libcusparse6.0:amd64                   6.0.37-5
        amd64        NVIDIA cuSPARSE Library
ii  libegl1-nvidia:amd64                   352.30-1
        amd64        NVIDIA binary EGL libraries
ii  libgl1-nvidia-glx:amd64                352.30-1
        amd64        NVIDIA binary OpenGL libraries
ii  libgles1-nvidia:amd64                  352.30-1
        amd64        NVIDIA binary OpenGL|ES 1.x libraries
ii  libgles2-nvidia:amd64                  352.30-1
        amd64        NVIDIA binary OpenGL|ES 2.x libraries
ii  libnppc6.0:amd64                       6.0.37-5
        amd64        NVIDIA Performance Primitives core runtime library
ii  libnppi6.0:amd64                       6.0.37-5
        amd64        NVIDIA Performance Primitives for image processing
runtime library
ii  libnpps6.0:amd64                       6.0.37-5
        amd64        NVIDIA Performance Primitives for signal processing
runtime library
ii  libnvidia-eglcore:amd64                352.30-1
        amd64        NVIDIA binary EGL core libraries
ii  libnvidia-ml1:amd64                    352.30-1
        amd64        NVIDIA Management Library (NVML) runtime library
ii  libnvtoolsext1:amd64                   6.0.37-5
        amd64        NVIDIA Tools Extension Library
ii  libnvvm2:amd64                         6.0.37-5
        amd64        NVIDIA NVVM Library
ii  nvidia-alternative                     352.30-1
        amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-cuda-dev                        6.0.37-5
        amd64        NVIDIA CUDA development files
ii  nvidia-cuda-doc                        6.0.37-5
        all          NVIDIA CUDA and OpenCL documentation
ii  nvidia-cuda-gdb                        6.0.37-5
        amd64        NVIDIA CUDA Debugger (GDB)
ii  nvidia-cuda-toolkit                    6.0.37-5
        amd64        NVIDIA CUDA development toolkit
ii  nvidia-driver                          352.30-1
        amd64        NVIDIA metapackage
ii  nvidia-driver-bin                      352.30-1
        amd64        NVIDIA driver support binaries
ii  nvidia-installer-cleanup               20141201+1
        amd64        cleanup after driver installation with the
nvidia-installer
ii  nvidia-kernel-common                   20141201+1
        amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                     352.30-1
        amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-modprobe                        340.46-1
        amd64        utility to load NVIDIA kernel modules and create
device nodes
ii  nvidia-profiler                        6.0.37-5
        amd64        NVIDIA Profiler for CUDA and OpenCL
ii  nvidia-settings                        346.59-1
        amd64        tool for configuring the NVIDIA graphics driver
ii  nvidia-smi                             352.30-1
        amd64        NVIDIA System Management Interface
ii  nvidia-support                         20141201+1
        amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64              352.30-1
        amd64        Video Decode and Presentation API for Unix - NVIDIA
driver
ii  nvidia-visual-profiler                 6.0.37-5
        amd64        NVIDIA Visual Profiler for CUDA and OpenCL
ii  nvidia-xconfig                         340.46-1
        amd64        X configuration tool for non-free NVIDIA drivers
ii  xserver-xorg-video-nvidia              352.30-1
        amd64        NVIDIA binary Xorg driver



and the cuda functions

   cudaGetDeviceCount(&ngpu);

finds both GPU cards. Thanks for looking into this.


Best regards,

   Alois


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150911/703a26da/attachment.sig>


More information about the pkg-nvidia-devel mailing list