TLDR:
In /etc/X11/Xwrapper.config
add:
allowed_users = anybody
needs_root_rights = yes
and change permissions:
chmod 2644 /etc/X11/Xwrapper.config
I got this working in a multi GPU config with 470.63.01 drivers. I thought that the problem was with Coolbits, but it actually was the Xwrapper.config
(by the way, I set the Coolbits in /etc/X11/xorg.conf
).
I'm not sure why the command:
sudo nvidia-xconfig -a --cool-bits=16 --allow-empty-initial-configuration
breaks your X. For me it worked, and X is behaving normally so far. I'm using the default GNOME and multiple desktops. I cannot assist you with this, however, because it was not the problem. This command added a bunch of lines to the /etc/X11/xorg.conf
file, containing 3 entries for each GPU, that look like this:
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
...
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce xxxxxxx"
BusID "PCI:x:0:0"
EndSection
...
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "Coolbits" "16"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Even after applying the command, the fan setting won't work unless the /etc/X11/Xwrapper.config
file is edited. I had to add the following lines:
allowed_users = anybody
needs_root_rights = yes
Then save it and change the permissions:
chmod 2644 /etc/X11/Xwrapper.config
Adding these lines and rebooting did the trick for me. Without them, nvidia-settings
just fails.
I found this solution here.