qubic-li / hiveos

40 stars 10 forks source link

qubic.li - HiveOs Miner

This is the integration of the main client from qubic.li into HiveOS.

Qubminer

๐Ÿ“š Qubic Resources

:warning: HiveOs Mandatory Installation Instructions


โš™๏ธ NVIDIA GPU Requirements:

[!NOTE] To update your NVIDIA GPU driver on HiveOS, please run the following command:

nvidia-driver-update
  • NVIDIA 3000 Series: Driver version 535+ or newer.
  • NVIDIA 4000 Series: Driver version 550+.


โœˆ๏ธ Flight Sheet Configuration

[!NOTE] Remove the nvtool line if you prefer to use the HiveOS dashboard for overclocking.

๐Ÿ”จ GPU+CPU (Dual) mining:

Flight Sheet Dual
Extra Config Arguments Example for AVX512:

nvtool --setcoreoffset 200 --setclocks 1600 --setmem 7000 --setmemoffset 2000
"trainer":{"cpu":true,"cpuVersion":"AVX512"}
"amountOfThreads":24
"accessToken":"YOUROWNTOKEN"
AutoUpdate

Extra Config Arguments Example for AVX2:

nvtool --setcoreoffset 200 --setclocks 1600 --setmem 7000 --setmemoffset 2000
"trainer":{"cpu":true,"cpuVersion":"AVX2"}
"amountOfThreads":24
"accessToken":"YOUROWNTOKEN"
AutoUpdate

๐Ÿ”จ GPU mining:

Flight Sheet GPU
Extra Config Arguments Example:

nvtool --setcoreoffset 200 --setclocks 1600 --setmem 7000 --setmemoffset 2000
"accessToken":"YOUROWNTOKEN"
AutoUpdate

๐Ÿ”จ CPU mining:

Flight Sheet CPU
Extra Config Arguments Example for AVX512:

"cpuOnly":true
"trainer":{"cpu":true,"cpuVersion":"AVX512"}
"amountOfThreads":24
"accessToken":"YOUROWNTOKEN"
AutoUpdate

Extra Config Arguments Example for AVX2:

"cpuOnly":true
"trainer":{"cpu":true,"cpuVersion":"AVX2"}
"amountOfThreads":24
"accessToken":"YOUROWNTOKEN"
AutoUpdate

๐Ÿ”ง Hive Os Settings

[!NOTE] The startup script pulls values from the flight sheet to configure the default settings (appsettings_global.json). Each time the miner starts, the appsettings.json file is recreated.

Miner Configuration

Recommended GPU Overclocks:

Medium:
3000 series nvtool --setcoreoffset 250 --setclocks 1500 --setmem 5001
4000 series nvtool --setcoreoffset 250 --setclocks 2400 --setmem 5001
High:
3000 series nvtool --setcoreoffset 200 --setclocks 1600 --setmem 7000 --setmemoffset 2000
4000 series nvtool --setcoreoffset 200 --setclocks 2700 --setmem 7000 --setmemoffset 2000

โš™๏ธ Extra Config Arguments Box (Options):

[!IMPORTANT] The "isPps" and "useLiveConnection" features currently only works with beta access.

Setting Default Value Description
"accessToken": JWT Token This is your personal Token, which you can obtain from the Control Panel at qubic.li.
"amountOfThreads": | 1 How many threads should be used for the AI Training.
"payoutId": | null This is the ID you want to get token payout for your found solutions.
"isPps": | false | Set this to true to enable PPS (Pay Per Share) mode. When enabled, you'll receive a fixed reward for each valid share you submit, regardless of whether a solution is found.
"useLiveConnection": | true or talse | Set this to true to enhance backend performance, enabling instant ID switching and idling. Note: This requires a constant internet connection.
"hugePages":nnnn Consider enabling huge pages to potentially increase iterations per second. The trainer will suggest the optimal setting based on threads * 138 (e.g., 16 threads = 2208). If the trainer becomes unstable, disable huge pages.
"trainer":{"cpuVersion":"AVX512"} Set this to AVX512 to enforce the use of AVX512 instructions.
"trainer":{"cpuVersion":"AVX2"} Use this setting to force the AVX2 runner on CPUs that do not support AVX512.
"trainer":{"cpuVersion":"GENERIC"} If neither AVX2 or AVX512 CPU instructions are supported, use the GENERIC runner.
"idleSettings" Set the command to target the program you want to run, and set the argument for the specific action the program needs to perform.
AutoUpdate Enable automatic version check and installation for the miner after startup.


๐Ÿงช Advanced Settings:

Idle Time Feature

[!NOTE] Starting September 4th, Qubic will introduce idle time every 677 ticks after 676 ticks of mining. During this idle period, you can configure your miner to run any application. The client will handle opening and closing the app. Below is a simple example for any program and miner.

Extra Config Arguments Example for CPU:

"idleSettings":{"command":"ping","arguments":"google.com"}

Extra Config Arguments Example for GPU:

"idleSettings":{"gpuOnly":true,"command":"ping","arguments":"google.com"}