mpv_scripts icon indicating copy to clipboard operation
mpv_scripts copied to clipboard

Powermizer script with nvidia-smi?

Open kkkrackpot opened this issue 8 years ago • 2 comments

Hi,

Is it possible to make powermizer script to use nvidia-smi?

Installing nvidia's proprietary driver with nvidia-settings now makes quite a bit of mess in some distros (namely, in gentoo https://bugs.gentoo.org/show_bug.cgi?id=605664 )

Regards, Alex

kkkrackpot avatar Jan 20 '17 17:01 kkkrackpot

I don't think it's possible (because afaik, nvidia-smi does not have a way to control "powermizer"), it's been a complaint by many for years that nvidia-smi does not provide enough functions provided by nvidia-settings (because nvidia-smi does not require a X server).

Since nvidia-settings only works with a X server, some have worked around that by running a temporary X server with a EDID to fake a monitor, which is crazy, here's an example: https://github.com/melisgl/head-fake

I frustratingly discovered this when trying to make a script to control GPU parameters for mining cryptocurrency (https://github.com/kevinlekiller/nvidia-control-linux)

kevinlekiller avatar Jan 20 '17 21:01 kevinlekiller

The source for nvidia-settings is open, https://github.com/NVIDIA/nvidia-settings

I've not looked at it, but if one were to figure out how it sets powermizer, then maybe it could be possible to write something outside of nvidia-settings to do the same.

kevinlekiller avatar Jan 20 '17 21:01 kevinlekiller