notes:linux_miners
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:linux_miners [2022/05/05 00:39] – Sean Rhone | notes:linux_miners [2023/06/29 15:24] (current) – removed Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Gminer ====== | ||
- | |||
- | * https:// | ||
- | |||
- | * :!: The '' | ||
- | * :!: '' | ||
- | |||
- | < | ||
- | ./miner --algo ' | ||
- | |||
- | ===== Nightwane ===== | ||
- | |||
- | * RTX 3060 (LHRv2) | ||
- | * CUDA | ||
- | |||
- | * Sets GPU fan speed to static 80% | ||
- | * Sets GPU core clock offset to +125 | ||
- | * Sets GPU memory clock offset to +1300 | ||
- | * Sets GPU power limit to max 190W | ||
- | |||
- | ==== Install ==== | ||
- | |||
- | * https:// | ||
- | * Download the latest release, extract it, and place '' | ||
- | |||
- | mkdir -p ~/' | ||
- | |||
- | ==== Script ==== | ||
- | |||
- | * :!: Change '' | ||
- | |||
- | nano ~/' | ||
- | |||
- | < | ||
- | # | ||
- | |||
- | # GPU OC | ||
- | sync | ||
- | nvidia-settings --assign=' | ||
- | nvidia-settings --assign=' | ||
- | nvidia-settings --assign=' | ||
- | nvidia-settings --assign=' | ||
- | nvidia-settings --assign=' | ||
- | sudo nvidia-smi --power-limit=' | ||
- | |||
- | # Miner | ||
- | sync | ||
- | ' | ||
- | |||
- | ==== Permissions ==== | ||
- | |||
- | **** | ||
- | |||
- | chmod +x ~/' | ||
- | |||
- | ==== GNOME Shell ==== | ||
- | |||
- | * Use as keyboard shortcut F7 | ||
- | |||
- | gnome-terminal -- sh -c ~/' | ||
- | |||
- | ====== T-Rex ====== | ||
- | |||
- | * https:// | ||
- | * http:// | ||
- | |||
- | * :!: The '' | ||
- | |||
- | < | ||
- | ./' | ||
- | |||
- | ===== Nightwane ===== | ||
- | |||
- | * RTX 3060 (LHRv2) | ||
- | * CUDA | ||
- | |||
- | * Sets GPU fan speed to static 80% | ||
- | * Sets GPU core clock offset to +125 | ||
- | * Sets GPU memory clock offset to +1300 | ||
- | * Sets GPU power limit to max 190W | ||
- | |||
- | < | ||
- | # | ||
- | |||
- | # GPU OC | ||
- | sync | ||
- | nvidia-settings --assign=' | ||
- | nvidia-settings --assign=' | ||
- | nvidia-settings --assign=' | ||
- | nvidia-settings --assign=' | ||
- | nvidia-settings --assign=' | ||
- | sudo nvidia-smi --power-limit=' | ||
- | |||
- | # Miner | ||
- | sync | ||
- | ./' | ||
- | |||
- | ====== nsfminer ====== | ||
- | |||
- | * https:// | ||
- | |||
- | ===== Oak ===== | ||
- | |||
- | * 6600 XT | ||
- | * :!: OpenCL via AMDGPU-PRO | ||
- | * :!: Change '' | ||
- | |||
- | < | ||
- | # | ||
- | |||
- | # Miner | ||
- | sync | ||
- | ./' | ||
- | |||
- | ===== AMDGPU-PRO ===== | ||
- | |||
- | * [[https:// | ||
- | * Last tested: 2022/05/05 on Fedora 35 | ||
- | |||
- | ==== Shim ==== | ||
- | |||
- | * https:// | ||
- | * :!: This is apparently required so that AMDGPU doesn' | ||
- | |||
- | sudo dnf copr enable ' | ||
- | |||
- | sudo dnf install ' | ||
- | |||
- | ==== Download ==== | ||
- | |||
- | * :!: 21.30 is the last release from AMD with the full driver package in '' | ||
- | |||
- | cd ~/' | ||
- | |||
- | aria2c ' | ||
- | |||
- | ==== Extract ==== | ||
- | |||
- | cd '/ | ||
- | |||
- | sudo tar xf ~/' | ||
- | |||
- | sudo mv ' | ||
- | |||
- | ==== Repo ==== | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | [amdgpu] | ||
- | name=AMDGPU Packages | ||
- | baseurl=file:/// | ||
- | enabled=1 | ||
- | skip_if_unavailable=1 | ||
- | gpgcheck=0 | ||
- | cost=500 | ||
- | metadata_expire=300</ | ||
- | |||
- | ==== Packages ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo dnf update && sudo dnf install opencl-rocr-amdgpu-pro rocm-device-libs-amdgpu-pro hsa-runtime-rocr-amdgpu hsakmt-roct-amdgpu hip-rocr-amdgpu-pro comgr-amdgpu-pro opencl-orca-amdgpu-pro-icd libdrm-amdgpu-common ocl-icd-amdgpu-pro opencl-rocr-amdgpu-pro amdgpu-pro-core clinfo && sync | ||
- | |||
- | ==== Finalize ==== | ||
- | |||
- | sync && systemctl reboot | ||
- | |||
- | clinfo | ||
- | |||
- | ===== Service ===== | ||
- | |||
- | ==== Install ==== | ||
- | |||
- | * https:// | ||
- | * :!: Be sure to extract '' | ||
- | |||
- | mkdir -p ~/' | ||
- | |||
- | ==== Service ==== | ||
- | |||
- | * :!: Change '' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | [Unit] | ||
- | Description=nsfminer GPU Miner | ||
- | Wants=network-online.target | ||
- | After=network-online.target | ||
- | |||
- | [Service] | ||
- | Type=simple | ||
- | User=CHANGEME | ||
- | Group=CHANGEME | ||
- | WorkingDirectory=/ | ||
- | ExecStart='/ | ||
- | Restart=always | ||
- | RestartSec=5 | ||
- | |||
- | [Install] | ||
- | WantedBy=multi-user.target</ | ||
- | |||
- | ==== Group ==== | ||
- | |||
- | * It appears for OpenCL applications in the background, they need '' | ||
- | * TODO: Test without this | ||
- | |||
- | sudo usermod --append --groups ' | ||
- | |||
- | ==== SELinux ==== | ||
- | |||
- | === Context === | ||
- | |||
- | **** | ||
- | |||
- | sudo restorecon -F -I -R -v ~/' | ||
- | |||
- | === Bool === | ||
- | |||
- | * This appears to allow DNS resolutions | ||
- | |||
- | sudo setsebool -P ' | ||
- | |||
- | === Permissions === | ||
- | |||
- | sudo setenforce 0 | ||
- | |||
- | sudo systemctl start ' | ||
- | |||
- | mkdir -p ~/' | ||
- | |||
- | mkdir -p ~/' | ||
- | |||
- | sudo systemctl stop ' | ||
/var/www/wiki/data/attic/notes/linux_miners.1651725567.txt.gz · Last modified: 2022/05/05 00:39 by Sean Rhone