To overclock a GPU on Linux, you use a different interface for NVIDIA and for AMD. On NVIDIA under X11, enable the Coolbits option and set clock offsets with nvidia-settings; nvidia-smi sets power limits and locks clocks in any session. On AMD, enable the overdrive bit with the amdgpu.ppfeaturemask kernel parameter, then write to pp_od_clk_voltage in sysfs. LACT, a daemon with a GUI, covers both vendors and works on Wayland, where Coolbits does not. This is current as of October 2026 (NVIDIA 595-series driver, LACT 0.10.1).
NVIDIA’s README says Coolbits “may cause system damage and void warranties”. Clock, voltage and power settings reset on reboot until you make them persistent.
Table of Contents
Overclock an NVIDIA GPU on Linux with Coolbits (X11 only)
Coolbits is an NVIDIA X driver option. Value 8 enables per-clock offsets in nvidia-settings, on its PowerMizer page or the command line. Value 16 adds overvoltage, which I skip because NVIDIA’s warning lists higher voltages first. Check that echo $XDG_SESSION_TYPE prints x11, then:
sudo nvidia-xconfig --cool-bits=8 # then restart X
nvidia-settings --query '[gpu:0]/GPUGraphicsClockOffsetAllPerformanceLevels'
nvidia-settings --assign '[gpu:0]/GPUGraphicsClockOffsetAllPerformanceLevels=CORE_MHZ'
nvidia-settings --assign '[gpu:0]/GPUMemoryTransferRateOffsetAllPerformanceLevels=MEM_MHZ'
nvidia-xconfig backs up and edits /etc/X11/xorg.conf, or creates one if none exists. The query prints the valid range. NVIDIA allows offsets on certain GeForce GPUs only; the AllPerformanceLevels attributes need Pascal (GTX 10 series) or newer. Offsets reset whenever X restarts, so NVIDIA’s FAQ suggests running the same command at startup. GreenWithEnvy, a GUI for this route, was marked unmaintained in October 2025.
Set an NVIDIA power limit or lock clocks with nvidia-smi
This works on X11 and Wayland, because nvidia-smi talks to the driver through NVML rather than X. Setting a value needs root, and there is no clock-offset option: it caps power and locks clocks.
nvidia-smi -q -d POWER # shows Min and Max Power Limit
sudo nvidia-smi -pl WATTS # must sit between them
sudo nvidia-smi -lgc MIN_MHZ,MAX_MHZ # lock GPU clocks (Volta and newer)
sudo nvidia-smi -rgc # remove the lock
Overclock an NVIDIA GPU on Wayland with LACT
Coolbits is an X server option, so it only applies to an X11 session. NVIDIA’s README lists nvidia-settings as having “limited functionality on Wayland”. Ubuntu’s default desktop has run only on Wayland since 25.10; Xfce, MATE and KDE on X11 still offer X.org sessions.
LACT sets clock offsets, power limits and a VF-curve undervolt on NVIDIA, and its service does not depend on X11 or Wayland. Its author says the VF-curve editor relies on undocumented driver functionality, with no guarantees about stability or safety. It needs the proprietary driver with CUDA libraries, and driver 555 or newer for offsets. Install it from your distribution, the Flatpak or its GitHub releases page, run sudo systemctl enable --now lactd, and open the OC page. Use 0.10.1 or newer: it fixes two local vulnerabilities in 0.10.0 and earlier (CVE-2026-75037, CVE-2026-75038).
Overclock an AMD GPU on Linux with amdgpu overdrive
Overdrive is off by default, and on discrete cards pp_od_clk_voltage does not appear until it is on. LACT’s OC page has an “Enable Overclocking” button for this; CoreCtrl, another AMD GUI, is in maintenance mode with no new hardware support. By hand, add the overdrive bit, 0x4000, to the mask your kernel already uses:
printf 'amdgpu.ppfeaturemask=0x%x\n' "$(( $(cat /sys/module/amdgpu/parameters/ppfeaturemask) | 0x4000 ))"
Append the printed parameter to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub, run sudo update-grub (or sudo grub-mkconfig -o /boot/grub/grub.cfg), and reboot; other boot loaders take it on the kernel command line. Current kernels default to 0xfff7bfff, so this prints 0xfff7ffff (the 0xffffffff in many guides sets one more bit than needed). Afterwards pp_od_clk_voltage should exist, and on kernel 6.13 or newer sudo dmesg | grep -i overdrive shows “Overdrive is enabled, please disable it before reporting any bugs unrelated to overdrive”. LACT’s hardware page says RX 9000 cards need kernel 6.14 or newer and recent firmware.
Then work in the card’s sysfs directory:
ls /sys/class/drm/card*/device/pp_od_clk_voltage
cd /sys/class/drm/card1/device # use the card that has the file
cat pp_od_clk_voltage # current values and OD_RANGE limits
echo manual | sudo tee power_dpm_force_performance_level
echo 'vo -10' | sudo tee pp_od_clk_voltage # -10 mV, if the file lists OD_VDDGFX_OFFSET
# add your clock lines from the table below here
echo c | sudo tee pp_od_clk_voltage # nothing applies until this commit
cat pp_od_clk_voltage # read back to confirm
The clock syntax depends on what the file prints:
| The file shows | Typical cards | Write |
|---|---|---|
OD_SCLK_OFFSET |
RX 9000 | s OFFSET_MHZ (core offset), m 1 MHZ (maximum memory), vo MV |
OD_SCLK, OD_MCLK as minimum and maximum |
Vega 20, RX 5000 to RX 7000 | s 0 MHZ (minimum core), s 1 MHZ (maximum core), m 1 MHZ (maximum memory), then vo MV (RX 6000, RX 7000) or vc POINT MHZ MV (RX 5000, Vega 20) |
OD_SCLK, OD_MCLK as numbered levels |
Polaris, Vega 10 and older | s LEVEL MHZ MV, m LEVEL MHZ MV |
Write r then c to reset. The power cap is power1_cap, in microwatts, under the card’s hwmon directory. On RX 7000 cards an open amdgpu bug report says some writes can be ignored depending on their order, so read the file back.
Test GPU stability before you keep an overclock
- Record a baseline (clocks, power, temperature, score);
nvtopreads both vendors. Then change one thing at a time: power limit down, undervolt, core clock, memory clock. A lower power limit cannot push a card past its rated clocks, so start there. - Test memory separately. NVIDIA says its GDDR6X RTX 30-series cards retry transfers that fail a CRC check, so a memory clock that is too high can show up as a score that stops rising instead of a crash. Step it up and watch the score, then run memtest_vulkan (NVIDIA and AMD) for the six minutes or more its README asks for. “no any errors, testing PASSed” is a clean run.
- Test the core. gpu_burn (NVIDIA, CUDA) checks its own results, which a frame-rate counter cannot. On AMD, run your heaviest game for a long session.
- Read the kernel log after every run. On NVIDIA,
sudo dmesg | grep "NVRM: Xid"finds driver-reported GPU errors. On AMD,sudo dmesg | grep -iE "amdgpu.*(timeout|GPU reset)"does the same. Any hit means back off.
Settings applied at login or boot are the risky step, so persist them last, through LACT or a systemd unit. LACT waits for you to confirm OC changes before saving them, and adding lact-reset to the kernel command line for one boot (press e in the GRUB menu and edit the linux line) resets a bad saved profile. Without LACT, boot to a text console and remove the unit that applies your settings. To undo the enabling step, remove amdgpu.ppfeaturemask on AMD or run sudo nvidia-xconfig --cool-bits=0 on NVIDIA. If a game crashes only with an offset applied, the offset is the cause, and removing it is a standard step when a game keeps crashing.