Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rhel8] nvidia-smi not found, NVIDIA GPU Driver not installed correctly. #90

Open
mattf opened this issue Feb 10, 2021 · 1 comment
Open

Comments

@mattf
Copy link
Contributor

mattf commented Feb 10, 2021

# simulating setup-system because install-docker currently broken
$ ./data-science-stack install-base
...
$ ./data-science-stack install-driver
...
$ reboot
...
$ ./data-science-stack diagnostics
...
###NV### Wed Feb 10 12:32:15 UTC 2021 #### Driver detected (0 means not installed): 0
###NV### Wed Feb 10 12:32:15 UTC 2021 #### NVIDIA SMI:
nvidia-smi not found, NVIDIA GPU Driver not installed correctly.
###NV### Wed Feb 10 12:32:15 UTC 2021 #### CUDA detected (0 means not installed): 0
###NV### Wed Feb 10 12:32:15 UTC 2021 #### Docker detected (0 means not installed): 0
$ lsmod | grep nvidia
nvidia_drm             57344  0
nvidia_modeset       1224704  1 nvidia_drm
nvidia              34086912  1 nvidia_modeset
drm_kms_helper        217088  1 nvidia_drm
drm                   557056  3 drm_kms_helper,nvidia_drm

nvidia-smi is part of xorg-x11-drv-nvidia-cuda (fedora; rpmfusion) and nvidia-driver-cuda (rhel; cuda-rhel from nvidia) or xorg-x11-drv-nvidia-cuda (rhel, non-free rpmfusion), not the driver, and isn't available until install-cuda.

install-cuda needs be part of setup-system if nvidia-smi is going to be part of the driver identification.

@mattf
Copy link
Contributor Author

mattf commented Feb 10, 2021

an alternative way to detect driver presence and version: modinfo -F version nvidia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant