mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.25k stars 1.24k forks source link

Jerking waveform #13141

Open tbazant opened 2 months ago

tbazant commented 2 months ago

Bug Description

Moving mouse cursor from library to waveform makes the running waveform jerk. It happens when the cursor is at the lower edge of the waveform pane (the one that enables you to stretch waveform's height). By "jerking" I mean that it freezes for a moment and then it leaps to the position that it would have been when it did not pause. Happens on both X and Wayland, NVidia native or Nouveau drivers.

Version

2.4.0

OS

Debian 12, Debian testing (flathub version)

JoergAtGithub commented 2 months ago

You could try if the experimental VSync mode PLL described here https://github.com/mixxxdj/mixxx/wiki/Changing-the-VSync-Mode-for-Scrolling-Waveforms improves this.

tbazant commented 2 months ago

You could try if the experimental VSync mode PLL described here https://github.com/mixxxdj/mixxx/wiki/Changing-the-VSync-Mode-for-Scrolling-Waveforms improves this.

just tried all possible values, the result is the same. To be precise, the leap occurs only when the mouse hovers the edge that allows resizing the waveform (or when i'm actually resizing it), otherwise everything is just fine and i can live with it.

JoergAtGithub commented 2 months ago

I see this on Windows 11 too

JoergAtGithub commented 2 months ago

You could try the build from PR #12904. The Link Ubuntu 22.04 DEB at the bottom of https://github.com/mixxxdj/mixxx/actions/runs/8123807324?pr=12904 It prevents some kind of waveform jerking, but I guess this here is an additional problem.

m0dB commented 2 months ago

It is expected that resizing causes the animation to be less smooth. It is surprising that simply hovering over the resize handle also causes this. On macOS I can't reproduce this...

m0dB commented 2 months ago

When you quickly move the mouse over it does this also happen, or do you have wait a bit when hovering? Is it all the time while hovered over the splitter or just a single hiccup?

tbazant commented 2 months ago

i reverted back to 2.3.6 DEB version and there it does not happen.

tbazant commented 2 months ago

When you quickly move the mouse over it does this also happen, or do you have wait a bit when hovering? Is it all the time while hovered over the splitter or just a single hiccup?

It's only one-time hiccup and yes, even when moving quickly

JoergAtGithub commented 3 days ago

I guess one reason are the ToolTips. @tbazant Could you try to disable the tooltips in the preferences. Does this improve the waveforms?

tbazant commented 2 days ago

I've been using Mixxx 2.4.1 / Flatpak version for a while and the problem is gone, no waveform jerking occurs when i move mouse anywhere across the app GUI. With enabled tooltips.