After installing Manjaro and starting nvidia-settings via cli, the following error message appeared:
(nvidia-settings:3617): GLib-GObject-CRITICAL **: 21:58:49.173: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
ERROR: nvidia-settings could not find the registry key file or the X server is not accessible. This file should have been
installed along with this driver at /usr/share/nvidia/nvidia-application-profiles-key-documentation. The application
profiles will continue to work, but values cannot be prepopulated or validated, and will not be listed in the help
text. Please see the README for possible values and descriptions.
Here’s the way I fixed it:
1. List contents of the NVIDIA directory
ls -la /usr/share/nvidia
The output will look something like this:
-rw-r--r-- 1 root root 7107 21. Nov 19:08 nvidia-application-profiles-495.44-key-documentation
-rw-r--r-- 1 root root 9279 21. Nov 19:08 nvidia-application-profiles-495.44-rc
2. Set a link depending on the version number as you see it in the output
sudo ln -s /usr/share/nvidia/nvidia-application-profiles-495.44-key-documentation /usr/share/nvidia/nvidia-application-profiles-key-documentation
Start nvidia-settings again, the message should be gone now.