MuseScore
MuseScore copied to clipboard
[MU4 Issue] No sound on linux
I am trying MuseScore 4 on an uptodate Fedora 35 x86_64 linux machine. I have no sound at all:
- no sound when placing a note on the score
- no sound when trying to play the score. Furthermore, when a score is played, the notes being played are supposed to be highlighted, and the highlighting is supposed to be moving through the score. With MuseScore 4, there is no sound, the first note is highlighted, and the highlighting isn't moving: it remains on the first note that should have been played.
This behaviour occurs with the pre-alpha built, and the latest nightly:
- MuseScore-4.0.0.2059995262-x86_64.AppImage
- MuseScoreNightly-202204160416-master-8b45a35-x86_64.AppImage
Playback works correctly with MuseScore 3, both the version packaged with fedora, and the latest nightly
- mscore-3.6.2-5.fc35.x86_64
- MuseScoreNightly-202204160418-3.x-2513676-x86_64.AppImage
In the rest of this bug report, I copy the log of the pre-alpha built while commenting what I do.
** I start with a clean state: ** % rm -rf ~/.config/MuseScore/MuseScore4.ini ~/.local/share/MuseScore/MuseScore4 ** And launch Musescore: ** % ./MuseScore-4.0.0.2059995262-x86_64.AppImage
/usr/lib64/pipewire-0.3/jack/libjack.so.0 /lib64/libnss3.so QEventLoop: Cannot be used without QApplication QEventLoop: Cannot be used without QApplication 12:09:01.317 | INFO | main_thread | GlobalModule | onInit: log path: /home/eric/.local/share/MuseScore/MuseScore4/logs/MuseScore_220417_120901.log 12:09:01.317 | INFO | main_thread | GlobalModule | onInit: === Started MuseScore 4.0.0, build number 2059995262 === 12:09:01.409 | INFO | main_thread | DiagnosticsModule | onInit: success start crash handler 12:09:01.580 | WARN | main_thread | Qt | QIODevice::read (QFile, "/home/eric/.local/share/MuseScore/MuseScore4/shortcuts.xml"): device not open 12:09:01.580 | WARN | main_thread | Qt | QIODevice::read (QFile, "/home/eric/.local/share/MuseScore/MuseScore4/midi_mappings.xml"): device not open 12:09:02.163 | ERROR | main_thread | WorkspaceManager | findWorkspaceFiles: [401] The file does not exist 12:09:02.163 | WARN | main_thread | WorkspaceManager | setupDefaultWorkspace: not found default workspace, will be created new 12:09:02.164 | ERROR | main_thread | PluginsConfiguration | updatePluginsConfiguration: [401] The file does not exist 12:09:02.293 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:09:02.293 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:09:02.294 | ERROR | main_thread | IpcServer | listen: failed listen: "QLocalServer::listen: Address in use" 12:09:02.294 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:09:03.754 | ERROR | main_thread | AppShellConfiguration | sessionProjectsPaths: [401] The file does not exist 12:09:04.927 | ERROR | 139816989603392 | LanguagesConfiguration | languages: [401] The file does not exist 12:09:04.930 | WARN | 139816989603392 | Qt | QObject::connect: Cannot queue arguments of type 'QLocalSocket::LocalSocketError' (Make sure 'QLocalSocket::LocalSocketError' is registered using qRegisterMetaType().) 12:09:04.931 | WARN | 139816989603392 | IpcSocket | connect: failed connect to server 12:09:04.931 | WARN | 139816989603392 | IpcSocket | connect: failed connect to server 12:09:04.931 | ERROR | 139816989603392 | IpcServer | listen: failed listen: "QLocalServer::listen: Address in use" 12:09:04.931 | WARN | 139816989603392 | IpcSocket | connect: failed connect to server 12:09:04.931 | WARN | 139816989603392 | Qt | QIODevice::write (QLocalSocket): device not open 12:09:04.931 | WARN | 139816989603392 | Qt | QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState 12:09:04.932 | ERROR | 139816989603392 | ipc | writeToSocket: failed write to socket, err: "QLocalSocket::connectToServer: Socket access error" ** ** At this points, there are two open windows: the greyed-out main musescore window, and a small ** "Getting started", "Welcome to Musescore 4" window. Furthermore, in the audio volume applet, I see ** an audio playing app registered as "ALSA-plug-in [mscore-portable]". (Side note: fedora uses ** pulseaudio, but this is supposed to be compatible with ALSA.) ** I checked, of course, that this is not muted and that volume is at 100%. ** ** I now click on "Next" in the "Getting started" windows to select the "light" theme. The "Getting started" ** windows asks me about playback. There is a large "Placeholder" image, and it suggests me to download ** the" Muse symphony Orchestra library". However, the download button does nothing at all (no effect, no new ** log line). Is this a bug? Is it supposed to work yet? I don't know and I click on "Next". ** ** The last part of getting started informs me of video tutorial. I click on "Finish". New log lines; ** 12:17:24.546 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:17:24.546 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:17:24.547 | ERROR | main_thread | IpcServer | listen: failed listen: "QLocalServer::listen: Address in use" 12:17:24.547 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:17:24.547 | WARN | main_thread | Qt | QIODevice::write (QLocalSocket): device not open 12:17:24.547 | WARN | main_thread | Qt | QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState 12:17:24.547 | ERROR | main_thread | ipc | writeToSocket: failed write to socket, err: "QLocalSocket::connectToServer: Socket access error" 12:17:24.547 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:17:24.548 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:17:24.548 | ERROR | main_thread | IpcServer | listen: failed listen: "QLocalServer::listen: Address in use" 12:17:24.548 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:17:24.548 | WARN | main_thread | Qt | QIODevice::write (QLocalSocket): device not open 12:17:24.548 | WARN | main_thread | Qt | QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState 12:17:24.548 | ERROR | main_thread | ipc | writeToSocket: failed write to socket, err: "QLocalSocket::connectToServer: Socket access error" 12:17:24.549 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:17:24.549 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:17:24.549 | ERROR | main_thread | IpcServer | listen: failed listen: "QLocalServer::listen: Address in use" 12:17:24.549 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:17:24.549 | WARN | main_thread | Qt | QIODevice::write (QLocalSocket): device not open 12:17:24.550 | WARN | main_thread | Qt | QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState 12:17:24.550 | ERROR | main_thread | ipc | writeToSocket: failed write to socket, err: "QLocalSocket::connectToServer: Socket access error"
** In the main musescore window, I click "Scores", then "New". The "New Score" window appears and:
12:18:29.492 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: file-new 12:18:29.619 | ERROR | main_thread | AppShell | run: error: qrc:/qml/MuseScore/Project/internal/KeySignatureSettings.qml:118:13: QML KeySignatureListView: Binding loop detected for property "rows" 12:18:29.620 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Project/internal/KeySignatureSettings.qml:118:13: QML KeySignatureListView: Binding loop detected for property "rows"
** I choose to put a Violin (I have tried other instruments in other sessions), and click "Done". The main window is ** active with the new score.
12:20:29.314 | ERROR | main_thread | AppShellConfiguration | sessionProjectsPaths: [401] The file does not exist 12:20:29.315 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:20:29.315 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:20:29.315 | ERROR | main_thread | IpcServer | listen: failed listen: "QLocalServer::listen: Address in use" 12:20:29.315 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:20:29.315 | WARN | main_thread | Qt | QIODevice::write (QLocalSocket): device not open 12:20:29.316 | WARN | main_thread | Qt | QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState 12:20:29.316 | ERROR | main_thread | ipc | writeToSocket: failed write to socket, err: "QLocalSocket::connectToServer: Socket access error" 12:20:29.379 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:20:29.380 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:20:29.380 | ERROR | main_thread | IpcServer | listen: failed listen: "QLocalServer::listen: Address in use" 12:20:29.380 | WARN | main_thread | IpcSocket | connect: failed connect to server 12:20:29.380 | WARN | main_thread | Qt | QIODevice::write (QLocalSocket): device not open 12:20:29.380 | WARN | main_thread | Qt | QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState 12:20:29.380 | ERROR | main_thread | ipc | writeToSocket: failed write to socket, err: "QLocalSocket::connectToServer: Socket access error" 12:20:29.662 | ERROR | 139818259252800 | SynthResolver | resolveSynth: invalid audio source params for trackId: 0 12:20:29.798 | INFO | 139818259252800 | FluidSynth | addSoundFonts: success load soundfont: /tmp/.mount_MuseScKeTjRu/share/mscore-portable-4.0/sound/MuseScore_General.sf3 12:20:35.901 | ERROR | 139818259252800 | SynthResolver | resolveSynth: invalid audio source params for trackId: 1 12:20:36.016 | INFO | 139818259252800 | FluidSynth | addSoundFonts: success load soundfont: /tmp/.mount_MuseScKeTjRu/share/mscore-portable-4.0/sound/MuseScore_General.sf3
** I click the little pencil to enter new notes
12:21:31.090 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: note-input-steptime
** and enter four notes. I have a line of log for each note. No sound at all.
12:22:11.216 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: put-note 12:22:12.653 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: put-note 12:22:14.654 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: put-note 12:22:16.170 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: put-note
** I click The Play button (small triangle) in the toolbar. The last note gets highlighted, no sound, and:
12:23:39.756 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: play
** I click the pause button
12:23:44.153 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: play
** I click the "Rewind" button
12:24:44.901 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: rewind
** and the play button again. The first note gets highlighted, there is no sound, the highlighting does not move and again the same line in the log.
12:25:15.816 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: play
** etc...
I tried to look a bit into this; I cloned the project [c97f0707] and dove into the code.
The problem occurs in src/framework/audio/internal/platform/lin/linuxaudiodriver.cpp
around the call to snd_pcm_writei()
in alsaThread()
: the second call to snd_pcm_writei()
never returns.
I found this by modifying this file:
--- a/src/framework/audio/internal/platform/lin/linuxaudiodriver.cpp
+++ b/src/framework/audio/internal/platform/lin/linuxaudiodriver.cpp
@@ -60,14 +60,17 @@ static void* alsaThread(void* aParam)
return nullptr;
}
+ unsigned limit=10; // nb of times I want to log snd-pcm_writei
while (!data->audioProcessingDone)
{
uint8_t* stream = (uint8_t*)data->buffer;
int len = data->samples * data->channels * sizeof(float);
data->callback(data->userdata, stream, len);
-
+ if (limit) fprintf(stderr,"#### calling snd-pcm_writei with 3rd arg = %u...",data->samples);
snd_pcm_sframes_t pcm = snd_pcm_writei(data->alsaDeviceHandle, data->buffer, data->samples);
+ if (limit) fprintf(stderr,"done!; return value =%ld\n",pcm);
+ if (limit) limit--;
if (pcm != -EPIPE) {
} else {
snd_pcm_prepare(data->alsaDeviceHandle);
Then, when I launch musescore, my logs usually start with
QEventLoop: Cannot be used without QApplication
QEventLoop: Cannot be used without QApplication
14:24:40.927 | INFO | main_thread | GlobalModule | onInit: log path: /home/eric/.local/share/MuseScore/MuseScore4Development/logs/MuseScore_220420_142440.log
14:24:40.927 | INFO | main_thread | GlobalModule | onInit: === Started MuseScore 4.0.0-Development, build number 12345678 ===
14:24:40.937 | INFO | main_thread | DiagnosticsModule | onInit: success start crash handler
14:24:40.985 | WARN | main_thread | Qt | QIODevice::read (QFile, "/home/eric/.local/share/MuseScore/MuseScore4Development/shortcuts.xml"): device not open
14:24:40.986 | WARN | main_thread | Qt | QIODevice::read (QFile, "/home/eric/.local/share/MuseScore/MuseScore4Development/midi_mappings.xml"): device not open
#### calling snd-pcm_writei with 3rd arg = 1024...
#### snd-pcm_writei returned 1024
#### calling snd-pcm_writei with 3rd arg = 1024...
14:24:41.297 | ERROR | main_thread | PluginsConfiguration | updatePluginsConfiguration: [401] The file does not exist
14:24:41.351 | WARN | main_thread | IpcSocket | connect: failed connect to server
...
Notice that the second call to snd_pcm_writei never returned! Of course, there is no sound.
I said usually because I saw it working a small number of times. The bug is not deterministic, there must be some race error somewhere. In fact, it seems that I can make it more likely to work if I strace musescore; then I have something like:
% strace -f -o strace.out ./build.install/bin/mscore
QEventLoop: Cannot be used without QApplication
QEventLoop: Cannot be used without QApplication
14:32:33.464 | INFO | main_thread | GlobalModule | onInit: log path: /home/eric/.local/share/MuseScore/MuseScore4Development/logs/MuseScore_220420_143233.log
14:32:33.464 | INFO | main_thread | GlobalModule | onInit: === Started MuseScore 4.0.0-Development, build number 12345678 ===
14:32:33.505 | INFO | main_thread | DiagnosticsModule | onInit: success start crash handler
14:32:33.740 | WARN | main_thread | Qt | QIODevice::read (QFile, "/home/eric/.local/share/MuseScore/MuseScore4Development/shortcuts.xml"): device not open
14:32:33.741 | WARN | main_thread | Qt | QIODevice::read (QFile, "/home/eric/.local/share/MuseScore/MuseScore4Development/midi_mappings.xml"): device not open
#### calling snd-pcm_writei with 3rd arg = 1024...
#### snd-pcm_writei returned 1024
#### calling snd-pcm_writei with 3rd arg = 1024...
#### snd-pcm_writei returned 1024
#### calling snd-pcm_writei with 3rd arg = 1024...
#### snd-pcm_writei returned 1024
#### calling snd-pcm_writei with 3rd arg = 1024...
#### snd-pcm_writei returned 1024
#### calling snd-pcm_writei with 3rd arg = 1024...
#### snd-pcm_writei returned 1024
#### calling snd-pcm_writei with 3rd arg = 1024...
#### snd-pcm_writei returned 1024
#### calling snd-pcm_writei with 3rd arg = 1024...
#### snd-pcm_writei returned 1024
#### calling snd-pcm_writei with 3rd arg = 1024...
#### snd-pcm_writei returned 1024
#### calling snd-pcm_writei with 3rd arg = 1024...
#### snd-pcm_writei returned 1024
#### calling snd-pcm_writei with 3rd arg = 1024...
#### snd-pcm_writei returned 1024
14:32:34.183 | ERROR | main_thread | PluginsConfiguration | updatePluginsConfiguration: [401] The file does not exist
14:32:34.323 | WARN | main_thread | IpcSocket | connect: failed connect to server
14:32:34.324 | WARN | main_thread | IpcSocket | connect: failed connect to server
... and sound is working.
I don't know how to debug this further, as I don't know anything about alsa. What could make snd_pcm_writei()
hang? Any suggestion on how to debug this?
By the way, Musescore 3 was a native pulseaudio application, while Musescore 4 only use the Alsa layer, which is a bit outdated. Is there any reason for that?
@EB2000 thanks for logging Try changing the audio output device. If the problem is in the audio device - write what device you are using. Experiment with your environment because the problem is not reproducible on my Ubuntu. If you find something interesting please let me know.
Sorry, such problems are solved only by collecting information.
I also have this issue. If it helps in terms of audio server, I'm running Pipewire (with Pulse compatibility). In terms of changing audio device, the only thing I could find was this, in the I/O menu, which only had the selected options (of course it's possible I just totally blanked a menu option 😅).
For reference, the relevant packages:
alsa-lib-1.2.6.1-3.fc35.x86_64
pulseaudio-libs-15.0-2.fc35.x86_64
alsa-plugins-pulseaudio-1.2.6-1.fc35.x86_64
I tried to play with the sound configuration as suggested, but it did not help. I tried to see if there were environment variables, or configuration files relevant to sound, but I didn't find any. The problem is either in musescore or in the alsa layer above pulseaudio. Sound works perfectly well with other applications, and it sometimes work with musescore 4 (when I strace the process...)
On my end the relevant packages are:
alsa-lib-1.2.6.1-x86_64-1
alsa-plugins-1.2.6.1-x86_64-1
pipewire-0.3.50-x86_64-1
pulseaudio-15.0-x86_64-4
wireplumber-0.4.9-x86_64-1
Sound works perfectly for all other applications here too.
Ok, I have a lead.
I didn't realize it, but fedora dropped recently the PulseAusio sound server, and installed instead pipewire, with the pipewire-pulseaudio package ensuring compatibility.
I have deinstalled pipewire-pulseaudio and installed pulseaudio instead. After restarting the daemons, MuseScore 4 now seems to be working. @MurdoMaclachlan, could you check? Is your sound server pulseaudio, or pipewire-pulseaudio? In the latter case, does switching to pulseaudio fix the problems?
I have made a bug-report with pipewire; for reference: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2319
No, I spoke too fast. I must have been lucky, it worked three times in a row with pulseaudio. But when I tried later on, I couldn't start it again with sound.
Since, I have reinstalled pipewire and, after trying about ten times, I got it to work once.
So, it is just that, from time to time, it randomly works. Probably nothing to do with pulseaudio/pipewire.
Can you check to see if #11324 fixes this?
Hi, I have just tried master (0aceb6c) which contains the fix ecaeffc mentioned in bug report https://github.com/musescore/MuseScore/pull/11324, but unfortunately my problem is still present.
I had the same problem, try running aplay --list-devices --list-pcms
Find the 'default' device in the list (since musescore attempts to open 'default') it should look like
default Default ALSA Output (currently PipeWire Media Server)
For me on arch linux it didn't work until uninstalling pulseaudio-alsa which removes /etc/alsa/conf.d/99-pulseaudio-default.conf
maybe see what package owns this file on fedora. Before uninstalling the above would show something like currently Pulseaudio Media Server
Hmm, indeed I currently have in the output of the aplay
command:
default
Default ALSA Output (currently PulseAudio Sound Server)
The file /etc/alsa/conf.d/99-pulseaudio-default.conf
is owned by the alsa-plugins-pulseaudio
package on fedora. When I remove that package, I know have, from aplay:
default
Default ALSA Output (currently PipeWire Media Server)
... and sound is working with Musescore 4!
Still, the alsa-plugins-pulseaudio
package in firefox (and, I guess pulseaudio-alsa
on arch) are installed by default by the distribution. Is it reasonable to ask musescore users to remove some packages from the default install?
Another question is why does musescore 4 talks to the antiquated alsa interface, while musescore 3 was able to talk directly to pulseaudio/jack/etc. ?
Thanks anyway for the work-around! Now I'd like to try to have some VST running in linux...
On my system there is a 99-pulseaudio-default.conf.example
, but no actual in-use 99-pulseaudo-default.conf
. Running aplay --list-devices --list-pcms
doesn't show any default
entry at all. 🤔
Finally got this workaround working.
It turns out on my system, there was an /usr/share/alsa/alsa.conf.d/50-pipewire.conf
and /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf
that were missing links in etc/asla/conf.d
.
On adding those links, aplay --list-devices --list-pcms
started giving errors, until I removed (or more accurately, renamed to add a .bak
in case it went wrong) /etc/.asound.conf
. Following that, I have the default entry showing PipeWire, and MuseScore 4 sound works!
I definitely agree with this:
Is it reasonable to ask musescore users to remove some packages from the default install?
And would like to add that, even on a distribution that didn't have alsa-plugins-pulseaudio
as a default package, I still had to go through a lot of fiddling and errors to get this working.
I don't think it's at all reasonable that the program requires that much messing around to get the sound working, especially when MuseScore 3 worked out of the box.
Is this problem persisting in the latest nightly?
I am having this issue running the release version AppImage. I am assuming my issue is related / the same issue as I am running the pipewire audio server with ALSA compat and PulseAudio compat.
If I go straight into Preferences > I/O > Audio
I get as follows:
There is no separate options under any of these menus apart from Buffer Size
And clicking on Buffer Size
gives me these options:
However, clicking on any of these options crashes the program.
Click here for logs after program crash
mscore4portable: pcm.c:1347: snd_pcm_drain: Assertion `pcm' failed.
[15910:15910:20221216,204808.928713:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.929465:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.929482:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e82a44000
[15910:15910:20221216,204808.929552:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.929563:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e827fe000
[15910:15910:20221216,204808.929740:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.929751:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e827f6000
[15910:15910:20221216,204808.929925:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.929936:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e827f0000
[15910:15910:20221216,204808.929998:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.930076:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e81c7f000
[15910:15910:20221216,204808.930175:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.930219:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e827ea000
[15910:15910:20221216,204808.930297:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.930308:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e81c69000
[15910:15910:20221216,204808.930395:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.930405:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e827e2000
[15910:15910:20221216,204808.930462:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.930472:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e818bb000
[15910:15910:20221216,204808.930527:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.930537:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e818af000
[15910:15910:20221216,204808.930595:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.930605:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e821b3000
[15910:15910:20221216,204808.930661:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.930671:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e818a0000
[15910:15910:20221216,204808.930727:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.930736:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e81543000
[15910:15910:20221216,204808.930792:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.930801:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e81880000
[15910:15910:20221216,204808.930856:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.930866:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e8152d000
[15910:15910:20221216,204808.931379:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.931390:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e80bfb000
[15910:15910:20221216,204808.931559:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.931570:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e7f9fb000
[15910:15910:20221216,204808.931626:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.931636:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e80b86000
[15910:15910:20221216,204808.931689:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.931699:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e80b5c000
[15910:15910:20221216,204808.932410:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.936411:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.936545:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.936666:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.936826:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.936888:ERROR elf_image_reader.cc:116] no preferred header address
[15910:15910:20221216,204808.936898:ERROR process_reader_linux.cc:520] no module mappings 0x7f5e7b624000
[15910:15910:20221216,204808.939771:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.939940:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.940183:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.940272:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.940356:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.940439:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.940521:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.940602:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.940681:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.940761:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.940838:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.940918:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.940994:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.941069:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.941141:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.941233:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.941316:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.941396:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.941473:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.941544:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.941618:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.941696:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.941770:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.941851:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.941922:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.942506:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.942578:ERROR elf_dynamic_array_reader.h:61] tag not found
[15910:15910:20221216,204808.942653:ERROR elf_dynamic_array_reader.h:61] tag not found
/tmp/.mount_MuseScGQInfT/AppRun: line 26: 15900 Aborted "${APPDIR}/bin/mscore4portable" "$@"
Any steps you would like me to take for more information, please just ask.
For me removing ~/.asoundrc
just fixed musescore playback. It specified jack as default and aplay --list-devices --list-pcms
now also lists a default
entry, whereas before I only had a sysdefault
.
Have not had any problems with other stuff not working before IIRC, both while on JACK (bridged to pulse) and plain pulseaudio.
If it helps anyone, I found I had to set a default ALSA card according to this: https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture#Setting_the_default_sound_card_via_defaults_node
Before setting the default, speaker-test -c 2
was giving an error. Afterwards, that command worked fine and MuseScore 4 started working.
some observations from trying to fix the openSUSE package:
- there is a finder for jack. but the only later reference i find for are in the intree copy for fluidsynth. but that seems to use different variable names. also the build never links with libjack.
-
./src/appshell/view/preferences/iopreferencesmodel.cpp
seems to iterate over a list of availble audio backends from./src/framework/audio/internal/audioconfiguration.cpp
and it seems that should have shown a widget to select the backend. - it seems installing the pipewire-alsa/pulseaudio-alsa seems to be a viable workaround for the time being.
- I seriously wonder why there is no native pulseaudio/pipewire support.
The same problem here, no sound on Ubuntu 22.04.1 LTS, with Pipewire 0.3.48. When I start Musescore I see "ALSA plug-in [mscore]" appear, properly connected to output, but no sound is heard. When I close Musescore, the above sound module sticks around, and I can only get rid of it by manually killing the mscore process.
This is the flatpack version of Musescore.
I had the same issue, running Ubuntu 22.04.1 LTS with Pipewire 0.3.48. The issue was linked to having the pulseaudio
package installed, which results in an ALSA output device for it being created; even if your system usually uses the PipeWire ALSA sink for playback, it seems that MuseScore 4 will use the PulseAudio sink, if it exists.
The solution is disabling the PulseAudio sink entirely, by following the instructions here:
mkdir /usr/share/alsa/alsa.conf.pulse/
dpkg-divert --divert /usr/share/alsa/alsa.conf.pulse/pulse.conf --rename /usr/share/alsa/alsa.conf.d/pulse.conf
dpkg-divert --divert /usr/share/alsa/alsa.conf.pulse/99-pulseaudio-default.conf.example --rename /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf.example
dpkg-divert --divert /usr/share/alsa/alsa.conf.pulse/50-pulseaudio.conf --rename /usr/share/alsa/alsa.conf.d/50-pulseaudio.conf
NOTE that you must also inspect /etc/alsa/conf.d
for broken links after doing this and remove any present. After doing so, log out and log back in again, and you should now get sound output via MuseScore 4.
(It would be neat if MS4 could actually let you choose the ALSA device it's using, in order to fix issues like these.)
If it helps anyone, I found I had to set a default ALSA card according to this: https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture#Setting_the_default_sound_card_via_defaults_node
Before setting the default,
speaker-test -c 2
was giving an error. Afterwards, that command worked fine and MuseScore 4 started working.
In my case, I had to create the ~/.asoundrc
file and put
defaults.pcm.card 2
defaults.ctl.card 2
there. Just like in your case, speaker-test -c 2
started working afterward. MuseScore works now too.
Thanks a lot, @lucasp
Updated Pipewire (PulseAudio (on PipeWire 0.3.66)) and reinstalled everything related to sound, and it now works for me.
As with others, setting default card in ~/.asoundrc
fixed the issue. Running on Ubuntu 22.10, with wayland, pipewire and pipewire-pulse.
Having done that, as soon as another application uses the sound system, it stops working and I have to do:
sudo /sbin/alsa force-reload
To get it working again. Note that this is not a MuseScore issue per se - it's an ALSA issue as I get the same problem with other ALSA tools (e.g. speaker-test
). See related issues: https://github.com/musescore/MuseScore/issues/15937 and https://github.com/musescore/MuseScore/issues/16667
I got this working by installing pulseaudio-alsa
.
Before that, speaker-test
was printing Playback open error: -112,Host is down
, similar to alsamixer
: cannot open mixer: Host is down
.
I have encountered the same issue on Linux Mint 21 (with an xfce4 desktop, to be specific, but that shouldn't matter). I have pipewire installed and used as the default client for PulseAudio, JACK, and ALSA. (I set up pipewire with the method in this tutorial: https://ubuntuhandbook.org/index.php/2022/04/pipewire-replace-pulseaudio-ubuntu-2204/)
Here's how I solved the problem:
cd /etc/alsa/conf.d
sudo rm 99-pulse.conf
By removing 99-pulse.conf
, the default output changed from PulseAudio to ALSA. This is confirmed by running
aplay --list-devices --list-pcms
and the following lines of output:
default
Default ALSA Output (currently PipeWire Media Server)
Before I removed 99-pulse.conf
, it says Default PulseAudio Output (currently PipeWire Media Server)
.
Also I need to mention that this only works for the AppImage version. I can't get the flatpak version to produce any sound.
Another report, where someone fixed it by switching from pulseaudio to pipewire: #18678
For me on Manjaro, Midi does not seem to work anymore. MuseSounds work just fine. I use pipewire and also have pipewire-alsa installed, but switching to pulseaudio or changing my .asoundrc config file did not help.
I have no devices to choose from in I/O in Musescore.
$USER@$host ~ $ mscore
21:26:23.692 | INFO | main_thread | GlobalModule | onPreInit: log path: $HOME/.local/share/MuseScore/MuseScore4/logs/MuseScore_230803_212623.log
21:26:23.692 | INFO | main_thread | GlobalModule | onPreInit: === Started MuseScore 4.1.1, build number ===
21:26:23.693 | WARN | main_thread | IpcSocket | connect: failed connect to server
21:26:23.693 | WARN | main_thread | IpcSocket | connect: failed connect to server
21:26:23.693 | INFO | main_thread | IpcSocket | connect: success connected to ipc server
21:26:23.693 | INFO | 140345331287744 | IpcServer | listen: id: "ea47bb6b2e284167a5259bc393f152f7"
21:26:23.739 | WARN | main_thread | DiagnosticsModule | onInit: crash handling disabled
21:26:23.748 | ERROR | main_thread | MuseSamplerLibHandler | MuseSamplerLibHandler: Unable to open MuseSampler library, path: $HOME/.local/share/MuseSampler/lib/libMuseSamplerCoreLib.so
21:26:23.748 | ERROR | main_thread | MuseSamplerResolver | checkLibrary: Incompatible MuseSampler library; ignoring
21:26:23.771 | WARN | main_thread | AbstractCloudService | readTokens: Could not find the tokens file: $HOME/.local/share/MuseScore/MuseScore4/musescorecom_cred.dat
21:26:23.771 | WARN | main_thread | AbstractCloudService | readTokens: Could not find the tokens file: $HOME/.local/share/MuseScore/MuseScore4/audiocom_cred.dat
21:26:24.315 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.315 | WARN | main_thread | Qt | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.316 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.316 | WARN | main_thread | Qt | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.316 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.316 | WARN | main_thread | Qt | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.317 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.317 | WARN | main_thread | Qt | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.317 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.317 | WARN | main_thread | Qt | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.317 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.317 | WARN | main_thread | Qt | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.318 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.318 | WARN | main_thread | Qt | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.318 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.318 | WARN | main_thread | Qt | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.319 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.319 | WARN | main_thread | Qt | qrc:/qml/MuseScore/UiComponents/FlatButton.qml:174:5: QML Loader: Binding loop detected for property "itemImplicitWidth"
21:26:24.833 | WARN | main_thread | AbstractMenuModel | makeMenuItem: not found action: Modal_Tuning
21:26:24.833 | WARN | main_thread | AbstractMenuModel | makeMenuItem: not found action: Temperaments
21:26:24.833 | WARN | main_thread | AbstractMenuModel | makeMenuItem: not found action: addCourtesyAccidentals
21:26:24.833 | WARN | main_thread | AbstractMenuModel | makeMenuItem: not found action: configCourtesyAccidentals
21:26:24.833 | WARN | main_thread | AbstractMenuModel | makeMenuItem: not found action: mirror-intervals-3
21:26:24.833 | WARN | main_thread | AbstractMenuModel | makeMenuItem: not found action: tuning
21:26:24.895 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: continue-last-session
21:26:26.042 | ERROR | main_thread | ScoreThumbnailLoader | loadThumbnail: Could not load thumbnail for "$HOME/Documents/MuseScore4/Scores/[…].mid" : [21] [21]
21:26:29.308 | ERROR | main_thread | UpdateScenario | doCheckForUpdate: Unable to check for update, error: [1701]
21:26:31.846 | WARN | main_thread | Qt | QQmlComponent: Created graphical object was not placed in the graphics scene.
21:26:32.807 | ERROR | 140344441218752 | FluidResolver | resolveSynth: Not found: MS Basic
21:26:32.807 | WARN | 140344441218752 | FluidSynth | init: No preset found on channel 0 [bank=0 prog=115]
21:26:32.807 | WARN | 140344441218752 | FluidSynth | init: No preset found on channel 0 [bank=0 prog=115]
21:26:32.910 | ERROR | 140344441218752 | FluidResolver | resolveSynth: Not found: MS Basic
21:26:32.910 | WARN | 140344441218752 | FluidSynth | init: No preset found on channel 0 [bank=0 prog=58]
21:26:32.910 | WARN | 140344441218752 | FluidSynth | init: No preset found on channel 0 [bank=0 prog=58]
21:26:33.243 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: preference-dialog
21:26:33.326 | ERROR | 140344441218752 | FluidResolver | resolveSynth: Not found: MS Basic
21:26:33.326 | WARN | 140344441218752 | FluidSynth | init: No preset found on channel 0 [bank=0 prog=60]
21:26:33.326 | WARN | 140344441218752 | FluidSynth | init: No preset found on channel 0 [bank=0 prog=60]
21:26:33.327 | WARN | 140344441218752 | FluidSynth | init: No preset found on channel 1 [bank=0 prog=60]
21:26:33.474 | ERROR | 140344441218752 | FluidResolver | resolveSynth: Not found: MS Basic
21:26:33.474 | WARN | 140344441218752 | FluidSynth | init: No preset found on channel 0 [bank=0 prog=60]
21:26:33.474 | WARN | 140344441218752 | FluidSynth | init: No preset found on channel 0 [bank=0 prog=60]
21:26:33.474 | WARN | 140344441218752 | FluidSynth | init: No preset found on channel 1 [bank=0 prog=60]
21:26:39.987 | INFO | main_thread | ActionsDispatcher | dispatch: try call action: quit
21:26:39.987 | WARN | main_thread | MuseSamplerResolver | clearSources: Not supported!!
21:26:39.987 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.987 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.987 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.987 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.987 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.987 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.987 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.987 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.988 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.988 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.988 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.988 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.988 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.988 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.988 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.988 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.988 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.988 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.988 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.988 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.988 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.988 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.988 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.988 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.988 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.988 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.988 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.988 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.988 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.988 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.988 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.988 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.989 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.989 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.990 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.990 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.990 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.990 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.990 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.990 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.990 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.990 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.990 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.990 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.990 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.990 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.990 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.990 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.990 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.990 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.990 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.990 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.990 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.990 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.990 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.990 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.990 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.990 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | WARN | main_thread | Qt | qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:106: TypeError: Cannot read property 'isActive' of null
21:26:39.991 | ERROR | main_thread | App | run: error: qrc:/qml/MuseScore/Playback/internal/AuxSendControl.qml:62: TypeError: Cannot read property 'audioSignalPercentage' of null
I solved this issue by dropping MS Basic.sf3
in the /usr/share/mscore-4.1/sound/
directory, which was missing from the regular installation using pacman
. Important to note that I am using pipewire
and have not tested this using pulseaudio
or any other sound servers.
I found this solution from this GitLab repo for the musescore4-no-sound-patch
AUR package. This file is in the musecore repo if you prefer to grab it from there.
It seems that the default soundfont is not included in the packaging for Arch and Arch-based distros, for whatever reason. Using the muse hub sounds is also not an option on Arch Linux anymore as muse-hub-bin
has since been removed from the AUR.
Is it possible that MUE_INSTALL_SOUNDFONT might not be enabled for Arch builds? This is just a guess as I am not familiar with CMake or the musescore build process.
UPDATE
As of this commit, MUE_INSTALL_SOUNDFONT
is re-enabled in the PKGBUILD. So, I imagine this issue will probably be solved for the majority of Arch users.
I am assuming you are using a third-party build like one from your distribution's repository. These do indeed often contain build errors. See https://github.com/musescore/MuseScore/issues/18749
The official AppImage from musescore.org is almost always the better choice for running MuseScore; it's the version built and tested internally, and can be installed and updated simply with the "install" and "update" command line options respectively.
I am assuming you are using a third-party build like one from your distribution's repository. These do indeed often contain build errors. See https://github.com/musescore/MuseScore/issues/18749
The official AppImage from musescore.org is almost always the better choice for running MuseScore; it's the version built and tested internally, and can be installed and updated simply with the "install" and "update" command line options respectively.
I tried the AppImage with the same results. I/O still shows me "no device".