Closed BrentonPoke closed 1 year ago
You won't get a result for any fps field.
Can you please provide the full output of nvidia-smi -q -x
and specify the exact fields you are after?
You won't get a result for any fps field.
Can you please provide the full output of
nvidia-smi -q -x
and specify the exact fields you are after?
I see the following in your file:
<encoder_stats>
<session_count>0</session_count>
<average_fps>0</average_fps>
<average_latency>0</average_latency>
</encoder_stats>
<fbc_stats>
<session_count>0</session_count>
<average_fps>0</average_fps>
<average_latency>0</average_latency>
</fbc_stats>
Are you looking for both average fps fields? something like:
encoder_stats_avgerage_fps fbc_stats_avgerage_fps
Looking at the code I see we try to gather those today:
setIfUsed("int", fields, "encoder_stats_average_fps", gpu.Encoder.AverageFPS) setIfUsed("int", fields, "fbc_stats_average_fps", gpu.FBC.AverageFPS)
The paths look correct. In your example output, both show zero? Are you sure the nvidia-smi command is ever reporting a non-zero value?
They're always zero now, and didn't always used to be. Last time I got a reading was a month ago on the 27th.
They're always zero now, and didn't always used to be. Last time I got a reading was a month ago on the 27th.
If the nvidia-smi
command is returning zero, what can Telegraf do about it? This sounds like something changed with the nvidia-smi
command, a driver, or something higher up. Telegraf can only read what it is given.
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you!
Relevant telegraf.conf
Logs from Telegraf
System info
telegraf-1.25.2, Windows 11
Steps to reproduce
Expected behavior
all stats should come in for every value.
Actual behavior
You won't get a result for any fps field. At least power draw works, though.![Screenshot 2023-03-31 005704](https://user-images.githubusercontent.com/6861851/229026645-05bebeb0-784e-4008-9cb8-2c5173340438.png)
Additional info