NVIDIA / NVIDIA/nvidia-settings
Cannot overclock from terminal or libXNVCtrl when running Xorg rootless
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 345
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Description
This the output of nvidia-settings -a "[gpu:0]/GPUGraphicsClockOffset[3]=125" in rootless Xorg:
ERROR: Error assigning value 0 to attribute 'GPUGraphicsClockOffset' (sporif-pc:0[gpu:0]) as specified in assignment '[gpu:0]/GPUGraphicsClockOffset[3]=125'
(Unknown Error).
Anything using libXNVCtrl to overclock also fails, e.g. gwe, tuxclocker.
But the strange thing is overclocking through the nvidia-settings gui still works.
Rootless Xorg can be achieved on Nvidia by setting either needs_root_rights = yes in
/etc/X11/Xwrapper.config or modeset=1 on the nvidia_drm module.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the nvidia-settings -a command and a libXNVCtrl-based overclocking attempt under rootless Xorg, then compare them with the working nvidia-settings GUI path. Check the rootless configuration involving /etc/X11/Xwrapper.config and nvidia_drm modeset=1; done means terminal and library requests work in that setup without regressing the GUI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- computer-graphics, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100