ways to overclock gpu in linux
- User
ways to overclock gpu in linux
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
ways to overclock gpu in linux
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
For mining-focused overclocking, use miner arguments in shell scripts or terminal commands. Common parameters include:
--cclk (core clock offset)--mclk (memory clock frequency)--pl (power limit)Example script modification (NVIDIA RTX 3060 Ti for NEXA algorithm):
./Start-Nexa.sh --cclk 100 --mclk 5000 --pl 160
This method requires root privileges (sudo su) and is applied per miner session[1][5].
Enable Coolbits:
sudo nvidia-xconfig -a --cool-bits=28
Edit /etc/X11/xorg.conf to add Option "Coolbits" "28" and reboot[4][6].
Manual Overclocking:
Use nvidia-settings to adjust offsets:
nvidia-settings -a '[gpu:0]/GPUGraphicsClockOffset[1]=100'
nvidia-settings -a '[gpu:0]/GPUMemoryTransferRateOffset[1]=5000'
Create a script (overclock.sh) and add it to startup via Application Autostart[4][8].
Use CoreCtrl (via PPA):
sudo add-apt-repository ppa:ernstp/mesarc
sudo apt update && sudo apt install corectrl
Adjust settings in the GUI or via CLI[1][3].
| Tool | GPU Support | Features |
|---|---|---|
| GreenWithEnvy | NVIDIA | Power limits, fan curves, voltage control[3][5] |
| CoreCtrl | AMD | Clocks, power limits, fan control[1][3] |
| LACT | NVIDIA/AMD | Unified interface for all GPU types[9] |
Setup for GreenWithEnvy:
flatpak install com.leinardi.gwe
/etc/X11/xorg.conf[3][5].For persistent overclocking under Wayland:
python3 -m venv ./ && source ./bin/activate
pip install nvidia-ml-py pynvml
overclock.py):
import pynvml
pynvml.nvmlSetGpuPowerManagementMode(handle, 0) # Disable power management
pynvml.nvmlSetGpuPowerUsageLimit(handle, 160) # Set power limit
@reboot /usr/bin/sudo /path/to/run-nvgpu-overclock
Requires sudo rules for user execution[2][7].Refer to miner.download for pre-configured profiles tailored to specific GPUs and algorithms. These include optimized clock offsets and power limits for mining efficiency[1][5].
nvidia-settings or GUI tools (e.g., GreenWithEnvy)[7][9].For AMD GPUs, CoreCtrl remains the primary GUI tool, while NVIDIA users benefit from GreenWithEnvy or LACT[3][9].