← Back to team overview

desktop-packages team mailing list archive

[Bug 1375841] Re: [nvidia-331-updates] [14.10 Utopic] CUDA only works as root

 

*** This bug is a duplicate of bug 1361207 ***
    https://bugs.launchpad.net/bugs/1361207

I had exactly the same problem with an nvidia-prime notebook (Lenovo
Flex 2) and solved it exactly as you (Yafu) did - thanks for digging!

I really hope that this will be a dependancy before 14-10 is released.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-331 in Ubuntu.
https://bugs.launchpad.net/bugs/1375841

Title:
  [nvidia-331-updates] [14.10 Utopic] CUDA only works as root

Status in “nvidia-graphics-drivers-331” package in Ubuntu:
  Confirmed
Status in “nvidia-graphics-drivers-331-updates” package in Ubuntu:
  Confirmed

Bug description:
  Using Kubuntu 14.10 64bits
  ==========
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu Utopic Unicorn (development branch)
  Release:        14.10
  Codename:       utopic
  ==========
  $ sudo dpkg -l | grep -i nvidia
  ii  bbswitch-dkms                         0.7-2ubuntu1                             amd64        Interface for toggling the power on nVidia Optimus video cards
  ii  libcuda1-331-updates                  331.89-0ubuntu5                          amd64        NVIDIA CUDA runtime library
  ii  nvidia-331-updates                    331.89-0ubuntu5                          amd64        NVIDIA binary driver - version 331.89
  ii  nvidia-331-updates-uvm                331.89-0ubuntu5                          amd64        NVIDIA Unified Memory kernel module
  ii  nvidia-opencl-icd-331-updates         331.89-0ubuntu5                          amd64        NVIDIA OpenCL ICD
  ii  nvidia-prime                          0.6.6                                    amd64        Tools to enable NVIDIA's Prime
  ii  nvidia-settings                       331.20-0ubuntu8                          amd64        Tool for configuring the NVIDIA graphics driver
  ==========
  $ lsmod | grep nvi
  nvidia              10728519  40 
  drm                   310919  3 nvidia
  ========================================

  I am using the Blender 3D 2.71 binary downloaded from the official Blender site. It contain precompiled CUDA Kernel (cuda toolkit is not required to be installed). If I run Blender then CUDA is not available under "File > User Preferences > System > Compute Device" . If I run as super user Blender (kdesudo ./blender), then CUDA is available.
  Here's a related thread on nvidia devtalk forum (see message #8):

  https://devtalk.nvidia.com/default/topic/699610/334-21-driver-
  returns-999-on-cuinit-cuda-/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1375841/+subscriptions


References