nvidia-uvm module does not exist, making CUDA and OpenCL unusable with the 390 driver

Bug #2006408 reported by Aaron Rainbolt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Notice: I have not reproduced this bug myself, nor do I have the needed setup to reproduce this bug. This is a bug report based on info provided to me over IRC.

In order for CUDA or OpenCL compute to work, a kernel module "nvidia-uvm" is necessary. This module *should* exist in the headless NVIDIA 390 driver. However, it apparently does not exist - it does not show up in the output of "lsmod", attempting to modprobe it fails, doing a recursive grep on /lib/modules/$(uname -r) does not reveal it, and it appears that the Installable Client Driver is not loading correctly.

From my own personal experience, I know that nvidia-uvm *does* exist in recommended driver for an NVIDIA 1050 Ti card, however the 390 driver used with the GTX 570 card does not appear to have the driver, even though the card supports CUDA.

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

strace of "clinfo -l" from the machine of the affected user.

description: updated
summary: - nvidia-uvm module does not exist, making CUDA unusable with the 390
- driver
+ nvidia-uvm module does not exist, making CUDA and OpenCL unusable with
+ the 390 driver
Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :
Download full text (12.7 KiB)

IRC conversation log (partially redacted for privacy of other users):

[Jan24 12:30:44] <Liver_K> BTW Oblomov, I was just looking over our convo a while ago about ICDs and ICD loaders, and I finally checked /etc/OpenCL/vendors and saw the nvidia icd, but I still don't see it in clinfo
[Jan24 12:33:09] <Liver_K> So you said that could mean that there is missing hardware, which is not true, or that there are missing libraries, which I am not sure how to look for
[Jan24 12:36:14] <Oblomov> ldd $(cat /etc/OpenCL/vendors/nvidia.icd)
[Jan24 12:38:27] <Liver_K> Yeah no such file or directory
[Jan24 12:42:54] <Oblomov> so the file is not there?
[Jan24 12:42:40] <Liver_K> Oblomov: libnvidia-opencl.so.1 is the output so it is there
[Jan24 12:43:12] <Oblomov> locate libnvidia-opencl.so.1
[Jan24 12:43:59] <Liver_K> Wait lol no I just thought about it, Oblomov where is it supposed to be?
[Jan24 12:44:10] <Liver_K> nvidia.icd is a regular file
[Jan24 12:44:36] <Oblomov> yes
[Jan24 12:44:51] <Oblomov> the file contains a string which is the name or path of the library
[Jan24 12:45:07] <Oblomov> but the actual library is searched for in the due paths
[Jan24 12:44:50] <Liver_K> Oh so libnvidia-opencl.so.1 is the name of an apt package?
[Jan24 12:45:12] <Oblomov> so you have to find that library
[Jan24 12:45:20] <Oblomov> no it's the name of the library
[Jan24 12:45:37] <Oblomov> most likely installd by some nvidia-compute-* package if this is ubuntu
[Jan24 12:45:33] <Liver_K> Ok it's not anywhere in PATH then, where would it be
[Jan24 12:52:11] <Liver_K> Like what "due paths" do you mean
[Jan24 12:53:03] <Liver_K> I have not looked through my libs before, I apologize if it's a dumb question, but where am I supposed to look to find such a library?
[Jan24 13:43:46] <Oblomov> Liver_K: dpkg -L nvidia-compute-525
[Jan24 14:46:54] <Oblomov> fwiw I'll be tagging the next clinfo release soon (ideally before the end of week, so if any of you guys wants to do some testing of the latest properties please do
[Jan24 14:53:28] <Oblomov> Athas: btw, if you want to test that double vs float thing, ARM on android doesn't support cl_khr_fp64
[Jan24 15:19:31] <Liver_K> Oblomov: Ok; I'll substitute my version after nvidia-compute-
[Jan24 15:35:19] <Oblomov> does anybody have access to IBM's opencl platform?
[Jan24 15:35:31] <Oblomov> I think it's the only thing I haven't seen a clinfo for
[Jan24 18:28:30] <Liver_K> Oblomov: I have libnvidia-compute-390 - libnvidia-opencl.so.1 is at /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
[Jan24 18:48:23] <Liver_K> Now what lol
[Jan24 19:39:46] <Liver_K> Wait it is a symlink
[Jan24 19:40:06] <Liver_K> Points to /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
[Jan24 19:41:19] <Liver_K> *Point to libnvidia-opencl.so.390.157
[Jan24 19:43:19] <Liver_K> What do I do with that linked file?
[Jan25 00:13:43] <Oblomov> can you ldd it?
[Jan25 10:35:20] <Liver_K> Oblomov: https://dpaste.com/AHM6UB8AQ
[Jan25 10:36:49] <Oblomov> looks like it should load, so I don't understand why it wouldn't work
[Jan25 10:36:57] <Oblomov> do you have the nvidia and nvidia-uvm modules loaded?
[Jan25 10:38:29] <Liver_K> I have nvi...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.