-
-
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
Severe UI lockups under OS X #9201
Comments
Commented by: Be-ing Are you using a controller or timecode vinyl to scratch? The responsiveness of both is tied to the audio buffer size in the Sound Hardware Preferences. A smaller buffer will be more responsive. Regarding #3, we are currently discussing how to handle this on GitHub: |
Commented by: tildearrow I'm not using any of these. Using a smaller buffer seems to only hurt the situation even more. |
Commented by: Be-ing How are you scratching then? Clicking the waveform? Have you tried different options for the waveform renderer in the Waveform preferences? Also, have you tried adjusting the waveform framerate? |
Commented by: tildearrow Slowly dragging the waveform from right to left. The scratching stops constantly, then jumps. Any waveform renderer will reproduce. Doesn't reproduce if FPS is set to 15 or lower, but that's no longer smooth... |
Commented by: Be-ing When did this start? |
Commented by: tildearrow This bug is present since I began to try Mixxx 2.1, I think. |
Commented by: esbrandt This is always very heavy on OSX https://github.com/mixxxdj/mixxx/blob/master/src/mixxxapplication.cpp#L180 |
Commented by: daschuer This one might be considered as a release blocker. @tildearrow: did you use the packages from Is the oldest version of this side effected as well? Also effected? Please list the versions you have tried and the results. |
Commented by: daschuer @jus: are you able to reproduce the issue?
In this area Qt5 has changed a lot. Maybe only the qt5 version is effected? |
Commented by: esbrandt @daschuer The trace was right after launch, mixxx idling with no track loaded. Still poor performance when somehow utilizing the library. I found that disabling the tooltip brings at least some of the responsiveness back. My build is using qt4. |
Commented by: Be-ing Macs don't have touchscreens, so we may consider hacking around this by excluding MixxxApplication::notify from Mac builds. |
Commented by: tildearrow @daschuer Yes, I did. |
Commented by: tildearrow OK, so I've tested on Mixxx 2.0, and it seems to reproduce too, but apparently only during track analysis.
(all builds downloaded from mixxx.org) |
Commented by: daschuer Thank you very much. It sounds like that it is quite hard to say reliable if a version changes the issue or not. The questionable touch code was introduced here: |
Commented by: tildearrow Just did a quick test with 1.11. The UI's graphics do lag a little, but input is very responsive. |
Commented by: daschuer This means we had this issue in 2.0 as well. Can you try this one, by building yourselves? Be has removed the touch workaround, that was introduced in 2.0. If this fixes your issues, it would explain the GUI lag since 2.0 |
Commented by: daschuer https://bugs.launchpad.net/bugs/1701441 |
Commented by: tildearrow Then you probably meant to say "2.1" in "If it is a regression since 2.0 it is a release blocker.". Sure, I will try compiling and testing as long as I can. 1x scaling, by the way. |
Commented by: daschuer Ah yes. Thank you for your support. Can you reproduce a GUI lag after editing a track within the library? |
Commented by: tildearrow scons stdlib=libc++ hss1394=0 mad=0 faad=0 coreaudio=1 verbose=1 qt5=1 -j2:
I can't build it. Can anyone provide a build? |
Commented by: esbrandt @tildearrow |
Commented by: tildearrow Never mind. I worked it around by disabling the stats manager. |
Commented by: tildearrow OK, so this Qt 5 UI is lagging very hard on my machine. |
Commented by: Be-ing Whether this was introduce in 2.0 or after 2.0 does not matter. It is a release blocker. |
Commented by: daschuer It does matter, because if we release 2.1 introducing this bug, we break Mixxx for Mac users. |
Commented by: tildearrow OK, so I built Mixxx 2.1 with Be's fixes with Qt 4. I still can reproduce the issue (both issues, the input lag one and the library slowdown one) :( |
Commented by: tildearrow Wait a second, pardon me. I built the wrong branch. I'll switch branches and try again. |
Commented by: tildearrow OK, so I built the correct branch now, but it still reproduces (although a little less). I can't change track properties in the library by clicking. |
Commented by: daschuer You need to enable it in the library preferences. |
Commented by: tildearrow I see. The slowdown no longer occurs. |
Commented by: daschuer Great. So I think we have a release candidate. |
Commented by: Be-ing I will try to borrow a Mac today to confirm this. |
Commented by: tildearrow Wait. By "the slowdown no longer occurs" I mean that trying to change a track's properties in the library no longer slows down the UI, |
Commented by: Be-ing Testing with a MacBook Air (11-inch, Early 2015), 1.6 GHz Intel Core i5, 4 GB 1600 MHz DDR3, Intel HD Graphics 6000 1536 MB, I can reproduce this with Tango and LateNight but not with Deere. Trying to load Shade crashes Mixxx. |
Commented by: daschuer Which scale factor do you use? Can you produce a backtrace? |
Commented by: Be-ing I could not reproduce this with a new Macbook (15 inch, 2016): but with an older Macbook Air (13 inch, mid 2011) I reproduced it: The affects LateNight and Tango but not Deere. When the waveforms are hidden in LateNight and Tango, the UI becomes responsive. I tried the various waveform renderers and it occurs with RGB GLSL and RGB GL renderers, but not plain RGB (CPU rendering). Using the RGB renderer is not a good workaround though because the waveform gets really choppy. |
Commented by: Be-ing My friend is letting me borrow his old Macbook Air, so I'll try to figure out a solution to this in the next few days. |
Commented by: tildearrow I just pulled your branch again to test, but I can still reproduce the input lag when playing all 4 decks at once and spamming UI buttons. |
Commented by: Be-ing You might be encountering this issue: Bug #1406937 Try running mixxx with the --resourcePath command line option specifying the resource path in your Git repository. For example, if your Git repository is at ~/sw/mixxx, run "mixxx --resourcePath ~/sw/mixxx/res" |
Commented by: Be-ing My branch only changes skin files. You do not need to recompile to test it. |
Commented by: Be-ing This is just a guess, but maybe this only affected Macs without dedicated graphics cards (Intel Integrated Graphics only). |
Commented by: tildearrow Good news. Issue seems to not occur anymore. |
Commented by: Be-ing Great! Thank you for confirming. |
Issue closed with status Fix Released. |
Reported by: tildearrow
Date: 2018-03-28T00:09:19Z
Status: Fix Released
Importance: High
Launchpad Issue: lp1759433
Attachments: [heaviest stack trace](https://bugs.launchpad.net/bugs/1759433/+attachment/5093392/+files/heaviest stack trace)
It is almost impossible to use Mixxx under OS X 10.11, because:
System Information:
OS X 10.11.2, MacBook Pro (13-inch, Mid 2012), 2.5 GHz Intel Core i5, Intel HD Graphics 4000.
The text was updated successfully, but these errors were encountered: