Skip to content

Instantly share code, notes, and snippets.

@gabrielsond
gabrielsond / unraid_nvidia_overclock.sh
Last active April 14, 2023 15:56
Overclock nvidia at first array start user script for unraid 6.10
#!/bin/bash
##### 2022-05-25 #####
# This script works with unraid 6.10 but it is not ideal and should be properly updated for slackware 15... but has not been.
# There is a hack to temporarily install an old version of nettle. This should not be necessary and should be fixed.
######################
# This Unraid User Script is used to prepare a NVIDIA GPU (3060) for mining after the array starts for the first time.
# This script requires the Nvidia-Driver plugin https://forums.unraid.net/topic/98978-plugin-nvidia-driver/
# In order to run nvidia-settings (set core clock, memory clock, fan, etc.), X must be started temporarily.
# In this script, "/mnt/user/bin/3060/" is the cache drive directory used for dependecies and configuration files.
@gabrielsond
gabrielsond / xorg.conf
Created September 30, 2021 03:04
X.org Configured for NVIDIA (2x GPU) Compute Only (Virtual Display) for Unraid
# The purpose of this configuration is to use NVIDIA GPU(s) for compute applications (NOT for actual display in Xorg).
#
# The use case for this configuration is enabling an Unraid system to fully function with basic hardware acceleration while
# retaining FULL processing power from discrete GPU(s) for mining, video encoding, etc. In order to enable FULL processing
# power of NVIDIA, nvidia-settings must be used to make overclocking adjustments.
#
# This has been tested with two MSI VENTUS GeForce RTX™ 3060 2X 12G OC LHR
# (https://www.techpowerup.com/gpu-specs/msi-rtx-3060-ventus-2x-oc-lhr.b9132)
#
# Useful resources
@gabrielsond
gabrielsond / Ethermine Payouts to Crypto.com.md
Last active August 16, 2022 23:07
"Easy", Near Zero Fee Ethermine to Crypto.com through Polygon Payouts

"Easy", Near Zero Fee Ethermine to Crypto.com through Polygon Payouts

  1. Mine on Ethermine (https://ethermine.org/start)
  2. Sign up for L2 Polygon (MATIC) payouts (https://ethpool.freshdesk.com/support/solutions/articles/8000060967-ethermine-org-payout-policy)
    1. Connect wallet with MetaMask
  3. Wait for Ethermine payout on Polygon
  4. Confirm PoS-WETH balance from Ethermine payout (Option 2 is my preference now)
    1. Open MetaMask (App/Extension)
    2. Add Polygon network to MetaMask (https://docs.polygon.technology/docs/develop/metamask/config-polygon-on-metamask/)
  5. Check balances on Polygon Network