Pages:
Author

Topic: Custom RAM Timings for GPU's with GDDR5 - DOWNLOAD LINKS - UPDATED - page 32. (Read 155584 times)

sr. member
Activity: 588
Merit: 251
What are you guys using for TIM pads for memory? Seems as though some cards come without cooling pads for some reason.

It many cases the heatsink plate doesn't span over the memory, so there's no easy way to add thermal interface material.
legendary
Activity: 1750
Merit: 1024
What are you guys using for TIM pads for memory? Seems as though some cards come without cooling pads for some reason.
sr. member
Activity: 430
Merit: 254
I'm doing some testing right now with Claymore 9.0 in Windows 7 x64.

So far what I can tell you, with Hawaii at least, the benefit from timings is negligible. It's probably because the bus is so wide anyway, they are bottlenecked by compute. I got way bigger increases by upping the core frequency. I'll report my findings after some more tests.
sr. member
Activity: 588
Merit: 251
I've been experimenting with RRD=4, and at least for ETH mining, I can't see a material difference.  I also don't see a difference in stability or error rate, so it probably doesn't hurt to go with tRRD=4.
Most samsungs handle tRRD=4, hynix and elpida doesn't or only a few probably. I'd suggest stick to tRRD=5 difference in hashrate is minor ~0.02MH but error rate with tRRD=5 is much lower.

I was doing my testing with Samsung (K4G4), and just tried RRD=4 with Hynix H5GC4H24ARJ.  It doesn't work.
sr. member
Activity: 430
Merit: 254
But I've already been using RRD = 4 for months because I've been using Stilt's strap. I am going to test both, I just want to know how to modify the output of the tool to change RRD=5 to RRD=4 so I can start testing.

Btw my 290's max mem clock is ~1500 so I probably need tighter than usual timings. The 390s can do over 1625 so they probably need RRD to be higher.

EDIT: nvm I just realized there's a windoze version of the ohgodadecode tool so I'll just check myself.

EDIT2: mmmkay that tool says that TRRD = 0 when i input 77713320000000000839472A50550C0B242045040046C40022BB1C005C0B14204A8900A00000012 0120C211E51192613

I'm guessing it only works for RX timings.

I'm just going to assume my original...uhh...assumption is correct.
sr. member
Activity: 652
Merit: 266
Okay so I tried putting Stilt's straps into the tool (among many others) and I noticed Stilt had RRD at 4, but the tool changed it to 5. Stilt did have other timings for FAW and 32AW (like 6) which were changed to 0, so I assume that's an improvement, but I'm wondering if I should leave RRD at 4?

For example, Here is the results for Stilt's strap for Hynix AFR

Quote
R9 strap detected
Old, new RRD: 4 , 5
Old, new FAW: 6 , 0
Old, new 32AW: 6 , 0
Old, new ACTRD: 12 , 0x10
77713320000000000839472A50550C0B242045040046C40022BB1C005C0B14204A8900A000000120120C211E51192613
77713320000000000839572A50550C0B242045040040040022BB1C005C0B14204A8900A000000120100C211E51192613

I bolded the number that I assume is RRD. I'd like to try the new strap, but with Stilt's old RRD. If I just change that 57 back to a 47 would that accomplish it?

I've been experimenting with RRD=4, and at least for ETH mining, I can't see a material difference.  I also don't see a difference in stability or error rate, so it probably doesn't hurt to go with tRRD=4.
Most samsungs handle tRRD=4, hynix and elpida doesn't or only a few probably. I'd suggest stick to tRRD=5 difference in hashrate is minor ~0.02MH but error rate with tRRD=5 is much lower.
sr. member
Activity: 430
Merit: 254
I've been experimenting with RRD=4, and at least for ETH mining, I can't see a material difference.  I also don't see a difference in stability or error rate, so it probably doesn't hurt to go with tRRD=4.

Ok but how would I mix the old RRD with the new strap the tool spits out?
sr. member
Activity: 588
Merit: 251
I've been reluctant to post the link to this thread anywhere so that it (and your inboxes) doesn't get spammed with noob questions, but I did post a link to your fools' tool over on oc.net and told them credit belongs to nerdralph @ bitcointalk but asked them not to spam you. Just thought I should let you know.

Meh.  The message delete function works fine... :-)
sr. member
Activity: 588
Merit: 251
Okay so I tried putting Stilt's straps into the tool (among many others) and I noticed Stilt had RRD at 4, but the tool changed it to 5. Stilt did have other timings for FAW and 32AW (like 6) which were changed to 0, so I assume that's an improvement, but I'm wondering if I should leave RRD at 4?

For example, Here is the results for Stilt's strap for Hynix AFR

Quote
R9 strap detected
Old, new RRD: 4 , 5
Old, new FAW: 6 , 0
Old, new 32AW: 6 , 0
Old, new ACTRD: 12 , 0x10
77713320000000000839472A50550C0B242045040046C40022BB1C005C0B14204A8900A000000120120C211E51192613
77713320000000000839572A50550C0B242045040040040022BB1C005C0B14204A8900A000000120100C211E51192613

I bolded the number that I assume is RRD. I'd like to try the new strap, but with Stilt's old RRD. If I just change that 57 back to a 47 would that accomplish it?

I've been experimenting with RRD=4, and at least for ETH mining, I can't see a material difference.  I also don't see a difference in stability or error rate, so it probably doesn't hurt to go with tRRD=4.
sr. member
Activity: 430
Merit: 254
K yeah you make a very good point about it being more common and easier to find solutions for. I added another question to my above post.

I've been reluctant to post the link to this thread anywhere so that it (and your inboxes) doesn't get spammed with noob questions, but I did post a link to your fools' tool over on oc.net and told them credit belongs to nerdralph @ bitcointalk but asked them not to spam you. Just thought I should let you know.
sr. member
Activity: 588
Merit: 251
Thanks for the reply! I had started to read up on distros and read something about Ubuntu being based on an unstable Debian distro and having lots of issues, so I was thinking a stable or testing distro might be better...and then installing a GUI like Gnome or something on top if I want to use one. Debian and Arch were recommended in the thing I was reading. So Ubuntu is good for getting to learn the nuts and bolts of linux?

I've been using Ubuntu for my mining rigs since I started a little over a year ago.  For the longest time I was more into RPM-based distros like Fedora, but it seems easier to find Ubuntu packages for developer tools than it was with Fedora.  Ubuntu also seems to have a larger user base than debian, so it's easier to find answers online to problems.  I've been using Linux for over 25 years now though, so it's hard for me to say what's the best distro for a noob.

sr. member
Activity: 430
Merit: 254
@p4n

Yes the straps are always 48 bytes long. However, it is better to search for the 3-byte strings (see below quote) to find the strap you want rather than searching for 7771. They don't all necessarily start with that. It depends on the type of RAM your GPU has and which frequency range the strap is for.

Also it's possible your GPU's BIOS supports multiple RAM types. So for example, if you want to edit the timings of the 1126-1250MHz strap, and your card supports Elpida BBBG, Hynix AFR, and Hynix BFR, then you will have a strap after 48 E8 01 01, 48 E8 01 02, and 48 E8 01 03.

Make sure you edit the correct strap for the specific RAM ICs your card has (or just edit all 3 of them to be sure).

Also if you load a BIOS in HawaiiBiosReader, and then save it, it fixes the checksum automatically. No need to use a separate tool for that.

Quote
In VRAM_Info section of ROM you will find RAM straps/timings. You will find the end frequency of each strap and then associated timings for it. Thus a RAM clock equal to and below that end frequency uses those timings and once past that end frequency it uses next strap and so on.

Most 290/X & 295X2 have these straps/frequency range:-

Strap end 400MHz (40 9C 00) , Range = 150-400MHz
Strap end 800MHz (80 38 01) , Range = 401-800MHz
Strap end 900MHz (90 5F 01) , Range = 801-900MHz
Strap end 1000MHz (A0 86 01) , Range = 901-1000MHz
Strap end 1125MHz (74 B7 01) , Range = 1001-1125MHz
Strap end 1250MHz (48 E8 01) , Range = 1126-1250MHz
Strap end 1375MHz (1C 19 02) , Range = 1251-1375MHz
Strap end 1500MHz (F0 49 02) , Range = 1376-1500MHz
Strap end 1625MHz (C4 7A 02) , Range = 1501-1625MHz
Strap end 1750MHZ (98 AB 02) , Range = 1626-1750MHz

Note: HEX values in brackets are as they would be in VRAM_Info timings section without endian conversion, etc.

@nerdralph

Thanks for the reply! I had started to read up on distros and read something about Ubuntu being based on an unstable Debian distro and having lots of issues, so I was thinking a stable or testing distro might be better...and then installing a GUI like Gnome or something on top if I want to use one. Debian and Arch were recommended in the thing I was reading. So Ubuntu is good for getting to learn the nuts and bolts of linux?

Also, thanks for all the work you do for the community!

EDIT:

Okay so I tried putting Stilt's straps into the tool (among many others) and I noticed Stilt had RRD at 4, but the tool changed it to 5. Stilt did have other timings for FAW and 32AW (like 6) which were changed to 0, so I assume that's an improvement, but I'm wondering if I should leave RRD at 4?

For example, Here is the results for Stilt's strap for Hynix AFR

Quote
R9 strap detected
Old, new RRD: 4 , 5
Old, new FAW: 6 , 0
Old, new 32AW: 6 , 0
Old, new ACTRD: 12 , 0x10
77713320000000000839472A50550C0B242045040046C40022BB1C005C0B14204A8900A000000120120C211E51192613
77713320000000000839572A50550C0B242045040040040022BB1C005C0B14204A8900A000000120100C211E51192613

I bolded the number that I assume is RRD. I'd like to try the new strap, but with Stilt's old RRD. If I just change that 57 back to a 47 would that accomplish it?

sr. member
Activity: 588
Merit: 251
I've just updated my strapmod utility to handle R9 straps:
Code:
~/github/strapread$ ./strapmod.py 7771332000000000EF516A3790550F1232179A05006AE40022AA1C0874021420CA89C0A8020000C01510232859283315
R9 strap detected
Old, new RRD: 0 , 5
Old, new FAW: A , 0
Old, new 32AW: 7 , 0
Old, new ACTRD: 15 , 0x10
7771332000000000EF516A3790550F1232179A05006AE40022AA1C0874021420CA89C0A8020000C01510232859283315
7771332000000000EF515A3790550F1232179A050060040022AA1C0874021420CA89C0A8020000C01010232859283315


Does this work using the lazy fools' tool?

On a semi-related note...is Debian stable a good distro to start using linux? Not for doing anything fancy...but just web browsing and email and maybe some mining and folding and more importantly getting familiar with the OS.

Just updated the tool with the R9 code.

Code:
R9 strap detected
Old, new RRD: 5 , 5
Old, new FAW: 8 , 0
Old, new 32AW: 6 , 0
Old, new ACTRD: 15 , 0x10
5551332000000000AD515A3EC0570E142D9468080068C70022CC1C0803011420FA8900A003000300150E2A3186272E16
5551332000000000AD515A3EC0570E142D9468080060070022CC1C0803011420FA8900A003000300100E2A3186272E16

For a distro, I'd suggest Ubunutu 16.04.2.
member
Activity: 126
Merit: 10
For which kind of card/memory is that strap?

It is a timing string for 1375 strap for Elpida EDW4032BABG in some R9 290x/390/390x/380.
Full timing table looks like this
Code:
 
 200 999133200000000060881107c0540b060f05c1000020410022aa1c08150014209a8840a1000000c0030105070c0a100c
 400 99913320000000006094120fd0540c07158892010020410022aa1c081d0314209a8880a2000000c006010a0f190e160d
 800 9991332000000000a5ac351f10550e0b218e35030044820022aa1c083d0914202a8900a5000000c00c06141a33182210
1000 77713320000000002939572750550d0e261107040068c20022aa1c08540c1420aa8900a6000000c00f0a191e401e2712
1250 7771332000000000ad49593270550e102d1519050068c30022aa1c08640f1420ba8980a7000000c0130e202551242e13
1375 7771332000000000ef516a3790550f1232179a05006ae40022aa1c0874021420ca89c0a8020000c01510232859283315
1425 777133200000000010d66a3990550f123498ca05006ae40022aa1c0874031420ca8900a9020000c0161124295c293515
1500 7771332000000000315a6b3ca0550f1336191b06006ae40022aa1c087c041420ca8980a9020000c01712262b612b3715
1625 777133200000000073627c41b05510143a1b9c06006c060122aa1c0804061420ea8940aa030000c01914292e692e3b16
1750 7771332000000000b56a7d46c05510153e1d1d07006c070122aa1c080c081420fa8900ab030000c01b162c3171313f17
2000 999133200000000018f77e4f0054121a06a01e08006c070122aa1c08350c1420fa8980ac030000c01e1932378139471a

p4n
full member
Activity: 167
Merit: 100
I've just updated my strapmod utility to handle R9 straps:
Code:
~/github/strapread$ ./strapmod.py 7771332000000000EF516A3790550F1232179A05006AE40022AA1C0874021420CA89C0A8020000C01510232859283315
R9 strap detected
Old, new RRD: 0 , 5
Old, new FAW: A , 0
Old, new 32AW: 7 , 0
Old, new ACTRD: 15 , 0x10
7771332000000000EF516A3790550F1232179A05006AE40022AA1C0874021420CA89C0A8020000C01510232859283315
7771332000000000EF515A3790550F1232179A050060040022AA1C0874021420CA89C0A8020000C01010232859283315


For which kind of card/memory is that strap?

After reading OC.net hawaii bios editing post, and reading this post a few times, I've tried to learn to do it myself. Before starting to learn about custom timing, i've just copied lower clock timings into higher ones, with gains around 5% at same gpu/mem clocks, not bad. I'll try to explain how I did it, because it's been hard for me to understand at first how to do it, so I hope it helps other ppl.

Everything done under windows (I have ubuntu also, but i find myself more comfortable in windows, dont kill me for it).

First of all, I downloaded both original BIOS using GPU-Z (Button right to BIOS version). Save them as backup.

Then, open the one you want to modify with Hex Workshop
It looks (correct me please if I'm wrong), that some of the Hawaii timings use to start with 77 71 (that's been the case for my Hynix AJR), so I made a search (Ctrl+F) for Hex Values 7771.


Then, look at the 4 pair of numbers before the 77 71 pairs, select them with mouse and look at the right column "Data Inspector" for the int32 value, thats the Mhz of the memstrap
multiplied by 100. If you want to find the rest of the straps, put mouse cursor before 77 and add an offset (Ctrl+G) of 48 bytes (thats the case for my BIOS/memory type, if its not the case, search for the next 77 71 and use 4 pairs before).

For a R9 390X bios with Hynix AJR, straps are 800-900-1000-1125-1250-1375-1425-1500-1625-1750-2000.

So for this BIOS, i chose to copy the 1250 memstrap into the 1375,1425,1500 and 1625 ones. 1250 memstrap for me is this one: 77713320000000008CC5583460550F0F2C94B8070048C50022FF1C085C0F14205A8900A00000012 0120D23287B222D13



After this, you can also mod gpu/mem clocks, voltages and fan speed with HawaiiBiosReader

With all these changes you will need to fix BIOS checksum. Use the .exe OhGodACsumFixer.exe posted in OP by opening it with cmd. Just paste .exe in the same dir as the bios, go there with an administrator plivilege cmd and type OhGodACsumFixer.exe BIOSNAME. Check if checksum is OK using HawaiiBiosReader.



I'm totally a noob at this so please, correct me if im wrong. I haven't tried any bios with more than 1 memory type, that could change some values, so please, be careful.
sr. member
Activity: 430
Merit: 254
I've just updated my strapmod utility to handle R9 straps:
Code:
~/github/strapread$ ./strapmod.py 7771332000000000EF516A3790550F1232179A05006AE40022AA1C0874021420CA89C0A8020000C01510232859283315
R9 strap detected
Old, new RRD: 0 , 5
Old, new FAW: A , 0
Old, new 32AW: 7 , 0
Old, new ACTRD: 15 , 0x10
7771332000000000EF516A3790550F1232179A05006AE40022AA1C0874021420CA89C0A8020000C01510232859283315
7771332000000000EF515A3790550F1232179A050060040022AA1C0874021420CA89C0A8020000C01010232859283315


Does this work using the lazy fools' tool?

On a semi-related note...is Debian stable a good distro to start using linux? Not for doing anything fancy...but just web browsing and email and maybe some mining and folding and more importantly getting familiar with the OS.
jr. member
Activity: 144
Merit: 2
Micron:
You can find posts saying you can achieve 30mh with using 1750 strap above 2050MHz, but the micron cards that I tested were all unstable above 1950. No wonder the manufacturers limited even the 8GB versions to only 1650MHz...
Is there such a big variance among micron chips?
newbie
Activity: 18
Merit: 0
Anyone have some idea about Micro memory:
thanks!
Quote
1500: 777000000000000022AA1C00315A5B3CA0550F15B68C450A0068C4007C041420CA8980A90200000 01712262BA42B3715
1625: 777000000000000022AA1C0073626C41B0551016BA0D260B006AE60004061420EA8940AA0300000 01914292EB22E3B16
1750: 777000000000000022AA1C00B56A6D46C0551017BE8E060C006AE6000C081420EA8900AB0300000 01B162C31C0313F17
1875: 999000000000000022AA1C00D6727E4BC0551218C30FE70C006B0601150A1420EA89C0AB0300000 01D172F35CE344418
2000: 999000000000000022AA1C00F7F67E4FD0551319C650B70D006C06011D0C1420EA8980AC0300000 01E183238DB364719
i cant touch it more than 2000mhz for 6 card but 1 card is stable!!!
member
Activity: 126
Merit: 10
Question to gurus unrelated to timings.
It seems most (all?) RX 460 (not a sane choice for mining) in addition to empty I2C VO also contain GPIO VO of type 2(aka mvddc).
Raw voltage values in this object is 1350/1500 and at least to me it looks like mvddc.
Did somebody already looked at it already?
sr. member
Activity: 588
Merit: 251
I've just updated my strapmod utility to handle R9 straps:
Code:
~/github/strapread$ ./strapmod.py 7771332000000000EF516A3790550F1232179A05006AE40022AA1C0874021420CA89C0A8020000C01510232859283315
R9 strap detected
Old, new RRD: 0 , 5
Old, new FAW: A , 0
Old, new 32AW: 7 , 0
Old, new ACTRD: 15 , 0x10
7771332000000000EF516A3790550F1232179A05006AE40022AA1C0874021420CA89C0A8020000C01510232859283315
7771332000000000EF515A3790550F1232179A050060040022AA1C0874021420CA89C0A8020000C01010232859283315
Pages:
Jump to: