Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557016 - dev-util/nvidia-cuda-toolkit depends on x11-drivers/nvidia-drivers[uvm] but =x11-drivers/nvidia-drivers-355.06 dropped USE=uvm
Summary: dev-util/nvidia-cuda-toolkit depends on x11-drivers/nvidia-drivers[uvm] but =...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-08 09:11 UTC by Jeroen Roovers (RETIRED)
Modified: 2015-08-13 04:04 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Re-eanble uvm (nvidia-drivers-355.06-uvm.patch,1.02 KB, patch)
2015-08-10 16:59 UTC, Yarda
Details | Diff
output from darktable-cltest (darktable-cltest-355.06-patch-with-uvm.log,19.54 KB, text/plain)
2015-08-13 00:38 UTC, Wolfgang Goetz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2015-08-08 09:11:22 UTC
355.06 is a beta, so maybe that matches the CUDA toolkit 7.5 release candidate which is not in the tree yet?
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-08-09 13:01:23 UTC
@Marius, could you comment on that?
Comment 2 Marius Brehler 2015-08-09 17:52:41 UTC
For the release candidate of the CUDA toolkit 7.5, nvidia-drivers-352.07 or later is required. This is currently fulfilled in the tree by x11-drivers/nvidia-drivers-352.30.


AFAIR, when NVIDIA added uvm support with CUDA 6.0, the installer used to build the examples checked if the uvm is available. Also uvm might not be supported by GPU, the kernel module was required. The ebuild failed, also building the examples manually succeeded, but execution of cause failed [1].
Therefore I added the uvm dependency in the nvidia-cuda-{sdk,toolkit} ebuilds. Thus any driver not shipping the uvm module is currently incompatible with the nvidia-cuda-sdk package.

Anyway, [2] tells that nvidia-uvm.ko is still part of 355.06. IMHO, there is no reason to push back the nvidia_uvm module ASAP (as it is beta), but it makes the driver incompatible with the nvidia-cuda-sdk.


[1] https://bugs.gentoo.org/show_bug.cgi?id=501540
[2] http://us.download.nvidia.com/XFree86/Linux-x86/355.06/README/installedcomponents.html
Comment 3 Yarda 2015-08-10 16:59:51 UTC
Created attachment 408744 [details, diff]
Re-eanble uvm

Why was the uvm removed from the nvidia-drivers ebuild? I cannot see anything related in the changelog. The attached patch reenabled it for me.
Comment 4 Wolfgang Goetz 2015-08-13 00:38:07 UTC
Created attachment 408896 [details]
output from darktable-cltest
Comment 5 Wolfgang Goetz 2015-08-13 00:46:28 UTC
https://bugs.gentoo.org/attachment.cgi?id=408744 and
https://bugs.gentoo.org/attachment.cgi?id=408628 from Bug 557036

media-gfx/darktable + opencl is working again, see log
https://bugs.gentoo.org/attachment.cgi?id=408896

thanks for not dropping nvidia_uvm!
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2015-08-13 04:02:03 UTC
Oh, they just moved things around.

@@ -113,7 +113,7 @@

        if use kernel_linux; then
                MODULE_NAMES="nvidia(video:${S}/kernel)"
-               use uvm && MODULE_NAMES+=" nvidia-uvm(video:${S}/kernel/uvm)"
+               use uvm && MODULE_NAMES+=" nvidia-uvm(video:${S}/kernel)"

                # This needs to run after MODULE_NAMES (so that the eclass checks
                # whether the kernel supports loadable modules) but before BUILD_PARAMS
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2015-08-13 04:04:37 UTC
Thanks.