-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
OS X UI hangs during playback #2504
Comments
This sounds vaguely similar to a theming issue we used to have with upgraded versions, but not identical since you report this starts after a few seconds of playback. Does this eventually recover, or just keep having refresh issues? I've tested on |
@tresf I tested this with "Tectonic", which finishes with only one track playing, and the animation returned to normal speed as the song completed. It's during the middle of playing, when there are multiple tracks with notes in them at the same time, that the animation begins to grind to a halt. I should also add, that when selecting virtual instruments inside of the instrument plugins pane, the animation bubbles for each instrument animate slowly as well. Perhaps this is related? EDIT: It may depend on the song being played as well. I played Zakarra's "Mainstream Melody" and the hanging issue didn't recover after the end of the composition. |
Alas, I'm not on El Cap, so am no help. :) |
@tresf |
@sunnystormy Here's an extensive guide on building lmms on OS X: https://github.com/LMMS/lmms/wiki/Compiling-lmms-(Apple) Hope that helps. |
@tresf Is there a way that this could be marked as a bug? Or should I take care of that myself? |
@sunnystormy done although it doesn't necessarily make a difference as to if it will be worked on or not. Most of our devs don't have Mac environments. Furthermore, there's little evidence to suggest this is a LMMS bug... It could equally be a bug combo with QT4 + Cocoa (prob worth a try with QT5 soon). But we'll leave this open until we know more. 👍 |
@tresf |
I've tried compiling from source but keep getting issues:
I've got the "qt4-mac" package installed via Macports, so this is confusing. Any help would be appreciated! ^_^ |
@sunnystormy Homebrew or Macports? |
Macports |
Does it recognize the command We haven't used MacPorts in a while now and my MacPorts machine is out of reach at the moment. I know Homebrew logic is in good shape. Do you use MacPorts already or was it just your first choice? |
@tresf No, it doesn't recognize the command "qmake". I installed each package individually, and not by using the "lmms" command. I used Macports simply because it was the one I was the most familiar with. I'm wondering if I need to install the "qt4-creator-mac" package as well? I'm open-minded to trying other things too, if you have other suggestions. |
|
@tresf I'm able to use "npm" to install packages, so if this applies, then, yes. |
@tresf Tried installing with Homebrew instead and get the following when trying the shell script:
What do I do? |
You can turn off fltk (disables Zyn) via |
@tresf But without ZynAddSubFX... that limits a lot of music-composition options. :( I kind of feel like I'd want to have that around. I'll compile from source just to make sure that this issue is resolved. I guess making sure all of the dependencies are updated will have to follow. UPDATE: Now it's not finding "libsndfile" when trying to compile, even though Homebrew says it's installed:
|
In the context of the bug report "OS X UI hangs during playback", it's irrelevant, which is the only reason I proposed it.
I'm not sure how or why you are having so many problems with compilation. I have a El Capitan box I can test the build process out on, but it would be several weeks before I'd be able to fire it up and check our tutorial against it. I build all of the DMGs against Lion because I can't figure out how to get modern builds to run on older OS X releases. We have a few other Mac developers on here that may be able to help or may have encountered your issues.... @rhunter, @rageboge and probably a few others. |
@tresf Cool, man! Wasn't trying to knock you or anything with my ZynAddSubFx comment, I just really love the different plugins available and appreciate the amount of effort you guys have made. : ) I'll take a back seat at this point and see if anybody else has anything to add. Thanks again for all of your help! |
@sunnystormy Just to give you some more troubleshooting information... We have a build fire on OS X each time a code submission comes in which is run by Travis-CI. The build process is as follows:
To see what the output of one of these commands looks like: I believe this build is being fired on Mavericks, but I'm having a hard time confirming this so if your issue is related to the OS X version, getting another dev to try out the build process is the fastest way to get this going. 👍 Unfortunately, we have very few Mac devs. |
I'm on El Capitan 10.11.3 and the build is working fine for me. sudo ln -s /opt/local/libexec/qt4/bin/qmake /opt/local/bin/qmake
sudo ln -s /opt/local/libexec/qt4/bin/lrelease /opt/local/bin/lrelease I also had to create a new build folder from scratch, but you shouldn't have the same issue if it is the first time you build it. |
Silly question, but did you properly install the XCode command line tools via I'm running Brew + El Capitan right now. It'll take a day or so, I'll report my progress. 🍺 |
Ok, I'm running into build issues too, and they appear to be related to upgrading my OS from Yosemite to El Capitan without reinstalling XCode. Edit: Added to wiki. Perhaps that helps... Continuing. 👍 |
@tresf Just so you know, I didn't install Xcode on my device until after I upgraded the OS. I also have the command-line tools installed. Hope that helps. |
Yes it does. I've added the hint to our tutorial anyways because it just snagged me. My El Capitan environment won't download XCode, so I'm troubleshooting that still. 🍷 |
@sunnystormy After reinstalling XCode (I chose 7.3 beta for this particular machine) the build is starting... If you'd like I can upload the build for you to try out to see if it resolves the refresh issues you are encountering. |
Thanks. Fired the changes via #2595. |
Unfortunately, if it doesn't work with |
@sunnystormy, I just upgraded my physical box to OS X 10.11 "El Capitan" as well and did a fresh install of |
@tresf Hmm... Well, I had this error occur on both my Mac Mini and Macbook Pro laptop with El Captian installed (with the latest updates). I just downloaded the dmg from the main page and the issue is still occurring. I don't know what screen-capture technology exists, but perhaps seeing is believing? |
I used QuickTime for screen capture. |
Also, do either/both machines have any 3rd party components from QT installed globally? Perhaps MacPorts/homebrew conflict, etc? There a command on Mac to show the DYLIBs in use, but I'll have to look it up. |
@tresf This problem was occurring prior to installing anything related to that. Also, I've created the quicktime screen-capture to demonstrate the issue. How would you like me to send it to you? It's ~60MB in size. |
Google drive, drop box, YouTube, whatever. 👍 |
@tresf Dropbox link to video is: https://www.dropbox.com/s/ms7i9dnfssau3ck/LMMS_2504.mov?dl=0 |
Does the same thing happen if you are composing a new track? That looks like the software is working ok at first, but running very, very slow as it gets deeper into the track. |
@tresf Yes. But only when there are multiple tracks playing at the same time on the song editor. Keep in mind that the audio plays just fine, it's only the UI that begins to stutter and stop. |
@sunnystormy I can confirm this track performs equally as bad on my machine. Looking at the CPU, it spikes from 25% - 50% depending. Some tracks play OK, but once the CPU goes over 25% the GUI doesn't refresh very well. Sometimes the EQ hangs for seconds at a time. Is this a bug? Probably. Is it new to El Capitan? I don't know, we'd have to do some much more specific benchmarks on physical hardware with various OS X versions to know for sure. Here are some conversations on how we don't utilize CPU very efficiently... #2295 #1916 #1600 (comment) #643 (comment) If you know a thing or two about debugging, we'd be happy to get some benchmarks on where/why our resources are out of control on OS X. 👍 |
@tresf Should this ticket remain closed, then? Or should we simply defer it to other tickets, like the ones you mentioned? |
🍺 |
Probably a stupid question here, but has anyone tried to open the code base I will submit another ticket about creating an xcode project for mac This email has been sent from a virus-free computer protected by Avast. Jonathan Aquilina On Sun, Feb 21, 2016 at 3:02 AM, sunnystormy notifications@github.com
|
@eagles051387 yes, please do. When you have working instructions for debugging in XCode (or even QTCreator), I'll happily test them out and publish them to our wiki. If you would please write them in markdown format (e.g. on your fork) that would be a great start. |
Please do not create additional tickets for this. We don't have intructions for .NET either, let's take this one step at a time. |
@eagles051387 any progress with the debugging/profiling process instructions? |
Just unwinding after a crazy day at work, Will be trying to get it sorted This email has been sent from a virus-free computer protected by Avast. Jonathan Aquilina On Wed, Feb 24, 2016 at 5:47 PM, Tres Finocchiaro notifications@github.com
|
@sunnystormy I've added a Qt5 build here for troubleshooting: Warning, the settings dialog is a burden to click if you've purged |
@tresf Success! 😄 The interface responds appropriately, and everything seems to be working smoothly (for some songs, not all of them). Thank you for this QT5 build! EDIT: The application seems to have a problem exiting, though... I have to force-quit to get it out of my dock. : / |
@sunnystormy Ok great. We'll attribute it to Qt4 + OSX 10.11 then and close this out since we can't directly fix it. If we can iron out all of the bugs with QT5 we may be able to switch to it for our 1.2 build, but we don't have a whole lot of testing results yet.
|
When playing back audio tracks in the Max OS X 1.1.3 version the UI suddenly stops updating within a few seconds. Audio will continue to play, and the buttons on the screen still work, but the time-elapsed labels, mixer, and song editor stop animating/updating properly. I'm wondering if this is a memory allocation and/or threading issue?
I'm running a Mac Mini (Late 2014) with a 1.4 GHz dual-core processor with El Capitan (10.11.2).
Thank you for your help!
The text was updated successfully, but these errors were encountered: