You are not logged in.

#1 2022-10-06 18:41:03

FrostTom
Member
Registered: 2022-10-06
Posts: 1

[SOLVED] PulseAudio / FluidSynth conflict?

Hi all,

I've taken this issue as far as I can, and cannot figure out where to go from here.

On reboot, Sound is gone (no outputs), but I can bring it back by disabling pipewire and restarting PulseAudio and then FluidSynth

I'm not sure how I got to this issue.. but I suspect it was me getting FluidSynth working

before disabling pipewire.service and pipewire.socket

[frostt@ArchFrost ~]$ fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  frostt      576 F.... pulseaudio
                     frostt      633 F.... wireplumber
/dev/snd/controlC1:  frostt      576 F.... pulseaudio
                     frostt      633 F.... wireplumber
/dev/snd/seq:        frostt      562 f.... fluidsynth
                     frostt      632 F.... pipewire
[frostt@ArchFrost ~]$ systemctl --user disable --now pipewire.socket
Removed "/home/frostt/.config/systemd/user/sockets.target.wants/pipewire.socket".
[frostt@ArchFrost ~]$ systemctl --user restart pulseaudio
[frostt@ArchFrost ~]$ systemctl --user restart fluidsynth
[frostt@ArchFrost ~]$ fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  frostt     1001 F.... pulseaudio
/dev/snd/controlC1:  frostt     1001 F.... pulseaudio
/dev/snd/pcmC0D0p:   frostt     1001 F...m pulseaudio
/dev/snd/seq:        frostt     1067 f.... fluidsynth
[frostt@ArchFrost ~]$ cat /etc/conf.d/fluidsynth
# Mandatory parameters (uncomment and edit)
SOUND_FONT=/usr/share/soundfonts/default.sf2

# Additional optional parameters (may be useful, see 'man fluidsynth' for further info)
OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'

It seems like there is a conflict somewhere.. but I'm having an issue finding it.

If I then enable pipewire, i still get no devices.

frostt@ArchFrost ~]$ systemctl --user stop pulseaudio
Warning: Stopping pulseaudio.service, but it can still be activated by:
  pulseaudio.socket
[frostt@ArchFrost ~]$ systemctl --user stop pulseaudio.socket
[frostt@ArchFrost ~]$ systemctl --user enable --now pipewire
Created symlink /home/frostt/.config/systemd/user/sockets.target.wants/pipewire.socket → /usr/lib/systemd/user/pipewire.socket.
[frostt@ArchFrost ~]$ systemctl --user start pulseaudio.socket
[frostt@ArchFrost ~]$ systemctl --user status pulseaudio.socket
● pulseaudio.socket - Sound System
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; preset: enabled)
     Active: active (listening) since Thu 2022-10-06 14:35:22 EDT; 5s ago
      Until: Thu 2022-10-06 14:35:22 EDT; 5s ago
   Triggers: ● pulseaudio.service
     Listen: /run/user/1000/pulse/native (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pulseaudio.socket

Oct 06 14:35:22 ArchFrost systemd[574]: Listening on Sound System.
[frostt@ArchFrost ~]$ systemctl --user status pipewire
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Thu 2022-10-06 14:35:16 EDT; 34s ago
TriggeredBy: ● pipewire.socket
   Main PID: 1694 (pipewire)
      Tasks: 2 (limit: 19138)
     Memory: 3.4M
        CPU: 24ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1694 /usr/bin/pipewire

Oct 06 14:35:16 ArchFrost systemd[574]: Started PipeWire Multimedia Service.

Thank you!

EDIT:

Leaving this here because why not.
Issue seems resolved and persists to be resolved after reboot.
I removed pulseaudio and just have pipewire running.
This did not immediately resolve the issues. After several reboots and restarting services trying to find an error with a conflict.. stuff just started to work.
Fluidsynth I did change to alsa mode, not pipewire, after installing pipewire-alsa.. that might have done it too.
Pipewire-pulse did not help me in this.

Last edited by FrostTom (2022-10-06 19:37:37)

Offline

Board footer

Powered by FluxBB