Friday, 5 February 2021

Missing GPUGraphicsClockOffset and GPUMemoryTransferRateOffset in nvidia-settings for overclocking from the terminal (Linux)

For those that are using Linux and encountering the following error messages when trying to adjust the overclock offset in the terminal -

ERROR: Error assigning value 1000 to attribute 'GPUMemoryTransferRateOffset' (localhost:1[gpu:0]) as specified in assignment '[gpu:0]/GPUMemoryTransferRateOffset[3]=1000' (Unknown Error).

ERROR: Error assigning value -200 to attribute 'GPUGraphicsClockOffset' (localhost:1[gpu:0]) as specified in assignment '[gpu:0]/GPUGraphicsClockOffset[3]=-200' (Unknown Error).

Recent versions of nvidia-settings uses a different attribute -

GPUGraphicsClockOffsetAllPerformanceLevels
GPUMemoryTransferRateOffsetAllPerformanceLevels

So you need to run the commands in the following manner -

# nvidia-settings -a '[gpu:0]/GPUMemoryTransferRateOffsetAllPerformanceLevels=1000'
# nvidia-settings -a '[gpu:0]/GPUGraphicsClockOffsetAllPerformanceLevels=-200'

If you are running this headless then you may need to set your Xauthority file as below -

DISPLAY=:1 XAUTHORITY=/run/user/1000/gdm/Xauthority nvidia-settings -c :1 -a '[gpu:0]/GPUGraphicsClockOffsetAllPerformanceLevels=-200'

You can find the xauth file for the session by using `ps ax` and greping for Xorg -

$ ps axf |grep Xorg
   8597 tty2     Sl+    0:02          \_ /usr/libexec/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -novtswitch -verbose 3


Missing GPUGraphicsClockOffset and GPUMemoryTransferRateOffset in nvidia-settings for overclocking from the terminal (Linux)

For those that are using Linux and encountering the following error messages when trying to adjust the overclock offset in the terminal - ER...