How to Use Web UI to Overclock RTX cards

#1

I thought I would share my fix to be able to use the web UI to overclock your RTX cards. I found the latests stable and beta releases are still trying to use the older method of setting overclocks per performance level (which does not work for rtx cards).

It’s a simple fix. This was done in the beta OS based on ubuntu 18.

nano /hive/sbin/nvidia-oc

Find the lines associated to setting the mem and core clocks.

GPUGraphicsClockOffset[$x]

GPUMemoryTransferRateOffset[$x]

Change them to this.

GPUGraphicsClockOffsetAllPerformanceLevels

GPUMemoryTransferRateOffsetAllPerformanceLevels

It should look like this after.

[[ ! -z $CLOCK ]] &&
        #nvidia-settings -a [gpu:$i]/GPUGraphicsClockOffsetAllPerformanceLevels=${CLOCK[$i]} | grep -v "^$"
        args+=" -a [gpu:$i]/GPUGraphicsClockOffsetAllPerformanceLevels=${CLOCK[$i]}"

[[ ! -z $MEM ]] &&
        #nvidia-settings -a [gpu:$i]/GPUMemoryTransferRateOffsetAllPerformanceLevels=${MEM[$i]} | grep -v "^$"
        args+=" -a [gpu:$i]/GPUMemoryTransferRateOffsetAllPerformanceLevels=${MEM[$i]}"

Stable version should look like this.

		[[ ! -z $CLOCK && "${PREV_CLOCK[$i]}" != "${CLOCK[$i]}" ]] &&
			args+=" -a [gpu:$i]/GPUGraphicsClockOffsetAllPerformanceLevels=${CLOCK[$i]}"
	fi
	
	if [[ "${PREV_MEM[$i]}" == "${MEM[$i]}" ]]; then
		echo "MEM CLOCK was already set to ${MEM[$i]}"
	else
		[[ ! -z $MEM ]]
			args+=" -a [gpu:$i]/GPUMemoryTransferRateOffsetAllPerformanceLevels=${MEM[$i]}"

Ctrl-X and Y to save