Bitcoin Forum
May 12, 2024, 11:13:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [32] 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 »
  Print  
Author Topic: Custom RAM Timings for GPU's with GDDR5 - DOWNLOAD LINKS - UPDATED  (Read 155460 times)
niko2004x
Member
**
Offline Offline

Activity: 126
Merit: 10


View Profile
April 20, 2017, 07:17:25 PM
 #621

Is it just Polaris Bios Editor not reading the rom correctly?  Maybe I need to update...

No idea. PBE is useless for me since it is non-scriptable, windows-only gui tool.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715555592
Hero Member
*
Offline Offline

Posts: 1715555592

View Profile Personal Message (Offline)

Ignore
1715555592
Reply with quote  #2

1715555592
Report to moderator
bardacuda
Sr. Member
****
Offline Offline

Activity: 430
Merit: 254


View Profile
April 20, 2017, 07:22:00 PM
 #622

Has anyone looked at the micron straps on the RX 570 yet?

# RX570 Micron
my %straps = (
'2118409','F08C300400050300001E01000000005D070300000000002A0034002F0A04300A00D50A042C0A042 80A04290A042A0A04',
'91645256','0A048B0A045F0A04DD0984DE0984FFFF00204E0001999000000000000022AA1C0060881107C0540B078F82C000002041',
'3355496','209A8840A100000000030105070C0A100C409C0001999000000000000022AA1C006094120FD0540C0815449101002041',
'3357483','209A8880A20000000006010A0F190E160D80380101999000000000000022AA1C00A5AC351F10550E0C21C73203004482',
'3361497','202A8900A5000000000C06141A33182210A0860101777000000000000022AA1C002939572750550D0FA68803040068C2',
'3363522','20AA8900A6000000000F0A191E401E271248E80101777000000000000022AA1C00AD49593270550E12AD8A14050068C3',
'3365529','20BA8980A700000000130E202551242E131C190201777000000000000022AA1C00EF516A3790550F14B20B9505006AE4',
'3357050','20CA89C0A8020000001510232859283315A42C0201777000000000000022AA1C0010D66A3990550F14344CC505006AE4',
'3357706','20CA8900A902000000161124295C293515F0490201777000000000000022AA1C00315A6B3CA0550F15B68C1506006AE4',
'3358382','20CA8980A9020000001712262B612B3715C47A0201777000000000000022AA1C0073627C41B0551016BA0D9606006C06',
'3359385','20EA8940AA030000001914292E692E3B1698AB0201777000000000000022AA1C00B56A7D46C0551017BE8E1607006C07',
'3360716','20FA8900AB030000001B162C3171313F17400D0301999000000000000022AA1C0018F77E4FD055121946501708006C07',
'3363381','20FA8980AC030000001E19323781364718409C0002555000000000000022DD1C0084941212F0540B0795847102002041',
'3358133','209A8800A00000312006050D0E270F160E80380102777000000000000022DD1C00E7AC352210550D0A20C7F204002481',
'3361474','209A8800A0000031200C08171B4F172110905F0102777000000000000022DD1C002931462620550E0BA20793050026A2',
'3362150','20AA8800A0000031200D0A1A1D59192311A0860102777000000000000022DD1C0029B5462930550E0C244823060026A2',
);

Offsets are wrong. 204E0001 is first frequency+type.
Although it is mangled it looks like standard timings for Elpida EDW4032BABG and Hynix H5GC4H24AJR as type 1 and 2.
Nothing interesting.

Is it just Polaris Bios Editor not reading the rom correctly?  Maybe I need to update...


Better to use hex editor. You can see that the real straps actually begin about halfway through the lines you posted and that this BIOS supports 2 different memory types.

The future will rely on AI. SingularityNET lets anyone create, monetize, and use AI at scale. From the creators of Sophia the Robot.
dallase
Member
**
Offline Offline

Activity: 129
Merit: 10


View Profile
April 20, 2017, 07:57:52 PM
 #623


Better to use hex editor. You can see that the real straps actually begin about halfway through the lines you posted and that this BIOS supports 2 different memory types.

Thats what I ended up doing.  I've pulled out the straps (v02's) it uses here

Code:
MICRON

409C0002 (400mhz)
555000000000000022DD1C0084941212F0540B0795847102002041001B0414209A8800A00000312006050D0E270F160E
80380102 (800mhz)
777000000000000022DD1C00E7AC352210550D0A20C7F20400248100340914209A8800A0000031200C08171B4F172110
905F0102 (900mhz)
777000000000000022DD1C002931462620550E0BA20793050026A2003C0A1420AA8800A0000031200D0A1A1D59192311
A0860102 (1000mhz)
777000000000000022DD1C0029B5462930550E0C244823060026A200440B1420AA8800A0000031200E0A1C20621B2511
74B70102 (1125mhz)
777000000000000022FF1C006BBD572F40550F0D28C9F3060048C5004C0D14205A8900A000003120100C20246F1E2912
48E80102 (1250mhz)
777000000000000022FF1C008CC5583460550F0F2C4AB4070048C5005C0F14205A8900A000003120120D23287B222D13
1C190202 (1375mhz)
777000000000000022339D00CECD593980551111AE8A84080048C6006C0014206A8900A002003120140F262B88252F15
A42C0202 (1425mhz)
777000000000000022339D00CE516A3B805511112FCBD408004AE6006C0014206A8900A002003120150F272D8D263015
F0490202 (1500mhz)
777000000000000022339D00CE516A3D9055111230CB4409004AE600740114206A8900A002003120150F292F94273116
C47A0202 (1625mhz)
999000000000000022559D0010DE7B4480551312B78C450A004C0601750414206A8900A00200312018112D34A42A3816
98AB0202 (1750mhz)
999000000000000022559D0031627C489055131339CDD50A004C06017D0514206A8900A00200312019123037AD2C3A17
400D0302 (2000mhz)
BBB000000000000022889D0073EE8D53805515133ECF560C004E26017E0514206A8900A0020031201C143840C5303F17

The v01 straps for hynix are also in there, but the card does not use them.   Wish Polaris Bios Editor supported this.

niko2004x
Member
**
Offline Offline

Activity: 126
Merit: 10


View Profile
April 20, 2017, 08:05:55 PM
 #624


Better to use hex editor. You can see that the real straps actually begin about halfway through the lines you posted and that this BIOS supports 2 different memory types.

Thats what I ended up doing.  I've pulled out the straps (v02's) it uses here

Code:
MICRON

409C0002 (400mhz)
555000000000000022DD1C0084941212F0540B0795847102002041001B0414209A8800A00000312006050D0E270F160E
80380102 (800mhz)
777000000000000022DD1C00E7AC352210550D0A20C7F20400248100340914209A8800A0000031200C08171B4F172110
905F0102 (900mhz)
777000000000000022DD1C002931462620550E0BA20793050026A2003C0A1420AA8800A0000031200D0A1A1D59192311
A0860102 (1000mhz)
777000000000000022DD1C0029B5462930550E0C244823060026A200440B1420AA8800A0000031200E0A1C20621B2511
74B70102 (1125mhz)
777000000000000022FF1C006BBD572F40550F0D28C9F3060048C5004C0D14205A8900A000003120100C20246F1E2912
48E80102 (1250mhz)
777000000000000022FF1C008CC5583460550F0F2C4AB4070048C5005C0F14205A8900A000003120120D23287B222D13
1C190202 (1375mhz)
777000000000000022339D00CECD593980551111AE8A84080048C6006C0014206A8900A002003120140F262B88252F15
A42C0202 (1425mhz)
777000000000000022339D00CE516A3B805511112FCBD408004AE6006C0014206A8900A002003120150F272D8D263015
F0490202 (1500mhz)
777000000000000022339D00CE516A3D9055111230CB4409004AE600740114206A8900A002003120150F292F94273116
C47A0202 (1625mhz)
999000000000000022559D0010DE7B4480551312B78C450A004C0601750414206A8900A00200312018112D34A42A3816
98AB0202 (1750mhz)
999000000000000022559D0031627C489055131339CDD50A004C06017D0514206A8900A00200312019123037AD2C3A17
400D0302 (2000mhz)
BBB000000000000022889D0073EE8D53805515133ECF560C004E26017E0514206A8900A0020031201C143840C5303F17

The v01 straps for hynix are also in there, but the card does not use them.   Wish Polaris Bios Editor supported this.

To me it looks like Hynix H5GC4H24AJR timings (exact copy).
bardacuda
Sr. Member
****
Offline Offline

Activity: 430
Merit: 254


View Profile
April 20, 2017, 08:25:06 PM
 #625

Wish Polaris Bios Editor supported this.

Someone will probably modify it eventually. The 5xx series just came out a few days ago so it could take time. I'm not sure if the original author still works on it...looks like the last update was v1.4 in July last year.

https://github.com/caa82437/PolarisBiosEditor

Someone made v1.4.1 and added Elpida and Micron mem support though but I dunno who did that.

Anyway you can always hex edit the BIOS and then load/save it in HawaiiBiosReader to fix the checksum.

The future will rely on AI. SingularityNET lets anyone create, monetize, and use AI at scale. From the creators of Sophia the Robot.
dallase
Member
**
Offline Offline

Activity: 129
Merit: 10


View Profile
April 20, 2017, 08:37:35 PM
 #626

Wish Polaris Bios Editor supported this.

Someone will probably modify it eventually. The 5xx series just came out a few days ago so it could take time. I'm not sure if the original author still works on it...looks like the last update was v1.4 in July last year.

https://github.com/caa82437/PolarisBiosEditor

Someone made v1.4.1 and added Elpida and Micron mem support though but I dunno who did that.

Anyway you can always hex edit the BIOS and then load/save it in HawaiiBiosReader to fix the checksum.

Earlier I had tried to load up this 480 micro rom in HawaiiBiosReader and it said Unsupported Rom.

http://www.filedropper.com/s480-8gb-micron

I'll try the 570 micron next.
bardacuda
Sr. Member
****
Offline Offline

Activity: 430
Merit: 254


View Profile
April 20, 2017, 08:42:41 PM
 #627

Wish Polaris Bios Editor supported this.

Someone will probably modify it eventually. The 5xx series just came out a few days ago so it could take time. I'm not sure if the original author still works on it...looks like the last update was v1.4 in July last year.

https://github.com/caa82437/PolarisBiosEditor

Someone made v1.4.1 and added Elpida and Micron mem support though but I dunno who did that.

Anyway you can always hex edit the BIOS and then load/save it in HawaiiBiosReader to fix the checksum.

Earlier I had tried to load up this 480 micro rom in HawaiiBiosReader and it said Unsupported Rom.

http://www.filedropper.com/s480-8gb-micron

I'll try the 570 micron next.


Yeah it's not for editing but just fixing the checksum after you've edited it with something else like a hex editor.

The future will rely on AI. SingularityNET lets anyone create, monetize, and use AI at scale. From the creators of Sophia the Robot.
dallase
Member
**
Offline Offline

Activity: 129
Merit: 10


View Profile
April 20, 2017, 08:48:58 PM
 #628

Wish Polaris Bios Editor supported this.

Someone will probably modify it eventually. The 5xx series just came out a few days ago so it could take time. I'm not sure if the original author still works on it...looks like the last update was v1.4 in July last year.

https://github.com/caa82437/PolarisBiosEditor

Someone made v1.4.1 and added Elpida and Micron mem support though but I dunno who did that.

Anyway you can always hex edit the BIOS and then load/save it in HawaiiBiosReader to fix the checksum.

Earlier I had tried to load up this 480 micro rom in HawaiiBiosReader and it said Unsupported Rom.

http://www.filedropper.com/s480-8gb-micron

I'll try the 570 micron next.


Yeah it's not for editing but just fixing the checksum after you've edited it with something else like a hex editor.

Gotcha.  I tried loading the 570 micron rom in PBE 1.4.1, and straps box is completely empty.

bardacuda
Sr. Member
****
Offline Offline

Activity: 430
Merit: 254


View Profile
April 20, 2017, 09:08:51 PM
 #629

I assume ATOMBIOSReader will work for generating command and data table info to make hex editing easier but don't quote me on that.

https://github.com/kizwan/ATOMBIOSReader

The future will rely on AI. SingularityNET lets anyone create, monetize, and use AI at scale. From the creators of Sophia the Robot.
doktor83
Hero Member
*****
Offline Offline

Activity: 2520
Merit: 626


View Profile WWW
April 21, 2017, 04:52:46 AM
Last edit: April 21, 2017, 05:03:36 AM by doktor83
 #630

Try with this :

https://github.com/IojkinKot/PolarisBiosEditor

Dallase, could you upload that 570 rom please ?

Edit1:

You can easily fix checksum with ohgod..tool : https://mega.nz/#!zIwVXL4B!IUQOXRqWDw6L15rvN5gBgBN0hxc6ncQu5YcnG41m90g

Edit2:
I see now that 480 micron rom was uploaded & modified by me, but why do you want to open it in hawaiireader ? Cheesy
480 are polaris cards, not hawaii Cheesy

SRBMiner-MULTI thread - HERE
http://www.srbminer.com
laik2
Sr. Member
****
Offline Offline

Activity: 652
Merit: 266



View Profile WWW
April 21, 2017, 06:54:51 AM
 #631

Try with this :

https://github.com/IojkinKot/PolarisBiosEditor

Dallase, could you upload that 570 rom please ?

Edit1:

You can easily fix checksum with ohgod..tool : https://mega.nz/#!zIwVXL4B!IUQOXRqWDw6L15rvN5gBgBN0hxc6ncQu5YcnG41m90g

Edit2:
I see now that 480 micron rom was uploaded & modified by me, but why do you want to open it in hawaiireader ? Cheesy
480 are polaris cards, not hawaii Cheesy

You mean PBE doesn't work?!
It does work, most 5xx bioses now contain 2 memory profiles, like elpida/micron 4xx.

Miners Mining Platform [ MMP OS ] - https://app.mmpos.eu/
niko2004x
Member
**
Offline Offline

Activity: 126
Merit: 10


View Profile
April 21, 2017, 07:25:00 AM
 #632

Mine are correct.   From a chip-design perspective, masking off the "unused" bits would actually add complexity.  The simple, and most logical conclusion is that the fields can store larger values than are required by the specs for currently-produced GDDR5 RAM.  I also suspect if anyone took the time to look at the JEDEC GDDR5 spec, you'd at least see tRP needs to support more than 5 bits (max 31).

To be 100% certain, on my Rx470 (Samsung K4G4) I changed MC_SEQ_MISC_TIMING: 0x09D82033
TRP_WRA=51 TRP_RDA=64 TRP=32 TRFC=157 Pad0=0

With my tweaked strap using 0x09D50CB3 I was getting 29.3Mh/s, and with only the high bit of RP_RDA and RP set, hashrate dropped to 23.1.  I let it run for 15 minutes with those timings and it was stable.

I suspect for GCN1.2 devices (i.e. Tonga) that use the R9 SEQ_MISC format that RP_RDA is actually 7 bits, not 6 plus a 1-bit pad before tRP.

It is possible that we are both 'correct'.
The definition of MC_SEQ_MISC_TIMING in linux kernel is old
and corresponds to definition of MC_SEQ_MISC_TIMING in leaked(?) RAI register description file for Bonaire which is old too.
It is possible that definition of MC_SEQ_MISC_TIMING in newer architectures is different up to paddings.
doktor83
Hero Member
*****
Offline Offline

Activity: 2520
Merit: 626


View Profile WWW
April 21, 2017, 08:08:20 AM
 #633

it MUST work, but i don't understand why is he trying to open a 470/480/570/580 bios with hawaiibios editor ?! Cheesy

SRBMiner-MULTI thread - HERE
http://www.srbminer.com
dallase
Member
**
Offline Offline

Activity: 129
Merit: 10


View Profile
April 21, 2017, 01:18:45 PM
 #634

Try with this :

https://github.com/IojkinKot/PolarisBiosEditor

Dallase, could you upload that 570 rom please ?

Edit1:

You can easily fix checksum with ohgod..tool : https://mega.nz/#!zIwVXL4B!IUQOXRqWDw6L15rvN5gBgBN0hxc6ncQu5YcnG41m90g

Edit2:
I see now that 480 micron rom was uploaded & modified by me, but why do you want to open it in hawaiireader ? Cheesy
480 are polaris cards, not hawaii Cheesy

stock-micron-rx570.rom @ https://ufile.io/yjdb4   (this is from MSI RX 570 4G Micron)

If you edit the bios manually and need to fix the checksum, you can load a Polaris rom in Hawaiireader (it will say unsupported rom), and then click save and it will just fix the checksum.  

I loaded the stock-micron-rx570.rom above, and just changed core and mem clocks, no strap edits, and saved in PBE.   Ubuntu kernel panics resulted.  Had to reflash to stock, and then manually edit and fix checksum.


dallase
Member
**
Offline Offline

Activity: 129
Merit: 10


View Profile
April 21, 2017, 01:22:56 PM
 #635


Better to use hex editor. You can see that the real straps actually begin about halfway through the lines you posted and that this BIOS supports 2 different memory types.

Thats what I ended up doing.  I've pulled out the straps (v02's) it uses here

Code:
MICRON

409C0002 (400mhz)
555000000000000022DD1C0084941212F0540B0795847102002041001B0414209A8800A00000312006050D0E270F160E
80380102 (800mhz)
777000000000000022DD1C00E7AC352210550D0A20C7F20400248100340914209A8800A0000031200C08171B4F172110
905F0102 (900mhz)
777000000000000022DD1C002931462620550E0BA20793050026A2003C0A1420AA8800A0000031200D0A1A1D59192311
A0860102 (1000mhz)
777000000000000022DD1C0029B5462930550E0C244823060026A200440B1420AA8800A0000031200E0A1C20621B2511
74B70102 (1125mhz)
777000000000000022FF1C006BBD572F40550F0D28C9F3060048C5004C0D14205A8900A000003120100C20246F1E2912
48E80102 (1250mhz)
777000000000000022FF1C008CC5583460550F0F2C4AB4070048C5005C0F14205A8900A000003120120D23287B222D13
1C190202 (1375mhz)
777000000000000022339D00CECD593980551111AE8A84080048C6006C0014206A8900A002003120140F262B88252F15
A42C0202 (1425mhz)
777000000000000022339D00CE516A3B805511112FCBD408004AE6006C0014206A8900A002003120150F272D8D263015
F0490202 (1500mhz)
777000000000000022339D00CE516A3D9055111230CB4409004AE600740114206A8900A002003120150F292F94273116
C47A0202 (1625mhz)
999000000000000022559D0010DE7B4480551312B78C450A004C0601750414206A8900A00200312018112D34A42A3816
98AB0202 (1750mhz)
999000000000000022559D0031627C489055131339CDD50A004C06017D0514206A8900A00200312019123037AD2C3A17
400D0302 (2000mhz)
BBB000000000000022889D0073EE8D53805515133ECF560C004E26017E0514206A8900A0020031201C143840C5303F17

The v01 straps for hynix are also in there, but the card does not use them.   Wish Polaris Bios Editor supported this.

To me it looks like Hynix H5GC4H24AJR timings (exact copy).


You're right, the Micron straps are identical
padrino
Legendary
*
Offline Offline

Activity: 1428
Merit: 1000


https://www.bitworks.io


View Profile WWW
April 21, 2017, 02:59:50 PM
 #636

Try with this :

https://github.com/IojkinKot/PolarisBiosEditor

Dallase, could you upload that 570 rom please ?

Edit1:

You can easily fix checksum with ohgod..tool : https://mega.nz/#!zIwVXL4B!IUQOXRqWDw6L15rvN5gBgBN0hxc6ncQu5YcnG41m90g

Edit2:
I see now that 480 micron rom was uploaded & modified by me, but why do you want to open it in hawaiireader ? Cheesy
480 are polaris cards, not hawaii Cheesy

You mean PBE doesn't work?!
It does work, most 5xx bioses now contain 2 memory profiles, like elpida/micron 4xx.


There is a fork on github that already supports the 570/580 BIOS, I cannot recall which one offhand but it's one of the recently active forks...

1CPi7VRihoF396gyYYcs2AdTEF8KQG2BCR
https://www.bitworks.io
doktor83
Hero Member
*****
Offline Offline

Activity: 2520
Merit: 626


View Profile WWW
April 21, 2017, 06:57:50 PM
 #637

Try with this :

https://github.com/IojkinKot/PolarisBiosEditor

Dallase, could you upload that 570 rom please ?

Edit1:

You can easily fix checksum with ohgod..tool : https://mega.nz/#!zIwVXL4B!IUQOXRqWDw6L15rvN5gBgBN0hxc6ncQu5YcnG41m90g

Edit2:
I see now that 480 micron rom was uploaded & modified by me, but why do you want to open it in hawaiireader ? Cheesy
480 are polaris cards, not hawaii Cheesy

You mean PBE doesn't work?!
It does work, most 5xx bioses now contain 2 memory profiles, like elpida/micron 4xx.


There is a fork on github that already supports the 570/580 BIOS, I cannot recall which one offhand but it's one of the recently active forks...

unable to find it, can you help ?

SRBMiner-MULTI thread - HERE
http://www.srbminer.com
bardacuda
Sr. Member
****
Offline Offline

Activity: 430
Merit: 254


View Profile
April 21, 2017, 08:10:59 PM
 #638

Maybe this one?

https://github.com/datspike/PolarisBiosEditor

or this?

https://github.com/jaschaknack/PolarisBiosEditor

The future will rely on AI. SingularityNET lets anyone create, monetize, and use AI at scale. From the creators of Sophia the Robot.
dallase
Member
**
Offline Offline

Activity: 129
Merit: 10


View Profile
April 21, 2017, 08:19:09 PM
 #639


Nope,


Yup, this works.
doktor83
Hero Member
*****
Offline Offline

Activity: 2520
Merit: 626


View Profile WWW
April 21, 2017, 09:10:34 PM
 #640

And there is https://github.com/vadimDidenko/PolarisBiosEditor but it's something strange.. Cheesy

SRBMiner-MULTI thread - HERE
http://www.srbminer.com
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [32] 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!