Browse and post your favorite coin/crypto news, miner.farm and PiMP OS updates and announcements, mining guides, overclocking tips, and more...
Note: To change your forum username: login, click your avatar icon (top right?), Edit Profile. Change the "full name" field to your preferred username.
Windows is never needed when you have pimp - Polaris and atiflash are included. Here is the quick version:
atiflash -s to save the existing rom, example: atiflash -s 0 gpu0-stock.rom to save the rom from gpu 0.
RDP in and click Polaris
load the file you just saved
click one click strap mod
save as another file
atiflash -p to flash it, example: atiflash -p 0 gpu0-modified.rom to write the rom to the gpu0 from the file..
Also, we will be releasing an even easier way, PBE CONSOLE edition - in the next pimp image. Thanks!
@dax said in DaX AMD Overclocking guide (including RX 470/480/570/580 and others):
Sapphire_HynixGDDR5_RX580_8GB_Modify_Bios.rom
What ROM/config for MSI RX480s? I know I can use the 580 BIOS, but not sure what values should be. . .I think ; )
I have 4X (MSI RX480):
Part num: K4G80325FB
VendorID: Samsung
Size (MB): 8192
Density: 4M x 32
Type: GDDR5
And 1X (again, MSI RX480):
Part num: H5GC4H24AJ
VendorID: Hynix
Size (MB): 4096
Density: 4M x 32
Type: GDDR5
Thanks for any head's up!!
G
This a basic guide on how to flash your GPU with a BIOS created in PolarisBiosEditor. Please make sure you understand all the risks that comes with playing with the BIOS before you try this. I dont take any responsibility of damages.
(I dont claim my way is the only way nor the best way, but this is how I do it and it might be useful to someone)
You will need a computer with Windows.
Download this two programs and install them:
PolarisBiosEditor:
https://github.com/jaschaknack/PolarisBiosEditor
ATIWinFlash:
https://www.techpowerup.com/download/ati-winflash/
Turn off PC and insert the GPU you want to flash into a free 16x PCI slot.
Turn on PC. When in Windows start ATIWinFlash as admin (right click-run as admin).
Make sure you have selected correct card in the top corner where it says "System Video Device". (Pls note that only AMD cards will be shown here and if there is no AMD card connected ATIWinFlash will not start)
Click on "Save" and save the bios on your computer. Make sure you save it somewhere safe, in case you might need it in the future. Since this is the original BIOS. You can then close ATIWinFlash.
Now open PolarisBiosEditor. And click "OPEN BIOS" and find the BIOS you created earlier. (Make sure you are showing all files . if you cant find it)
After you have opened your BIOS click on "ONE CLICK TIMING PATCH". You should then get a windows that confirms that it have applied new straps.
Save this new modded BIOS. Make sure you dont overwrite the original BIOS. Then you can close PolarisBiosEditor.
Now open ATIWinFlash as admin again. Once again make sure you have selected the right GPU under "System Video Devices" Click on "Load Image" and load the modded BIOS.
Click on "Program" and that should flash your modded BIOS onto your GPU.
Turn off computer, take out GPU put it into minning rig.
Profit.
@stephen_chan said in [ANN] nVidia RTX 3060Ti Overclocking Settings for ETH mining on PIMP 2.25 Running COOL:
My 3060 is running at 24.5 Mh for phoenix miner. Does 2.25.2 unlock the full mining power of the 3060?
Thanks!
PIMP 2.25.2 has nvidia-460 drivers for ubuntu 18.04.
for gputool for 3060 Try NVCOffset -100 NVMOffset +700 PLimit 150 and work the settings from there - was able to get 30+ MH on my 3060Ti - but that wasnt crippled by greedy mfgs
If that doesn't get your 3060 to perform, sorry, we didnt kneecap the hardware, and cannot help that nvidia is doing stupid things to their products.
Thank you very much doc!
I have given it a clean start.
I verified that gputool as well as pimp --start 1 was disabled in /root/startup.sh so that was not the problem.
Removed voltage flags from phoenixminer config file.
Rebooted and restarted.
Same thing, crash after just a few minutes.
After dropping the whole thing for a while I thought I would try a different miner.
BANG! that was it! with claymoredual miner and all default it run great! Took rather lot of power but it run.
I let it run like that over night to see so it was stable. It was, it run ok for like 12 houres.
Now it feels like I have a working baseline.
Re-imaged the SSD with PiMP beta 2.17, to get a clean start.
Run pimpup, updated claymoredual, miner nr10. rebooted.
using echo "s 1 1300" > /sys/class/drm/card2/device/pp_od_clk_voltage and echo "m 1 1300" > /sys/class/drm/card2/device/pp_od_clk_voltage followed by echo "c" > /sys/class/drm/card2/device/pp_od_clk_voltage to apply the clock speed for core and mem.
Does it for all the cards.
In that way I could gradually take the speed up to the same as I had under win 10.
But voltage I could not set this way.
Voltage I had to set by altering the frequency / V curve.
GPU[0] : OD_VDDC_CURVE:
GPU[0] : 0: 800MHz @ 800mV
GPU[0] : 1: 1150MHz @ 805mV
GPU[0] : 2: 1550MHz @ 810mV
curve above is made with following comands.
rocm-smi -d 0 --setvc 0 800 800
rocm-smi -d 0 --setvc 1 1150 805
rocm-smi -d 0 --setvc 2 1550 810
then I run echo "c" > /sys/class/drm/card2/device/pp_od_clk_voltage to apply the new values ( not sure I need ).
Work great!
Now it looks like this, GPU[0] is the ASUS card, GPU[1] and GPU[2] Sapphire. (with system mining.)
================================================================================
GPU[0] : OD_SCLK:
GPU[0] : 0: 800Mhz
GPU[0] : 1: 1500Mhz
GPU[0] : OD_MCLK:
GPU[0] : 1: 820MHz
GPU[0] : OD_VDDC_CURVE:
GPU[0] : 0: 800MHz @ 800mV
GPU[0] : 1: 1150MHz @ 805mV
GPU[0] : 2: 1550MHz @ 810mV
GPU[0] : OD_RANGE:
GPU[0] : SCLK: 800Mhz 1820Mhz
GPU[0] : MCLK: 625Mhz 930Mhz
GPU[0] : VDDC_CURVE_SCLK[0]: 800Mhz 1820Mhz
GPU[0] : VDDC_CURVE_VOLT[0]: 800mV 1050mV
GPU[0] : VDDC_CURVE_SCLK[1]: 800Mhz 1820Mhz
GPU[0] : VDDC_CURVE_VOLT[1]: 800mV 1050mV
GPU[0] : VDDC_CURVE_SCLK[2]: 800Mhz 1820Mhz
GPU[0] : VDDC_CURVE_VOLT[2]: 800mV 1050mV
GPU[1] : OD_SCLK:
GPU[1] : 0: 800Mhz
GPU[1] : 1: 1300Mhz
GPU[1] : OD_MCLK:
GPU[1] : 1: 915MHz
GPU[1] : OD_VDDC_CURVE:
GPU[1] : 0: 800MHz @ 800mV
GPU[1] : 1: 1050MHz @ 805mV
GPU[1] : 2: 1350MHz @ 810mV
GPU[1] : OD_RANGE:
GPU[1] : SCLK: 800Mhz 1820Mhz
GPU[1] : MCLK: 625Mhz 930Mhz
GPU[1] : VDDC_CURVE_SCLK[0]: 800Mhz 1820Mhz
GPU[1] : VDDC_CURVE_VOLT[0]: 800mV 1050mV
GPU[1] : VDDC_CURVE_SCLK[1]: 800Mhz 1820Mhz
GPU[1] : VDDC_CURVE_VOLT[1]: 800mV 1050mV
GPU[1] : VDDC_CURVE_SCLK[2]: 800Mhz 1820Mhz
GPU[1] : VDDC_CURVE_VOLT[2]: 800mV 1050mV
GPU[2] : OD_SCLK:
GPU[2] : 0: 800Mhz
GPU[2] : 1: 1300Mhz
GPU[2] : OD_MCLK:
GPU[2] : 1: 915MHz
GPU[2] : OD_VDDC_CURVE:
GPU[2] : 0: 800MHz @ 800mV
GPU[2] : 1: 1050MHz @ 805mV
GPU[2] : 2: 1350MHz @ 810mV
GPU[2] : OD_RANGE:
GPU[2] : SCLK: 800Mhz 1820Mhz
GPU[2] : MCLK: 625Mhz 930Mhz
GPU[2] : VDDC_CURVE_SCLK[0]: 800Mhz 1820Mhz
GPU[2] : VDDC_CURVE_VOLT[0]: 800mV 1050mV
GPU[2] : VDDC_CURVE_SCLK[1]: 800Mhz 1820Mhz
GPU[2] : VDDC_CURVE_VOLT[1]: 800mV 1050mV
GPU[2] : VDDC_CURVE_SCLK[2]: 800Mhz 1820Mhz
GPU[2] : VDDC_CURVE_VOLT[2]: 800mV 1050mV
================================================================================
==============================End of ROCm SMI Log ==============================
========================ROCm System Management Interface========================
================================================================================
GPU[0] : Voltage (mV): 800
GPU[1] : Voltage (mV): 806
GPU[2] : Voltage (mV): 806
================================================================================
==============================End of ROCm SMI Log ==============================
with this settings I get:
ASUS 35.2 Mh/s @ 95 watts
Sapphire 39.3 Mh/s @ 100 watts
It have at the time of writing run stable for 2 hours.
It this runs OK over night again, it remain to put it all into a start script.
Thanks again docdrydenn for reminding how important it is to find/verify that you have a stable baseline to start from. And then not to mix a lot of variables. Stick with one thing at a time.
Fantastic PiMP community helping!
I have not worked with rocm-smi. I thought rocm was mostly just a kernel module set and stack of conf files. I'll look more closely at it.
I'm not ready to fool with radeon-profile on my mining rig. I need more knowledge before I fool with some of what it offers. That said, if there were an ncurses interface for use by ssh, it would make it more useful to PiMPs, and other GPU-compute people as well. Maybe I'll add that to their issues list at github.
You can reflash AMD BIOS using atiflash. We have also provided multiple tools for inspection and modification, such as OhGodATool, atitool, and PolarisBiosEditor. Normally, I would use gputool to experiment and tune, and if I wanted to say move that GPU around to other rigs, I would use the information I learned with gputool to create a new BIOS, starting with the cards BIOS as a source, and reflash the card.
Putting the lessons learned into a new BIOS, lets me make whats best for a card, into the card, so I do not need to track its cpu-config.json settings. In practice though, I must admit, I have been just jotting down what a card can do and slapping it on a sticker :)
@Anjin, I am only setting the clock, core and power in the gputool config file. I used the same settings as I did in Ethos.
I will need to put the SSD back in and do the "helpme", but the same SSD in an Nvidia only rig works fine, except I noticed that the hashrate per card using ethminer is also approx. 1MH/s per card lower than in ethos with the same overclock settings. So...clearly I must be doing something wrong.
@sobeit
Did you flash the BIOS with a modded BIOS or just use the stock BOIS for each card and then play with the frequency limits within GPUTool? Your hash rates are great and the power used is average as if not modded. Can you give us a detailed explanation of exactly what you did to accomplish your numbers?
And provide a sample of your "gpu-config.json" file?