I have two gpus on my machine:
$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX 980 Ti] (rev a1)
03:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 730] (rev a1)
I wanna use the first gpu for computation, so I need it free. However the X server is running on the first one by default which costs %2 to %10 of the gpu capacity.
How can I move the X server to the second gpu?