Best solution:
Buy a new PC or RPi5. You have to avoid any DP->HDMI converter. Native HDMI protocol is needed on the output.
Second best solution:
Buy a new AVR with S/PDIF input. You will get digital audio for some codecs. You will NOT get full HD audio or Dolby Atmos.