If you are on Nvidia hardware, make sure to use a distro that makes it easy to install the proprietary Nvidia drivers. In Ubuntu, just open the Additional Drivers tab and the rest will be self-explanatory. For other platforms, ask an AI.