As this is a forum for problem solving I thought I would post this link to some very basic understanding of why your computer might not want to do what you are telling it to do, exactly when you want it done............

Audio problems are usually the direct result. Modern computers are actually capable of doing a great deal........ but what if they have been told not to bother..........?

Most of it will apply to any OS....... but for others than windows you will have to do some "translation" of the technical terms and the pictures.....
..... It is a free pdf download......... and excellent bedtime reading!
https://www.cantabilesoftware.com/glitchfree/

Video problems are often due to audio timing issues. The audio thread is given priority, and the video sometimes has to wait. If the audio is struggling then the video (and even the screen drawing.... gui, mouse etc.) might have to wait quite a while.......... and if the gui decides that it has waited long enough...... and finally moves the mouse pointer to where it should be...... and interrupts the audio thread...... watch out for your ears!......
David.