Skip to content

Before command nvidia-smi error 'value is not valid' #2

@hhalim

Description

@hhalim

Before command setting is producing an error for the nvidia-smi command:

[2017-12-31 17:44:56]: Running before command: sudo nvidia-smi -pm 1 
[2017-12-31 17:45:18]: Provided [-pm | --persistence-mode=] value is not a valid or is out of range: 1 . Please run 'nvidia-smi -h' for help. 
[2017-12-31 17:45:17]: Running before command: sudo nvidia-smi -pl 110 
[2017-12-31 17:45:11]: Provided [-pl | --power-limit=] value is not a valid or is out of range: 110 . Please run 'nvidia-smi -h' for help. 

Running nvidia-smi manually in bash shell does not produce the error. Sudo nvidia-smi also set up correctly to not require password.

Before command settings:

sudo nvidia-smi -pm 1
sudo nvidia-smi -pl 110

sleep 10

export DISPLAY=:0 && nvidia-settings -a 'GPUPowerMizerMode=1'
export DISPLAY=:0 && nvidia-settings -a 'GPUGraphicsClockOffset[3]=100'
export DISPLAY=:0 && nvidia-settings -a 'GPUMemoryTransferRateOffset[3]=1260'

The nvidia-settings works fine.
OS: Ubuntu Linux 16.04

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