Nvidia driver 450.8 nvidia-settings glib error

I have nvidia driver version 450.8 on Ubuntu 20.04. I have tried isntalling the driver in all possible ways but I still get the same error.
when running nvidia-settings
(nvidia-settings:89718): GLib-GObject-CRITICAL **: 22:02:09.805: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
and nvidia-xconfig of course does not work.

and no, this is not a benign error, on the user interface side of things, the screen is on the highest bright setting possible and there is nothing to control the brightness or get it down. and when programming, I get "invalid device function GPU0 failed error when using the card.

The syslog has a bunch of gnome-session/shell and d-bus errors. Please help.nvidia-bug-report.log.gz (379.9 KB)