-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waveforms jerk but not when another window is focused on KDE #9589
Comments
Commented by: mm-mbs |
Commented by: mm-mbs |
Commented by: Be-ing If you need instructions for how to test a pull request, refer to the wiki: https://mixxx.org/wiki/doku.php/using_git |
Commented by: mm-mbs Thank you for the fast answer. I tried the pull request (GIT hash a1a8857). If I configure waveform type RGB (GLSL) than the waveform are not displayed (see screenshot). On RGB and RGB (GL) the reaction is still the same as without patch. |
Commented by: daschuer I am on Ubuntu Xenial with X11 which should be based on Debian Stretch and cannot confirm the issue with similar Hardware. This may also be related to faulty timing information from your sound device. Does the issue persist if you switch to Network clock in the Hardware preferences? What happens if you rise up the Waveform frame rate to 60 FPS? Is the VsyncTest Wavefrom effected? |
Commented by: Be-ing According to https://packages.debian.org/stretch/qt5-default Debian Stretch ships Qt 5.7.1. Perhaps this is caused by a Qt bug that has been fixed. That could explain why I saw this a while ago with my old laptop but I can no longer reproduce it. Maybe you could try building Mixxx with Qt 5.12.1? There are instructions on the wiki for how to build Mixxx with a version of Qt other than what your distribution ships with: https://mixxx.org/wiki/doku.php/compiling_on_linux#non-system_qt |
Commented by: mm-mbs Yes, Debian Stretch use Qt 5.7.1. I try to compiled Qt 5.12.1 with Mixxx master branch and effect was the same. But I think the compiler use the Qt system libraries and the export PKG_CONFIG_PATH=... doesn't work. My guess is confirmed by the fact that during compilation the following is written:
How can I control which Qt library scons use? |
Commented by: Be-ing Try using "qtdir=/where/you/installed/Qt" with scons |
Commented by: mm-mbs I tried to build Mixxx without installed system Qt headers (in a VM) and Mixxx don't find Qt. My steps are: I always get the following output (reduced): I tried also "export QTDIR=/mnt/home/qt", but no success. The config.log say not helpful message: |
Commented by: mm-mbs I change the Engine Clock to Network and Soundcard Clock with the same result. If I set the FPS up to 60 the effect is better, but if Mixxx is in background (not in focus) the Waveform scroll smoother on 30 FPS as 60 FPS in foreground. I started Mixxx with --developer, but what do you mean with VsyncTest Wavefrom? Where can I find the VsyncTest? |
Commented by: daschuer So the soundcard clock does not change anything? The vsynctest is a special waveform among RGB (GL) and others. You can select it in the waveform preferences during --developer mode. |
Commented by: mm-mbs No, soundcard clock or network clock doesn't change anything. OK, I have found the VsyncTest. There is an crazy flickering. Sometimes (1-2x per Minutes) I can see a horizontal "Line". |
Commented by: daschuer Ha moving horizontal line also called tearing happens if there is a vsync issue. |
Commented by: mm-mbs On Mixxx 2.1 the VsyncTest is blinking too and the waveform scroll smoothly. Same on Mixxx 2.2 in background. I haven't succeeded to compile mixxx without system Qt yet. Maybe it really is a bug in Qt 5.7.1. |
Commented by: mm-mbs I installed Debian Buster with Qt 5.11.3 with Mixxx 2.2.0 and there is the same problem, the waveform is scrolling smother if Mixxx is not in focus. I compile also the pull request #1974 but there is the same effect. I remove the system Qt developer tools (headers etc) and try to compile Qt 5.12.1 again. Before compile Mixxx I set the PKG_CONFIG_PATH to /mnt/home/qt/lib/pkgconfig and now Mixxx found the new Qt library. But now Mixxx show another error on configure: Configuring Qt How I compile Qt5X11Extras? |
Commented by: mm-mbs I run Mixxx 2.2 (Qt 5.7.1) on Xfce and the waveform are smooth. Only on KDE jerk the waveform. This seems to be a problem between KDE and Mixxx. I think there the same problem as https://bugs.launchpad.net/mixxx/+bug/1762111 Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) |
Commented by: Be-ing That is interesting that it is okay on Xfce. Can you test with Xfce on the computer you originally saw this bug on? Can you test with KDE on the computer where it is working with Xfce? Are you using KDE with X or Wayland? |
Commented by: mm-mbs I installed Xfce (parallel) on this computer where I have the problem on KDE. I installed also IceWm and the problem exist only on KDE. All desktop environment run on X.org. |
Commented by: Be-ing Go to KDE System Settings -> Display and Monitor -> Compositor and try changing the various settings there. |
Commented by: mm-mbs I tried lot of various settings. Composer de/activate, OpenGL 2.0/3.1/XRender, all VSync setting, HDMI monitor and/or Laptop screen, Display resolution. On all settings Mixxx 2.2 waveform jerk. |
Commented by: Be-ing Maybe try killing kwin_x11 after starting KDE and start a different window manager? Does it work with GNOME using X or Wayland? |
Commented by: mm-mbs I started KDE and killed the kwin_x11 process. I can't handle windows, but I can start Mixxx 2.2 and see the waveform. The waveform already jerk. Wayland works on Debian Stretch not really and Gnome is to big for parallel install. But I think, on Gnome works but atskler has the same problem and on other Desktops works (see https://bugs.launchpad.net/mixxx/+bug/1762111). |
Commented by: Be-ing Hmm, I'm not sure what else to suggest at this point. We may need to talk to a KDE developer. |
Commented by: mm-mbs Can I activate Qt5 in 2.1.7 with this command? Or had qt5=1 no effect of waveform? If I compile Mixxx with this command, the waveform is smoth. scons -j 4 optimize=native faad=1 qt5=1 |
@mm-mbs Could you try the following development build of PR10989: https://github.com/mixxxdj/mixxx/suites/12873892391/artifacts/694473745 Does this build still show the waveform jerking under KDE? |
This is likely fixed with Mixxx 2.4-alpha. Can you confirm? |
Expired for Mixxx because there has been no activity for 60 days. |
Reported by: mm-mbs
Date: 2019-02-10T11:13:11Z
Status: Confirmed
Importance: High
Launchpad Issue: lp1815341
Tags: waveform
Attachments: mixxx-2.2.1-rc-RGB-glsl.mp4, mixxx-2.2.1-rc-RGB.mp4, Mixxx-qopenglwidget.png
When I run Mixxx 2.2.1 (Git hash 5c76976) in foreground, then the waveform dither little bit. When I focus another program, then the waveform run smother. When I run Mixxx 2.1.7, then the waveform is always smother.
I take a video where you can see the effect. First I start the song and the waveform dither little bit. Then I change to Firefox and the waveform run smother. Change to Mixxx and the waveform dither again and so on. On the second video I change the waveform type from RGB (GLSL) to RGB and there the same result.
PS: The master branch (8aeda6f) has the same problem.
The text was updated successfully, but these errors were encountered: