Pages:
Author

Topic: AMD Mem Tweak XL - Read/modify timings/pp/straps on the fly - page 13. (Read 58827 times)

newbie
Activity: 4
Merit: 0
Hi, is someone using linux? I was using windows with claymore miner and i decide to start using linux, but straps and rxboost is not working on linux.
Using windows without OC my rx580 can hash with 28+ Mh/s and if i OC my vram i get 32+.
I decide to replicate in linux the mem straps from windows when my gpu is underload, but not too much success if i change REF to 30 i can see a boost but changing RC CL etc no boost or the gpu will give me black screen.
Another strange behavior is when i OC my vram, for some reason when i oc my hash is less, its not about how much i OC the gpu ram , default is 2000mhz if i set 2001mhz is the same effect.
I appreciate any hint.
Thanks
newbie
Activity: 2
Merit: 0
Hi Eliovp

Do Amd mem tweaker improves the hash rate on radeon VII?

I tried a little bit and I don't see any difference.

Thanks
newbie
Activity: 50
Merit: 0
Here you are, this is Micron 1500 Mhz strap (f0490202 in BIOS) example:
Quote
800900007D040000000000006A09000040020000142619133D00170006060002100000000508080 018000000218E06000000010101000101001C1800220B00000A0A0000B4000000B40000008A206C024C0000000A00040A130300011F2A0C00A500000002F 4130FA500000000000000

I changed 220B (tREF 2850) to E02E (tREF 12000)

Sadly I only got a bump of 0.15Mhs Sad
legendary
Activity: 1050
Merit: 1293
Huh?
Hello Eliovp, actually it is possible....

Hey! I also own a 5700 and i flashed a XT bios on it and copied 1500 straps to 2000.
I'm getting 57.3 Mhs out of it, but I saw your post. You said you changed "tRef (that gave me +1MH for ETH)". Where can I find this value in BIOS?
Can you help me? I dont use AMD MEm Tweak XL since I use HiveOS and I need to change that value in the BIOS itself.

Here you are, this is Micron 1500 Mhz strap (f0490202 in BIOS) example:
Quote
800900007D040000000000006A09000040020000142619133D00170006060002100000000508080 018000000218E06000000010101000101001C1800220B00000A0A0000B4000000B40000008A206C024C0000000A00040A130300011F2A0C00A500000002F 4130FA500000000000000

I changed 220B (tREF 2850) to E02E (tREF 12000)




Yeah i know it's possible :p
Already built a bios editor with encoding and decoding of those timings.

full member
Activity: 137
Merit: 100
Hello Eliovp, actually it is possible....

Hey! I also own a 5700 and i flashed a XT bios on it and copied 1500 straps to 2000.
I'm getting 57.3 Mhs out of it, but I saw your post. You said you changed "tRef (that gave me +1MH for ETH)". Where can I find this value in BIOS?
Can you help me? I dont use AMD MEm Tweak XL since I use HiveOS and I need to change that value in the BIOS itself.

Here you are, this is Micron 1500 Mhz strap (f0490202 in BIOS) example:
Quote
800900007D040000000000006A09000040020000142619133D00170006060002100000000508080 018000000218E06000000010101000101001C1800220B00000A0A0000B4000000B40000008A206C024C0000000A00040A130300011F2A0C00A500000002F 4130FA500000000000000

I changed 220B (tREF 2850) to E02E (tREF 12000)

newbie
Activity: 50
Merit: 0
Hello Eliovp, actually it is possible. I successfully hex edited Sapphire 5700XT Pulse bios and copied straps from 1500+, also changed tRef (that gave me +1MH for ETH). I have used that modified atiflash from that link. No problems at all. And, of course, I used your tool to downvolt gpu and mem  Wink
P.S. I'm not that clever, I used instructions from some russian guys

Hey! I also own a 5700 and i flashed a XT bios on it and copied 1500 straps to 2000.
I'm getting 57.3 Mhs out of it, but I saw your post. You said you changed "tRef (that gave me +1MH for ETH)". Where can I find this value in BIOS?
Can you help me? I dont use AMD MEm Tweak XL since I use HiveOS and I need to change that value in the BIOS itself.
newbie
Activity: 37
Merit: 0
I confirm this. Unfortunately, the need to constantly flash the BIOS, after which the video card sometimes needs to be restored, significantly slows down the search for optimal timings.

Я пoдтвepждaю этo. К coжaлeнию, нeoбxoдимocть пocтoяннo пpoшивaть биoc, пocлe чeгo видeoкapтy инoгдa нyжнo вoccтaнaвливaть, cyщecтвeннo тopмoзит пoиcк oптимaльныx тaймингoв.
full member
Activity: 137
Merit: 100

No you won't..

Flashing an XT vbios to a non XT card is the only thing that is possible.

The onboard PSP prevents you from doing modifications.

Also, memory timing changes on a Navi are like on an R7, useless.

The only thing that would improve performance (particularly eth mining wise) would be to make it so that you extend your bandwith.
Which means that you would need to change clocks + timings so it remains stable and because the PSP on board even has it's own PPtable, this is yet again not possible.

Well, anything is possible, or almost :p
But at this stage, i doubt anyone has been able to accomplish vbios edits for navi (basically bypass PSP).

Cheers

Hello Eliovp, actually it is possible. I successfully hex edited Sapphire 5700XT Pulse bios and copied straps from 1500+, also changed tRef (that gave me +1MH for ETH). I have used that modified atiflash from that link. No problems at all. And, of course, I used your tool to downvolt gpu and mem  Wink
P.S. I'm not that clever, I used instructions from some russian guys
newbie
Activity: 8
Merit: 0
tnx for replys guys Smiley

Didnt create a softpowerplay entry in my registry, ill give it a try.

i was wondering is there a way i can just input straps for each of my vega gpus in teamredminer command line without using amdmemorytweaker?
legendary
Activity: 1050
Merit: 1293
Huh?
crashed my windows and had to reinstall, clean installed win10 but now i cannot run amd memory xl, every time i turn it on it says it has to go to test mode, i click ok..than it says:

     An error has occured setting the element data. The value is protected.
     Succesfully activated test mode.
     Please reboot your system.

Reboted couple of time, every time its same, cannot run it.
Read somwhere i need to delete drivers in system32, so i did, deleated AMD folder, also used DDU for uninstalling, and still same error appears.

Tried older driver 19.5.2. also same thing, no luck.

Any help/tips?

Did you create a softpowerplay entry in your registry?

You can always use the cli version, it doesn't need test mode to work.


You should give Minerstat a try.

I got my 6 Vega64 rig started within a couple of hours with the optimal setting.


Or just use any other *Linux* distro out there.
newbie
Activity: 1
Merit: 0
crashed my windows and had to reinstall, clean installed win10 but now i cannot run amd memory xl, every time i turn it on it says it has to go to test mode, i click ok..than it says:

     An error has occured setting the element data. The value is protected.
     Succesfully activated test mode.
     Please reboot your system.

Reboted couple of time, every time its same, cannot run it.
Read somwhere i need to delete drivers in system32, so i did, deleated AMD folder, also used DDU for uninstalling, and still same error appears.

Tried older driver 19.5.2. also same thing, no luck.

Any help/tips?

You should give Minerstat a try.

I got my 6 Vega64 rig started within a couple of hours with the optimal setting.

newbie
Activity: 8
Merit: 0
crashed my windows and had to reinstall, clean installed win10 but now i cannot run amd memory xl, every time i turn it on it says it has to go to test mode, i click ok..than it says:

     An error has occured setting the element data. The value is protected.
     Succesfully activated test mode.
     Please reboot your system.

Reboted couple of time, every time its same, cannot run it.
Read somwhere i need to delete drivers in system32, so i did, deleated AMD folder, also used DDU for uninstalling, and still same error appears.

Tried older driver 19.5.2. also same thing, no luck.

Any help/tips?
newbie
Activity: 4
Merit: 0
...is there a way that this can be done just like in overdriveNTool(much more practical) where you just autostart profiles with .bat for each of gpus(no need for reg powertable stuff)
example of input text in .bat
OverdriveNTool.exe -p0myProfile -p1"Profile 2"
In this example application starts without gui, then sets "myProfile" to GPU with id=0 and "Profile 2" to GPU with id=1 and then exit.

I would check out vegaminingguides for this and googling it. It used to work for the Vega FE and I still have a folder with that configuaration that I can show here. But you may need to dig in more on your own.
You could try mixing this in the same .bat as applying memtweak, but I'm the wrong guy to ask about this. You may already know all this..

What I had in one config.
cd command...
OverdriveNTool.exe -p1Default -p2Default -p3Default  -p4Default -p5Default
cd to miner location
start.bat
newbie
Activity: 8
Merit: 0
Ankaro,

tnx for the answer, i hope some of devs answer your question about FE support in this tool.

I have one more question about autostart, is there a way that this can be done just like in overdriveNTool(much more practical) where you just autostart profiles with .bat for each of gpus(no need for reg powertable stuff)


example of input text in .bat

OverdriveNTool.exe -p0myProfile -p1"Profile 2"
In this example application starts without gui, then sets "myProfile" to GPU with id=0 and "Profile 2" to GPU with id=1 and then exit.

newbie
Activity: 4
Merit: 0
Though I don't have answers to my post yet such as, can the clocks, voltages, power and fans be adjusted with this utility on a Vega frontier edition. My current understanding is no they cannot, though they can on a 56 or 64.

So, what will work for me and all three, is my answer to your question which I decided not to quote, for a cleaner aesthetic ;-)

------------------------------------------------------------------------------------------------------------
cd C:\Miner\PPT\PPT 1000_910Core 1100Mem 1200Soc 180PL 45TT - Eth 2020 - Good 6
@echo off
set DEVID=6863
cd %~dp0
for %%i in (1 2 3 4 5 6) do (
  echo Apply power table to card 000%%i.
  regedit /S ppt_000%%i.reg)
echo Disable cards.
timeout /t 5
devcon.exe disable "PCI\VEN_1002&DEV_6863"

echo Enable cards.
timeout /t 5
devcon.exe enable "PCI\VEN_1002&DEV_6863"

echo Done.
timeout /t 5

cd C:\Miner\Apply_Mem_Tweak
timeout /t 1
WinAMDTweak.exe --i 0,1,2 --CL 22 --RAS 35 --RCDWR 12 --RC 44 --RRDS 3 --RRDL 5 --FAW 20 --CWL 7 --RDWR 19 --REF 17550
WinAMDTweak.exe --i 3,4,5,6 --CL 22 --RAS 35 --RCDWR 12 --RC 44 --RRDS 3 --RRDL 5 --FAW 20 --CWL 7 --RDWR 19 --REF 17550

cd C:\Miner\Miner Claymore\Claymore v15.0
timeout /t 1
start.bat
------------------------------------------------------------------------------------------------------------

This code is saved in a plain text file as a .bat - ie, however you do it, this is a batch file that you run as administrator.
It can be anywhere on your computer and referenced with a shortcut if you like.
You'l have 3 folders. I do mine all in a root folder on C drive called Miner which windows virus and threat protection ignores the contents of.
1 folder is for power play tables and contains the Devcon file and registry files.
2nd folder contains your memTweak jam.
3rd folder, your miner jam.

There are other variations of this, but the above code does work. I just ran this exact code and had all actions applied in one automated fashion.
You can also place the shortcut here and elevate it to run as admin when it runs. or use task scheduler - either way applies these actions on startup if you like.
C:\Users\yourusername\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

The above could have been shortened if I'd just enacted the apply.bat for the ppt's rather than showing the apply.bat contents. either way.
For a lifetime Mac user now using windows for work since 2016 and windows mining in 2017, getting this functional code up and running was a long process.

I hope people can find this useful, and perhaps share some answers to my post #1035 about the Vega Frontier Edition.
Edit: Device ID 6863 is unique to the Vega frontier. 56 and 64 need to be looked up under their display adapter properties in device manager.
newbie
Activity: 8
Merit: 0
hi, i am not familiar with FE, but this is excatly what im searching...



cd C:\Miner\Apply_Mem_Tweak
timeout /t 1
WinAMDTweak.exe --CL 17 --RAS 35 --RCDRD 16 --RCDWR 12 --RC 44 --RP 14 --RRDS 3 --RRDL 5 --RTP 5 --FAW 20 --CWL 6 --WTRS 4 --WTRL 9 --WR 16 --WRRD 1 --RDWR 17 --REF 17550 --RFC 317
cd C:\Miner\Miner Claymore\Claymore v15.0
timeout /t 1
start.bat


My stock Clocks
WinAMDTweak.exe --CL 17 --RAS 33 --RCDRD 16 --RCDWR 10 --RC 47 --RP 14 --RRDS 4 --RRDL 6 --RTP 5 --FAW 16 --CWL 6 --WTRS 4 --WTRL 9 --WR 16 --WRRD 1 --RDWR 17 --REF 3900 --RFC 350

i have 3 difrent vegas in my rig, V56 hynix, V56 Samsung, and V64

how do i put indexes for each of my gpust to apply autostart settings, also can someone please write down how do i put power states on and off, and change voltage(also autostart command)

for example:

cd C:\Miner\Apply_Mem_Tweak
timeout /t 1
WinAMDTweak.exe GPU1(samsung) (--CL 17 --RAS 35 --RCDRD 16 --RCDWR 12 --RC 44 --RP 14 --RRDS 3 --RRDL 5 --RTP 5 --FAW 20 --CWL 6 --WTRS 4 --WTRL 9 --WR 16 --WRRD 1 --RDWR 17 --REF 17550 --RFC 317) P1-P6 vcore off, only P7 at 900mV, GPU CLOCK 1100, same for memory mcore and mclock, GPU2(hynix) (--CL 17 --RAS 30 --RCDRD 16 --RCDWR 10 --RC 44 --RP 14 --RRDS 3 --RRDL 5 --RTP 5 --FAW 22 --CWL 6 --WTRS 4 --WTRL 9 --WR 16 --WRRD 1 --RDWR 17 --REF 15200 --RFC 317) P1-P6 vcore off, only P7 at 900mV, GPU CLOCK 1100, same for memory mcore and mclock, and so on for each of my gpus...


tnx in advance
newbie
Activity: 2
Merit: 0
Dear All
Do this tool works for the radeon VII?
I tried to test but there's no change in the hashrate.

If someone was able to make itworking kindly post your settings (I have one samsung memory and one Hynix).

Thank you
newbie
Activity: 4
Merit: 0
Hi all, it's an honor to be here.

I've allowed myself stuck in certain circles and mindsets the last 2+ years that I've found quite limiting.
I've been mining with a growing number of Vega Frontier Edition cards since 2017. Die hard Vega FE guy.
There's been a lot of changes and I've adapted with all except for implementing this Mem tweak independent of a miner doing a variant for me.
Today I've got into it and have an automated startup apply and run setup going that gets me 46.4 Mh on Etherium.
My clocks currently are: PPT 1300_999Core 1100Mem 1200Soc 142PL 63TT

cd C:\Miner\Apply_Mem_Tweak
timeout /t 1
WinAMDTweak.exe --CL 17 --RAS 35 --RCDRD 16 --RCDWR 12 --RC 44 --RP 14 --RRDS 3 --RRDL 5 --RTP 5 --FAW 20 --CWL 6 --WTRS 4 --WTRL 9 --WR 16 --WRRD 1 --RDWR 17 --REF 17550 --RFC 317
cd C:\Miner\Miner Claymore\Claymore v15.0
timeout /t 1
start.bat

My stock Clocks
WinAMDTweak.exe --CL 17 --RAS 33 --RCDRD 16 --RCDWR 10 --RC 47 --RP 14 --RRDS 4 --RRDL 6 --RTP 5 --FAW 16 --CWL 6 --WTRS 4 --WTRL 9 --WR 16 --WRRD 1 --RDWR 17 --REF 3900 --RFC 350

Questions:
1. What are settings for an FE to do best? (Figured I'd start direct with my ? if anyone actually knows).
2. Is it just me or is the FE the only Vega that has to use Power Play Tables exclusively to adjust it's clocks? Some time back, overdriveNtool no longer worked for FE. Now it seems this memtweak tool is doing timings and those functions.
3. My vague understanding is that the FE got the best of the best from AMD/ samsung along with double the HBM2. In Cryptonight variants I've always got better than V64 cards best. Do you know with which timings this could shine for eth vs. a 64? Currently can't even match the 51+ Mh.

I rarely see the FE get mentioned what to speak of talk about in depth. It's a costly learning curve for me since 2017. Still paying out of pocket for everything my ambitious 2017 self did and am trying to do better with what I've got. The basic 41-44 per card doesn't break even after every middle man in-between mining and paying electric.

Thanks for your time and help!
legendary
Activity: 1796
Merit: 1028
READ PBFARMER'S POSTS--

Just in the last few pages, pbfarmer has posted some stable strings. And, a single-line batch file would be simply:

       amdmemtweak

A more complex batch file depends on your system and software tools.       --scryptr
Pages:
Jump to: