Open nwildner opened 1 year ago
nvidia-smi --query-gpu=name,memory.total,utilization.gpu,memory.used,temperature.gpu,fan.speed,clocks.current.graphics,power.draw
Can you post the output of this?
You've missed the format line: --format=csv,noheader,nounits
I have the same issue, here's my output (with the --format line):
NVIDIA GeForce GTX 650 Ti BOOST, 1991, [N/A], 289, 43, 32, [N/A], [N/A]
Oh, values can be optional...
I am using a temporary workaround—put an nvidia-smi shell script ahead of /usr/bin/ in the path (/usr/local/sbin/ in my case):
#!/bin/bash
/usr/bin/nvidia-smi ${@} | sed 's/\[N\/A\]/0/g'
nvidia-smi --query-gpu=name,memory.total,utilization.gpu,memory.used,temperature.gpu,fan.speed,clocks.current.graphics,power.draw
Sure thing
[nwildner@sandworm ~]$ nvidia-smi --query-gpu=name,memory.total,utilization.gpu,memory.used,temperature.gpu,fan.speed,clocks.current.graphics,power.draw \
--format=csv,noheader,nounits
NVIDIA GeForce RTX 3070 Laptop GPU, 8192, 3, 291, 33, [N/A], 210, 12.72
Sort of fixed this in e473555. [N/A] will be shown as 0.
Sup folks.
Since the migration from 0.22 to 0.30, I'm only seeing this message on the statusbar for this specific block:
failed to parse nvidia-smi output
It is a Laptop RTX3070, with optimus-manager. GPU IDs remain the same, updated kernel + drivers + i3status-rust just as usual.
If I click on the
nvidia_gpu
block, the following message appears:failed to parse nvidia-smi output. (Cause: bad property: fan_speed. (Cause: invalid digit found in string))
.Current block is pretty minimal because I'm in the process of refactoring the config file to be compatible with the new release:
nvidia-smi
output:i3status-rust version:
No significant changes were made to the system, and it used to work on 0.22.
Please let me know if any additional information is needed to investigate this.