Any luck?
I have the RealTek Audio Console and it doesn't give the option for anything but stereo over Optical. I've gone to my motherboard's maufacturer's (ASUS ROG Strix X570-E Gaming) website and it's list the same driver as what was auto installed by Windows Update. I've attempted to obtain a drive from Realtek but their site seems to only have older drivers for older OS (and it's painfully slow)
Take your average Realtek audio chipset and you will find that Dolby and DTS are optional items. Optional means ASUS the motherboard manufacturer has to pay for it.
https://www.realtek.com/en/products/computer-peripheral-ics/item/alc898
Your motherboard has DTS Sound Unbound --- whatever that is. Even DTS is vague about it in their FAQ's and doesn't say anything about home theater uses (which is your optical cable).
https://dts.com/dts-sound-unbound-faq/
No Dolby means that you can only use PCM on optical cable --- restricted to 2 channels.
You had Dolby license 15 years ago because you bought a DVD-burner that came with OEM versions of WinDVD, You had Dolby license 10 years old because Microsoft included DVD software in Windows 7. You had Dolby or DTS 10 years ago because you bought a PCI sound card that came with Dolby Digital Live or DTS Connect that does live re-encoding to those formats.
Long story short --- you don't have 5.1 channel on optical because you didn't pay for it.