Skip to content

oc coreclock an memclock on linux #258

Description

@konwin

Could you fix the OC function on linux? At the moment it is not possible to set the memclock to high values!
I'm using an external script to adjust powerlimit, p-state, coreclock, lock coreclock, memclock and to controll the fans which is running fine parallel to TBM, but if TBM restarts dag verification fails because the script doesn't know TBM need to verify dag and keeps all oc-clocks!
For the scirpt to work without password promt I just had to add myUSERNAME ALL=(ALL:ALL) NOPASSWD:/usr/bin/nvidia-smi to /etc/sudoers
It's using the following commands to set: [in brackets my values for 3060ti NLHR]

persistence-mode

sudo nvidia-smi --persistence-mode=1 --id="$GPUID" 1> /dev/null

powerlimit [65]

sudo nvidia-smi --id="$GPUID" -pl "$POWERDRAW" 1> /dev/null

PowerMizerMode

nvidia-settings --assign [gpu:$GPUID]/GPUPowerMizerMode=0 1> /dev/null

coreclock-offset (GPUGraphicsClockOffset "4" for RTX 3xxx, "3" for <= RTX 2xxx) [-500]

nvidia-settings --assign [gpu:$GPUID]/GPUGraphicsClockOffset["4"]="$CORECLOCK" 1> /dev/null

lock coreclock [850]

sudo nvidia-smi --id="$GPUID" -lgc "$LOCKCORECLOCK" 1> /dev/null

set memclock (GPUMemoryTransferRateOffset "4" for RTX 3xxx, "3" for <= RTX 2xxx) [2400]

nvidia-settings --assign [gpu:$GPUID]/GPUMemoryTransferRateOffset["4"]="$MEMCLOCK" 1> /dev/null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions