← Back to team overview

desktop-packages team mailing list archive

[Bug 1361207] Re: [xorg-edgers] nvidia-graphics-drivers-331 and newer should recommend nvidia-modprobe

 

The issue I'm referring to here is present since 331.67. The default NVIDIA driver in Trusty is 331.38.
This issue is characterized by CUDA applications failing during initialization with an error similar to this one:
CUDA Runtime API error 30: unknown error

For newer NVIDIA driver you need to install the nvidia-###-uvm package (### == major NVIDIA driver version).
After that you need to ensure after every reboot that the nvidia-uvm kernel module is loaded and /dev/nvidia-uvm is present.
If you have nvidia-modprobe installed then it takes care of these two conditions if you launch a CUDA application.
A CUDA application would also react similar to nvidia-modprobe if you would run it with root rights.
As a last resort you can run the script I've mentioned in the bug description to load the nvidia-uvm kernel module and create the /dev/nvidia-uvm character device after a reboot.

Of all solutions nvidia-modprobe is the most convenient one as
everything works out of the box if needed but it might be considered a
security concern as it is a setuid binary. You can install the nvidia-
modprobe package from Utopic if you want to give it a try.

-- 
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/1361207

Title:
  [xorg-edgers] nvidia-graphics-drivers-331 and newer should recommend
  nvidia-modprobe

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

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