YouareprobablywonderingwhyIhavechosentowritethisscriptinBashShellScript.Thereasonisverysimple;Iwantedascriptwiththeminimumnumberofdependenciespossible.Togetthisscriptup-and-runningyoutechnicallyonlyneedthetemp.shfile,andtheconfigfile.
Thecurrentversionofthescriptisversion19.4.
ThisscriptiscurrentlysetupforCelsius.However,itcaneasilybemodifiedforothertemperaturescales.
Ifyouneedanyhelpconfiguringmyscriptordon'tknowhowtomakeitstartautomaticallychecktheUSAGE.mdfile.
Featurescomeswithamoreaggressivefancurvethanthenvidiadefault(lowertemps,loudernoise)usesnvidia-settingscommandsautomaticallyenables/disablesGPUfancontrol(butnotCoolBits)verylightweightmultipleGPUcontrolwithindividualfancontrollersupportmakesuseofaconfigfilewithexplanationsforeachsettingPOSIXcompliantPrerequisitesaPOSIXcompliantshell;testedwithrecentversionsofbashanddashnvidiaglxdriverversiongreaterthan304nvidia-settingsforcontrollingtheGPU(s)coreutilsprocps-youcancommentoutthefunctioncheck_already_runningifyoudon'thaveitHowtoinstallGitHubDownloadthe.zipfilestraightfromtheGitHubsExtractitsomewhere,andopenaterminaltothatdirectoryMakesureCoolBitsisenabled(seeUSAGE.md)Runshtemp.sh(oranycompatableshell)or./temp.shforaforegroundprocess.Runwiththeoption-D(casesensitive)forabackgroundprocess(i.e../temp.sh-D).Notethatusingshor./willautomaticallyuseyourdefaultshell.gitChooseafolderyouwanttodownload/installthescriptingitclonehttps://github.com/nan0s7/nfancurveFollowthelasttwostepsundertheGitHubguideareaArchLinuxThereareunofficialAURpackages:
Stable:nfancurveAUR,maintainedby@ReneHollanderGitMaster:nfancurve-gitAUR,outdatedandunmaintainedUsingthesystemdserviceReplaceNFANCURVE_PATHwiththenfancurvepath.Moveorcopythenfancurve.servicefileto/etc/systemd/user/nfancurve.servicethenenableandstarttheservicewith:
systemctl--userdaemon-reloadsystemctl--userstartnfancurve.servicesystemctl--userenablenfancurve.serviceHonourablementions@aryonoco,forbeingmymulti-GPUguineapig@civyshk,formakingaPythonfork@zJelly,forworkingonanAMD-GPUsupportingfork@dpayne,foraddingusefulscriptparameters@Scrumplex,foraddingchecktoavoiderrorswhenconfigismissing,andinitialisingtheAURpackages@stefmitropoulos,forgreatlyimprovingthewayconfigfilesareloaded@mklement0,(stackoverflow)foraPOSIXimplimentationofresolvingfilesymlinks@xberg,forfindingandfixingabugwiththemulti-GPUsideofthescript@edave,forhelpingtesttheinitialimplimentationofmulti-fanGPUsupport@louissmit,forhelpingtestthefinalmulti-fanGPUfeatureimplimentation@D3473R,foraddinganexamplesystemdservicefile@ReneHollander,formaintainingandimprovingthestableAURpackage@kenbeese,formakingmeawareofamulti-GPUbug@BryanHitchcock,forfixinganissuewithsingleGPU,multi-fanconfigurations@mooninite,forfixingacoupleofbugsTODOmakesurethat"CoolBits"isenabled-notreallythescopeofthisscriptpossiblycheckthecurrentlyinstalleddriverversion-earlierversionsusedtheGPUCurrentFanSpeedcommandaddinareallydetailedguideofhowthescriptworksaddnouveausupport(oncetheyfixPascal)addAMDsupport?makefanscontrollablewithoutneedingtousethenvidia-settingsapp(forheadlesssupport)
评论