musscore 3.6.2 dysfunctional on arch linux

• Mar 29, 2021 - 11:00

I cannot get musescore to run on my arch linux install.

upon, booting, the startcenter loads normally, but the musescore main window appears much to big and fails to load any textures properly. I also outputs a long string of error messages:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
OpenType support missing for "Lohit Hindi", script 11
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 676, resource id: 14680613, major code: 40 (TranslateCoords), minor code: 0
qrc:/qml/palettes/PaletteTree.qml:772:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
qrc:/qml/palettes/PalettesWidgetHeader.qml:225:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
fish: Job 1, 'sudo mscore' terminated by signal SIGTERM (Polite quit request)

Comments

In reply to by Jojo-Schmitz

Fish is simply part of my terminal. It doesn't interact with musescore aside from delivering the error messages to my knowledge.

I only ran sudo on a hunch that maybe musescore couldn't access a file or something silly. I forgot to not to this when I ran it to get the output I posted here

Indeed, you should not normally be running MuseScore with sudo, that could be the problem right there. But also, I don't see the output I expect to see from the supported AppImage build of MuseScore - you should see two lines telling you where it is loading a couple of specific libraries from. So my guess is you are using some unsupported third party build. These are generally known to often not work well - building MsueScore is a complex process and it seems a lot of third parties get some detail wrong or other that ends up causing problems. Better to use the supported AppImage you get from this site.

In reply to by Marc Sabatella

Running the official appimage with or without sudo yielded similar results. I tried these other seemingly random things to see if they would fix it by pure luck. They did not.

I have included with this response a screen captiure of what the issue looks like along with the console output when running the official appimage non sudo

/usr/lib/libjack.so.0
/usr/lib/libnss3.so
Initializing sequencer and audio driver…
Loading SoundFonts…
Initializing workspace…
Creating main window…
Reading translations…
Initializing main window…
Restoring session…
Loading scores…
Initializing start center…
[802241:802289:0331/043502.835446:ERROR:backend_impl.cc(1394)] Unable to map Index file
js: Mixed Content: The page at 'https://connect2.musescore.com/?version=3.6.2.548021370' was loaded over HTTPS, but requested an insecure image 'http://i3.ytimg.com/vi/qLR40BGNy68/hqdefault.jpg'. This content should alsobe served over HTTPS.
js: Mixed Content: The page at 'https://connect2.musescore.com/?version=3.6.2.548021370' was loaded over HTTPS, but requested an insecure image 'http://i3.ytimg.com/vi/XGo4PJd1lng/hqdefault.jpg'. This content should alsobe served over HTTPS.
js: Mixed Content: The page at 'https://connect2.musescore.com/?version=3.6.2.548021370' was loaded over HTTPS, but requested an insecure image 'http://i3.ytimg.com/vi/E12CZH9VJFw/hqdefault.jpg'. This content should alsobe served over HTTPS.
/tmp/.mount_MuseScdqIFMw/AppRun: line 26: 802241 Segmentation fault      (core dumped) "${APPDIR}/bin/mscore-portable" "$@"

attempt 2

/usr/lib/libjack.so.0
/usr/lib/libnss3.so
Initializing sequencer and audio driver…
Loading SoundFonts…
Initializing workspace…
Creating main window…
Reading translations…
Initializing main window…
Restoring session…
Loading scores…
Initializing start center…
js: Mixed Content: The page at 'https://connect2.musescore.com/?version=3.6.2.548021370' was loaded over HTTPS, but requested an insecure image 'http://i3.ytimg.com/vi/qLR40BGNy68/hqdefault.jpg'. This content should alsobe served over HTTPS.
js: Mixed Content: The page at 'https://connect2.musescore.com/?version=3.6.2.548021370' was loaded over HTTPS, but requested an insecure image 'http://i3.ytimg.com/vi/XGo4PJd1lng/hqdefault.jpg'. This content should alsobe served over HTTPS.
js: Mixed Content: The page at 'https://connect2.musescore.com/?version=3.6.2.548021370' was loaded over HTTPS, but requested an insecure image 'http://i3.ytimg.com/vi/E12CZH9VJFw/hqdefault.jpg'. This content should alsobe served over HTTPS.
QXcbConnection: XCB error: 3 (BadWindow), sequence: 1025, resource id: 14680661, major code: 40 (TranslateCoords), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 1292, resource id: 14680666, major code: 40 (TranslateCoords), minor code: 0
QMutex: destroying locked mutex
QObject::disconnect: No such slot Ms::MyWebView::stopBusy(bool)
Attachment Size
Screenshot_3.png 135.62 KB

In reply to by JustMike05

this:
[802241:802289:0331/043502.835446:ERROR:backend_impl.cc(1394)] Unable to map Index file
does not stem from MuseScore, MuseScore doesn't have a backend_impl.cc in its sources.
The js messages after that stem from MuseScore's start center, use -w to disable it.

In reply to by Jojo-Schmitz

Here is the output from using the debug flag. I am not using a TV, but i am using a decently large 27inch 1440p monitor

╰─λ ./Desktop/MuseScore-3.6.2.548021370-x86_64.AppImage -d
/usr/lib/libjack.so.0
/usr/lib/libnss3.so
Initializing sequencer and audio driver…
Loading SoundFonts…
Initializing workspace…
Creating main window…
Reading translations…
Initializing main window…
Restoring session…
Loading scores…
Initializing start center…
js: Mixed Content: The page at 'https://connect2.musescore.com/?version=3.6.2.548021370' was loaded over HTTPS, but requested an insecure image 'http://i3.ytimg.com/vi/qLR40BGNy68/hqdefault.jpg'. This content should alsobe served over HTTPS.
js: Mixed Content: The page at 'https://connect2.musescore.com/?version=3.6.2.548021370' was loaded over HTTPS, but requested an insecure image 'http://i3.ytimg.com/vi/XGo4PJd1lng/hqdefault.jpg'. This content should alsobe served over HTTPS.
js: Mixed Content: The page at 'https://connect2.musescore.com/?version=3.6.2.548021370' was loaded over HTTPS, but requested an insecure image 'http://i3.ytimg.com/vi/E12CZH9VJFw/hqdefault.jpg'. This content should alsobe served over HTTPS.
/tmp/.mount_MuseScV7PceW/AppRun: line 26: 22756 Killed                  "${APPDIR}/bin/mscore-portable" "$@"

In reply to by JustMike05

As far as I can tell those are just normal warnings. Can you be more specific about what actually goes wrong? You mention something about "textures" but I don't know what those are. If the window is too big for your taste, you can resize it. maybe you really mean the contents are too big? That would generally mean the system is not report your display resolution properly, so try specifying it manually via "-D xxx", where "xxx" is the actual resolution in DPI.

In reply to by Marc Sabatella

Yes, sorry if I was to vague. I will include some screenshots to hopefully show what is happening.

In words, when I launch the appimage, the start center appears normal, but the main windows is basically 2 colors and the entire screen acts as a "new score" button. If I try to change the window size, it becomes solid grey, but still acts as a big "new score" button.

additionally, when I try to make a new score, the selection of key signatures does not appear.

I will try to -D flag and, if it works, I will reply here.

Attachment Size
Screenshot_4.png 133.84 KB
Screenshot_5.png 317.9 KB

In reply to by Marc Sabatella

specifying the DPI worked perfectly. Thank you so much for your help. I hope my screen shots and descriptions will be able to help future people with this problem.

Just in case it may help others , I was using Garuda linux (an arch based version) on a 1440p 27 inch display.

I hope this may help diagnose the problems for other who have it.

Do you still have an unanswered question? Please log in first to post your question.