Dolby TrueHD/Atmos and Dolby Digital+/Atmos passthrough is supported on Windows and Linux. macOS does not support audio passthrough of HD codecs and therefore no Atmos passthrough. The base TrueHD/DD+ however can be decoded and can be sent as pcm to your AVR/TV.
For Windows and Linux there is a problem with the passthrough logic that breaks the passthrough of TrueHD with or without Atmos metadata. On Windows, this can be “fixed” by using this mpv.dll build => Dolby TrueHD passthrough - modified mpv build.
For Linux there is no build with this fix.
True HDR switching is limited to Windows, as Linux does not support HDR with xorg. For macOS, I don’t know but I think it is not working either.
Further info regarding HDR on Windows => [HDR Metadata Passthrough] - Plex HTPC for Windows