Flags & tuningФлаги и тюнинг
Every knob, one reference.
Все настройки в одном месте.
Most command-line flags have a FORGE_* environment-variable twin — handy for HiveOS extra-config and .bat files. Overclock and fans can be one value for all cards, or a comma list mapped to --gpu.
У большинства флагов командной строки есть двойник-переменная FORGE_* — удобно для extra-config в HiveOS и .bat. Разгон и кулеры — одно значение на все карты или список через запятую под --gpu.
CoreОсновные
| Flag | Env | DescriptionОписание |
--algorithm | FORGE_ALGO | Algorithm: pearlhash, quantus, qhash, kawpow, cryptix, btx, xelis, cfx, noid or iron.Алгоритм: pearlhash, quantus, qhash, kawpow, cryptix, btx, xelis, cfx, noid или iron. |
--coin | FORGE_COIN | KawPow coin: rvn, quai or xna — auto-detected from the pool if omitted (set explicitly for Neurai/Vipor).Монета KawPow: rvn, quai или xna — определяется по пулу, если не задана (для Neurai/Vipor указывать явно). |
--pool | FORGE_POOL | Pool as host:port. TLS is detected automatically (ssl:// also accepted); list several for fail-over.Пул как host:port. TLS определяется автоматически (ssl:// тоже принимается); можно перечислить несколько для failover. |
--tls | FORGE_TLS | Force TLS on (--tls) or off (--tls false) for every pool. Rarely needed — TLS is detected on its own; an ssl:// prefix on one address wins.Включить (--tls) или выключить (--tls false) TLS на всех пулах. Нужно редко — TLS определяется сам; префикс ssl:// у адреса важнее. |
--proxy | FORGE_PROXY | Every pool connection — backups and dev fee included — through a proxy: socks5://[user:pass@]host:port (the proxy resolves pool names) or http://[user:pass@]host:port (CONNECT). TLS pools work through either.Все соединения с пулами — включая резервные и комиссию — через прокси: socks5://[user:pass@]host:port (имена пулов разрешает прокси) или http://[user:pass@]host:port (CONNECT). Пулы с TLS работают через оба. |
--wallet | FORGE_WALLET | Your payout wallet address.Адрес кошелька для выплат. |
--worker | FORGE_WORKER | Worker / rig name shown on the pool.Имя воркера/рига на пуле. |
--password | FORGE_PASS | Pool password (usually x).Пароль пула (обычно x). |
--gpu | FORGE_GPU | Mine only these indices, e.g. 0,1,2,6. Default: all. NVIDIA cards are numbered first (nvidia-smi order), then AMD in PCI bus order.Майнить только эти индексы, напр. 0,1,2,6. По умолчанию — все. Сначала нумеруются карты NVIDIA (порядок nvidia-smi), потом AMD по порядку шины PCI. |
| — | FORGE_AMD | 1 — mine on the AMD cards only, 0 — on the NVIDIA cards only. Both by default.1 — майнить только на картах AMD, 0 — только на NVIDIA. По умолчанию на всех. |
--log [file] | FORGE_LOG | Also write the output to a file (colours stripped, appends). Without a name: forge_<date>.log. Off by default.Дополнительно писать вывод в файл (без цветов, дописывает). Без имени — forge_<дата>.log. По умолчанию выключено. |
--v1-tui | — | Start in the classic scrolling output instead of the pinned dashboard. Press L to switch at any time.Запуститься в классическом прокручивающемся виде вместо закреплённой панели. Клавиша L переключает в любой момент. |
| — | FORGE_LOWVRAM | Low-VRAM mode for 8 GB cards (Pearl). 1 on, 0 off. Auto by default.Режим low-VRAM для 8 ГБ карт (Pearl). 1 вкл, 0 выкл. По умолчанию авто. |
OverclockРазгон
ForgeMiner is core-clock bound and memory-light — push the core high, leave memory low. KawPow and Conflux are the exception: they read a large dataset from memory, so keep the memory clock up for them. Overclocking needs root (Linux/HiveOS) or Administrator (Windows). AMD Radeon takes the same flags plus the core voltage. On exit every card goes back to its previous power limit, offsets and clocks (--oc-keep leaves the overclock on).
ForgeMiner упирается в частоту ядра и нетребователен к памяти — поднимайте ядро, память можно оставить низкой. Исключение — KawPow и Conflux: они читают из памяти большой набор данных, им частоту памяти оставляйте высокой. Разгон требует root (Linux/HiveOS) или Администратора (Windows). AMD Radeon принимает те же флаги плюс напряжение ядра. При выходе каждая карта возвращается к прежним лимиту мощности, оффсетам и частотам (--oc-keep оставляет разгон).
| Flag | Env | DescriptionОписание |
--cclk | FORGE_CCLK | Lock GPU core clock (MHz).Зафиксировать частоту ядра (МГц). |
--coff | FORGE_COFF | Core clock offset (MHz, +/−).Оффсет ядра (МГц, +/−). |
--kernel | FORGE_KERNEL | Pearl on the RTX 30 / 40 series: 1 (default) draws about 7% less board power for a hashrate loss of under half a percent; 2 is the previous, highest-hashrate kernel. No effect on other cards.Pearl на RTX 30 / 40: 1 (по умолчанию) — примерно на 7% меньше потребление платы при потере хешрейта меньше половины процента; 2 — прежнее ядро с максимальным хешрейтом. На других картах не действует. |
--mclk | FORGE_MCLK | Lock memory clock (MHz). On GTX 10 / RTX 20, 810 holds the memory at 810 MHz — Quantus and NOID keep their hashrate at less power.Зафиксировать частоту памяти (МГц). На GTX 10 / RTX 20 810 держит память на 810 МГц — Quantus и NOID сохраняют хешрейт при меньшей мощности. |
--moff | FORGE_MOFF | Memory clock offset (MHz, +/−).Оффсет памяти (МГц, +/−). |
--plimit | FORGE_PLIMIT | Power limit (Watts; on Windows with AMD, percent of the card's limit).Лимит мощности (Вт; на Windows с AMD — процент от лимита карты). |
--vddoff | — | Core voltage offset, mV, signed — e.g. -80 (alias --vo): AMD RX 6000 / 7000 / 9000, and NVIDIA on Linux, where it goes on top of a core lock and offset and brings the voltage down further at the same clock. --voltage-info --gpu <list> shows what a card offers.Смещение напряжения ядра, мВ, со знаком — напр. -80 (псевдоним --vo): AMD RX 6000 / 7000 / 9000 и NVIDIA на Linux — там оно ставится поверх лока и офсета ядра и опускает напряжение ещё ниже при той же частоте. --voltage-info --gpu <список> покажет, что умеет карта. |
--vddc | — | Absolute core voltage, mV (alias --vcore): AMD RX 5000 / 6000 (RX 7000 / 9000 take only the offset), and NVIDIA on Linux. --voltage-recover puts a card back after an interrupted run.Абсолютное напряжение ядра, мВ (псевдоним --vcore): AMD RX 5000 / 6000 (RX 7000 / 9000 принимают только смещение) и NVIDIA на Linux. --voltage-recover вернёт карту после прерванного запуска. |
--oc-keep | FORGE_OC_KEEP=1 | Leave the overclock on the cards when the miner exits.Оставить разгон на картах после выхода майнера. |
--oc-reset | — | Put the cards back to stock (default power limit, clock locks released, offsets 0) and exit — after a crash or a hard kill. With --gpu only those cards.Вернуть карты в сток (штатный лимит мощности, без фиксации частот, оффсеты 0) и выйти — после падения или жёсткого убийства процесса. С --gpu — только эти карты. |
# per-GPU: values map to --gpu order
--gpu 0,1,2,6 --coff 300,250,300,200 --plimit 280,280,300,260
# * = leave that card alone (GPU 2 keeps its current clocks)
--gpu 0,1,2,6 --cclk 1500,1500,*,1500
Fan controlУправление кулерами
A fixed speed, or a temperature curve. With no fan flag the driver keeps automatic control; it's restored on exit. Setting fans needs Administrator/root. GeForce cards have a ~30% hardware fan floor. On AMD --fan sets a static speed; --fan-curve is NVIDIA-only for now.
Фиксированная скорость или температурная кривая. Без флага — автоматика драйвера; она восстанавливается при выходе. Управление требует Администратора/root. У GeForce есть аппаратный порог ~30%. На AMD --fan задаёт постоянные обороты; --fan-curve пока только для NVIDIA.
# fixed speed
--fan 70 every GPU at 70%
--fan 60,70,80,100 per-GPU (maps to --gpu order)
--fan 70,70,*,70 * = that card stays on automatic control
# temperature curve — temp°C:fan% (linear between points)
--fan-curve 45:30,60:55,70:75,80:100
# ≤45°C→30% · 60°C→55% · 70°C→75% · ≥80°C→100% · 65°C→~65%
# env: FORGE_FAN=70 · FORGE_FANCURVE=45:30,60:55,70:75,80:100
ReliabilityНадёжность
--temp-limit / --temp-resume pause a card automatically once it hits a temperature threshold, and resume it once it cools back down. --oc-delay delays applying your overclock by N seconds after startup, for rigs where clocking straight from boot causes instability.
--temp-limit / --temp-resume сами ставят карту на паузу при перегреве и возобновляют майнинг после остывания. --oc-delay откладывает применение разгона на N секунд после старта — для ригов, где мгновенный разгон сразу после загрузки вызывает нестабильность.
# pause at 80°C, resume at 70°C; apply overclock 20s after startup
--temp-limit 80 --temp-resume 70 --oc-delay 20
# env: FORGE_TEMP_LIMIT=80 FORGE_TEMP_RESUME=70 FORGE_OC_DELAY=20
CMP hardware unlock (Linux)Аппаратный разлок CMP (Linux)
CMP 40HX, 50HX, 70HX and 90HX ship with a hardware throttle — stock hashrate is a small fraction of what the chip can actually do. Forge can install a hardware-unlock helper directly on the rig: one command, one reboot, the card then runs at full speed. The helper is embedded in the miner binary; no external download, no manual steps. Everything is reversible via --cmp-rollback. Only the detected CMP cards are touched; every other card on a mixed rig runs untouched. CMP 30HX is detected but never attempted — a permanent hardware limitation, not a bug.
CMP 40HX, 50HX, 70HX и 90HX с завода задушены аппаратно — стоковый хешрейт составляет лишь малую долю того, на что способен чип. Форж умеет поставить хелпер разлока прямо на риге: одна команда, одна перезагрузка, карта работает на полной скорости. Хелпер встроен в бинарь; ничего внешнего скачивать не нужно. Всё обратимо через --cmp-rollback. Затрагивает только обнаруженные CMP-карты; остальные работают без изменений. CMP 30HX обнаруживается, но никогда не трогается — постоянное аппаратное ограничение, не баг.
Builds from source for whatever kernel the rig is actually running — no exact kernel pin, tested clean across 10 different kernel versions. NVIDIA driver 610.43.03 still required. Full walkthrough — wiki · CMP hardware unlock (Русский).
Собирается из исходников под то ядро, что реально стоит на риге — точная привязка ядра больше не нужна, протестировано без единого сбоя на 10 разных версиях ядра. Драйвер NVIDIA 610.43.03 по-прежнему обязателен. Полная инструкция — wiki · CMP аппаратный разлок (English).
| Flag | What it doesЧто делает |
--cmp-install | Install the hardware unlock helper, reboot the rig after a 10-second cancel window. Safe to leave in the HiveOS flight sheet permanently — if the unlock is already active forge prints one line and drops straight into mining, so no reinstall loop.Установить хелпер разлока, ребут через 10-секундный обратный отсчёт. Можно оставить в полётнике HiveOS навсегда — если разлок уже стоит, форж напечатает одну строку и сразу идёт майнить, без цикла переустановок. |
--cmp-install --no-reboot | Install only — you reboot the rig yourself.Только установить — ребут делаете сами. |
--cmp-verify | Print live per-card unlock status. On CMP 40HX/50HX the register is walled off by the driver — live status is the miner's hashrate.Показать живой статус разлока по картам. На CMP 40HX/50HX регистр закрыт драйвером — живой источник правды — хешрейт майнера. |
--cmp-rollback | Restore the previous NVIDIA driver from backup and reboot (10-second cancel window). Add --no-reboot to reboot yourself.Восстановить предыдущий NVIDIA-драйвер из бэкапа и ребут (10 секунд на отмену). Добавьте --no-reboot, чтобы ребутнуться самому. |
Output (since 1.5.15)Вывод (с 1.5.15)
When stdout is not a live terminal (PSEXEC, | cat, cron, log file, web console) forge auto-strips ANSI colours and swaps Unicode box-drawing chars for ASCII — no more räć mojibake in Windows cmd or rental-platform log captures. Interactive terminals (Windows Terminal, PowerShell 7, HiveOS ssh, tmux) still get the full dashboard.
Когда stdout не живой терминал (PSEXEC, | cat, cron, лог-файл, web-консоль), форж сам вычищает ANSI-цвета и меняет Unicode box-drawing на ASCII — больше нет каши типа räć в Windows cmd или в логах rental-платформ. Интерактивные терминалы (Windows Terminal, PowerShell 7, HiveOS ssh, tmux) как раньше получают полный дашборд.
| Flag | Env | DescriptionОписание |
--no-color / --plain | NO_COLOR=1
FORGE_NO_COLOR=1 | Force plain-ASCII output. Only needed if the auto-detect gets it wrong for your setup.Принудительно plain-ASCII вывод. Нужен только если автодетект ошибся под ваш сетап. |
Monitoring APIAPI мониторинга
Off by default, read-only, one port. It only ever reports stats — it can't control or reconfigure the miner. Keep 127.0.0.1 for local-only; use 0.0.0.0 only behind your own router/firewall/VPN.
Выключен по умолчанию, только чтение, один порт. Только отдаёт статистику — управлять майнером через него нельзя. Оставляйте 127.0.0.1 для локального доступа; 0.0.0.0 — только за своим роутером/файрволом/VPN.
--api on 127.0.0.1:7777 (this machine only)
--api-bind 0.0.0.0:7777 watch from your phone / another PC on the LAN
| Endpoint | Format | Use withДля чего |
GET / | HTML | The web dashboard (alias /dashboard).Веб-дашборд (алиас /dashboard). |
GET /summary | JSON | Grafana, bots, scripts — total + per-GPU everything, plus a short history for graphs.Grafana, боты, скрипты — всё по картам и суммарно, плюс короткая история для графиков. |
GET /metrics | Prometheus | Grafana dashboards and alerts (forge_hashrate_hs, …).Дашборды и алерты Grafana (forge_hashrate_hs, …). |
miner_getstat1 | Claymore | Awesome Miner, mmpOS — add forge with the Claymore/Ethminer API on port 7777.Awesome Miner, mmpOS — добавьте forge через Claymore/Ethminer API на порту 7777. |