Have a read of this, it describes some of the main video setup things that help playback (even on TV's that are not 4K/HDR):
https://wiki.libreelec.tv/configuration/4k-hdr
To get 4K on the streaming services requires a certified device like AppleTV, Google Chromecast, Amazon firestick, or a more general Android device like nVidia Shield. Linux devices are almost non-existent so an LE/Kodi combination is better with offline media and DVB. Personally I'm okay with 720p/1080p for services via Kodi due to better privacy in the OS and apps, but I understand others are more about specs.