Post
Topic
Board Mining (Altcoins)
Re: AMD Memory Tweak - Read and modify memory timings on the fly - [Vega Friendly]
by
yobigd20
on 09/04/2019, 12:57:37 UTC
I am trying to use this tool on RX480s and it is not working.  (yes I know I can technically just keep the modded bios on there, etc, I am simply just "testing" the tool to see if it works on rx480s with stock bios). 

On windows with the Ubermix 3.1 strap I can get 30MH on these cards.   On linux (hiveos) using stock bios I get 25MH.   On linux using stock bios but first using this tool to set custom timings, I still get 25MH.  It's as if the tool doesnt work at all.

First, I flashed the original bios' back onto the gpus.  Then moved 5x AMD RX480 Reference cards over to the linux box from a windows machine.   These amd cards all have the same memory on them, K4G80325FB 8GB samsung. 

I pulled this tool built it, and then executed the following command './amdmemtweak --current' to examine the timings of the original bios.  Then I decoded the original 2000 timing memory strap and the UberMix 3.1 memory strap and got all the values from comparing the decoded the original bios strap and compared to the timings in the Ubermix 3.1 strap.  Then used amdmemtweak to set the same timings used in the ubermix 3.1 strap and confirmed that they are set correctly using './amdmemtweak --current'.    Then I restarted the miner but I still get the same 25MH as I would with the stock bios strap timings.   What gives???  Tool seems broken...

fyi the command that I am using is:
./amdmemtweak  -i 0,1,2,3,4,5 --RC 65 --RRD 5 --RCDRA 24 --RCDR 24 --RCDWA 13 --RCDW 13 --CL 21 --W2R 14 --CCDS 5 --CCLD 4 --R2W 28 --RFC 136 --TRP 27 --RP_RDA 24 --RP_WRA 46 --T32AW 0 --FAW 0 --RASMACTRD 47 --RASMACTWR 63 --ACTWR 18 --ACTRD 16 --BUS_TURN 25 --WRPLUSRP 64 --RP 53 --RAS2RAS 186


also fyi at least one of the argument's is "wrong" in the --help.  I believe it was 'RASMACTWR'.  In the --help it has 'RASMACWTR' but that doesn't do anything, it has to be 'RASMACTWR'.  (the W and T are backwards).  I think its just a typo in your --help output code.  One of the other parameters was like this too, though I dont remember which one that was. 

this is what the tool shows after setting the values and starting the miner:

GPU 4:  Ellesmere [Radeon RX 470/480/570/570X/580/580X] pci:0000:05:00.0
CAS
  CL: 21          W2R: 14         CCDS: 5         CCLD: 4         R2W: 28         NOPR: 0         NOPW: 0
RAS
  RC: 65          RRD: 5          RCDRA: 24       RCDR: 24        RCDWA: 13       RCDW: 13
MISC
  RFC: 136        TRP: 27         RP_RDA: 24      RP_WRA: 46
MISC2
  WDATATR: 0      T32AW: 0        CRCWL: 25       CRCRL: 3        FAW: 0          PA2WDATA: 0     PA2RDATA: 0
DRAM1
  RASMACTWR: 63   RASMACTRD: 47   ACTWR: 18       ACTRD: 16
DRAM2
  RAS2RAS: 186    RP: 53          WRPLUSRP: 64    BUS_TURN: 25

while these completely match the same timings as the UberMix 3.1 strap, the mining hashrate does not increase above the same 25MH value as stock...