Nvidia-settings not saving settings due to package 'xorg-server' not found (possible duplicate topic)

hi there! apart from this being a possible duplicate of another issue that happened in mid 2019, after running nvidia-settings with sudo and with being logged in as root, it’s unable to save just my display configuration. nvidia-settings output after running it in xfce4-terminal

op17@owen-xubuntu:~$ sudo nvidia-settings
[sudo] password for op17: 

(nvidia-settings:30998): GLib-GObject-CRITICAL **: 08:25:12.136: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 08:25:12.401: PRIME: No offloading required. Abort
** Message: 08:25:12.401: PRIME: is it supported? no
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing 'xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found

my system output using neofetch

op17@owen-xubuntu:~$ neofetch
                     .-/+oossssoo+/-.               op17@owen-xubuntu 
               `:+ssssssssssssssssss+:`           ----------------- 
             -+ssssssssssssssssssyyssss+-         OS: Ubuntu 20.04.4 LTS x86_64 
         .ossssssssssssssssssdMMMNysssso.       Kernel: 5.13.0-35-generic 
     /ssssssssssshdmmNNmmyNMMMMhssssss/      Uptime: 12 hours, 6 mins 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Packages: 1888 (dpkg)   /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Shell: bash 5.0.17    .ssssssssdMMMNhsssssssssshNMMMdssssssss.   Resolution: 1024x768, 1920x1080   +sssshhhyNMMNyssssssssssssyNMMMysssssss+   DE: Xfce 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Xfwm4 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM Theme: Greybird-dark 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Theme: Greybird-dark [GTK2], Greybird [GTK3] 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Icons: Papirus-Dark [GTK2], elementary-xfce-darker [GTK3] 
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Terminal: xfce4-terminal 
  +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal Font: Monospace 10 
   /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: Intel i3-2100 (4) @ 3.100GHz 
    .ossssssssssssssssssdMMMNysssso.       GPU: NVIDIA GeForce GT 710 
      -+sssssssssssssssssyyyssss+-         Memory: 1990MiB / 15967MiB 

ignoring the crooked ubuntu logo, this is a fresh install of xubuntu 20.04.3 LTS of where I spent most of it trying to combat mouse sensitivity, firefox blinding me with its light theme everytime I launch it and the wierd inability to save my display config with nvidia-settings. comment or contact me if more information/logs/console outputs are needed. thanks in advance!