Problemas com driver 340 da nvidia

Recentemente tenho tido problemas com o driver 340.108, da nvidia. Estava tentando ativar o force full pipeline composition, que funcionava normalmente. Agora, a função não está funcionando pelo nvidia settings. Abri pelo terminal e aparece:

“ERROR: nvidia-settings could not find the registry key file. This file should have
been installed along with this driver at either
/usr/share/nvidia/nvidia-application-profiles-340.108-key-documentation or
/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.”

e quando tento ativar o pipeline composition, e salvo aparece:

“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”