Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592984 - x11-drivers/nvidia-drivers should allow nvidia-smi to run without USE=X
Summary: x11-drivers/nvidia-drivers should allow nvidia-smi to run without USE=X
Status: RESOLVED DUPLICATE of bug 561706
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-06 12:45 UTC by Brian Munro
Modified: 2016-09-06 13:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Munro 2016-09-06 12:45:32 UTC
When trying to run the nvidia-smi command you will receive the following error, This is a headless system that does cuda processing so there is no X.



Reproducible: Always

Steps to Reproduce:
1.Run nvidia-smi from terminal
2.
3.
Actual Results:  
NVIDIA-SMI couldn't find libnvidia-ml.so library in your system. Please make sure that the NVIDIA Display Driver is properly installed and present in your system.
Please also try adding directory that contains libnvidia-ml.so to your system PATH.


Expected Results:  
Tue Sep  6 12:42:48 2016
+------------------------------------------------------+
| NVIDIA-SMI 352.41     Driver Version: 352.41         |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 590     Off  | 0000:05:00.0     N/A |                  N/A |
|  0%   45C    P0    N/A /  N/A |      5MiB /  1535MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 590     Off  | 0000:06:00.0     N/A |                  N/A |
| 40%   45C    P0    N/A /  N/A |      5MiB /  1535MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0                  Not Supported                                         |
|    1                  Not Supported                                         |
+-----------------------------------------------------------------------------+


P64Gen nvidia-drivers # equery u x11-drivers/nvidia-drivers
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-drivers/nvidia-drivers-361.28:
 U I
 - - X           : Install the X.org driver, OpenGL libraries, XvMC libraries,
                   and VDPAU libraries
 - - acpi        : Add support for Advanced Configuration and Power Interface
 + + driver      : Install the kernel driver module
 - - gtk3        : Install nvidia-settings with support for GTK+ 3
 + + kms         : Enable support for kernel mode setting (KMS)
 + + multilib    : On 64bit systems, if you want to be able to compile 32bit
                   and 64bit binaries
 - - pax_kernel  : PaX patches from the PaX project
 - - static-libs : Build static versions of dynamic libraries as well
 - - tools       : Install additional tools such as nvidia-settings
 - - uvm         : Install the Unified Memory kernel module (nvidia-uvm) for
                   sharing memory between CPU and GPU in CUDA programs
Comment 1 Brian Munro 2016-09-06 13:13:44 UTC
It looks fixed in the latest patch in BUG #561706

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