Hardware Transcoding Nvidia 1050 use 100% CPU on XBOX ONE

Thank you for your answers.

I patched everything on my linux plex media server (Microserver Gen 8, Intel® Xeon® CPU E31230 @ 3.20GHz, NVIDIA GTX1050, 8g RAM, UBUNTU Server 18.04)

I followed this guide to patch the plex transcoder:

As i understood, the cpu will decode the video and the GPU will transcode it to make it readable to XBOX.
If i only used a CPU, the video would be decoded then transcoded for the XBOX or directly transcoded?