plasma-simpleMonitor icon indicating copy to clipboard operation
plasma-simpleMonitor copied to clipboard

Support GPU data

Open solazs opened this issue 8 years ago • 1 comments

The plasmoid is awesome, but GPU temperature would make it more complete.

This is mentioned in #9, too.

For proprietary NVIDIA drivers the nvidia-smi command can provide all kinds of information. Unfortunately I haven't been able to add the NVIDIA sensors to the sensors output.

solazs avatar Oct 13 '17 06:10 solazs

It's rather simple. Just add another DataSource to the ui and edit the model to your likings. A source for NVidia cards with the respective driver would be:

PlasmaCore.DataSource { id: nvidiaSource engine: "executable" interval: 1000

    property string nvSource: 'nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader'

    [insert further handling of the source]

}

image

Estacado7706 avatar Jan 12 '18 11:01 Estacado7706