User Tools

Site Tools


mining:gminer

Information

TODO

  • :!: This needs to be a systemd background task as this doesn't automatically restart upon any kind of failure
  • TODO: See if the above is true for GMiner

Install

cd ~ && rm -Rfv '/tmp/gminer' ~/'.local/bin/gminer/miner' && mkdir -p '/tmp/gminer' && cd '/tmp/gminer' && wget -O '/tmp/gminer/gminer.tar.xz' 'https://github.com/develsoftware/GMinerRelease/releases/download/2.91/gminer_2_91_linux64.tar.xz' && tar --extract --xz --verbose --file '/tmp/gminer/gminer.tar.xz' && mkdir -p ~/'.local/bin/gminer' && mv '/tmp/gminer/miner' ~/'.local/bin/gminer' && chmod +x ~/'.local/bin/gminer/miner' && rm -Rf '/tmp/gminer' && cd ~ && sync

SELinux

sudo restorecon -F -I -R ~/'.local/bin/gminer/miner' && sync

Nightwane

Game

  • Sets CPU governor to performance
  • Resets GPU fan and clock speeds to factory-defaults
  • Sets GPU power limit to device-specific max 190W
  • Overclocks GPU core clock by +125
  • Overclocks GPU memory clock by +200
  • :!: Useful to run before gaming in order to reset the core underclock and/or boost from stock limits
mkdir -p ~/'.local/bin/gminer/Nightwane' && nano ~/'.local/bin/gminer/Nightwane/Game.sh' && chmod +x ~/'.local/bin/gminer/Nightwane/Game.sh'
#!/bin/sh

sync

# CPU Tuning
sudo cpupower frequency-set --governor 'performance'

# GPU Reset
sudo nvidia-smi --reset-gpu-clocks

# GPU Tuning
nvidia-settings --assign='GPUPowerMizerMode'='1'
nvidia-settings --assign='GPUGraphicsClockOffsetAllPerformanceLevels'='125'
nvidia-settings --assign='GPUMemoryTransferRateOffsetAllPerformanceLevels'='200'
sudo nvidia-smi --power-limit='190'

sync
echo 'Game tune complete!'
sleep '5'

# End

Keyboard Shortcut

  • GNOME
  • F6
gnome-terminal -- sh -c ~/'.local/bin/gminer/Nightwane/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 190W
  • Underclocks GPU core clock by -500
  • Overclocks GPU memory clock by +1300
  • Averages 32Mh/s
  • :!: Change x at bottom of script to BTC wallet address
mkdir -p ~/'.local/bin/gminer/Nightwane' && nano ~/'.local/bin/gminer/Nightwane/Miner.sh' && chmod +x ~/'.local/bin/gminer/Nightwane/Miner.sh'
#!/bin/sh

sync

# CPU Tuning
sudo cpupower frequency-set --governor 'schedutil'

# GPU Reset
sudo nvidia-smi --reset-gpu-clocks

# Fan Control
nvidia-settings --assign='GPUFanControlState'='1'
nvidia-settings --assign='GPUTargetFanSpeed'='80'

# GPU Tuning
nvidia-settings --assign='GPUPowerMizerMode'='1'
nvidia-settings --assign='GPUGraphicsClockOffsetAllPerformanceLevels'='-500'
nvidia-settings --assign='GPUMemoryTransferRateOffsetAllPerformanceLevels'='1300'
sudo nvidia-smi --power-limit='190'

sync

# Miner
~/'.local/bin/gminer/miner' --algo 'ethash' --server 'stratum+ssl://daggerhashimoto.auto.nicehash.com:443' --user 'x.Nightwane'

# End

Keyboard Shortcut

  • GNOME
  • F8
gnome-terminal -- sh -c ~/'.local/bin/gminer/Nightwane/Miner.sh'
mining/gminer.txt · Last modified: 2022/08/15 23:04 by Sean Rhone