Musescore is not starting when pulseaudio isn't on the system

• Aug 17, 2013 - 18:42
Type
Functional
Severity
S4 - Minor
Status
closed
Project

An strace shows how MuseScore is attempting to open pulseaudio specific files:
---snip---
connect(14, {sa_family=AF_LOCAL, sun_path="/run/user/1000/pulse/native"}, 110) = -1 ENOENT (No such file or directory)
close(14) = 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 14
fcntl(14, F_GETFD) = 0x1 (flags FD_CLOEXEC)
setsockopt(14, SOL_SOCKET, SO_PRIORITY, [6], 4) = 0
fcntl(14, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(14, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(14, {sa_family=AF_LOCAL, sun_path="/var/run/pulse/native"}, 110) = -1 ENOENT (No such file or directory)
close(14) = 0
ppoll([{fd=12, events=POLLIN}], 1, NULL, NULL, 8
---snip---

After that the startup doesn't continue.

If I install pulesaudio it works fine.
It should be either mentioned somewhere that pulseaudio is essential for MuseScore or (the way I prefer) MuseScore should be able to work with other sound systems (e.g. ALSA) too.

Thanks in advance


Comments

Status (old) needs info active

Latest version from git on ArchLinux.

I think that the CMake configuring is the problem:
---snip---
-- Found pulseaudio: /usr/lib64/libpulse.so
-- Found lame: /usr/lib64/libmp3lame.so
Alsa detected.
Pulseaudio found.
---snip---

I have installed the package libpulse (as dependency of other packages), but not the whole pulseaudio subsystem. So it gets detected erroneously.

Status (old) active closed

"mscore -a alsa" works, thanks!
The problem of CMake remains, but that's not your fault. I'll file a bug at the CMake project.