Bug#1053245: fluidsynth: Fluidsynth starts at boot and blocks the sound device, no obvious way to disable it
Package: fluidsynth
Version: 2.3.4-1+b3
Followup-For: Bug #1053245
Hi,
I am also having trouble with its systemd service.
1. it seems to fail when opening my user session:
avril 05 19:48:44 kos-moceratops systemd[2775]: Listening on pipewire-
pulse.socket - PipeWire PulseAudio.
avril 05 19:48:44 kos-moceratops systemd[2775]: Listening on pipewire.socket -
PipeWire Multimedia System Sockets.
avril 05 19:48:44 kos-moceratops systemd[2775]: Started pipewire.service -
PipeWire Multimedia Service.
avril 05 19:48:44 kos-moceratops systemd[2775]: Starting fluidsynth.service -
FluidSynth Daemon...
avril 05 19:48:44 kos-moceratops systemd[2775]: Started pipewire-pulse.service
- PipeWire PulseAudio.
avril 05 19:48:44 kos-moceratops (uidsynth)[2811]: fluidsynth.service:
Referenced but unset environment variable evaluates to an empty string:
OTHER_OPTS
avril 05 19:48:44 kos-moceratops pipewire[2810]: mod.jackdbus-detect: Failed to
receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.jackaudio.service was not provided by any .service files
avril 05 19:48:45 kos-moceratops fluidsynth[2811]: Failed to create secure
directory (/run/user/1001/pulse): Read-only file system
avril 05 19:48:45 kos-moceratops fluidsynth[2811]: fluidsynth: error: Failed to
bind server socket: 98
avril 05 19:48:45 kos-moceratops fluidsynth[2811]: Failed to create the server.
avril 05 19:48:45 kos-moceratops fluidsynth[2811]: Continuing without it.
avril 05 19:48:45 kos-moceratops fluidsynth[2811]: fluidsynth: warning: Failed
to set thread to high priority
avril 05 19:48:50 kos-moceratops pipewire[2810]: [0:00:55.151408076] [2810]
WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib/x86_64-linux-
gnu/libcamera'
avril 05 19:48:50 kos-moceratops pipewire[2810]: [0:00:55.151454434] [2810]
INFO Camera camera_manager.cpp:284 libcamera v0.2.0
avril 05 19:48:50 kos-moceratops fluidsynth[2811]: fluidsynth: warning: Audio
device hardware configuration failed
avril 05 19:48:50 kos-moceratops fluidsynth[2811]: fluidsynth: warning: Audio
device hardware configuration failed
avril 05 19:48:50 kos-moceratops fluidsynth[2811]: fluidsynth: error: Failed to
find an audio format supported by alsa
avril 05 19:48:50 kos-moceratops fluidsynth[2811]: Failed to create the audio
driver. Giving up.
avril 05 19:48:50 kos-moceratops fluidsynth[2811]: FluidSynth runtime version
2.3.4
avril 05 19:48:50 kos-moceratops fluidsynth[2811]: Copyright (C) 2000-2023
Peter Hanappe and others.
avril 05 19:48:50 kos-moceratops fluidsynth[2811]: Distributed under the LGPL
license.
avril 05 19:48:50 kos-moceratops fluidsynth[2811]: SoundFont(R) is a registered
trademark of Creative Technology Ltd.
avril 05 19:48:50 kos-moceratops systemd[2775]: fluidsynth.service: Main
process exited, code=exited, status=255/EXCEPTION
avril 05 19:48:50 kos-moceratops systemd[2775]: fluidsynth.service: Failed with
result 'exit-code'.
avril 05 19:48:50 kos-moceratops systemd[2775]: Failed to start
fluidsynth.service - FluidSynth Daemon.
avril 05 19:48:53 kos-moceratops pipewire-pulse[2815]: default:
snap_get_audio_permissions: kernel lacks 'fine grained unix mediation'; snap
audio permissions won't be honored.
avril 05 19:48:56 kos-moceratops pipewire-pulse[2815]: default:
snap_get_audio_permissions: kernel lacks 'fine grained unix mediation'; snap
audio permissions won't be honored.
avril 05 19:49:08 kos-moceratops systemd[1271]: Stopping fluidsynth.service -
FluidSynth Daemon...
2. then starting it «by hand» works:
$ fluidsynth -is /usr/share/sounds/sf3/default-GM.sf3
FluidSynth runtime version 2.3.4
Copyright (C) 2000-2023 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of Creative Technology Ltd.
fluidsynth: warning: Failed to set thread to high priority
fluidsynth: warning: Failed to set thread to high priority
(wait)
3. its service is unreachable from my session nor is listed by systemd:
$ sudo systemctl list-units | grep -i fluid
(nothing)
$ systemctl status fluidsynth.service
Unit fluidsynth.service could not be found.
$ ls -l /usr/lib/systemd/user/fluidsynth.service
-rw-r--r-- 1 root root 735 24 mars 11:09
/usr/lib/systemd/user/fluidsynth.service
I have purged and installed again the package and no change.
Regards,
Patrice
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'unstable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.7.9-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages fluidsynth depends on:
ii init-system-helpers 1.66
ii libc6 2.37-15.1
ii libfluidsynth3 2.3.4-1+b3
ii libglib2.0-0t64 2.78.4-6
ii libpipewire-0.3-0t64 1.0.4-3
ii libsdl2-2.0-0 2.30.1+dfsg-4
ii libsystemd0 255.4-1+b1
Versions of packages fluidsynth recommends:
ii qsynth 0.9.13-1+b1
fluidsynth suggests no packages.
-- no debconf information
Reply to: