are you saying that i can run under linux, before loading ccminer, a nvidia-smi sentence that will change in real time the TDP of every card??? WOW!!! I thought that the only way was modifying the BIOS!, do you have any link / tuto or hint how to?, I will get right on it!.
I just tried in windows and it works. I'm pretty sure it should work also in linux but cannot test it because I don't have a ready linux install anymore. Setting the core and mem clocks(+changing to p0) works exactly the same way on linux and windows. Tested on 960, 970 and 980.
Those are the commands:
nvidia-smi -q -d POWER -i 0 -shows the actual setting and possible settings limits
nvidia-smi -pl 180 -i 0 -sets the power limit of gpu 0 to 180W
The successfull result:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>cd /
C:\>cd "Program Files"
C:\Program Files>cd "NVIDIA Corporation"
C:\Program Files\NVIDIA Corporation>cd NVSMI
C:\Program Files\NVIDIA Corporation\NVSMI>nvidia-smi -q -d POWER -i 0
==============NVSMI LOG==============
Timestamp : Tue Jan 05 22:05:19 2016
Driver Version : 359.06
Attached GPUs : 5
GPU 0000:01:00.0
Power Readings
Power Management : Supported
Power Draw : 13.98 W
Power Limit : 196.15 W
Default Power Limit : 163.46 W
Enforced Power Limit : 196.15 W
Min Power Limit : 100.00 W
Max Power Limit : 196.15 W
Power Samples
Duration : N/A
Number of Samples : N/A
Max : N/A
Min : N/A
Avg : N/A
C:\Program Files\NVIDIA Corporation\NVSMI>nvidia-smi -pl 180 -i 0
Power limit for GPU 0000:01:00.0 was set to 180.00 W from 196.15 W.
All done.
C:\Program Files\NVIDIA Corporation\NVSMI>nvidia-smi -q -d POWER -i 0
==============NVSMI LOG==============
Timestamp : Tue Jan 05 22:05:40 2016
Driver Version : 359.06
Attached GPUs : 5
GPU 0000:01:00.0
Power Readings
Power Management : Supported
Power Draw : 13.74 W
Power Limit : 180.00 W
Default Power Limit : 163.46 W
Enforced Power Limit : 180.00 W
Min Power Limit : 100.00 W
Max Power Limit : 196.15 W
Power Samples
Duration : N/A
Number of Samples : N/A
Max : N/A
Min : N/A
Avg : N/A
C:\Program Files\NVIDIA Corporation\NVSMI>
It works on Linux. You might also want to set persistence mode: nvidia-smi -pm 1 -i 0