Bitcoin Forum
May 15, 2021, 09:27:12 AM *
News: Latest Bitcoin Core release: 0.21.1 [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 60 61 62 63 64 65 »
  Print  
Author Topic: AMD Mem Tweak XL - Read/modify timings/pp/straps on the fly  (Read 57027 times)
pbfarmer
Member
**
Offline Offline

Activity: 340
Merit: 29


View Profile
May 27, 2019, 07:09:32 PM
 #781

For those running Ubuntu 18.04 & AMD Cards.

How are you modifying the core & mem clocks and voltages of AMD cards?
In Windows AMD Mem Tweak allows these to be changed in the GUI but I can't find a way to do it in Ubuntu in AMD Mem Tweak or any other way.
I've got thirsty Vega 56s that desperately need to be downvolted (otherwise my wife will kill me on the electricity bills!).

Please help!

I just use PPTs, but you can also use the sysfs interface:

https://wiki.archlinux.org/index.php/AMDGPU#Overclocking
1621070832
Hero Member
*
Offline Offline

Posts: 1621070832

View Profile Personal Message (Offline)

Ignore
1621070832
Reply with quote  #2

1621070832
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1621070832
Hero Member
*
Offline Offline

Posts: 1621070832

View Profile Personal Message (Offline)

Ignore
1621070832
Reply with quote  #2

1621070832
Report to moderator
1621070832
Hero Member
*
Offline Offline

Posts: 1621070832

View Profile Personal Message (Offline)

Ignore
1621070832
Reply with quote  #2

1621070832
Report to moderator
1621070832
Hero Member
*
Offline Offline

Posts: 1621070832

View Profile Personal Message (Offline)

Ignore
1621070832
Reply with quote  #2

1621070832
Report to moderator
kamisama233
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
May 28, 2019, 03:14:12 AM
 #782

@Eliovp - a couple bugs/issues to report (latest version, linux, gddr5):

1. setting --RAS reports as having set --PA2RDATA.  Looks like maybe just a display issue tho, as --current then reports RAS as having been set properly

2. setting --RC is also applying the value to CL - and since setting CL doesn't work (prevents card from being initialized by miner, reboot required) effectively RC cannot be set

3. you might be missing some bits for RC (or it's just incorrectly mapped to CL)?  strap says 65, but it reads same values as CL, and if i set > 31, i get an overflow (e.g. setting 32 results in 0).  

EDIT: Btw - any hints why DRAM1/2 values change under load, even when the core/mem state haven't changed?


I'm going to check this tomorrow, did everything in a rush without even testing  Grin

Should clean a bit up because it's becoming a mess.
Already saw some issues going over the code.

And Laik2 pointed out that some bits are wrong, he's right Smiley (PMG for example.. 3-1-3-1-4-6-3..)
(See that Laik2, i'm not too "Godlike" to acknowledge my mistakes)

I'll see to add some extra timings that i didn't yet expose, will expose HBM2 Memory Manufacturer as well.

Anyhow, when i wake up i'll take some more time to test and clean up code because after adding hbm1 it's a total mess.

Cheers!

can you add support for lexa card in cli version
Mashy81
Jr. Member
*
Offline Offline

Activity: 224
Merit: 1


View Profile
May 28, 2019, 06:42:29 AM
 #783

Now getting 555hs with each of my rx550's.
1180 core  1930 memory
😁
Xform
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
May 28, 2019, 09:46:02 AM
 #784

Hello!

CLI version of amdmemtweak do nothing on my Polaris (RX584). GUI vesrsion is all OK. For example:

Code:
C:\Mining\MemTweak>winamdtweak --REF 30

C:\Mining\MemTweak>

No messages, no actions.

Windows 10 LTSB, driver is "Blockchain"

What is wrong?
kamisama233
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
May 28, 2019, 12:59:04 PM
 #785

For anyone else using the old PBE one-click samsung straps (aka generaleramon's ubermix 3.2) on RX 4/5XX 8gb GPUs, and seeing subpar ETH h/rs due to the tight timings limiting mem clock frequencies... I've been able to get my samsung 580-8s more in-line w/ the microns (~32.5 MH/s) by loosening a couple settings which then allow raising the mem clock (combined w/ a REF increase i use on all my 580s):

--REF 10 --RC 70 --RFC 157 (from REF 5, RC 65, RFC 136)
mclock 2145-2185 (from 2085-2145)

other relevant bits:

cclock 1175, 806mv, phoenixminer, and ubuntu 18.04 + amdgpu-pro 18.50 (though windows should behave similarly)

You could prob get to ~33+ w/ a 1200-1250+ cclock, while I may have slightly overshot on the loosened timings.  But as usual, I'm more interested in efficiency than max h/rs.
Also, mclock is still a bit limited, as i believe CL (currently 21) would need to be relaxed to get to 2200+ MHz -- which as i understand, can't be done w/ the tool atm.

excellent, how can you lower your 580's voltage to such a low level with a 1175 frequency, core and memory voltage all at 806mv, that's impressive, how to lower, thanks
MaxHa$h
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
May 28, 2019, 01:45:56 PM
 #786

Now getting 555hs with each of my rx550's.
1180 core  1930 memory
😁

2gb or 4gb?

What timings did you use?
Mashy81
Jr. Member
*
Offline Offline

Activity: 224
Merit: 1


View Profile
May 28, 2019, 06:37:17 PM
 #787

Now getting 555hs with each of my rx550's.
1180 core  1930 memory


2gb or 4gb?

What timings did you use?

2gb.
They are bios modded, memory strap from somewhere on the Net (530hs)
Just been playing around with different numbers that I can now access with this tool. REF 50  rfc 120 rc 56. Are a few
Will upload the full timing when I'm at my pc
tallman_ay
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 29, 2019, 12:42:53 AM
 #788

https://prnt.sc/nuo8i5
I dont know why every time I try to run the GUi I get this error msg any help please
pbfarmer
Member
**
Offline Offline

Activity: 340
Merit: 29


View Profile
May 29, 2019, 02:17:50 AM
Merited by vapourminer (1)
 #789

For anyone else using the old PBE one-click samsung straps (aka generaleramon's ubermix 3.2) on RX 4/5XX 8gb GPUs, and seeing subpar ETH h/rs due to the tight timings limiting mem clock frequencies... I've been able to get my samsung 580-8s more in-line w/ the microns (~32.5 MH/s) by loosening a couple settings which then allow raising the mem clock (combined w/ a REF increase i use on all my 580s):

--REF 10 --RC 70 --RFC 157 (from REF 5, RC 65, RFC 136)
mclock 2145-2185 (from 2085-2145)

other relevant bits:

cclock 1175, 806mv, phoenixminer, and ubuntu 18.04 + amdgpu-pro 18.50 (though windows should behave similarly)

You could prob get to ~33+ w/ a 1200-1250+ cclock, while I may have slightly overshot on the loosened timings.  But as usual, I'm more interested in efficiency than max h/rs.
Also, mclock is still a bit limited, as i believe CL (currently 21) would need to be relaxed to get to 2200+ MHz -- which as i understand, can't be done w/ the tool atm.

excellent, how can you lower your 580's voltage to such a low level with a 1175 frequency, core and memory voltage all at 806mv, that's impressive, how to lower, thanks

No tricks - i just set them that way (I use ppts, but that's prob not necessary.)  Not all cards can do the same - my range on 580s for ethash is 800-837mv, though I haven't been super-detailed on tuning all of them, so the range could be lower/tighter.

Also, proper cooling can help a lot... More heat = more power use, and not just because of higher fan speed.  I have mostly sapphire nitros, w/ a fair amount of spacing between GPUs (enough for ~120mm fan between each) and some decent airflow which keeps my temps in the low-mid 40s mostly.
Yarik47
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
May 29, 2019, 06:54:19 AM
 #790

For anyone else using the old PBE one-click samsung straps (aka generaleramon's ubermix 3.2) on RX 4/5XX 8gb GPUs, and seeing subpar ETH h/rs due to the tight timings limiting mem clock frequencies... I've been able to get my samsung 580-8s more in-line w/ the microns (~32.5 MH/s) by loosening a couple settings which then allow raising the mem clock (combined w/ a REF increase i use on all my 580s):

--REF 10 --RC 70 --RFC 157 (from REF 5, RC 65, RFC 136)
mclock 2145-2185 (from 2085-2145)

other relevant bits:

cclock 1175, 806mv, phoenixminer, and ubuntu 18.04 + amdgpu-pro 18.50 (though windows should behave similarly)

You could prob get to ~33+ w/ a 1200-1250+ cclock, while I may have slightly overshot on the loosened timings.  But as usual, I'm more interested in efficiency than max h/rs.
Also, mclock is still a bit limited, as i believe CL (currently 21) would need to be relaxed to get to 2200+ MHz -- which as i understand, can't be done w/ the tool atm.

excellent, how can you lower your 580's voltage to such a low level with a 1175 frequency, core and memory voltage all at 806mv, that's impressive, how to lower, thanks

No tricks - i just set them that way (I use ppts, but that's prob not necessary.)  Not all cards can do the same - my range on 580s for ethash is 800-837mv, though I haven't been super-detailed on tuning all of them, so the range could be lower/tighter.

Also, proper cooling can help a lot... More heat = more power use, and not just because of higher fan speed.  I have mostly sapphire nitros, w/ a fair amount of spacing between GPUs (enough for ~120mm fan between each) and some decent airflow which keeps my temps in the low-mid 40s mostly.
Could you take a couple of screenshots of HWinfo, MSI Afterburner? It just all sounds somehow not believable ..
serialp
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 29, 2019, 11:02:55 AM
 #791

For those running Ubuntu 18.04 & AMD Cards.

How are you modifying the core & mem clocks and voltages of AMD cards?
In Windows AMD Mem Tweak allows these to be changed in the GUI but I can't find a way to do it in Ubuntu in AMD Mem Tweak or any other way.
I've got thirsty Vega 56s that desperately need to be downvolted (otherwise my wife will kill me on the electricity bills!).

Please help!

Why not using hiveOS https://hiveos.farm/ ?
kamisama233
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
May 29, 2019, 11:43:56 AM
 #792

For anyone else using the old PBE one-click samsung straps (aka generaleramon's ubermix 3.2) on RX 4/5XX 8gb GPUs, and seeing subpar ETH h/rs due to the tight timings limiting mem clock frequencies... I've been able to get my samsung 580-8s more in-line w/ the microns (~32.5 MH/s) by loosening a couple settings which then allow raising the mem clock (combined w/ a REF increase i use on all my 580s):

--REF 10 --RC 70 --RFC 157 (from REF 5, RC 65, RFC 136)
mclock 2145-2185 (from 2085-2145)

other relevant bits:

cclock 1175, 806mv, phoenixminer, and ubuntu 18.04 + amdgpu-pro 18.50 (though windows should behave similarly)

You could prob get to ~33+ w/ a 1200-1250+ cclock, while I may have slightly overshot on the loosened timings.  But as usual, I'm more interested in efficiency than max h/rs.
Also, mclock is still a bit limited, as i believe CL (currently 21) would need to be relaxed to get to 2200+ MHz -- which as i understand, can't be done w/ the tool atm.

excellent, how can you lower your 580's voltage to such a low level with a 1175 frequency, core and memory voltage all at 806mv, that's impressive, how to lower, thanks

No tricks - i just set them that way (I use ppts, but that's prob not necessary.)  Not all cards can do the same - my range on 580s for ethash is 800-837mv, though I haven't been super-detailed on tuning all of them, so the range could be lower/tighter.

Also, proper cooling can help a lot... More heat = more power use, and not just because of higher fan speed.  I have mostly sapphire nitros, w/ a fair amount of spacing between GPUs (enough for ~120mm fan between each) and some decent airflow which keeps my temps in the low-mid 40s mostly.
580 with ppt?, isn't that only vega support ppt? how to set 580's ppt?
Miner Addict
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
May 29, 2019, 02:46:21 PM
 #793

Many major coin, going to change Algorithm

Xmr, ETC, ETH

So...what will happen to Polaris card Huh

 Shocked
darkneorus
Jr. Member
*
Offline Offline

Activity: 237
Merit: 3


View Profile
May 29, 2019, 05:07:35 PM
 #794

release also to nvidia!!!
not all use claymore miner!!!
I second that. Claymore's implementation is a closed-source thing and sometimes it has some stability issues, it would be amazing if your tool could modify 10xx NVIDIA Pascal timings as well.

thank you for your work Smiley
pbfarmer
Member
**
Offline Offline

Activity: 340
Merit: 29


View Profile
May 29, 2019, 07:12:25 PM
 #795

For anyone else using the old PBE one-click samsung straps (aka generaleramon's ubermix 3.2) on RX 4/5XX 8gb GPUs, and seeing subpar ETH h/rs due to the tight timings limiting mem clock frequencies... I've been able to get my samsung 580-8s more in-line w/ the microns (~32.5 MH/s) by loosening a couple settings which then allow raising the mem clock (combined w/ a REF increase i use on all my 580s):

--REF 10 --RC 70 --RFC 157 (from REF 5, RC 65, RFC 136)
mclock 2145-2185 (from 2085-2145)

other relevant bits:

cclock 1175, 806mv, phoenixminer, and ubuntu 18.04 + amdgpu-pro 18.50 (though windows should behave similarly)

You could prob get to ~33+ w/ a 1200-1250+ cclock, while I may have slightly overshot on the loosened timings.  But as usual, I'm more interested in efficiency than max h/rs.
Also, mclock is still a bit limited, as i believe CL (currently 21) would need to be relaxed to get to 2200+ MHz -- which as i understand, can't be done w/ the tool atm.

excellent, how can you lower your 580's voltage to such a low level with a 1175 frequency, core and memory voltage all at 806mv, that's impressive, how to lower, thanks

No tricks - i just set them that way (I use ppts, but that's prob not necessary.)  Not all cards can do the same - my range on 580s for ethash is 800-837mv, though I haven't been super-detailed on tuning all of them, so the range could be lower/tighter.

Also, proper cooling can help a lot... More heat = more power use, and not just because of higher fan speed.  I have mostly sapphire nitros, w/ a fair amount of spacing between GPUs (enough for ~120mm fan between each) and some decent airflow which keeps my temps in the low-mid 40s mostly.
Could you take a couple of screenshots of HWinfo, MSI Afterburner? It just all sounds somehow not believable ..

I'm on linux, but same is doable on windows:



Voltages, fans and temps on lower left for all 8 GPUs.  More details for single card on lower right.
pbfarmer
Member
**
Offline Offline

Activity: 340
Merit: 29


View Profile
May 29, 2019, 07:24:24 PM
Merited by vapourminer (1)
 #796

580 with ppt?, isn't that only vega support ppt? how to set 580's ppt?

All AMD GPUs since some time use PPT - I was setting them for my old HD7950 when I was still mining w/ it.

Process is exactly the same as for Vega.  Create one using ODNT (or download one if you're feeling lazy and don't mind applying mystery settings to your GPUs), then just double click the reg file.  I'm assuming you're talking Windows - the Linux process is a little more involved.

Btw, PPT was required for vega early on, because you couldn't properly undervolt w/o it.  Same was not true for polaris, so using PPTs is more of a process choice (unless being used for more 'under the hood' things like modifying fan tables)
Anwil
Newbie
*
Offline Offline

Activity: 13
Merit: 5


View Profile
May 29, 2019, 11:19:26 PM
 #797

RX Vega 56 Asus Hynix memory
ETH  45-47 Mh  1200\955   --CL 19--RAS 24 --RCDRD 24 --RCDWR 26 --RC 36 --RP 13 --RRDS 1 --RTR 6 --RRDL 1 --RDDATA 22 --FAW 12 --RFC 196 --REF 65535
serialp
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 30, 2019, 12:51:41 AM
 #798

RX Vega 56 Asus Hynix memory
ETH  45-47 Mh  1200\955   --CL 19--RAS 24 --RCDRD 24 --RCDWR 26 --RC 36 --RP 13 --RRDS 1 --RTR 6 --RRDL 1 --RDDATA 22 --FAW 12 --RFC 196 --REF 65535


is it stable ? because your REF is too high...
Yarik47
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
May 30, 2019, 06:17:02 AM
 #799

580 with ppt?, isn't that only vega support ppt? how to set 580's ppt?

All AMD GPUs since some time use PPT - I was setting them for my old HD7950 when I was still mining w/ it.

Process is exactly the same as for Vega.  Create one using ODNT (or download one if you're feeling lazy and don't mind applying mystery settings to your GPUs), then just double click the reg file.  I'm assuming you're talking Windows - the Linux process is a little more involved.

Btw, PPT was required for vega early on, because you couldn't properly undervolt w/o it.  Same was not true for polaris, so using PPTs is more of a process choice (unless being used for more 'under the hood' things like modifying fan tables)
Very interesting. Could you tell us more about what PPT and ODNT are? I am very concerned about the energy efficiency of my RX488 ..
And how did you manage to raise the memory frequencies so high, with such a low voltage, the memory probably gives a lot of errors in this mode? My RX488 works 1100/2025 @ 855 and gives 30.5hash .. above, I cannot raise the memory frequency at such a voltage that the card would work without memory errors (HWinfo).
How can I do the same in the windows?
Collycoin
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
May 30, 2019, 07:30:37 AM
 #800

For those running Ubuntu 18.04 & AMD Cards.

How are you modifying the core & mem clocks and voltages of AMD cards?
In Windows AMD Mem Tweak allows these to be changed in the GUI but I can't find a way to do it in Ubuntu in AMD Mem Tweak or any other way.
I've got thirsty Vega 56s that desperately need to be downvolted (otherwise my wife will kill me on the electricity bills!).

Please help!

Why not using hiveOS https://hiveos.farm/ ?


Because its not solely a mining computer. Its a Ubuntu server doing a range of tasks.
All attempts to modify clocks and voltages directly as per https://www.reddit.com/r/overclocking/comments/agwtts/how_to_overclock_your_amd_gpu_on_linux/
have failed. pp_od_clk_voltage file will not change to new values.
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 60 61 62 63 64 65 »
  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!