Table of Contents
Solo Mining on Linux (AMD GPU)
This guide covers solo mining Lethean using an AMD GPU on Ubuntu with the ProgPoWZ algorithm.
Prerequisites
- A running Lethean node (
lethean-chain-node) - A Lethean CLI wallet with a receive address
- An AMD GPU with at least 2 GB VRAM
- Ubuntu 20.04 LTS or 22.04 LTS
If you have not yet set up a CLI wallet, see the Wallet Guide.
Step 1: Synchronise the Daemon
Open a terminal in the directory containing lethean-chain-node and start it:
./lethean-chain-node
Allow the daemon to fully synchronise with the network while you complete the remaining steps.
Step 2: Install Wildrig Miner
Wildrig Multi supports the ProgPoWZ algorithm used by Lethean and works well with AMD GPUs.
Wildrig has a 1.0% developer fee.
Open another terminal in the same directory. Create a directory for Wildrig and enter it:
mkdir wildrig
cd wildrig
Download the latest Wildrig Multi release:
wget https://github.com/andru-kun/wildrig-multi/releases/download/0.36.6b/wildrig-multi-linux-0.36.6b.tar.xz
Extract and remove the archive:
tar -xf wildrig-multi-linux-0.36.6b.tar.xz
rm wildrig-multi-linux-0.36.6b.tar.xz
Leave this terminal open; you will return to it shortly.
Step 3: AMD Driver Installation
Ubuntu does not ship with AMD's proprietary OpenCL driver, which is required for GPU mining with ProgPoWZ. You need the specific AMD driver version 22.40 -- other versions may not install correctly.
3a. Download the driver installer
sudo apt update
sudo apt upgrade
Ubuntu 20.04 LTS:
wget https://repo.radeon.com/amdgpu-install/22.40/ubuntu/focal/amdgpu-install_5.4.50401-1_all.deb
Ubuntu 22.04 LTS or 22.10:
wget https://repo.radeon.com/amdgpu-install/22.40/ubuntu/jammy/amdgpu-install_5.4.50401-1_all.deb
If you already have a different AMD driver installed, uninstall it first:
amdgpu-install --uninstall, then install the .deb package, runsudo apt update && sudo apt autoremove, and continue below.
3b. Install the driver
sudo apt install ./amdgpu-install_5.4.50401-1_all.deb
sudo sed -i 's/#deb/deb/g' /etc/apt/sources.list.d/amdgpu-proprietary.list
Now install the OpenCL components:
amdgpu-install --opencl=legacy,rocr --usecase=workstation,graphics --no-32
Reboot after installation:
sudo reboot
3c. Verify the installation
Install clinfo and check that your GPU is detected:
sudo apt install clinfo
sudo clinfo
You should see your GPU listed under devices, with OpenCL reported under both "Platform version" and "Device version."
You must use
sudowithclinfo-- without it, your GPU may not appear.
Step 4: Start Mining
Once the daemon is fully synced, stop it with Ctrl+C. Restart it with the stratum server enabled, replacing <YOUR_WALLET_ADDRESS> with your Lethean receive address:
./lethean-chain-node --stratum --stratum-bind-port=11555 --stratum-miner-address=<YOUR_WALLET_ADDRESS>
The daemon should start and display that it is synchronised.
Now switch to your Wildrig terminal and start mining:
cd wildrig
sudo ./wildrig-multi --print-full --algo progpowz --protocol ethproxy -u miner -o 127.0.0.1:11555 -w worker1 -p x
You must use
sudoto run Wildrig for proper GPU access.
The miner will display your hashrate and share statistics. In the daemon terminal, you should see stratum activity confirming that mining is active.
You are now solo mining Lethean with your AMD GPU using the ProgPoWZ algorithm.
Pool Mining Alternative
If you prefer pool mining instead of solo mining, point Wildrig at the pool's stratum address rather than 127.0.0.1:11555. For example:
sudo ./wildrig-multi --print-full --algo progpowz --protocol ethproxy -u <YOUR_WALLET_ADDRESS> -o <POOL_STRATUM_ADDRESS>:<PORT> -w worker1 -p x
Check the Mining Overview for more details on pool vs solo mining.
Troubleshooting
| Problem | Solution |
|---|---|
GPU not detected by clinfo |
Ensure you used sudo; verify driver 22.40 is installed |
| Miner fails to start | Check that OpenCL is properly installed; try reinstalling the AMD driver |
| Daemon shows no stratum connections | Verify the --stratum-bind-port matches the port in your miner command |
| No blocks found after extended mining | Solo mining depends on your hashrate vs network difficulty -- consider pool mining |