LinuxCommandLibrary

nvidia-settings

TLDR

Open settings GUI

$ nvidia-settings
copy
Query GPU temperature
$ nvidia-settings -q GPUCoreTemp
copy
Set fan speed
$ nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan:0]/GPUTargetFanSpeed=[70]"
copy
Query all attributes
$ nvidia-settings -q all
copy
Load settings from file
$ nvidia-settings --load-config-only
copy
Set PowerMizer mode
$ nvidia-settings -a "[gpu:0]/GPUPowerMizerMode=[1]"
copy

SYNOPSIS

nvidia-settings [options]

DESCRIPTION

nvidia-settings configures NVIDIA graphics driver settings. It provides a GUI and command-line interface for adjusting display, performance, and GPU settings.
Settings are saved to ~/.nvidia-settings-rc.

PARAMETERS

-q attr

Query attribute.
-a attr=value
Assign attribute.
-c display
X display to use.
--load-config-only
Load config, exit.
-t
Terse output.
-V attr
Show valid values.

COMMON ATTRIBUTES

$ GPUCoreTemp          - GPU temperature
GPUCurrentClockFreqs - Clock speeds
GPUFanControlState   - Manual fan control
GPUTargetFanSpeed    - Fan speed %
GPUPowerMizerMode    - Performance mode
copy

CONFIG FILE

$ # ~/.nvidia-settings-rc
[gpu:0]/GPUPowerMizerMode=1
[gpu:0]/GPUFanControlState=1
copy

CAVEATS

Requires NVIDIA proprietary driver. Some settings need X running. Fan control may void warranty. Settings reset on driver update.

HISTORY

nvidia-settings is developed by NVIDIA Corporation as the official configuration tool for their Linux graphics drivers.

SEE ALSO

Copied to clipboard