I have decided to try switching to Ubuntu in a dual-boot scenario with Windows 10, and things work perfectly overall, but I have encountered one bug that really ruins the experience. I get my sound from my monitor from the displayport cable that is connected to the GPU, and this works without any issues on Windows, but on Ubuntu I've had two separate issues with it.
The first is that the system would just randomly switch from DisplayPort 3 as a audio output source to Digital Output, something that I fixed through Pavucontrol.
But the other issue, which is just as annoying, is the sound delay. Whenever I resume a video after a minute or two, the video starts, but the audio only starts after a few seconds of silence, making the entire experience be very jarring. I've set the latency in Pavucontrol to 0 but this doesn't fix it. Using Alsamixer to mute all but one of the S/PDIF options seems to help somewhat, but not completely.
I've tried to look around the internet for help, but that only made me even more confused than before, with bug reports of sound delays on HDMI from 2015 and someone suggesting a complicated measure that would have essentially played silent sounds at all times.
Is there anything I can do?