User Tools

Site Tools


mining:nsfminer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mining:nsfminer [2022/06/28 17:55] – Fix paths, increase core for 4K and GW1 Sean Rhonemining:nsfminer [2023/06/29 15:26] (current) – removed Sean Rhone
Line 1: Line 1:
-====== Information ====== 
- 
-  * https://github.com/no-fee-ethereum-mining/nsfminer 
-  * :!: OpenCL ((this isn't useful for CUDA as ''nsfminer'' is deprecated and does no LHR unlocking)) ((for AMD as of 2022/05/14, ''nsfminer'' requires either ROCm or AMDGPU-PRO OpenCL 2.0+ libraries and isn't compatible with Clover 1.0 libraries)) 
- 
-====== TODO ====== 
- 
-  * :!: This needs to be a systemd background task as this doesn't automatically restart upon any kind of failure 
- 
-====== Install ====== 
- 
-  * The ''tar'' flags here are the full-names for the popular ''xzvf'' flags 
- 
-  cd ~ && rm -fv '/tmp/nsfminer-opencl.tgz' '/tmp/nsfminer' ~/'.local/bin/nsfminer/nsfminer' && cd '/tmp' && wget -O '/tmp/nsfminer-opencl.tgz' 'https://github.com/no-fee-ethereum-mining/nsfminer/releases/download/v1.3.14/nsfminer_1.3.14-ubuntu_20.04-opencl.tgz' && tar --extract --gzip --verbose --file '/tmp/nsfminer-opencl.tgz' && mkdir -p ~/'.local/bin/nsfminer' && mv '/tmp/nsfminer' ~/'.local/bin/nsfminer' && chmod +x ~/'.local/bin/nsfminer' && rm -fv '/tmp/nsfminer-opencl.tgz' && cd ~ && sync 
- 
-====== Nightwane ====== 
- 
-===== ROCm ===== 
- 
-  * :!: openSUSE has ''rocm-smi'' at ''/opt/rocm/bin/rocm-smi'' 
- 
-==== Game ==== 
- 
-  * Sets CPU governor to ''performance'' 
-  * Resets GPU fan and clock speeds to factory-defaults 
-  * Sets GPU power limit to device-specific max 156W 
-  * Overclocks GPU core clock to 2723 (2723MHz) 
-  * Overclocks GPU memory clock to 1100 (2200MHz) 
-  * :!: Useful to run before gaming in order to reset the core underclock 
- 
-  mkdir -p ~/'.local/bin/nsfminer/Nightwane/ROCm' && nano ~/'.local/bin/nsfminer/Nightwane/ROCm/Game.sh' && chmod +x ~/'.local/bin/nsfminer/Nightwane/ROCm/Game.sh' 
- 
-<code> 
-#!/bin/sh 
- 
-sync 
- 
-# CPU Tuning 
-sudo cpupower frequency-set --governor 'performance' 
- 
-# GPU Reset 
-'/usr/bin/rocm-smi' --resetfans --resetclocks --setpoweroverdrive '156' --autorespond 'yes' 
- 
-# GPU Tuning 
-echo 's 1 2723' | sudo tee '/sys/class/drm/card'*'/device/pp_od_clk_voltage' 
-echo 'm 1 1100' | sudo tee '/sys/class/drm/card'*'/device/pp_od_clk_voltage' 
-echo 'c' | sudo tee '/sys/class/drm/card'*'/device/pp_od_clk_voltage' 
- 
-sync 
-echo 'Game tune complete!' 
-sleep '5'</code> 
- 
-=== Keyboard Shortcut === 
- 
-  * GNOME 
-  * F6 
- 
-  gnome-terminal -- sh -c ~/'.local/bin/nsfminer/Nightwane/ROCm/Game.sh' 
- 
-==== Miner ==== 
- 
-  * Sets CPU governor to ''schedutil'' (dynamic) 
-  * Resets GPU fan and clock speeds to factory-defaults 
-  * Sets GPU power limit to device-specific max 156W 
-  * Underclocks GPU core clock to 1100 (1100MHz) 
-  * Overclocks GPU memory clock to 1100 (2200MHz) 
- 
-  * Averages 31Mh/s 
-  * :!: Change ''x'' at bottom of script to BTC wallet address 
- 
-  mkdir -p ~/'.local/bin/nsfminer/Nightwane/ROCm' && nano ~/'.local/bin/nsfminer/Nightwane/ROCm/Miner.sh' && chmod +x ~/'.local/bin/nsfminer/Nightwane/ROCm/Miner.sh' 
- 
-<code> 
-#!/bin/sh 
- 
-sync 
- 
-# CPU Tuning 
-sudo cpupower frequency-set --governor 'schedutil' 
- 
-# GPU Reset 
-'/usr/bin/rocm-smi' --resetfans --resetclocks --setpoweroverdrive '156' --autorespond 'yes' 
- 
-# GPU Tuning 
-echo 's 1 1100' | sudo tee '/sys/class/drm/card'*'/device/pp_od_clk_voltage' 
-echo 'm 1 1100' | sudo tee '/sys/class/drm/card'*'/device/pp_od_clk_voltage' 
-echo 'c' | sudo tee '/sys/class/drm/card'*'/device/pp_od_clk_voltage' 
- 
-sync 
- 
-# Miner 
-~/'.local/bin/nsfminer/nsfminer' -P 'stratum2+tcp://x.Nightwane@daggerhashimoto.auto.nicehash.com:9200'</code> 
- 
-=== Keyboard Shortcut === 
- 
-  * GNOME 
-  * F8 
- 
-  gnome-terminal -- sh -c ~/'.local/bin/nsfminer/Nightwane/ROCm/Miner.sh' 
- 
-====== SELinux ====== 
- 
-**** 
- 
-  sudo restorecon -F -I -R ~/'.local/bin/nsfminer' && sync 
- 
-===== AMDGPU-PRO ===== 
- 
-  * :!: Use instructions above unless ROCm is unsupported ((eg: no PCI Atomics support or Polaris/Vega)) 
-  * :!: This is usable as-is for ROCm installs too 
- 
-==== Game ==== 
- 
-  * Sets CPU governor to ''performance'' 
-  * Resets GPU fan and clock speeds to factory-defaults 
-  * Sets GPU power limit to device-specific max 156W 
-  * Overclocks GPU memory clock to 1150MHz 
-  * :!: Useful to run before gaming in order to reset the core underclock 
- 
-  mkdir -p ~/'.local/bin/nsfminer/Nightwane' && nano ~/'.local/bin/nsfminer/Nightwane/Game.sh' && chmod +x ~/'.local/bin/nsfminer/Nightwane/Game.sh' 
- 
-<code> 
-#!/usr/bin/bash 
- 
-sync 
- 
-# CPU Tuning 
-sudo cpupower frequency-set --governor 'performance' 
- 
-# GPU Reset 
-echo '2' | sudo tee '/sys/class/drm/card0/device/hwmon/hwmon1/pwm1_enable' 
-echo 'r' | sudo tee '/sys/class/drm/card0/device/pp_od_clk_voltage' 
-echo '156000000' | sudo tee '/sys/class/drm/card0/device/hwmon/hwmon1/power1_cap' 
- 
-# GPU Tuning 
-echo 'm 1 1150' | sudo tee '/sys/class/drm/card0/device/pp_od_clk_voltage' 
-echo 'c' | sudo tee '/sys/class/drm/card0/device/pp_od_clk_voltage' 
- 
-sync 
-echo 'Game tune complete!' 
-sleep '1'</code> 
- 
-=== Keyboard Shortcut === 
- 
-  * GNOME 
-  * F6 
- 
-  gnome-terminal -- sh -c ~/'.local/bin/nsfminer/Nightwane/Game.sh' 
- 
-==== Miner ==== 
- 
-  * Sets CPU governor to ''schedutil'' 
-  * Resets GPU fan and clock speeds to factory-defaults 
-  * Sets GPU power limit to device-specific max 156W 
-  * Limits GPU core clock to 800MHz 
-  * Overclocks GPU memory clock to 1150MHz 
-  * Averages 33Mh/s 
-  * :!: Change ''x'' at bottom of script to BTC wallet address 
- 
-  mkdir -p ~/'.local/bin/nsfminer/Nightwane' && nano ~/'.local/bin/nsfminer/Nightwane/Miner.sh' && chmod +x ~/'.local/bin/nsfminer/Nightwane/Miner.sh' 
- 
-<code> 
-#!/usr/bin/bash 
- 
-sync 
- 
-# CPU Tuning 
-sudo cpupower frequency-set --governor 'schedutil' 
- 
-# GPU Reset 
-echo '2' | sudo tee '/sys/class/drm/card0/device/hwmon/hwmon1/pwm1_enable' 
-echo 'r' | sudo tee '/sys/class/drm/card0/device/pp_od_clk_voltage' 
-echo '156000000' | sudo tee '/sys/class/drm/card0/device/hwmon/hwmon1/power1_cap' 
- 
-# GPU Tuning 
-echo 's 1 800' | sudo tee '/sys/class/drm/card0/device/pp_od_clk_voltage' 
-echo 'm 1 1150' | sudo tee '/sys/class/drm/card0/device/pp_od_clk_voltage' 
-echo 'c' | sudo tee '/sys/class/drm/card0/device/pp_od_clk_voltage' 
- 
-sync 
- 
-# Miner 
-~/'.local/bin/nsfminer/nsfminer' -P 'stratum2+tcp://x.Nightwane@daggerhashimoto.auto.nicehash.com:9200'</code> 
- 
-=== Keyboard Shortcut === 
- 
-  * GNOME 
-  * F8 
- 
-  gnome-terminal -- sh -c ~/'.local/bin/nsfminer/Nightwane/Miner.sh'