Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvidia-settings only allows setting GPUMemoryTransferOffset and GPUGraphicsClockOffset for [gpu:0] #75

Open
mmdts opened this issue Nov 13, 2021 · 2 comments

Comments

@mmdts
Copy link

mmdts commented Nov 13, 2021

nvidia-settings: version 470.57.01
with Option "Coolbits" "28" and Option "AllowEmptyInitialConfiguration" "True" on both X screens.

Even the GUI shows the "Editable Performance Levels" section for GPU 0 only as shown in this stackexchange question:
https://unix.stackexchange.com/questions/354958/how-to-overclock-multiple-nvidia-gpus-in-ubuntu?newreg=f0cf58cf990d4c16beed86feaed3340d

From the CLI:

# nvidia-settings -v -q [gpu:0]/GPUMemoryTransferRateOffset

ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


  Attribute 'GPUMemoryTransferRateOffset' (mpc:0[gpu:0]): 2000.
    The valid values for 'GPUMemoryTransferRateOffset' are in the range -2000 - 6000
    (inclusive).
    'GPUMemoryTransferRateOffset' can use the following target types: X Screen, GPU.

Using -a isntead of -q works and does set a value.

However, for GPU 1:

# nvidia-settings -v -q [gpu:1]/GPUMemoryTransferRateOffset

ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


WARNING: Attribute 'GPUMemoryTransferRateOffset' specified in query '[gpu:1]/GPUMemoryTransferRateOffset' is not available on mpc:0[gpu:1].

It fails to show the current value when querying, and using -a instead of -q does not work and does not set a value.

Here, assignment yields:

# nvidia-settings -V -a [gpu:1]/GPUMemoryTransferRateOffset=2000

...

WARNING: Attribute 'GPUMemoryTransferRateOffset' specified in assignment '[gpu:1]/GPUMemoryTransferRateOffset=2000' is not available on mpc:0[gpu:1].

Querying perfmodes works on both GPUs, for GPU 1 it yields:

# nvidia-settings -q [gpu:1]/GPUPerfModes

ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


  Attribute 'GPUPerfModes' (mpc:0[gpu:1]): perf=0, nvclock=300, nvclockmin=300,
  nvclockmax=645, nvclockeditable=1, memclock=405, memclockmin=405, memclockmax=405,
  memclockeditable=1, memTransferRate=810, memTransferRatemin=810, memTransferRatemax=810,
  memTransferRateeditable=1 ; perf=1, nvclock=300, nvclockmin=300, nvclockmax=2100,
  nvclockeditable=1, memclock=810, memclockmin=810, memclockmax=810, memclockeditable=1,
  memTransferRate=1620, memTransferRatemin=1620, memTransferRatemax=1620,
  memTransferRateeditable=1 ; perf=2, nvclock=300, nvclockmin=300, nvclockmax=2130,
  nvclockeditable=1, memclock=5001, memclockmin=5001, memclockmax=5001,
  memclockeditable=1, memTransferRate=10002, memTransferRatemin=10002,
  memTransferRatemax=10002, memTransferRateeditable=1 ; perf=3, nvclock=300,
  nvclockmin=300, nvclockmax=2130, nvclockeditable=1, memclock=7501, memclockmin=7501,
  memclockmax=7501, memclockeditable=1, memTransferRate=15002, memTransferRatemin=15002,
  memTransferRatemax=15002, memTransferRateeditable=1 ; perf=4, nvclock=300,
  nvclockmin=300, nvclockmax=2130, nvclockeditable=1, memclock=7751, memclockmin=7751,
  memclockmax=7751, memclockeditable=1, memTransferRate=15502, memTransferRatemin=15502,
  memTransferRatemax=15502, memTransferRateeditable=1

@MabaKalox
Copy link

MabaKalox commented May 18, 2022

Are you running xorg rootless? To check:
ps -o user $(pgrep Xorg)
If it returns non root, try to disable rootless xorg by creating or appending to file
/etc/X11/Xwrapper.config
line:
needs_root_rights = yes
Then reboot, test again that now xorg runs as root and try to query/apply settings that you tried. If it works, check #42

@Augusto7743
Copy link

try cool bits value 8
nvidia-xconfig --cool-bits=8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants