The easiest way to play PC games on a 4K TV is by plugging the PC directly into the TV. Attach a HDMI cable to the graphics card in your PC (make sure it's not connected to the integrated graphics of the motherboard – that thing will struggle with 4K gaming), and the other to the HDMI 2.1 port of your TV.