-
Notifications
You must be signed in to change notification settings - Fork 284
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
No process and user information in output (for graphics application) #18
Comments
Hi, can you post the output of the following command when it happens as well?
or the raw I presume the xml output ( It is reported that nvidia-smi sometimes don't retrieve the process correctly. |
Hello,
And here is
|
I see. The query mode currently we are using as command-line indeed gets broken sometimes. We are going to change the way of retrieving GPU and process information to another API (#17); so I hope this issue could be fixed together. |
Yeah, it looks like nvidia-smi issue. I'll wait while moving to NVLM will be completed. |
Checked with current master - no user or processes information. I ran your utility through debugger and figured out that
nvmlDeviceGetComputeRunningProcesses here returns NVML_SUCCESS on my PC. |
Thank you @kapsh for checking it out. It looks very weird; so I understood that I would rather like to keep it open, although nvidia drivers, APIs, or something else must be in charge of this, I do believe there must be a good workaround to get the correct process information (as long as there's an way we manage to get it). Maybe, for those old cards like GTX 750, these APIs just don't work. |
I think I got it. It is documented feature:
I guess this is about CUDA applications - and I was running glxgears for testing.
And now I have this:
|
Previously, only the computing applications (e.g. CUDA) are shown in the running process list. Conforming the way nvidia-smi works by default, graphics applications (e.g. OpenGL) are now also listed. Contributed by @kapsh.
@wookayin Current master works as expected, thank you. |
A single process might appear in both of graphics and compute running processes list (#18). In such cases, the same process (same PID) would appear appearing twice. We fix this bug: list a process only once.
* Do not list the same GPU process more than once A single process might appear in both of graphics and compute running processes list (#18). In such cases, the same process (same PID) would appear appearing twice. We fix this bug: list a process only once. * Add comments for seen_pids Co-authored-by: Kaiyu Shi <[email protected]>
I have no process and user information while running gpustat with -cpu flags.
nvidia-smi v384.59 shows processes as well. Here is XML dump from it:
nvidia-smi_out_gtx750ti.xml.txt
The text was updated successfully, but these errors were encountered: