I have two Nvidia graphics cards in my PC. I would like to have gnome-shell and Xorg to run only one of them. In this case on GPU 0 only. How can I configure that? Here is the output of nvidia-smi.
I have a GTX970 and RTX 3090. I use the RTX 3090 for CUDA only so I would like to free up the memory that is used by gnome-shell and X11 on it. By default, Ubuntu launches on both cards. Is there a way to set bind gnome-shell and X11 to one only?