-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Assistance with NVIDIA Quadro P4000 Integration in Glances (Docker on TrueNAS Scale) #3096
Comments
Hi @yeeahnick can you copy/paste the result of a curl on http://ip:61208/api/4/full ? Thanks. |
Hi @nicolargo Thanks for the quick response. Unfortunately the curl /full no longer shows the NVIDIA gpu (same thing under file system in Glances). There was a TrueNAS Scale update (24.10.2) yesterday that included NVIDIA fixes which I guess made it worst for Glances. To be clear my GPU is working in other dockers running on the same system. But I can give more information. When I run "ls /dev | grep nvidia" in the shell of Glances I see the following: nvidia-caps When I do a nvidia-smi nothing is found (this works in other dockers on the same system). When I run "env" in the shell of Glances I see that the NVIDIA capabilities and devices are enabled. (environment variables) When I run "glances | grep -i runtime" in the shell of Glances it just hangs. I will fiddle with it again tonight to see if I can repopulate the curl /full. Let me know if I need to provide anything else. Cheers! |
In the shell of Glances, can you run the following command:
It will display the path to the glances.log file. then run:
And copy paste:
Thanks ! |
You can run this "cat /tmp/glances-root.log" in the Glances shell to view the log file. |
Same exact results here. I have also noticed that inside the container
from the root log:
However, I've got other containers on the system that are using the GPU no problem. Please let me know if you want to see any other parts of the log |
Hello,
I'm encountering an issue where my NVIDIA Quadro P4000 is not being detected by Glances. I'm using the docker-compose (latest-full) configuration and have enabled NVIDIA GPU support in the application settings while building the app in TrueNAS. This configuration sets the NVIDIA_VISIBLE_DEVICES and NVIDIA_DRIVER_CAPABILITIES variables.
With these settings, I can see the NVIDIA driver listed under the file system pane in Glances, but the GPU does not appear when I access the endpoint:
http://IP:61208/api/4/gpu.
Interestingly, when I navigate to http://IP:61208/api/4/full, I can see several NVIDIA-related entries.
To ensure the GPU is properly assigned in the Docker Compose configuration, I ran the following command in the TrueNAS shell:
midclt call -job app.update glances-custom '{"values": {"resources": {"gpus": {"use_all_gpus": false, "nvidia_gpu_selection": {"PCI_SLOT": {"use_gpu": true, "uuid": "GPU-95943d54-8d67-b91e-00cb-ca3662cfd863"}}}}}}'
Despite this, the GPU still doesn’t show up in the /gpu endpoint.
Does anyone have suggestions or insights on what might be missing or misconfigured? Any help would be greatly appreciated!
Thank you!
The text was updated successfully, but these errors were encountered: