[Linux arch] Broken synth window

• Jan 4, 2015 - 22:46
Type
Functional
Severity
S4 - Minor
Status
closed
Project

If I try to open the synthesizer settings window with MS 2.0 git under Arch Linux, I just get a 'empty' (junk-filled) window with no visible or usable controls.


Comments

No - at least nothing that seemed to relate to fluidsynth or whatever.

I do get a few messages when I start it from the terminal but they appear even if I don't open the synth window. I can't provide that output now as I don't have my laptop to hand.

I'm going to try building 2.0 under Ubuntu 14.04 tonight to see if that has the same issue.

Does it work for you (if you're running Linux)?

yes, it runs for me on (k)ubuntu.
There is something special with the synth window: it uses qml scripts and needs the QtQuickWidgets packet.

This issue is most likely being caused by the fact that doing a 'make install' of MS git under Arch fails like this:

----------------------------

-- Up-to-date: /usr/local/share/mscore-2.0/wallpaper/paper5.png
CMake Error at share/locale/cmake_install.cmake:36 (file):
file INSTALL cannot find
"/home/dan/src/MuseScore/share/locale/mscore_af.qm".
Call Stack (most recent call first):
share/cmake_install.cmake:43 (include)
cmake_install.cmake:45 (include)

Makefile:56: recipe for target 'install/strip' failed
make[1]: *** [install/strip] Error 1
make[1]: Leaving directory '/home/dan/src/MuseScore/build.release'
Makefile:92: recipe for target 'install' failed
make: *** [install] Error 2

----------------------------
So I don't think all the files are getting installed.

Another part of the 'make install' output that looks dodgy is this:
----------------------------

Up-to-date: /usr/local/share/mscore-2.0//plugins
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/colornotes.qml
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/createscore.qml
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/helloqml
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/helloqml/helloqml.qml
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/helloqml/translations
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/helloqml/translations/locale_de.qm
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/helloqml/translations/locale_de.ts
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/notenames.qml
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/panel.qml
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/random.qml
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/random2.qml
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/run.qml
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/scorelist.qml
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/view.qml
-- Up-to-date: /usr/local/share/mscore-2.0//plugins/walk.qml
----------------------------

Note the double slashes before plugins.

I was wrong about there not being any fluidsynth errors- I was getting these errors:

----------------------------

Fluid: sf FluidR3Mono_GM.sf3 not found
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
ChordList::read failed:
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile

----------------------------

but after doing a

cp ~/src/MuseScore/share/sound/R3Mono_GM.sf3 /usr/local/share/mscore-2.0/sound

Which fixes the missing sf3 (sf3?) error, the synth window still fails to work.

I've just done a git pull now (as I compiled MS yesterday) but I see mscore_af.qm is still missing and I don't see any changes to the Makefile.

Have you don't a "make lrelease" (note the "l")? I believe that's required for the "qm" files. My understanding is that you need to make all, lrelease, and install in order to have a valid build, then you need to run the copy of binary produced at the install step, from that install folder - *not* from your build folder. That would explain why you can't find the soundfont, at least.

I now have MS git installing without any errors but the synth window still fails to display.

It seems that with a mininal Arch Qt5 install (qt5-base) is enough to get MS to compile but for it to successfully 'make install' I had to install some more qt5 packages. I think it was qt5-tools I had to install to fix 'make install'.

Now, when I start MS I only get the error:

libpng warning: iCCP: known incorrect sRGB profile

Maybe the synth window / QML uses libpng? There is more on that error here:

https://wiki.archlinux.org/index.php/Libpng_errors

OK so its prob nothing to do with libpng as I fixed the

libpng warning: iCCP: known incorrect sRGB profile

errors at startup by running

find . -name "*.png" -print0 | while read -d $'\0' file; do convert "$file" -strip "$file"; done

On the git tree, recompiling and re-installing, although I suspect just re-installing the profile-stripped png files would've been enough.

However, I still cannot see the synth window. Now, the only message I get when I run mscore is

score not in list

Hi Marc

I have tried resizing the synth window and enabling various plugins but it hasn't made any difference.

It looks like I have the qml stuff installed - I've got qmlviewer and various other qml apps installed and they seem to run OK but if there is a specific test you want me to try, let me know.

On my system i get the following "effect": the synth window works as expected but when i exit mscore i get a crash+core dump. This only happens when i opened the synth window. So there is also on my system a problem with this window.
Unfortunately the crash happens outside of main() on a very low system level without a usable stack track :(

Werner, I don't know if it's related to this fix, but after a factory reset (under Windows 8.1u1 64bit) the plugin manager no longer lists any plugins available to load. Everything is empty, and plugins are available under the Plugins folder.

clp130.png

Attachment Size
clp130.png 10.77 KB

Hi Werner!

Your patch has fixed the synth window under Arch - I can see its content now but there is a lot of unnecessary space surrounding the VU meter and (volume?) slider that are displayed to the right-hand side of the synth window making the window horizontally much wider than it needs to be.

When thats fixed I think we can prob close this bug.

Thanks!

the window size is persistent. Simple make it smaller and it will be remembered next start of MuseScore.

I guess you have a bad size from a a previous failed run.

Status (old) active closed

Ah right! Yes, I did try resizing the window hoping that may fix the display. I didn't realise it would persist.

This is a non-bug now then - thanks!