Wave is not in sync with the sound

Kubuntu 18.04
Audacity 2.2.2

I have a problem with editing an uncompressed wave file (44kHz, 16bit). Simply put visual representation of the playback is not in sync with the audio like there is a lag.

I attach a screenshot of a wave of ~500ms length which when played back lasts for just a little moment like 100ms or less.

This seems to be a problem with either Linux version or 2.2.2, because on Windows (where I have 3.x version) there is no such a problem with this file.

Any ideas?

Perhaps you have set the buffer size too long in Audacity Preferences. The default is 100 ms. See: https://manual.audacityteam.org/man/devices_preferences.html

If you are using PulseAudio, that will add an additional buffer delay.

How does the bouncing sound meter work? That one should follow your work much better. That’s the one you watch for volume quality during a recording. Cranking through the graphics processing to make the blue waves is processor heavy.

You can click and drag the sound meters much bigger (and wider) so they’re easier to see.