Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 600182

Summary: >=x11-drivers/nvidia-drivers-355.11-r2[-X] - missing libraries needed for headless Cuda computing
Product: Gentoo Linux Reporter: Craig Tong <craigtong04>
Component: Current packagesAssignee: David Seifert <soap>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: ionen, liam
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Craig Tong 2016-11-18 15:47:19 UTC
I feel like I may be missing something here but I've not found any reference or explanation for this issue.

We run headless systems with -X to do GPGPU computations using Cuda. For <x11-drivers/nvidia-drivers-355.11-r2 this was not a problem.

From version 355.11-r2 libcuda.so and other libraries require USE=X to be deployed. Furthermore with USE=-X nvidia-smi is deployed (required for GPU enumeration I believe) but it cannot run as it depends on libnvidia-ml.so which is not deployed with USE=-X.

This is based on the rules in the ebuilds so I've not included my specific build config. It seems unecessary that we should now need to install X on our systems simply to get libcuda. Especially when it was not required in previous versions.

Regards
Craig
Comment 1 Hasan Calisir 2019-04-01 15:03:10 UTC
I confirm this issue installing nvidia-driver to headless server for cuda computing not possible.

Regards.
Hasan.
Comment 2 Ionen Wolkens gentoo-dev 2021-03-02 23:44:33 UTC

*** This bug has been marked as a duplicate of bug 561706 ***