I would recommend trying to get rid of all these tkg
packages, and try installing the packages recommended for your hardware in the ArchWiki. See this chart here: https://wiki.archlinux.org/title/NVIDIA#Installation. You have a Turing card so the recommended package for your kernel is nvidia-open-dkms
.
I am guessing you followed the guidance here for getting those other packages installed: GitHub - Frogging-Family/nvidia-all: Nvidia driver latest to 396 series AIO installer. Fortunately, they also have some guidance for uninstalling and reverting to normal packages:
GitHub - Frogging-Family/nvidia-all: Nvidia driver latest to 396 series AIO installer
How to uninstall and revert to distro provided packages
For arch and its derivatives you can uninstall using:
sudo pacman -Rdd lib32-nvidia-utils-tkg lib32-opencl-nvidia-tkg nvidia-dkms-tkg nvidia-egl-wayland-tkg nvidia-settings-tkg nvidia-utils-tkg opencl-nvidia-tkg
And install the distro dkms packages:
sudo pacman -S nvidia-dkms egl-wayland lib32-nvidia-utils lib32-opencl-nvidia nvidia-settings opencl-nvidia nvidia-utils
Alternatively install the dkms open kernel modules (Turing or newer hardware only!!!) with:
sudo pacman -S nvidia-open-dkms egl-wayland lib32-nvidia-utils lib32-opencl-nvidia nvidia-settings opencl-nvidia nvidia-utils
After installing the drivers provided by your distro everything should function as normal after a reboot.
In your case, use the first line to uninstall and the third line to install the normal packages. Then give it a reboot and see how it goes.