← Back to team overview

desktop-packages team mailing list archive

[Bug 1361207] Re: nvidia-graphics-drivers-* should recommend nvidia-modprobe

 

With the nvidia-352 driver in 14.04, there no longer seems to be an uvm
package, and the nvidia-modprobe package is at version 340.21.

In the past I've added "nvidia-uvm" to /etc/modules, and the following
from here [
http://developer.download.nvidia.com/compute/cuda/6_5/rel/docs/CUDA_Getting_Started_Linux.pdf
] to /etc/rc.local to get CUDA working in Blender:

/sbin/modprobe nvidia-uvm
if [ "$?" -eq 0 ]; then
 # Find out the major device number used by the nvidia-uvm driver
 D=`grep nvidia-uvm /proc/devices | awk '{print $1}'`
 mknod -m 666 /dev/nvidia-uvm c $D 0
else
 exit 1
fi

With nvidia-modprobe installed, "lsmod | grep nvi" does list nvidia-uvm,
but there is not /dev/nvidia-uvm device created. Running the above
script snippet creates /dev/nvidia-uvm, but CUDA is still not working in
Blender.

It would be great if CUDA worked out of the box, either when you install
the nvidia-352 driver, or at least when you install libcuda1-352.

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

Title:
  nvidia-graphics-drivers-* should recommend nvidia-modprobe

Status in nvidia-graphics-drivers-331 package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-346 package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
  Confirmed

Bug description:
  nvidia-modprobe allows non-root users to load NVIDIA kernel modules and it creates the respective device entries. This is important for CUDA users as they would otherwise have to run a workaround script to load the kernel modules and create the device entries. This is documented here:
  http://developer.download.nvidia.com/compute/cuda/6_5/rel/docs/CUDA_Getting_Started_Linux.pdf -> 4.8 Verification

  Because of this newer nvidia-graphics-drivers packages (331 and newer)
  should at least recommend nvidia-modprobe. Furthermore the nvidia-
  modprobe is not available from xorg-edgers. Utopic includes an nvidia-
  modprobe package though.

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