jjziets / GPU_FAN_OC_Manager

5 stars 0 forks source link

Return to Auto #4

Open gpcarstens829 opened 3 months ago

gpcarstens829 commented 3 months ago

Should this script be using nvmlDeviceSetDefaultFanSpeed_v2 to return the fans back to auto mode? I don't understand writing a fan speed of zero to return to auto.

jjziets commented 3 months ago

only when you set it to auto

setting the fan speed to 0 will attempt to set the fan speed to 0% rather than reverting it back to driver-managed speed

jjziets commented 3 months ago

are you referring to set_fan_speed.cpp or set_fan_curve.cpp

gpcarstens829 commented 3 months ago

In the set_fan_curve.cpp the void resetFansToAuto (). It looks like you are using nvmlDevicesSetFanSpeed_v2 and setting the fan speed to AUTO_FAN_SPEED which is defined as zero. Just curious why you wouldn't use nvmlDeviceSetDefaultFanSpeed_v2 instead of setting the fan speeds to zero.

I am not a super experienced programmer to I apologize if this is a single misunderstanding on my part.

jjziets commented 3 months ago

Well nvmlDeviceSetDefaultFanSpeed_v2 doesn’t work as documented. According to the header, it’s supposed to set the fan speed and resume the driver auto fan curve but it does not. Well at least when I tried it. So I tried another method and it worked for all my clients gpus. It might have changed sins then. Hannes Zietsman https://www.linkedin.com/in/hannes-zietsman/ Cell +27 84 407 1414

On Tue, 23 Jul 2024 at 01:23, gpcarstens829 @.***> wrote:

In the set_fan_curve.cpp the void resetFansToAuto (). It looks like you are using nvmlDevicesSetFanSpeed_v2 and setting the fan speed to AUTO_FAN_SPEED which is defined as zero. Just curious why you wouldn't use nvmlDeviceSetDefaultFanSpeed_v2 instead of setting the fan speeds to zero.

I am not a super experienced programmer to I apologize if this is a single misunderstanding on my part.

— Reply to this email directly, view it on GitHub https://github.com/jjziets/GPU_FAN_OC_Manager/issues/4#issuecomment-2243973604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AESTBFKZIK4DRGB4OIANIULZNWH7BAVCNFSM6AAAAABLGNRA5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBTHE3TGNRQGQ . You are receiving this because you commented.Message ID: @.***>