NVIDIA / nvidia-settings

NVIDIA driver control panel
http://www.nvidia.com/object/unix.html
GNU General Public License v2.0
292 stars 75 forks source link

Overclocking capabilities and fan settings borked. #65

Closed ufoludekxyz closed 3 years ago

ufoludekxyz commented 3 years ago

After the latest update I'm not longer able to OC nor change the fan curve on my GPU, be it via CLI or some GUI solutions like GWE. It worked on the previous versions.

Kernel: 5.11.15-arch1-2 GPU: GTX 1070 Drivers: nvidia Drivers version: 465.24.02-3

iamshadow2008 commented 3 years ago

Same issue with kernel 5.11.16.arch1-1 and nvidia 465.27-1 on an RTX 2060

nvidia-settings GUI fails, CLI fails, GWE fails

iamshadow2008 commented 3 years ago

Same issue with kernel 5.11.16.arch1-1 and nvidia 465.27-1 on an RTX 2060

nvidia-settings GUI fails, CLI fails, GWE fails

fixed by adding to /etc/X11/Xwrapper.config:

allowed_users=anybody

needs_root_rights=yes

and calling: sudo chmod u+s /usr/lib/Xorg.wrap

and rebooting

jpestima commented 3 years ago

@iamshadow2008 yeah, my PC won't load xorg if I do that. Are you using GDM?

iamshadow2008 commented 3 years ago

@jpestima My bad, I meant to say it should go in /etc/X11/Xwrapper.config but I wrote xorg.conf by mistake.

jpestima commented 3 years ago

@iamshadow2008 Thanks :) Do I need to install any specific package or just to create the file? I am using arch.

Also, is this sudo chmod u+s /usr/lib/Xorg.wrap really necessary?

iamshadow2008 commented 3 years ago

@jpestima

Just create the file. And it may not be necessary for you, but in my case it was. Without chmod u+s, the Xwrapper.config entries were ignored and GDM started xorg as my user.

https://bugs.archlinux.org/task/70469

jpestima commented 3 years ago

@iamshadow2008 Thanks for the info man, it worked out for me.

Currently running version 465.27, fans and OC are working as intended.

I just had to do an additional step, as my Xorg.wrap was already modified by the system. I had to reinstall xorg server

Steps where the following:

allowed_users=anybody

needs_root_rights=yes
zbarn commented 3 years ago

Same issue with kernel 5.11.16.arch1-1 and nvidia 465.27-1 on an RTX 2060 nvidia-settings GUI fails, CLI fails, GWE fails

fixed by adding to /etc/X11/Xwrapper.config:

allowed_users=anybody

needs_root_rights=yes

and calling: sudo chmod u+s /usr/lib/Xorg.wrap

and rebooting

Works great. Thank you.

marvic2409 commented 3 years ago

Yep, Also worked for me. Thank you!!

ufoludekxyz commented 3 years ago

Still broken after todays update, it has been 3 updates already... Yes, I read the comments above, I don't want to run X as root, it's more of a bypass than a fix.

Kernel: 5.12.3-arch1-1 GPU: GTX 1070 Drivers: nvidia Drivers version: 465.27-6

marvic2409 commented 3 years ago

Yeah I agree, but for my purposes it's fine. Hope nvidia can make a fix soon though

aaronp24 commented 3 years ago

I think this was an intentional change to prevent non-root users from changing settings that can impact interactivity for other users. I filed internal bug number 3309289 to request adding a way to open the permissions back up.

Closing this issue because nvidia-settings itself isn't responsible for this, it just forwards requests on to the rest of the driver.

rip057 commented 3 years ago

this is still broken, i have heard running X as root is frowned upon... any update?
the latest driver i can run with the ability to change the fan is 455.45.01 maybe there is one after it, but this one works, but i cant install it with a later kernel.

Razer0123 commented 3 years ago

this is still broken, i have heard running X as root is frowned upon... any update? the latest driver i can run with the ability to change the fan is 455.45.01 maybe there is one after it, but this one works, but i cant install it with a later kernel.

No update as far as i know, i am waiting for update 470 hoping it will help

Razer0123 commented 3 years ago

No news?

gilvbp commented 3 years ago

@Razer0123 I have just upgraded to 470 and it's all ok good again :)

Razer0123 commented 3 years ago

@Razer0123 I have just upgraded to 470 and it's all ok good again :)

People on the other thread are reporting the issue is still present

I still have to try for myself

rip057 commented 3 years ago

The way I have dealt with this is ez

Start a shell as root: CTRL-ALT-F2 startx Inside x Windows use nvidia-settings as normal then log off and loh out of that terminal... go back to your regular terminal screen, ctrl-alt-f1, usually, and then proceed as normal...

I only modify the fan to be on full blast, and it works great...

On Wed, Jul 21, 2021, 4:54 AM Razer @.***> wrote:

@Razer0123 https://github.com/Razer0123 I have just upgraded to 470 and it's all ok good again :)

People on the other thread are reporting the issue is still present

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NVIDIA/nvidia-settings/issues/65#issuecomment-884056453, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACORK4SMZGZGTRGK4CAHPALTY2KN3ANCNFSM43EAUVHQ .

VeselyJan92 commented 3 years ago

The issue still persist on: Driver Version: 470.57.02 RTX 2080 Super (Zotac)

mdeliu commented 2 years ago

This issue is still present.

GPU: Nvidia GTX 1080 (HP OEM) OS: Fedora 35 Workstation (GNOME) Kernel: Linux fedora 5.14.17-301.fc35.x86_64 Driver Version: 495.44

Adding following code under /etc/X11/Xwrapper.config (followed by a reboot) as mentioned by @iamshadow2008 did the trick for me. No need to sudo chmod u+s /usr/lib/Xorg.wrap (as the file doesn't exist on my installation).

allowed_users=anybody
needs_root_rights=yes

Keep in mind to add the correct coolbit value in the /etc/X11/xorg.conf (or any other config file for the Nvidia GPU).

stevekm commented 1 year ago

Same issue with kernel 5.11.16.arch1-1 and nvidia 465.27-1 on an RTX 2060 nvidia-settings GUI fails, CLI fails, GWE fails

fixed by adding to /etc/X11/Xwrapper.config:

allowed_users=anybody

needs_root_rights=yes

and calling: sudo chmod u+s /usr/lib/Xorg.wrap

and rebooting

is that the same file as this?

$ ll /usr/lib/xorg/Xorg.wrap 
-rwsr-sr-x 1 root root 15K Jul  6 09:45 /usr/lib/xorg/Xorg.wrap

note that xorg is not caps here but Xorg.wrap is. Also it already appears to have these permission set. This is on Ubuntu 22.04