RainbowMiner / RainbowMiner

GPU/CPU Mining script with intelligent profit-switching between miningpools, algorithms, miners, using all possible combinations of devices (NVIDIA, AMD, CPU). Features: actively maintained, uses the top actual miner programs (Bminer, Ccminer, Claymore, Dstm, EnemyZ, Sgminer, T-rex and more) easy setup wizard, webinterface, auto update.
GNU General Public License v3.0
571 stars 169 forks source link

Overclocking not appearing. [New RBM user] #2775

Open GFreedomX opened 2 months ago

GFreedomX commented 2 months ago

Hi guys, I have been using RBM for some time and I'm still having issues with the OC setting Currently, the issue is that no matter how I set the OC the miner does not appear to apply. I tried to restart RBM but the issue appear to persist. But I see the below not sure if it's related/

WARNING: No default overclocking profile defined for "RTX3070" in ./Config/ocprofiles.config.txt. Using "Profile1" for now!

Currently, my setup is with a 1 x RTX3070 and once I have the OC issue resolved I will be adding more in.

What I am after is to have each GPU to have it's own OC profile like HiveOS. So I ain't certain if my way of doing it is the correct way.

Anyone can you advise or point out where I have gone wrong? I been trying it for a month and the discord I can't verfy myself ( appearto be the bot error issue)

I have attached part of my config from Miner.config, Ocprofiles.profiles.txt and device.config.txt

Miner.config.txt

"Gminer-RTX3070": [
 {
      "MainAlgorithm": "Octopus",
      "SecondaryAlgorithm": "",
      "Params": "",
      "MSIAprofile": "",
      "OCprofile": "ZotacRTX3070Octopus-RTX3070",
      "Difficulty": "",
      "Penalty": "",
      "HashAdjust": "",
      "Disable": "0",
      "Tuning": "0",
      "ShareCheck": ""
    }
]

Ocprofiles.profiles.txt

 "ZotacRTX3070Octopus-RTX3070": {
    "PowerLimit": 0,
    "ThermalLimit": 0,
    "PriorizeThermalLimit": 0,
    "MemoryClockBoost": "*",
    "CoreClockBoost": "*",
    "LockVoltagePoint": "*",
    "LockMemoryClock": "*",
    "LockCoreClock": "1470",
    "PreCmd": "",
    "PreCmdArguments": "",
    "PostCmd": "",
    "PostCmdArguments": ""
  },

device.config.txt

 "RTX3070": {
    "DefaultOCprofile": "",
    "Algorithm": "",
    "ExcludeAlgorithm": "",
    "MinerName": "",
    "ExcludeMinerName": "",
    "DisableDualMining": "",
    "PowerAdjust": "100",
    "Worker": "",
    "EnableLHR": ""
  }
RainbowMiner commented 2 months ago

Your OC profile's name is "ZotacRTX3070Octopus" - so use this in miners.config.txt and you will be fine. BUT it will be applied to all other RTX3070 as well.

In ocprofiles.config.txt the following index convention is used: "<ProfileName>-<HardwareId>" : { ... }

Where <HardwareId> is either the GPU name (e.g. RTX3070) or the PCI bus id (e.g. 05:00).

If you want to address every single GPU and they are all of type RTX3070, use the individual PCI bus ids. To find out these PCI bus ids, use http://localhost:4000 -> Selected Devices. Click the little + sign to open details for each GPU and look for the BusId line.

Best strategy is to use the Profile1..x method. E.g. use Profile4 for OC that should be applied to algorithms, that prefer underclocking on memory + overclocking on core like -500,+100. Then define the individual values for your different GPUs via the PCI BusId.

"Profile4-05:00": {...},
"Profile4-06:00": {...},
"Profile4-0A:00": {...}

With that strategy you can set "Profile4" to either an algorithm (in algorithms.config.txt) or a miner (in miners.config.txt), knowing that you will use "lowest mem oc + highest core oc" as defined per GPU in ocprofiles.config.txt.

GFreedomX commented 2 months ago

so if = PCI Bus (27:00)

Miner.config.txt

"Gminer-RTX3070": [
 {
      "MainAlgorithm": "Octopus",
      "SecondaryAlgorithm": "",
      "Params": "",
      "MSIAprofile": "",
      "OCprofile": "ZotacRTX3070Octopus",
      "Difficulty": "",
      "Penalty": "",
      "HashAdjust": "",
      "Disable": "0",
      "Tuning": "0",
      "ShareCheck": ""
    }
]

Ocprofiles.profiles.txt


 "ZotacRTX3070Octopus-27:00": {
    "PowerLimit": 0,
    "ThermalLimit": 0,
    "PriorizeThermalLimit": 0,
    "MemoryClockBoost": "*",
    "CoreClockBoost": "*",
    "LockVoltagePoint": "*",
    "LockMemoryClock": "*",
    "LockCoreClock": "1470",
    "PreCmd": "",
    "PreCmdArguments": "",
    "PostCmd": "",
    "PostCmdArguments": ""
  },

and so if the OC Profiles is label as "ZotacRTX3070Octopus-RTX3070" This profile will be use as the default OC profile for all the miner which was preseted to use for all RTX3070 detect. Right?

so if multiple same GPU using Gminer to mine Octopus, Gminer will take all the OCprofile label "ZotacRTX3070Octopus - XX:XX" and applied to the Overclock to each GPU using Gminer. below is the code. please correct me if i am wrong.

Miner.config.txt

["Gminer-RTX3070": [
 {
      "MainAlgorithm": "Octopus",
      "SecondaryAlgorithm": "",
      "Params": "",
      "MSIAprofile": "",
      "OCprofile": "ZotacRTX3070Octopus",
      "Difficulty": "",
      "Penalty": "",
      "HashAdjust": "",
      "Disable": "0",
      "Tuning": "0",
      "ShareCheck": ""
    }
]]

Ocprofiles.profiles.txt

 "ZotacRTX3070Octopus-27:00": {
    "PowerLimit": 0,
    "ThermalLimit": 0,
    "PriorizeThermalLimit": 0,
    "MemoryClockBoost": "*",
    "CoreClockBoost": "*",
    "LockVoltagePoint": "*",
    "LockMemoryClock": "*",
    "LockCoreClock": "1470",
    "PreCmd": "",
    "PreCmdArguments": "",
    "PostCmd": "",
    "PostCmdArguments": ""
  },

   "ZotacRTX3070Octopus-28:00": {
    "PowerLimit": 0,
    "ThermalLimit": 0,
    "PriorizeThermalLimit": 0,
    "MemoryClockBoost": "*",
    "CoreClockBoost": "*",
    "LockVoltagePoint": "*",
    "LockMemoryClock": "*",
    "LockCoreClock": "1470",
    "PreCmd": "",
    "PreCmdArguments": "",
    "PostCmd": "",
    "PostCmdArguments": ""
  },

   "ZotacRTX3070Octopus-29:00": {
    "PowerLimit": 0,
    "ThermalLimit": 0,
    "PriorizeThermalLimit": 0,
    "MemoryClockBoost": "*",
    "CoreClockBoost": "*",
    "LockVoltagePoint": "*",
    "LockMemoryClock": "*",
    "LockCoreClock": "1470",
    "PreCmd": "",
    "PreCmdArguments": "",
    "PostCmd": "",
    "PostCmdArguments": ""
  },
RainbowMiner commented 2 months ago

Correct!

"xxx-29:00" and "xxx-RTX3070" can be both in ocprofiles.config.txt. The PCI Busid indexes will supersede the common device indexes, in case the PCI Busid exists.

GFreedomX commented 2 months ago

@RainbowMiner thank you so much for helping with the OC profit setting issue.

I have tested for the past few days, other than the preset OC not taking effect which resulted in me going in and rebooting the system.

However when I do clock offset oc, it appear like it will not take it in

image this is taken from hashrate.no for octopus

the core clock lock setting and powerlimit was able to take in the OC I set. But when it came to the Memory Clock offset, it does not appear to take the setting in.

OCProfile.config.txt


"ZotacRTX3070Octopus-27:00": {

    "PowerLimit": 68,
    "ThermalLimit": 0,
    "PriorizeThermalLimit": 0,
    "MemoryClockBoost": "2600",
    "CoreClockBoost": "*",
    "LockVoltagePoint": "*",
    "LockMemoryClock": "*",
    "LockCoreClock": "1400",
    "PreCmd": "",
    "PreCmdArguments": "",
    "PostCmd": "",
    "PostCmdArguments": ""

}

the result from Rigel miner


[2024-05-20 11:29:00] 
[2024-05-20 11:29:00] +================== Rigel v1.16.2 - [Linux] ===================+
[2024-05-20 11:29:00] |#|Name    |Power |T(core)|T(mem)|Fan|    Core    |   Memory   |
[2024-05-20 11:29:00] |0|RTX 3070|123.0W|   63°C|   n/a|46%|1410MHz (+0)|6800MHz (+0)|
[2024-05-20 11:29:00] +-+--------+------+-------+------+---+------------+------------+
[2024-05-20 11:29:00] |    Total: 123.0W|            Uptime: 0d 00:00:20             |
[2024-05-20 11:29:00] +==============================================================+
[2024-05-20 11:29:00] 
[2024-05-20 11:29:00] +==================== octopus ====================+
[2024-05-20 11:29:00] |#|Name    | Hashrate |Pool|Acc|Rej|Inv|   Eff    |
[2024-05-20 11:29:00] |0|RTX 3070|51.04 MH/s|   -|  0|  0|  0|415.0 KH/W|
[2024-05-20 11:29:00] +-+--------+----------+----+---+---+---+----------+
[2024-05-20 11:29:00] |    Total: 51.04 MH/s|   -|  0|  0|  0|415.0 KH/W|
[2024-05-20 11:29:00] +=================================================+
[2024-05-20 11:29:00] 

To my understanding memory clk offset should be MemoryClockBoost in RBM term and core clk offset should be CoreClockBoost in RBM.

Do correct me if I am setting it wrong or I have mis understood RBM setting