[solved] waveform and audio out of sync

I'm running Resolve Studio 18.1.2 Build 6 on Linux. After having issues on a project, I seem to have triangulated the problem with the waveform viewer / audio player. It appears that the audio player inside resolve is playing things *after* the point where the waveform shows it should.
For a minimal reproduction, I created a new project, and put mp3 and wav files into a media bin. Without any timelines or video or anything else added, I played the audio from within the bin. This shows the waveform and plays the audio. In the waveform, a beat starts where the red marker is, but it should start a bit earlier.
This seems to be consistent for me across various audio files.
I first noticed this when working on a project. I'd noticed that the waveform peaks happened a bit earlier (visually) than when sounds would play in the preview. After syncing the video clip cuts to the music, when I rendered it, I was surprised to see that in the final render, the audio happens according to what the waveform shows, rather than when the preview plays them. As such, if clips are aligned to music in the preview, in the final render, they're all over the place.
So, I think for whatever reason, the audio player inside my Resolve is playing audio with a bit of delay. This is not drift (i.e. it's even at the start of the audio files), and the final render seems to correspond to the waveform. I've tried mp3 files from youtube audio library, bensound, etc. These tend to be 44.1khz. I've tried converting them to wav, and also converting to wav with 48k. The same issue persists. The audio file used for the attached waveform is https://www.bensound.com/royalty-free-music/track/dreams-chill-out
I'm running on an AMD 5950X with a 3090 GPU and 64GB of ram and an NVME SSD.
For a minimal reproduction, I created a new project, and put mp3 and wav files into a media bin. Without any timelines or video or anything else added, I played the audio from within the bin. This shows the waveform and plays the audio. In the waveform, a beat starts where the red marker is, but it should start a bit earlier.
This seems to be consistent for me across various audio files.
I first noticed this when working on a project. I'd noticed that the waveform peaks happened a bit earlier (visually) than when sounds would play in the preview. After syncing the video clip cuts to the music, when I rendered it, I was surprised to see that in the final render, the audio happens according to what the waveform shows, rather than when the preview plays them. As such, if clips are aligned to music in the preview, in the final render, they're all over the place.
So, I think for whatever reason, the audio player inside my Resolve is playing audio with a bit of delay. This is not drift (i.e. it's even at the start of the audio files), and the final render seems to correspond to the waveform. I've tried mp3 files from youtube audio library, bensound, etc. These tend to be 44.1khz. I've tried converting them to wav, and also converting to wav with 48k. The same issue persists. The audio file used for the attached waveform is https://www.bensound.com/royalty-free-music/track/dreams-chill-out
I'm running on an AMD 5950X with a 3090 GPU and 64GB of ram and an NVME SSD.