Eliovp / amdmemorytweak

Read and modify memory timings on the fly
GNU General Public License v3.0
308 stars 81 forks source link

Use Profiles Similar to OverdriveNTool #19

Open jch9678 opened 5 years ago

jch9678 commented 5 years ago

Hey Heliox, thanks for doing this. It looks like your tool can almost replace OverdriveNTool as well. Once exception being the profiles. If you could implement profiles we could tune each card per algorithm and save it as a profile. In ODN this is done with an .ini file. Then we could write a .bat per algorithm and have those inputs automatically applied to all cards at once. The .bat could be named CNR and would look like this

OverdriveNTool.exe -p1"Vega56" -p2"Vega56" -p3"Vega56" -p4"Vega56" -p5"Vega56" -p6"Card6" -p7"Vega56" -p8"Vega56"

Obvioulsy AMDMemTweak.exe would replace OverdriveNTool.exe and I think you use -gpu instead of -p

Vega56 and Card6 get the values from the ini file which in ODNT looks something like this.

[Profile_5] Name=Vega56 GPU_P0=852;900;0 GPU_P1=991;900;0 GPU_P2=1084;900;0 GPU_P3=1138;900;0 GPU_P4=1150;900;0 GPU_P5=1202;900;0 GPU_P6=1212;905;0 GPU_P7=1407;950 Mem_P0=167;900;0 Mem_P1=500;900;0 Mem_P2=800;900;0 Mem_P3=945;900 Fan_Acoustic=2400 Power_Target=0

[Profile_6] Name=Card6 GPU_P0=852;800 GPU_P1=991;900 GPU_P2=1138;950 GPU_P3=1269;1000 GPU_P4=1312;1050 GPU_P5=1474;1100 GPU_P6=1077;950 GPU_P7=1112;950 Mem_P0=167;800 Mem_P1=500;800 Mem_P2=700;900 Mem_P3=900;900 Fan_Acoustic=2400 Power_Target=0

(Those values are from an older version of ODNT)

This would allow us to switch algos quickly without having to input numbers for each card (unless you have to restart the computer between algo switches) I use RainbowMiner to switch between the most profitable algos and something like this would enable me to switch from optimized timings for eth to optimized timings for cnr automatically.

I haven't had time to play around with this tool so maybe you already have something like this or it is planned.

foxwarernd commented 5 years ago

Ready to help with testing with my RX 480 4 Gb, 8Gb

Eliovp commented 3 years ago

Apologies for the very very late reply :) I've been sitting on an Island drinking piña colada's from all those donations :laughing:

Anyhow, no one's stopping you, I'd be happy to merge your changes in :wink:

jch9678 commented 3 years ago

Must've been a large pina colada