slow synth instantiation #1196
Replies: 22 comments
-
What do you mean starting Fluidsynth (the MESS one?). Creating a track for it, starting the GUI? |
Beta Was this translation helpful? Give feedback.
-
Ok, so maybe it is system dependent... Regarding the PlaceholderText, I did reenable an old commented out code for QPlainTextEdit but it seems to be supported since 5.3. Search tells me there are some instances in the ui file, maybe QtCreator added one. I will try to sort it out. I indeed have qt5.12. |
Beta Was this translation helpful? Give feedback.
-
That's what the Qt docu says: QPalette::PlaceholderText | 20 | Used as the placeholder color for various text input widgets. This enum value has been introduced in Qt 5.12 |
Beta Was this translation helpful? Give feedback.
-
If I understand correctly it was the ui file, I had fiddled with some settings that I did not need. Looked a bit more and it seemed to be easily reverted so I checked in a cleaned ui file, hopefully that is all that is needed. |
Beta Was this translation helpful? Give feedback.
-
I can compile now, thanks. I looked at the new revision saving dialog - what is the difference between this and the normal Save as... function? The behaviour seems to be exactly the same. |
Beta Was this translation helpful? Give feedback.
-
Den tors 21 jan. 2021 kl 20:04 skrev kybos <[email protected]>:
I can compile now, thanks.
Perhaps I could try to create another CI action, just to build MusE on the
oldest supported Qt release. That could help to recognize these kind of
problems faster.
That sounds like a super idea.
I looked at the new revision saving dialog - what is the difference between
this and the normal Save as... function? The behaviour seems to be exactly
the same.
And if you don't want to see the project dialog, there is the option in *Global
Settings->GUI->Use project save dialog*, which skips it when unchecked.
I like the project dialog (I added the first version a very long time ago
:) ) but since the change you added it cannot be used for saving revisions
(if you use a project folder, files after changing the name will end up in
the wrong place).
I was thinking of adding options to it for handling that but it would be a
bit hard to explain exactly what it does. So I thought that it might be
better as a separate feature that explicitly focuses on this.
Basically all I want is for common operations to be as easy as possible,
and personally I do create revisions a lot. :)
The old-style save-as dialog could in principle be used for this but you
need more mouse clicks and there are more possibilities to do the wrong
thing. AND I want the 'create project' dialog too so it does not make it
any easier.
Missing from the revision dialog is that it should detect if there is a
number at the end of the filename and increment this automatically, then
the process would be as simple as it possibly can get.
…
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/orgs/muse-sequencer/teams/musedevteam/discussions/70/comments/5>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCFANZ5SWK6LZBYYOS32JLS3B265ANCNFSM4WNBYOYA>
.
|
Beta Was this translation helpful? Give feedback.
-
Back to the sluggishness. I did some timing and testing of different versions of MusE and it turns out that on my system, thinkpad t450 (not the most recent laptop but works nicely with MusE) launching of MusE takes takes around 25seconds up to checkin "Add track shortcuts" b712c05 from january 13. I'm looking at the diff but cannot spot anything obvious.. Though I am a bit curious about the new shortcuts shown in menus, which of course are great! But do they play well with our home built shortcut system? Not sure if this is the first checkin with such shortcuts, if it is that would be my first candidate. |
Beta Was this translation helpful? Give feedback.
-
Thanks for tracing that down. I couldn't reproduce it on my main system, but I will try this evening with a KDE VM (I assume KDE is what you are using). Or perhaps it's the newer Qt version - they made some changes recently affecting shortcuts in context menus. Re dynamic event lengths in Pianoroll: |
Beta Was this translation helpful? Give feedback.
-
I think you can wait with further investigation for now... I tried it on another computer with same OS and it does not have this problem. I will do some more digging, very curious. Ah yeah, it was a pretty cool idea. As I wrote it was from a forum thread on linuxmusicians, apparently FLstudio works similar to this. But as it was so trivial I didn't think it through, it should at least be a menu option. Thinking more it should be extended to velocity too. Velocity is actually remembered but not through this and the functionality is kind of weird, last event you clicked on or something like that. |
Beta Was this translation helpful? Give feedback.
-
I discovered the source and it left me even more confused :D Currently I have a bit too many old laptops and for reference I tried my old and tested thinkpad t420 and found that it did not have this problem, infact it started muse twice as fast as the t450, wtf!? Tried lots of things after that and long story short, I have an external monitor connected to the t450. It is connected through VGA and the problems vanish when I disconnect the monitor?! An unrelated question while I remember, I saw that you changed something for simpledrums, I still can't see it on my self built muse though, should it be there? |
Beta Was this translation helpful? Give feedback.
-
I don't remember changing anything in Simpledrums - perhaps you mean the compile error connected to it? As to your problems: Sounds like your external monitor grabs too much of the main memory (in laptops it's mostly shared with the graphics memory). Then the system is forced to swap, which makes everything slow. |
Beta Was this translation helpful? Give feedback.
-
Not compile error but linking, the Rasterisation-something that wasn't properly linked, I think I saw you commenting on that? It still says it can't find the symbol here so simpledrums never shows up in MusE. I think you are right it is a system resource that is lacking but not main memory. The laptop has 8GB ram (not a lot by todays standards) the system rarely goes above 1.5GB in actual usage. |
Beta Was this translation helpful? Give feedback.
-
Ah yes, it's documented here: https://linuxmusicians.com/viewtopic.php?f=61&t=22595&sid=b25e13613719f153f35c7fc19ee9ddd4 And I found Tim's comment on the widgets folder: BTW: I created the new action (Compatibility build) and after fixing some things it now compiles with Qt 5.7. |
Beta Was this translation helpful? Give feedback.
-
Tried it now with the appimage and simpledrums is there so that seems fine. It doesn't appear when I build it myself though. Is there something I need to do? |
Beta Was this translation helpful? Give feedback.
-
Really crazy with the snow... You probably can't even leave your house? You have to build with the MODULES_BUILD_STATIC. rtaudio: I will look into it. But if it's missing then it most probably also means that it's missing from our installation instructions in the readme file (despite being activated by default in the cmake). EDIT: rtaudio is there in the README, also in the appimage build (librtaudio-dev is installed), but still not found by cmake (version in Ubuntu 16.04 is 4.1, so that should be ok.) No idea what is wrong with it... |
Beta Was this translation helpful? Give feedback.
-
Crud. Broke my own rules. Fixing it right now... |
Beta Was this translation helpful? Give feedback.
-
Done. Sorry about that. Try it out. |
Beta Was this translation helpful? Give feedback.
-
The workaround was to compile with MODULES_BUILD_STATIC, nothing else. |
Beta Was this translation helpful? Give feedback.
-
Ah yes, the static thing is also mentioned in README. |
Beta Was this translation helpful? Give feedback.
-
Yay, cool, had missed the part about build static, no worries :)
Actually it's fine now. It's been more than usual but we always have snow so we are prepared. There have been tractors driving around here all day shoveling snow and the street is clear now, got my car free too. The rest of my driveway is pretty oversnowed though :D Happy to see you here Tim, how is it going over there? |
Beta Was this translation helpful? Give feedback.
-
We finally got snow, and lots of it. And now finally the temperature has dropped for a few days. |
Beta Was this translation helpful? Give feedback.
-
I found the problem. The rtaudio package on Ubuntu 16.04 is missing the .pc file that pkg-config needs to identify it. I updated the action - it now installs a newer rtaudio (from 18.04) that has the .pc file, so the support should be there in the latest appimage. |
Beta Was this translation helpful? Give feedback.
-
Not sure when it changed but on my system I experience sluggishness with certain operations, like launching synths.
I was going to to have another look at saturnin51s issues from the forum and I discovered that starting fluidsynth takes several seconds and before it was instantaneous.
I first blamed my system but it turned out I have an old build of muse4 (I think it is pre1) and it starts fluidsynth instantly.
Have you guys noticed anything similar?
Beta Was this translation helpful? Give feedback.
All reactions