You are not logged in.

#1 2022-04-16 22:55:56

Eysse
Member
Registered: 2022-04-16
Posts: 21

Pipewire doens't work

Even though pipewire is installed, when I start it it outputs: Failed to start pipewire.service: Unit pipewire.service not found.
I have pipewire-pulse, wireplumber and pipewire-alsa also installed. How could this be? I searched for it but found nothing.

Offline

#2 2022-04-16 22:57:56

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,227

Re: Pipewire doens't work

I'm guessing you're looking for a system service, but it's run as a user service. You need to be using --user.

Offline

#3 2022-04-17 17:46:19

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

Hi, I went to sleep minutes after. Anyway, I tried running it with --user and it gave no error. However, it still doens't play any sounds on applications.
EDIT: forgot to say "systemctl --user status pipewire" outputs "active"

Last edited by Eysse (2022-04-17 18:15:05)

Offline

#4 2022-04-17 19:04:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 16,239

Re: Pipewire doens't work

During an active playback attempt that "doesn't play any sounds" post

sudo fuser -v /dev/snd/*
aplay -lL
pactl list cards
pactl list sinks
pactl list sink-inputs

in code tags

Offline

#5 2022-05-11 08:32:18

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

ouput is:

 Discard all samples (playback) or generate zero samples (capture)
sysdefault
    Default Audio Device
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
usbstream:CARD=Device
    USB PnP Audio Device
    USB Stream Output
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA ATI HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
    HDA ATI HDMI, HDMI 5
    HDMI Audio Output
usbstream:CARD=HDMI
    HDA ATI HDMI
    USB Stream Output
sysdefault:CARD=Generic
    HD-Audio Generic, ALC892 Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    Front output / input
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Digital
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
sysdefault:CARD=Headset
    G935 Gaming Headset, USB Audio
    Default Audio Device
front:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    Front output / input
surround21:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Headset
    G935 Gaming Headset
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: Headset [G935 Gaming Headset], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0 

EDIT: made it code text

Last edited by Eysse (2022-05-11 08:34:39)

Offline

#6 2022-05-11 08:32:53

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

i'm sorry for my response waiting so long, I kinda forgot about it...

Offline

#7 2022-05-11 11:09:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 16,239

Re: Pipewire doens't work

That's the output of one command and it happens to be generally the least interesting one.

Offline

#8 2022-05-11 14:08:01

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

the rest of them give:

 Connection failure: Timeout 

Offline

#9 2022-05-11 15:20:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 16,239

Re: Pipewire doens't work

The first one shouldn't. Throw in

systemctl --user status pipewire pipewire-pulse wireplumber pulseaudio

as well

Offline

#10 2022-05-11 15:34:03

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

 Warning: The unit file, source configuration file or drop-ins of wireplumber.service changed on disk. Run 'systemctl --user daemon-reload' to reload units.
Unit pulseaudio.service could not be found.
* pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2022-05-11 18:19:15 CEST; 1h 14min ago
TriggeredBy: * pipewire.socket
   Main PID: 3822 (pipewire)
      Tasks: 2 (limit: 19099)
     Memory: 784.0K
        CPU: 5ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             `-3822 /usr/bin/pipewire

May 11 18:19:15 Arch systemd[968]: Started PipeWire Multimedia Service.
May 11 18:19:15 Arch pipewire[3822]: pw.context: 0x562144384e00: no modules loaded from context.modules

* pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2022-05-11 18:19:10 CEST; 1h 14min ago
TriggeredBy: * pipewire-pulse.socket
   Main PID: 3801 (pipewire-pulse)
      Tasks: 2 (limit: 19099)
     Memory: 1.5M
        CPU: 16ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             `-3801 /usr/bin/pipewire-pulse

May 11 18:19:10 Arch systemd[968]: Started PipeWire PulseAudio.
May 11 18:19:15 Arch pipewire-pulse[3803]: Connection failure: Connection terminated

* wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2022-05-11 18:19:15 CEST; 1h 14min ago
   Main PID: 3824 (wireplumber)
      Tasks: 3 (limit: 19099)
     Memory: 2.1M
        CPU: 15ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             `-3824 /usr/bin/wireplumber

May 11 18:19:15 Arch systemd[968]: Started Multimedia Service Session Manager. 

Offline

#11 2022-05-11 15:35:24

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

The first one prompt me to typ my password and give no output.

Offline

#12 2022-05-11 15:36:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 16,239

Re: Pipewire doens't work

mhm, did you get pacnew files from the update or do you havve custom overrides of any standard config in /etc/pipewire or /etc/wireplumber ? If not try restarting all of these

systemctl --user restart pipewire pipewire-pulse wireplumber

Also please mention these kind of things before having to be asked whether you even ran the commands, failures and or no output when there should be is still useful information.

Last edited by V1del (2022-05-11 15:38:07)

Offline

#13 2022-05-11 16:10:03

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

I changed noting, but /etc/wireplumber does not exist. I ran the command but it did not fix the issue. I will try to mention everything i've done from now on.

BTW, It COULD have something to do with noisetorch, noice reduction software that only works on pulseaudio to my knowledge. I removed the package tho, and wouldn't know how to fix that either way.

Offline

#14 2022-05-11 19:43:53

860lacov
Member
Registered: 2020-05-02
Posts: 315

Re: Pipewire doens't work

Edit:
I checked difference between:

/usr/share/wireplumber/main.lua.d/50-alsa-config.lua
and
/etc/wireplumber/main.lua.d/50-alsa-config.lua

and between:

/usr/share/wireplumber/bluetooth.lua.d/50-bluez-config.lua
and
/etc/wireplumber/bluetooth.lua.d/50-bluez-config.lua 

There was a change:
After upgrade in /usr/share files there was additional line in each file:
At the beginning of 50-alsa-config.lua there was added:

alsa_monitor.enabled = true

and in 50-bluez-config.lua there was:

bluez_monitor.enabled = true

Now the sound is back.
@Eysse
You don't have files in /etc/ becouse their default location is in /usr/share/...
But if you didn't copy config files to etc than it shuld be automatically replaced during installation.



I have a similar problem.
After update there is no sound.
I user pipewire, wireplumber, pipewire-pulse, pipewire-jack

I'm not sure what are the most important info I should give but:

lspci -s 0000:00:1f.3 -vv
0000:00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
        Subsystem: Acer Incorporated [ALI] Device 150a
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 189
        IOMMU group: 14
        Region 0: Memory at 601f2b8000 (64-bit, non-prefetchable) [size=16K]
        Region 4: Memory at 601f000000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: sof-audio-pci-intel-tgl
        Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
journalctl -b | grep sof
maj 11 21:23:55 spin kernel: PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
maj 11 21:23:55 spin kernel: software IO TLB: mapped [mem 0x000000003396e000-0x000000003796e000] (64MB)
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:1:1-3964a
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:21:0 Kernel ABI 3:18:0
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:1:1-3964a
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:21:0 Kernel ABI 3:18:0
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:21:0 Kernel ABI 3:18:0
maj 11 21:23:57 spin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: warn: topology ABI is more recent than kernel
maj 11 21:23:57 spin kernel: input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input23
maj 11 21:23:57 spin kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input24
maj 11 21:23:57 spin kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input25
maj 11 21:23:57 spin kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input26

sudo fuser -v /dev/snd/*
gave nothing

aplay -lL
bash: aplay: command not found
pactl list sinks
Sink #33
        State: RUNNING
        Name: auto_null
        Description: Głuche wyjście
        Driver: PipeWire
        Sample Specification: float32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: yes
        Volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                balance 0,00
        Base Volume: 65536 / 100% / 0,00 dB
        Monitor Source: auto_null.monitor
        Latency: 0 usec, configured 0 usec
        Flags: DECIBEL_VOLUME LATENCY 
        Properties:
                node.name = "auto_null"
                device.description = "Głuche wyjście"
                audio.rate = "48000"
                audio.channels = "2"
                audio.position = "FL,FR"
                media.class = "Audio/Sink"
                factory.name = "support.null-audio-sink"
                node.virtual = "true"
                monitor.channel-volumes = "true"
                factory.id = "18"
                client.id = "32"
                clock.quantum-limit = "8192"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "31"
                object.serial = "33"
        Formats:
                pcm
pactl list sinks
Sink #33
        State: RUNNING
        Name: auto_null
        Description: Głuche wyjście
        Driver: PipeWire
        Sample Specification: float32le 2ch 48000Hz
        Channel Map: front-left,front-right
[jm@spin ~]$ pactl list sink-inputs
Sink Input #51
        Driver: PipeWire
        Owner Module: n/a
        Client: 50
        Sink: 33
        Sample Specification: float32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Format: pcm, format.sample_format = "\"float32le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
        Corked: no
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Buffer Latency: 0 usec
        Sink Latency: 0 usec
        Resample method: PipeWire
        Properties:
                client.api = "pipewire-pulse"
                pulse.server.type = "unix"
                application.name = "Firefox"
                application.process.id = "1108"
                application.process.user = "jm"
                application.process.host = "spin"
                application.process.binary = "firefox"
                application.language = "pl_PL.UTF-8"
                window.x11.display = ":1"
                application.process.machine_id = "63f2eccaa9cf4b0099113cc4caf3920b"
                application.process.session_id = "2"
                media.name = "\"Use case distros\" mean Linux desktop needs more work! - YouTube"
                node.rate = "1/48000"
                stream.is-live = "true"
                node.name = "Firefox"
                node.autoconnect = "true"
                node.want-driver = "true"
                media.class = "Stream/Output/Audio"
                adapt.follower.node = ""
                object.register = "false"
                factory.id = "6"
                audio.adapt.follower = ""
                factory.mode = "split"
                library.name = "audioconvert/libspa-audioconvert"
                clock.quantum-limit = "8192"
                client.id = "47"
                object.id = "48"
                object.serial = "51"
                node.latency = "3600/48000"
                pulse.attr.maxlength = "4194304"
                pulse.attr.tlength = "48000"
                pulse.attr.prebuf = "38408"
                pulse.attr.minreq = "9600"
                module-stream-restore.id = "sink-input-by-application-name:Firefox"
systemctl --user status pipewire pipewire-pulse wireplumber pulseaudio
Unit pulseaudio.service could not be found.
* pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; vendor preset: enabled)
     Active: active (running) since Wed 2022-05-11 21:24:03 CEST; 19min ago
TriggeredBy: * pipewire.socket
   Main PID: 1072 (pipewire)
      Tasks: 2 (limit: 18923)
     Memory: 5.9M
        CPU: 795ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             `- 1072 /usr/bin/pipewire

May 11 21:24:03 spin systemd[791]: Started PipeWire Multimedia Service.

* pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; vendor preset: enabled)
     Active: active (running) since Wed 2022-05-11 21:24:03 CEST; 19min ago
TriggeredBy: * pipewire-pulse.socket
   Main PID: 1074 (pipewire-pulse)
      Tasks: 2 (limit: 18923)
     Memory: 8.7M
        CPU: 1.899s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             `- 1074 /usr/bin/pipewire-pulse

May 11 21:24:03 spin systemd[791]: Started PipeWire PulseAudio.
May 11 21:24:03 spin pipewire-pulse[1081]: 536870912

* wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2022-05-11 21:24:03 CEST; 19min ago
   Main PID: 1073 (wireplumber)

Last edited by 860lacov (2022-05-11 20:01:07)

Offline

#15 2022-05-12 14:35:17

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

So are you saying

 alsa_monitor.enabled 

should be set to false? They are all set

 alsa_monitor.enabled 

and

 bluez_monitor.enabled 

are set to false rn.

Offline

#16 2022-05-12 14:50:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 16,239

Re: Pipewire doens't work

They should be true if you are actually using wireplumber and have replaced pulseaudio with pipewire-pulse.

Something is wonky on your system can you  post

pacman -Qkk wireplumber pipewire-pulse pipewire
ls -l /{etc,usr/share}/{wireplumber,pipewire} ~/.config/{wireplumber,pipewire}

Offline

#17 2022-05-12 15:01:30

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

 wireplumber: 290 total files, 0 altered files
pipewire-pulse: 19 total files, 0 altered files
pipewire: 468 total files, 0 altered files 

and

 ls: cannot access '/etc/wireplumber': No such file or directory
ls: cannot access '/home/rat/.config/wireplumber': No such file or directory
/etc/pipewire:
total 36
drwxr-xr-x   7 root root  4096 Apr 22 12:35 .
drwxr-xr-x 132 root root 12288 May 12 19:00 ..
drwxr-xr-x   2 root root  4096 Apr 13 14:08 client-rt.conf.d
drwxr-xr-x   2 root root  4096 Apr 13 14:08 client.conf.d
drwxr-xr-x   2 root root  4096 Apr 13 14:08 minimal.conf.d
drwxr-xr-x   2 root root  4096 Apr 13 14:08 pipewire-pulse.conf.d
drwxr-xr-x   2 root root  4096 Apr 13 14:08 pipewire.conf.d

/home/rat/.config/pipewire:
total 20
drwxr-xr-x   2 rat rat  4096 Feb 15 20:48 .
drwx------ 159 rat rat 12288 May 12 18:27 ..
-rw-r--r--   1 rat rat   137 Feb 15 20:48 pipewire.conf

/usr/share/pipewire:
total 72
drwxr-xr-x   4 root root  4096 May 10 23:53 .
drwxr-xr-x 457 root root 16384 May 12 18:24 ..
-rw-r--r--   1 root root  2873 Apr 28 11:10 client-rt.conf
-rw-r--r--   1 root root  2592 Apr 28 11:10 client.conf
drwxr-xr-x   2 root root  4096 May 10 23:53 filter-chain
drwxr-xr-x   2 root root  4096 May 10 23:53 media-session.d
-rw-r--r--   1 root root 12767 Apr 28 11:10 minimal.conf
-rw-r--r--   1 root root  5022 Apr 28 11:10 pipewire-pulse.conf
-rw-r--r--   1 root root  9476 Apr 28 11:10 pipewire.conf

/usr/share/wireplumber:
total 56
drwxr-xr-x   7 root root  4096 May 11 19:12 .
drwxr-xr-x 457 root root 16384 May 12 18:24 ..
-rw-r--r--   1 root root  2399 May 11 15:37 bluetooth.conf
drwxr-xr-x   2 root root  4096 May 11 19:12 bluetooth.lua.d
drwxr-xr-x   2 root root  4096 May 11 19:12 common
-rw-r--r--   1 root root  2121 May 11 15:37 main.conf
drwxr-xr-x   2 root root  4096 May 11 19:12 main.lua.d
-rw-r--r--   1 root root  2091 May 11 15:37 policy.conf
drwxr-xr-x   2 root root  4096 May 11 19:12 policy.lua.d
drwxr-xr-x   4 root root  4096 May 11 19:12 scripts
-rw-r--r--   1 root root  2596 May 11 15:37 wireplumber.conf 

Offline

#18 2022-05-12 15:08:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 16,239

Re: Pipewire doens't work

Are there any files in any of the directories under /etc/pipewire ? maybe also drop .config/pipewire.conf but I doubt that to be as necessary.

Last edited by V1del (2022-05-12 15:12:01)

Offline

#19 2022-05-12 15:47:43

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

ls /etc/pipewire:

 client-rt.conf.d  client.conf.d  minimal.conf.d  pipewire-pulse.conf.d  pipewire.conf.d 

I do not have a .config/pipewire.conf directory.

Offline

#20 2022-05-12 15:51:04

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

I ran

 sudo mv /etc/pipewire /etc/pipewire1 

and rebooted with no results.

Offline

#21 2022-05-12 16:26:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 16,239

Re: Pipewire doens't work

Can you test with pipewire-media-session instead? Also let's roll this back to the basics, do you even have an audio device? What's your

aplay -lL
sudo dmesg | grep -iE 'snd|sof'

Offline

#22 2022-05-12 16:35:52

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

My audio device is fully operation and output is

 null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA ATI HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
    HDA ATI HDMI, HDMI 5
    HDMI Audio Output
usbstream:CARD=HDMI
    HDA ATI HDMI
    USB Stream Output
sysdefault:CARD=Generic
    HD-Audio Generic, ALC892 Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    Front output / input
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
    HD-Audio Generic, ALC892 Digital
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
usbstream:CARD=Device
    USB PnP Audio Device
    USB Stream Output
sysdefault:CARD=Headset
    G935 Gaming Headset, USB Audio
    Default Audio Device
front:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    Front output / input
surround21:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Headset,DEV=0
    G935 Gaming Headset, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Headset
    G935 Gaming Headset
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: Headset [G935 Gaming Headset], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[sudo] password for rat:
[    0.295455] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.316074] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.316075] software IO TLB: mapped [mem 0x00000000b35d0000-0x00000000b75d0000] (64MB)
[    0.408949] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    0.408963] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    1.900503] ata5.00: Features: Trust Dev-Sleep NCQ-sndrcv
[    4.216710] snd_hda_intel 0000:07:00.1: enabling device (0000 -> 0002)
[    4.216821] snd_hda_intel 0000:07:00.1: Force to non-snoop mode
[    4.216982] snd_hda_intel 0000:09:00.3: enabling device (0000 -> 0002)
[    4.235923] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC892: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[    4.235928] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.235930] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    4.235932] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    4.235933] snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x1e/0x0
[    4.235934] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    4.235935] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    4.235937] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    4.235938] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
[    4.452237] snd_hda_intel 0000:07:00.1: bound 0000:07:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    9.566327] usbcore: registered new interface driver snd-usb-audio 

Offline

#23 2022-05-12 16:38:02

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

I just tested with pipewire-media-session and it doesn't fix the issue. I checked if it was running which it is.

Offline

#24 2022-05-12 17:55:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 16,239

Re: Pipewire doens't work

Then I am quite stumped to be frank. Also just to be sure the  alsa_monitor.enabled line is/was set to true on pipewire in the corresponding config file? If it wasn't you will want to do that.

Offline

#25 2022-05-12 19:34:54

Eysse
Member
Registered: 2022-04-16
Posts: 21

Re: Pipewire doens't work

So I just noticed there is no alsa_montiro.enabled value in /usr/share/pipewire/pipewire.conf

Offline

Board footer

Powered by FluxBB