Bitcoin Forum
November 14, 2019, 04:09:21 AM *
News: 10th anniversary art contest
 
   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 »
  Print  
Author Topic: AMD Mem Tweak XL - Read/modify timings/pp/straps on the fly  (Read 36775 times)
PharmEcis
Jr. Member
*
Offline Offline

Activity: 169
Merit: 1


View Profile
March 23, 2019, 03:28:30 PM
 #21

What I'm able to decipher here is that someone got a just desert served nice and cold and can no longer steal another's glory like it was done last time.  

KUDOS on every single fucking front mate!

Time to convert my vega boxes to linux! Smiley
The Bitcoin Forum is turning 10 years old! Join the community in sharing and exploring the notable posts made over the years.
Docice
Jr. Member
*
Offline Offline

Activity: 75
Merit: 1


View Profile
March 23, 2019, 04:22:15 PM
 #22

Hi, does it work with rx580?
miner29
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
March 23, 2019, 04:32:21 PM
 #23

Looks like it works with everything team RED.

Just getting to play with it but very NICE.
Thanks to Eliovp for sharing with us little peeps!
nordmann666
Member
**
Offline Offline

Activity: 280
Merit: 15


View Profile
March 23, 2019, 04:41:33 PM
 #24

pls...step by step guide for hiveos

and how much more on CN?
Bazzaar
Jr. Member
*
Offline Offline

Activity: 76
Merit: 1


View Profile
March 23, 2019, 04:54:16 PM
 #25

lol! all the useless leeches bleating "Gimme,Gimme! I'm incapable of actually doing anything difficult and need spoon feeding!"
dagarair
Sr. Member
****
Offline Offline

Activity: 812
Merit: 350



View Profile WWW
March 23, 2019, 04:58:37 PM
 #26

OhGodAnHELIOXlargementPill
  (theoriginalgangsta)
 Tongue Tongue Tongue Tongue Tongue Tongue Tongue

4MW Data Center - I BUILT Tongue  - Full story below:
https://bitcointalk.org/index.php?topic=4789787.msg43227027#msg43227027
highaltitude
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
March 23, 2019, 05:18:27 PM
 #27

How do you apply this .cpp file?
scryptr
Legendary
*
Offline Offline

Activity: 1646
Merit: 1012



View Profile WWW
March 23, 2019, 05:36:28 PM
Last edit: March 23, 2019, 05:47:12 PM by scryptr
 #28

OhGodAnHELIOXlargementPill
  (theoriginalgangsta)
 Tongue Tongue Tongue Tongue Tongue Tongue Tongue


THE EXECUTABLE IS NOT LIKE THE PILL--

The ETHlargementpill is "full auto", it runs for the 1080ti and is pre-programmed with memory timings.  However, the AMDmemtool is very basic and allows the user to apply each memory tweak separately.  The user must put his own tweaks in place, and understand the terms and shorthand for each tweak.

This tool is usefull for a user to put together custom timings prior to programming the GPU BIOS with straps.  An analogy: like giving a user a stickshift assembly, but requiring the user to bolt it into the manual transmission case and mounting it in the car himself.

The "*.cpp" file compiles readily if the instructions in the README.md are followed.  It reads data from my R9 Fury cards with no problem.  But, as I do not know the tweaks necessary to improve the "--current" settings, I need to refer to a memory timings manual.  The downloadable binary from the Releases page works the same as my own compiled binary.       --scryptr

TIPS:  BTC - 1Fs4uZ6a9ABYBTaHGUfqcwCQmeBRxkKRQT    DASH - XrK81tW31SLsVvZ2WX9VhTjpT6GXJPLdbQ
          ETH - 0x8a42dfAE53612E98daf8614bFA402f3DcD0546Fa    LTC - MKUHfUmRrJUQvELxzajhVaLE5uTPxU2bRK
          SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530  MERIT is appreciated, also.  Thanks!
ocminer
Legendary
*
Offline Offline

Activity: 2422
Merit: 1233



View Profile WWW
March 23, 2019, 06:35:35 PM
 #29

Expect this tool, maybe super-slightly optimized closed source and with 2-5% dev-fee under some other name(s) soon Smiley

suprnova pools - reliable mining pools - #suprnova on freenet
https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
Eliovp
Legendary
*
Offline Offline

Activity: 1030
Merit: 1251

Huh?


View Profile
March 23, 2019, 06:59:26 PM
 #30

@OP, can you do me a favor?

Can you cat /sys/kernel/debug/dri/%d/amdgpu_regs for me please? is amdgpu_regs static, or does it change?

Have you tried it yourself?  Wink

nice work, taking mining back to the old days of people helping each other, and not being a bunch of greedy bastards!  Kiss

Thank you Smiley

What I'm able to decipher here is that someone got a just desert served nice and cold and can no longer steal another's glory like it was done last time.  

KUDOS on every single fucking front mate!

Time to convert my vega boxes to linux! Smiley

Very welcome!

Hi, does it work with rx580?

It sure does.

OhGodAnHELIOXlargementPill
  (theoriginalgangsta)
 Tongue Tongue Tongue Tongue Tongue Tongue Tongue


THE EXECUTABLE IS NOT LIKE THE PILL--

The ETHlargementpill is "full auto", it runs for the 1080ti and is pre-programmed with memory timings.  However, the AMDmemtool is very basic and allows the user to apply each memory tweak separately.  The user must put his own tweaks in place, and understand the terms and shorthand for each tweak.

This tool is usefull for a user to put together custom timings prior to programming the GPU BIOS with straps.  An analogy: like giving a user a stickshift assembly, but requiring the user to bolt it into the manual transmission case and mounting it in the car himself.

The "*.cpp" file compiles readily if the instructions in the README.md are followed.  It reads data from my R9 Fury cards with no problem.  But, as I do not know the tweaks necessary to improve the "--current" settings, I need to refer to a memory timings manual.  The downloadable binary from the Releases page works the same as my own compiled binary.       --scryptr

No, true, it's not like "the pill".
It's better.
- You have the option to finetune yourself.
- It's open source
- It's based on data discovered by myself and not someone else. The only person that helped me to write the code is mentioned.
- ....

So no, it's not the same no Smiley

Btw, you can run the tool with multiple flags, ./amdmemorytweak --i 0,2,5 --CL 19 --RFC 260 --RAS  ... etc

Expect this tool, maybe super-slightly optimized closed source and with 2-5% dev-fee under some other name(s) soon Smiley

There's no "optimized" source possibility here. Exactly as Laik pointed out.

The only thing that could be done is automate the process with predefined timings. Something you can do yourself.
Heck, you can do even better if you take the time to figure them out.

Reading your comment makes me extra happy that i released this open source because 2-5% is in my eyes "theft".

Cheers!

Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1002

Reverse engineer from time to time


View Profile
March 23, 2019, 07:04:14 PM
 #31

So I managed to get this working on Windows. Are the values correct for r9 380x?

https://imgur.com/a/hZ7btRa

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1002

Reverse engineer from time to time


View Profile
March 23, 2019, 07:34:54 PM
 #32

So I managed to get this working on Windows. Are the values correct for r9 380x?

https://imgur.com/a/hZ7btRa
No, R9 have different struct.

Are these readily available?

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1002

Reverse engineer from time to time


View Profile
March 23, 2019, 08:00:36 PM
Last edit: March 23, 2019, 08:23:49 PM by Remember remember the 5th of November
 #33

So I managed to get this working on Windows. Are the values correct for r9 380x?

https://imgur.com/a/hZ7btRa
No, R9 have different struct.

Are these readily available?
https://raw.githubusercontent.com/ddobreff/amdmeminfo/master/gmc.h
Quote
       ultostr16_8( uint32_swap2(*(uint32_t *)&mc_seq_wr_ctl_d0), pos );
        ultostr16_8( uint32_swap2(*(uint32_t *)&mc_seq_wr_ctl_d1), pos+8 );
        ultostr16_8( uint32_swap2(*(uint32_t *)&mc_seq_ras_timing), pos+16 );
        ultostr16_8( uint32_swap2(*(uint32_t *)&mc_seq_cas_timing), pos+24 );
        ultostr16_8( uint32_swap2(*(uint32_t *)&mc_seq_misc_timing), pos+32 );
        ultostr16_8( uint32_swap2(*(uint32_t *)&mc_seq_misc_timing2), pos+40 );
        ultostr16_8( uint32_swap2(*(uint32_t *)&mc_seq_pmg_timing), pos+48 );
        ultostr16_8( uint32_swap2(*(uint32_t *)&mc_seq_misc1), pos+56 );
        ultostr16_8( uint32_swap2(*(uint32_t *)&mc_seq_misc3), pos+64 );
        ultostr16_8( uint32_swap2(*(uint32_t *)&mc_seq_misc8), pos+72 );
        ultostr16_8( uint32_swap2(*(uint32_t *)&mc_arb_dram_timing), pos+80 );
        ultostr16_8( uint32_swap2(*(uint32_t *)&mc_arb_dram_timing2), pos+88 );
And this is their order.
Thanks!

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
pbfarmer
Member
**
Offline Offline

Activity: 302
Merit: 23


View Profile
March 24, 2019, 01:46:41 AM
 #34

do you happen to know if there's an addressable edc sensor/counter on vega?  I remember someone (nerdralph?) talking the possibility a year back, but never really saw anything come of it.  otherwise, does syslog capture all hw faults, or only in some cases?  i've seen them reported in the past, but was not convinced the reporting was comprehensive.

would be useful in whipping up a nice little auto-tuner.
kingcolex
Legendary
*
Offline Offline

Activity: 2016
Merit: 1214


First 100% Liquid Stablecoin Backed by Gold


View Profile
March 24, 2019, 02:50:13 AM
 #35

Extremely impressive, very cool stuff, definitely will be trying this out soon.

ustcstone
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
March 24, 2019, 04:22:35 AM
 #36

I successful managed to run the tool on hiveos(untubu 14.04),but i have no idea how to use it......
I try ./amdmemorytweak --i 0 -CL 20  (default is 21),but gpu0 got offline after a second.....
a little more guidance in the readme will be grateful!
kingcolex
Legendary
*
Offline Offline

Activity: 2016
Merit: 1214


First 100% Liquid Stablecoin Backed by Gold


View Profile
March 24, 2019, 04:50:10 AM
 #37

I successful managed to run the tool on hiveos(untubu 14.04),but i have no idea how to use it......
I try ./amdmemorytweak --i 0 -CL 20  (default is 21),but gpu0 got offline after a second.....
a little more guidance in the readme will be grateful!
I am sure Hive and SMOS will be integrating this soon and have it on their releases pronto, they both don't want people leaving for the other and will be worried about who gets it integrated first.

Docice
Jr. Member
*
Offline Offline

Activity: 75
Merit: 1


View Profile
March 24, 2019, 11:16:25 AM
 #38

And how to use? Are there optimal settings for the rx580?
rdome
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 24, 2019, 01:52:51 PM
 #39

For rx580 this thing got no use, my opinion. You have allredy stripped firmwares all over the net, why you would use this for 580 Huh
This has use for Vega cards because you dont have other option Wink
heavyarms1912
Full Member
***
Offline Offline

Activity: 700
Merit: 108



View Profile
March 24, 2019, 04:44:17 PM
 #40

Hey! it's you.

Great work and thanks for sharing.
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 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!