My monitor has a speaker, the HDMI sound of the RX570 worked until Friday. The monitor sound is working normally with a notebook, with the same HDMI cable as the PC. It is some software bug or BIOS setup. Another day this also happened but a few minutes later it returned to normal.
I also tried that before but it does not work. Right click the .inf file and click install. It says it works but the version showing up in the software tab of radeon settings is still the same.
Issue resolved, I downgraded the motherboard BIOS, I came back to the version that I was before doing the update, now the HDMI sound is working normally.