pipewire issueshttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues2023-09-24T13:49:30Zhttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3504Pipewire crashes when removing plugin from Carla Rack2023-09-24T13:49:30ZMarcin KoziołPipewire crashes when removing plugin from Carla RackSteps to reproduce:
1. Using pipewire from master
2. Run Carla Rack (I'm using compiled version from the master branch, because the "stable" one from ubuntu studio repo doesn't work at all with pipewire)
3. Set Carla Rack Process Mode t...Steps to reproduce:
1. Using pipewire from master
2. Run Carla Rack (I'm using compiled version from the master branch, because the "stable" one from ubuntu studio repo doesn't work at all with pipewire)
3. Set Carla Rack Process Mode to "Multiple Clients"
4. Add some plugin (SurgeXT in my case, clap version), connect MIDI and audio output
5. remove the plugin
Dmesg:
```
[ 827.865467] pipewire[4205]: segfault at 0 ip 00007fb50c41e930 sp 00007ffc0f8319d0 error 4 in libspa-alsa.so[7fb50c3c6000+b4000] likely on CPU 5 (core 1, socket 0)
```
gdb:
```
Attaching to process 12464
[New LWP 12466]
[New LWP 12468]
[New LWP 12481]
[New LWP 12482]
--Type <RET> for more, q to quit, c to continue without paging--
[New LWP 12483]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f643151dff6 in epoll_wait (epfd=4, events=events@entry=0x7ffe3cb49070, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
30 ../sysdeps/unix/sysv/linux/epoll_wait.c: Nie ma takiego pliku ani katalogu.
(gdb) continue
Continuing.
Thread 1 "pipewire" received signal SIGSEGV, Segmentation fault.
impl_node_port_set_param (object=0x7f6421901038, direction=SPA_DIRECTION_OUTPUT, port_id=<optimized out>, id=15, flags=0, param=0x0) at ../spa/plugins/alsa/alsa-seq-bridge.c:694
694 if ((res = spa_latency_parse(param, &info)) < 0)
```
Additional trivia:
seems that this issue occurs only when MIDI is connected AND any audio output is connected to playback device (I tested both sound cards - M-AUDIO M-Track duo and some generic on-board Cannon Lake PCHhttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3503No audio from Scarlett 18i6 inputs in Pipewire applications (works with just ...2023-09-11T23:59:00ZMerlin04No audio from Scarlett 18i6 inputs in Pipewire applications (works with just ALSA)- PipeWire version (`pipewire --version`): 0.3.72
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): openSUSE Tumbleweed
- Desktop Environment: KDE Plasma
- Kernel version (`uname -r`): 6.4.11-1-default
## D...- PipeWire version (`pipewire --version`): 0.3.72
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): openSUSE Tumbleweed
- Desktop Environment: KDE Plasma
- Kernel version (`uname -r`): 6.4.11-1-default
## Description of Problem:
I have a Scarlett 18i6 audio interface, and when I have something connected to one of its inputs and making sound, no sound shows up in the application using Pipewire (however, the input itself does show). I've tested this in both Bitwig Studio and REAPER - if I set Bitwig to use ALSA directly, the sound works as expected and I can record what is connected to the input on the audio interface.
## How Reproducible:
I'm not really sure how reproducible this issue is, primarily because I don't know if it affects other audio interfaces (and I don't have the ability to test other systems using pipewire with other audio interfaces).
### Steps to Reproduce:
1. Plug in Scarlett 18i6, connect some audio source to the first input jack on the device.
2. Open an application that can record audio (like Bitwig) and set it to record from the Capture 0 input on the audio interface.
3. Click record.
### Actual Results:
While the app is able to record successfully from the device, there is no audio (as if the volume was turned all the way down).
### Expected Results:
The audio should record as expected, in the same way the recorder behaves when connecting directly to ALSA.
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`: attached
[pw-dump.log](/uploads/8e91c8906f8fda077a55ff8ea42ec8d4/pw-dump.log)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3502No sound using A2DP codec with AirPods Pro 22024-03-16T16:49:30ZJulian ArkenauNo sound using A2DP codec with AirPods Pro 2- Problem present on `master`
<!-- If you can, test also with Pulseaudio and list `pulseaudio --version`. -->
- PipeWire version (`pipewire --version`): 0.3.79
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-releas...- Problem present on `master`
<!-- If you can, test also with Pulseaudio and list `pulseaudio --version`. -->
- PipeWire version (`pipewire --version`): 0.3.79
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): Ubuntu 20.04.6 LTS
- Desktop Environment: GNOME 3.36.5
- Kernel version (`uname -r`): 5.15.0-83-generic
- BlueZ version (`bluetoothctl --version`): 5.5
- `lsusb`:
```console
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 003 Device 008: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 006: ID 046d:082d Logitech, Inc. HD Pro Webcam C920
Bus 003 Device 004: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
Bus 003 Device 003: ID 30c9:0014 8SSC20F27114V1SR1AS12V3 Integrated Camera
Bus 003 Device 002: ID 06cb:00bd Synaptics, Inc.
Bus 003 Device 007: ID 8087:0032 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
```
- Bluetooth devices:
```console
Device 74:15:F5:17:8E:BA Julian’s AirPods Pro
Device FC:82:BC:82:82:DC MX Master 3
Device 50:C2:ED:E4:12:FB Jabra Elite 85h
```
## Description of Problem:
After connecting the AirPods Pro 2, no sound is played from then when using the following A2DP codecs:
- `A2DP, SBC`
- `A2DP, SBC-XQ`
- `A2DP, ACC`
Using HSP codecs, sound is played, although it sounds bad.
AirPods Firmware Version: 5E135
Issue https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1630 seems related, but in my case the problem still exists on master
## How Reproducible:
100%
### Steps to Reproduce:
1. Connect AirPods Pro 2
2. Select one of the A2DP codecs (e.g with Blueman)
3. Start a sound source
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`: [pw-dump.log](/uploads/966158fda5a591d0ad4546ca09d35974/pw-dump.log)
- Bluetooth debug log, see [here](https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Troubleshooting#bluetooth):
[pipewire-bluez.log](/uploads/b1df46ec1a0a8229e0347c5190ff340a/pipewire-bluez.log)
If I should provide anything else, let me know.https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3501Crash in pipewire-pulse2023-09-22T13:55:52ZsaivertCrash in pipewire-pulseI just experienced a random crash out of the blue today and am posting the crash dump here for analysis.
```plaintext
coredumpctl gdb /usr/bin/pipewire
PID: 6503 (pipewire-pulse)
UID: 1000 (saivert)
GID...I just experienced a random crash out of the blue today and am posting the crash dump here for analysis.
```plaintext
coredumpctl gdb /usr/bin/pipewire
PID: 6503 (pipewire-pulse)
UID: 1000 (saivert)
GID: 1000 (saivert)
Signal: 11 (SEGV)
Timestamp: Sun 2023-09-10 10:45:01 CEST (4min 45s ago)
Command Line: /usr/bin/pipewire-pulse
Executable: /usr/bin/pipewire
Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
Unit: user@1000.service
User Unit: pipewire-pulse.service
Slice: user-1000.slice
Owner UID: 1000 (saivert)
Boot ID: 2442c1939a1f4abeb6a6541ffa736aa9
Machine ID: 1cfb1b6d3c3c4479af84316e39bda99a
Hostname: fedora
Storage: /var/lib/systemd/coredump/core.pipewire-pulse.1000.2442c1939a1f4abeb6a6541ffa736aa9.6503.1694335501000000.zst (present)
Size on Disk: 30.7M
Package: pipewire/0.3.78-1.fc38
build-id: 034593ccc5658d964c6c38d09623a0946c4817a7
Message: Process 6503 (pipewire-pulse) of user 1000 dumped core.
Module libspa-audiomixer.so from rpm pipewire-0.3.78-1.fc38.x86_64
Module libspa-audioconvert.so from rpm pipewire-0.3.78-1.fc38.x86_64
Module libpipewire-module-fallback-sink.so from rpm pipewire-0.3.78-1.fc38.x86_64
Module libblkid.so.1 from rpm util-linux-2.38.1-4.fc38.x86_64
Module libpcre2-8.so.0 from rpm pcre2-10.42-1.fc38.1.x86_64
Module libffi.so.8 from rpm libffi-3.4.4-2.fc38.x86_64
Module libselinux.so.1 from rpm libselinux-3.5-1.fc38.x86_64
Module libmount.so.1 from rpm util-linux-2.38.1-4.fc38.x86_64
Module libz.so.1 from rpm zlib-1.2.13-3.fc38.x86_64
Module libgmodule-2.0.so.0 from rpm glib2-2.76.4-3.fc38.x86_64
Module libglib-2.0.so.0 from rpm glib2-2.76.4-3.fc38.x86_64
Module libgobject-2.0.so.0 from rpm glib2-2.76.4-3.fc38.x86_64
Module libgio-2.0.so.0 from rpm glib2-2.76.4-3.fc38.x86_64
Module libavahi-client.so.3 from rpm avahi-0.8-22.fc38.x86_64
Module libavahi-common.so.3 from rpm avahi-0.8-22.fc38.x86_64
Module libpipewire-module-protocol-pulse.so from rpm pipewire-0.3.78-1.fc38.x86_64
Module libpipewire-module-metadata.so from rpm pipewire-0.3.78-1.fc38.x86_64
Module libpipewire-module-adapter.so from rpm pipewire-0.3.78-1.fc38.x86_64
Module libpipewire-module-client-node.so from rpm pipewire-0.3.78-1.fc38.x86_64
Module libpipewire-module-protocol-native.so from rpm pipewire-0.3.78-1.fc38.x86_64
Module libpipewire-module-rt.so from rpm pipewire-0.3.78-1.fc38.x86_64
Module libdbus-1.so.3 from rpm dbus-1.14.8-1.fc38.x86_64
Module libspa-dbus.so from rpm pipewire-0.3.78-1.fc38.x86_64
Module liblz4.so.1 from rpm lz4-1.9.4-2.fc38.x86_64
Module libzstd.so.1 from rpm zstd-1.5.5-1.fc38.x86_64
Module liblzma.so.5 from rpm xz-5.4.1-1.fc38.x86_64
Module libcap.so.2 from rpm libcap-2.48-6.fc38.x86_64
Module libsystemd.so.0 from rpm systemd-253.7-1.fc38.x86_64
Module libspa-journal.so from rpm pipewire-0.3.78-1.fc38.x86_64
Module libspa-support.so from rpm pipewire-0.3.78-1.fc38.x86_64
Module libpipewire-0.3.so.0 from rpm pipewire-0.3.78-1.fc38.x86_64
Module pipewire from rpm pipewire-0.3.78-1.fc38.x86_64
Stack trace of thread 6510:
#0 0x00007fa59c6a3745 impl_node_process.lto_priv.1 (libspa-audiomixer.so + 0xc745)
#1 0x00007fa5ab950a4a node_on_fd_events.lto_priv.0 (libpipewire-0.3.so.0 + 0x65a4a)
#2 0x00007fa5ab6cdce6 loop_iterate (libspa-support.so + 0x8ce6)
#3 0x00007fa5ab932e83 do_loop (libpipewire-0.3.so.0 + 0x47e83)
#4 0x00007fa5ab799907 start_thread (libc.so.6 + 0x8c907)
#5 0x00007fa5ab81f774 __clone (libc.so.6 + 0x112774)
Stack trace of thread 6505:
#0 0x00007fa5ab81fc72 epoll_wait (libc.so.6 + 0x112c72)
#1 0x00007fa5ab6db768 impl_pollfd_wait (libspa-support.so + 0x16768)
#2 0x00007fa5ab6cdc29 loop_iterate (libspa-support.so + 0x8c29)
#3 0x00007fa5ab976007 do_loop (libpipewire-0.3.so.0 + 0x8b007)
#4 0x00007fa5ab799907 start_thread (libc.so.6 + 0x8c907)
#5 0x00007fa5ab81f774 __clone (libc.so.6 + 0x112774)
Stack trace of thread 6503:
#0 0x00007fa5ab80e0fa read (libc.so.6 + 0x1010fa)
#1 0x00007fa5ab6db207 impl_eventfd_read (libspa-support.so + 0x16207)
#2 0x00007fa5ab6ce8fa loop_invoke (libspa-support.so + 0x98fa)
#3 0x00007fa5ab953982 node_deactivate.lto_priv.0 (libpipewire-0.3.so.0 + 0x68982)
#4 0x00007fa5ab9572c0 idle_node.lto_priv.0 (libpipewire-0.3.so.0 + 0x6c2c0)
#5 0x00007fa5ab9621c8 pw_impl_node_set_state (libpipewire-0.3.so.0 + 0x771c8)
#6 0x00007fa59d54b952 client_node_command (libpipewire-module-client-node.so + 0x11952)
#7 0x00007fa59d55af34 client_node_demarshal_command.lto_priv.0 (libpipewire-module-client-node.so + 0x20f34)
#8 0x00007fa597fcaa91 process_remote (libpipewire-module-protocol-native.so + 0x15a91)
#9 0x00007fa597fcb278 on_remote_data (libpipewire-module-protocol-native.so + 0x16278)
#10 0x00007fa5ab6cdce6 loop_iterate (libspa-support.so + 0x8ce6)
#11 0x00007fa5ab95155b pw_main_loop_run (libpipewire-0.3.so.0 + 0x6655b)
#12 0x000055759111a606 main (pipewire + 0x1606)
#13 0x00007fa5ab734b4a __libc_start_call_main (libc.so.6 + 0x27b4a)
#14 0x00007fa5ab734c0b __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x27c0b)
#15 0x000055759111a7a5 _start (pipewire + 0x17a5)
ELF object binary architecture: AMD x86-64
GNU gdb (GDB) Fedora Linux 13.2-3.fc38
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/pipewire...
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.fedoraproject.org/>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Reading symbols from /home/saivert/.cache/debuginfod_client/034593ccc5658d964c6c38d09623a0946c4817a7/debuginfo...
warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=65664 (deleted) during file-backed mapping note processing
warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=2312 (deleted) during file-backed mapping note processing
warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=4096 (deleted) during file-backed mapping note processing
[New LWP 6510]
[New LWP 6505]
[New LWP 6503]
--Type <RET> for more, q to quit, c to continue without paging--c
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/pipewire-pulse'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 impl_node_process (object=0x557596163928) at ../spa/plugins/audiomixer/mixer-dsp.c:721
721 inio->status = SPA_STATUS_NEED_DATA;
[Current thread is 1 (Thread 0x7fa59cf8a6c0 (LWP 6510))]
(gdb) bt
#0 impl_node_process (object=0x557596163928) at ../spa/plugins/audiomixer/mixer-dsp.c:721
#1 0x00007fa5ab950a4a in process_node (data=0x5575960e8470) at ../src/pipewire/impl-node.c:1234
#2 node_on_fd_events (source=<optimized out>) at ../src/pipewire/impl-node.c:1310
#3 0x00007fa5ab6cdce6 in loop_iterate (object=0x5575916b3328, timeout=<optimized out>) at ../spa/plugins/support/loop.c:483
#4 0x00007fa5ab932e83 in do_loop (user_data=0x5575916b31c0) at ../src/pipewire/data-loop.c:65
#5 0x00007fa5ab799907 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6 0x00007fa5ab81f774 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
(gdb) bt full
#0 impl_node_process (object=0x557596163928) at ../spa/plugins/audiomixer/mixer-dsp.c:721
inport = <optimized out>
inb = <optimized out>
bd = 0x557593b59b88
offs = <optimized out>
inio = 0x7fa59d49c000
this = 0x557596163928
outport = 0x557596164b00
outio = 0x557594dbcae0
n_buffers = 1
i = 0
maxsize = <optimized out>
buffers = 0x557596165c80
outb = <optimized out>
datas = 0x557596166c80
__func__ = "impl_node_process"
#1 0x00007fa5ab950a4a in process_node (data=0x5575960e8470) at ../src/pipewire/impl-node.c:1234
_f = <optimized out>
_n = <optimized out>
this = 0x5575960e8470
a = 0x7fa59d49e000
status = <optimized out>
p = 0x557594dbc560
data_system = 0x5575916b3290
nsec = <optimized out>
cmd = 1
this = 0x5575960e8470
__func__ = "node_on_fd_events"
#2 node_on_fd_events (source=<optimized out>) at ../src/pipewire/impl-node.c:1310
cmd = 1
this = 0x5575960e8470
__func__ = "node_on_fd_events"
#3 0x00007fa5ab6cdce6 in loop_iterate (object=0x5575916b3328, timeout=<optimized out>) at ../spa/plugins/support/loop.c:483
--Type <RET> for more, q to quit, c to continue without paging--q
Quit
(gdb) list
716
717 if (!SPA_FLAG_IS_SET(bd->chunk->flags, SPA_CHUNK_FLAG_EMPTY)) {
718 datas[n_buffers] = SPA_PTROFF(bd->data, offs, void);
719 buffers[n_buffers++] = inb;
720 }
721 inio->status = SPA_STATUS_NEED_DATA;
722 }
723
724 outb = dequeue_buffer(this, outport);
725 if (SPA_UNLIKELY(outb == NULL)) {
(gdb)
```https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3500two bluetooth speakers, bad stereo2024-03-16T16:48:28Zpromeneurtwo bluetooth speakers, bad stereo<!-- If you are filing this issue with a regular release please try master as it might already be fixed. -->
<!-- If you can, test also with Pulseaudio and list `pulseaudio --version`. -->
- PipeWire version (`pipewire --version`): 0.3...<!-- If you are filing this issue with a regular release please try master as it might already be fixed. -->
<!-- If you can, test also with Pulseaudio and list `pulseaudio --version`. -->
- PipeWire version (`pipewire --version`): 0.3.79
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): openSUSE Tumbleweed
- Desktop Environment: KDE 23.08.0
- Kernel version (`uname -r`): 6.4.12
- BlueZ version (`bluetoothctl --version`): 5.69
- `lsusb`:
```
# paste the output of "lsusb" here
```
Bus 002 Device 002: ID 0bda:0321 Realtek Semiconductor Corp. USB3.0 Card Reader
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04d9:1702 Holtek Semiconductor, Inc. Keyboard LKS02
Bus 001 Device 004: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 003: ID 046d:08e5 Logitech, Inc. C920 PRO HD Webcam
Bus 001 Device 002: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 001 Device 006: ID 8087:0032 Intel Corp. AX210 Bluetooth
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bluetooth devices:
```
# paste the output of "bluetoothctl devices" here
```
Device 7C:ED:C6:B8:7C:78 Droite
Device 7C:ED:C6:AF:FE:1B Gauche
Device 44:3D:54:50:B3:A3 Echo Dot-2K3
Device F0:2F:74:7C:FC:8F La magicienne
Device 40:45:DA:55:D4:FA Le prophète
Device 0C:E0:E4:9E:7C:C7 PLT_BBTSENSE
Device 00:1E:7C:39:7D:25 Philips SHQ7300
Device B4:74:43:FE:CE:78 La légende noire
Device 90:06:28:B6:B1:B6 Le surfeur d'argent
## Description of Problem:
I get two amazon echo pop connected separately to the PC via Bluetooth.
I create a virtual sound output device with these statements:
*************************************************************************************
create a virtual stereo device named "bluetooth_stereo"
pactl load-module module-null-sink media.class=Audio/Sink sink_name=bluetooth_stereo channel_map=stereo
link the left channel of the PC to the left channel of the left Echo Pop (named "Gauche" as a bluetooth device)
pw-link bluetooth_stereo:monitor_FL bluez_output.<mac_address_1>:playback_FL
link the left channel of the PC to the right channel of the left Echo Pop (named "Gauche" as a bluetooth device)
pw-link bluetooth_stereo:monitor_FL bluez_output.<mac_address_1>:playback_FR
link the right channel of the PC to the right channel of the right Echo Pop (named "Droite" as a bluetooth device)
pw-link bluetooth_stereo:monitor_FR bluez_output.<mac_address_2>:playback_FR
link the right channel of the PC to the left channel of the right Echo Pop (named "Droite" as a bluetooth device)
pw-link bluetooth_stereo:monitor_FR bluez_output.<mac_address_2>:playback_FL
*************************************************************************************
see the helvum diagram
![virtual_bluetooth_stereo](/uploads/fd325a05fd11dcabffd113d98f602804/virtual_bluetooth_stereo.png)
## How Reproducible:
### Steps to Reproduce:
1. play a video with VLC or Chrome (YouTube)
2.
3.
### Actual Results:
you get randomly:
- cracks
- only left channel
- only right channel
- a good stereo
### Expected Results:
you get always a good stereo
I will send logshttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3499Severe audio distortion in newer versions of Minecraft Java2023-09-10T08:14:23Ztaylor85345Severe audio distortion in newer versions of Minecraft Java<!-- If you are filing this issue with a regular release please try master as it might already be fixed. -->
- PipeWire version (`pipewire --version`): 0.3.79
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`...<!-- If you are filing this issue with a regular release please try master as it might already be fixed. -->
- PipeWire version (`pipewire --version`): 0.3.79
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): Arch Linux
- Desktop Environment: Hyprland and KDE Plasma
- Kernel version (`uname -r`): 6.4.14-x64v2-xanmod1-1
## Description of Problem:
Starting with pipewire 0.3.77, all versions of Minecraft Java newer than 1.18.1 are susceptible to severe audio distortion, occuring in about 50% of pipewire-pulse session on my system. All applicable Minecraft instances launched during that session will exhibit the distortion, though versions 1.18.1 or older do not seem to be affected. The issue seems most likely to occur immediately following a reboot or after waking from sleep, and restarting the desktop session will typically resolve the issue.
I have not been able to reproduce the issue using pipewire-pulse 0.3.76 or older, so I believe the issue was introduced with 0.3.77.
This was reported on 8/5 on the Mojang issue tracker: https://bugs.mojang.com/browse/MC-264668
## How Reproducible:
Occurs in about 50% of desktop sessions, particularly following a reboot or after waking the system from sleep. Impacts 100% of applicable minecraft instances launched in the affected desktop session.
### Steps to Reproduce:
1. Install any version of Minecraft Java edition newer than 1.18.1. I have used both the official Minecraft launcher and Prism launcher in my testing.
2. Launch the game and listen for audio distortion. The sound of clicking on objects in the main menu is noticeably distorted and stretched out.
3. If the issue does not occur, close the game and reboot or suspend the system, then try again.
### Actual Results:
All audio produced by minecraft is severely distored and time-stretched, and is almost unrecognizable.
### Expected Results:
Audio should play as expected
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`:[pw-dump.log](/uploads/dc0608960b305a5a6acf3b595c31cf22/pw-dump.log)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3498Motherboard Audio Output Stops Working Sometimes After Reboot, Possibly Firmw...2023-09-10T01:50:30ZSean RameyMotherboard Audio Output Stops Working Sometimes After Reboot, Possibly Firmware Related?- PipeWire version (`pipewire --version`):
`pipewire `\
`Compiled with libpipewire 0.3.79 `\
`Linked with libpipewire 0.3.79`
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): EndeavourOS
- Desktop En...- PipeWire version (`pipewire --version`):
`pipewire `\
`Compiled with libpipewire 0.3.79 `\
`Linked with libpipewire 0.3.79`
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): EndeavourOS
- Desktop Environment: KDE Plasma
- Kernel version (`uname -r`): 6.4.12-arch1-1
## Description of Problem:
Every now and then, usually many weeks between instances, after rebooting my PC the audio output to my motherboard's HD Audio will stop working. "Stop Working" means that all the devices still seem recognized, and everything works normally EXCEPT there is no audio actually making it to the output jack and going to my headphones/speakers. Restarting pipewire.service does not fix it, rebooting again and again does not fix it, updating pipewire and system packages with pacman -Syu does not fix it.
The ONLY fix that I've found so far is booting into Windows 10 (I dual boot on my PC) and changing around the drivers for my motherboard audio in the device manager. BTW, when this issue happens, usually the audio ALSO does not work in Windows and has the exact same symptoms. All other audio outputs still work fine, such as the Nvidia HDMI output to my monitor's speakers. I will refrain from doing this fix this time for a while, in case somebody needs me to test something on my system.
My motherboard is a Gigabyte Z370 Aorus Gaming Wifi
Here is the driver download page from the manufacturer: https://www.gigabyte.com/Motherboard/Z370-AORUS-GAMING-WIFI-rev-10/support#support-dl-driver
## How Reproducible:
I have no idea how to reproduce this on command.
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`:
[pw-dump.log](/uploads/7e24c2e9bff14de58e6f28e08aca1fc1/pw-dump.log)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3496Low audio volume on Lenovo Legion series2023-09-09T09:20:23ZFreeLibreLow audio volume on Lenovo Legion seriesOn the Lenovo Legion series, the sound volume on GNU/Linux is notoriously bad but it's good on Windows because of Dolby Atmos.
It might be missing a firmware or a tweak.
I read that many chipsets can expose a audio gain parameter in al...On the Lenovo Legion series, the sound volume on GNU/Linux is notoriously bad but it's good on Windows because of Dolby Atmos.
It might be missing a firmware or a tweak.
I read that many chipsets can expose a audio gain parameter in alsa through their firmware (alsa knobs), how can I check that?
Similar reports:
https://askubuntu.com/questions/1413048/improving-sound-quality-on-a-lenovo-legion-5
https://reddit.com/r/LenovoLegion/comments/qyyb2q/legion_5_terrible_sound_on_ubuntu/https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/34952 echo pop, not the same codecs2023-09-10T10:29:11Zpromeneur2 echo pop, not the same codecsMy PC gets an Intel AX210 (Bluetooth 5.3)
openSUSE Tumbleweed, KDE 23.08.0, pipewire 0.3.79
Two same Amazon Echo Pop connected at the same time to the PC via Bluetooth.
Surprisingly, one uses SBC and the other one uses SBC-XQ.
I can't...My PC gets an Intel AX210 (Bluetooth 5.3)
openSUSE Tumbleweed, KDE 23.08.0, pipewire 0.3.79
Two same Amazon Echo Pop connected at the same time to the PC via Bluetooth.
Surprisingly, one uses SBC and the other one uses SBC-XQ.
I can't switch to SBC or SBC-XQ according to get the same codec for the twos.
I don't know if it is a pipewire or a Bluetooth problem. So I also sent a bug report to Bluez.
https://github.com/bluez/bluez/issues/597https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3494App visible to WirePlumber but doesn't play audio2023-09-06T21:12:13ZEli T. DrummApp visible to WirePlumber but doesn't play audioContext: I'm trying to get Starfield (new Bethesda game) to work on Linux. Graphics actually are fine but there is no audio.
The one clue I've found is that the application does show up as a client when I run `wpctl status` but it doesn...Context: I'm trying to get Starfield (new Bethesda game) to work on Linux. Graphics actually are fine but there is no audio.
The one clue I've found is that the application does show up as a client when I run `wpctl status` but it doesn't show up as an app playing audio in either pavucontrol or KDE Plasma's PulseAudio widget, nor does it show up connected in qpwgraph. I don't know what that means exactly, is Pipewire's Pulse implementation just not seeing it even though Pipewire is? I'm not sure how things are really set up.
Let me know where I should be looking for logs or what other information I can provide that might help.https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3493[help] using 2 independant bluetooth speakers for stereo sound. How ?2024-01-13T11:46:02Zpromeneur[help] using 2 independant bluetooth speakers for stereo sound. How ?I get 2 bluetooth speakers Amazon Echo Pop.
Each one is connected separately via Bluetooth to the PC.
I want to drive the left channel of the PC sound to one of the speaker and the right channel to the other speaker.
Can we do this ?...I get 2 bluetooth speakers Amazon Echo Pop.
Each one is connected separately via Bluetooth to the PC.
I want to drive the left channel of the PC sound to one of the speaker and the right channel to the other speaker.
Can we do this ? How ?https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3492USB audio device disconnects after some time2023-09-06T16:38:03ZRebecca WallanderUSB audio device disconnects after some time<!-- If you are filing this issue with a regular release please try master as it might already be fixed. -->
- PipeWire version (`pipewire --version`): `Compiled with libpipewire 0.3.79 Linked with libpipewire 0.3.79`
- Distribution and...<!-- If you are filing this issue with a regular release please try master as it might already be fixed. -->
- PipeWire version (`pipewire --version`): `Compiled with libpipewire 0.3.79 Linked with libpipewire 0.3.79`
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): Fedora Linux 38 (Workstation Edition)
- Desktop Environment: GNOME 44.4
- Kernel version (`uname -r`): 6.4.13-200.fc38.x86_64
## Description of Problem:
Whenever I have my headset connected for some time it start disconnecting, causing audio to drop out, but then it connects again after maybe 3 seconds. This has happened for at least months with various pipewire versions.
I'm not sure if it is actually a pipewire issue, but am happy to help tracing the issue.
## How Reproducible:
I am able to reproduce it on several different computers. It might be specific to the headset (Razer Kraken) but I don't think the headset itself is broken, since I can get it to work on other OS.
### Steps to Reproduce:
1. Start computer
2. Let everything idle for maybe half an hour, sometimes just minutes
3. Dropouts starts
### Actual Results:
Device disconnects
### Expected Results:
No disconnects
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`: [pw-dump.log](/uploads/77ecc05887dad8c070c745ddbfffc47b/pw-dump.log)
- journalctl when the drop happens:[journalctl.log](/uploads/7c436d1981908d1541beba155c765072/journalctl.log)
- screenshot of `pw-top` just before disconnect:![Screenshot_from_2023-09-06_11-42-04_](/uploads/801f71605005b584ad203aa7d03b897a/Screenshot_from_2023-09-06_11-42-04_.png)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3491HDMI sinks not detected, but aplay lists them2023-11-10T16:18:47ZBogomil VasilevHDMI sinks not detected, but aplay lists themI usually use my AUX analog audio, which works just fine, but when I want to switch to the HDMI sound, it appears the sink is missing.
```
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC...I usually use my AUX analog audio, which works just fine, but when I want to switch to the HDMI sound, it appears the sink is missing.
```
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [Acer B277K]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
```
```
$ wpctl status
PipeWire 'pipewire-0' [0.3.79, smirky@archy, cookie:3879994869]
└─ Clients:
31. xdg-desktop-portal [0.3.79, smirky@archy, pid:3311]
32. pipewire [0.3.79, smirky@archy, pid:92136]
33. libcanberra [0.3.79, smirky@archy, pid:3637]
34. Firefox [0.3.79, smirky@archy, pid:56719]
35. QPulse [0.3.79, smirky@archy, pid:4176]
36. Plasma PA [0.3.79, smirky@archy, pid:3637]
38. WirePlumber [0.3.79, smirky@archy, pid:92135]
39. WirePlumber [export] [0.3.79, smirky@archy, pid:92135]
53. Music Player Daemon [0.3.79, smirky@archy, pid:9812]
59. wpctl [0.3.79, smirky@archy, pid:92716]
Audio
├─ Devices:
│ 45. Built-in Audio [alsa]
│
├─ Sinks:
│ * 50. Built-in Audio Analog Stereo [vol: 1.00]
│
├─ Sink endpoints:
│
├─ Sources:
│ * 51. Built-in Audio Analog Stereo [vol: 1.00]
│
├─ Source endpoints:
│
└─ Streams:
54. Music Player Daemon
55. output_FL > ALC892 Analog:playback_FL [active]
56. output_FR > ALC892 Analog:playback_FR [active]
Video
├─ Devices:
│
├─ Sinks:
│
├─ Sink endpoints:
│
├─ Sources:
│
├─ Source endpoints:
│
└─ Streams:
Settings
└─ Default Configured Node Names:
0. Audio/Sink alsa_output.pci-0000_03_00.1.5.hdmi-stereo-extra3
1. Audio/Source alsa_input.pci-0000_00_1f.3.3.analog-stereo
```
I'm using a stock setup with 0 custom settings.
```
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
Active: active (running) since Wed 2023-09-06 01:05:38 EEST; 6min ago
TriggeredBy: ● pipewire.socket
Main PID: 92132 (pipewire)
Tasks: 3 (limit: 18783)
Memory: 6.0M
CPU: 2.317s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─92132 /usr/bin/pipewire
Sep 06 01:05:38 archy systemd[634]: Started PipeWire Multimedia Service.
● pipewire-pulse.service - PipeWire PulseAudio
Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
Active: active (running) since Wed 2023-09-06 01:05:38 EEST; 6min ago
TriggeredBy: ● pipewire-pulse.socket
Main PID: 92136 (pipewire-pulse)
Tasks: 3 (limit: 18783)
Memory: 3.0M
CPU: 35ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
└─92136 /usr/bin/pipewire-pulse
Sep 06 01:05:38 archy systemd[634]: Started PipeWire PulseAudio.
● wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: active (running) since Wed 2023-09-06 01:05:38 EEST; 6min ago
Main PID: 92135 (wireplumber)
Tasks: 7 (limit: 18783)
Memory: 9.4M
CPU: 272ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
└─92135 /usr/bin/wireplumber
Sep 06 01:05:38 archy systemd[634]: Started Multimedia Service Session Manager.
Sep 06 01:05:38 archy wireplumber[92135]: [16:03:09.246689203] [92135] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Sep 06 01:05:38 archy wireplumber[92135]: [16:03:09.246700633] [92135] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Sep 06 01:05:38 archy wireplumber[92135]: [16:03:09.246726659] [92135] INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Sep 06 01:05:38 archy wireplumber[92135]: <WpPortalPermissionStorePlugin:0x562e1f978fc0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Sep 06 01:05:39 archy wireplumber[92135]: <WpSiAudioAdapter:0x562e1fb638d0> Object activation aborted: proxy destroyed
Sep 06 01:05:39 archy wireplumber[92135]: <WpSiAudioAdapter:0x562e1fb638d0> failed to activate item: Object activation aborted: proxy destroyed
```
I'm pretty sure this was working at some point, but I recently noticed that it doesn't work, so I can't exactly narrow it down in which version it got broken.
```
$ pacman -Q pipewire wireplumber
pipewire 1:0.3.79-1
wireplumber 0.4.14-1
```https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3490Ability to limit bluetooth to specific bluetooth adapter2023-09-10T10:48:56ZKasper SAbility to limit bluetooth to specific bluetooth adapterwhen running multiple pipewire instances with wireplumber (for multi-seat where two seats are active at same time), this tends to happen:
spa.bluez5.native ../pipewire-0.3.77/spa/plugins/bluez5/backend-native.c:1840:sco_listen: listen()...when running multiple pipewire instances with wireplumber (for multi-seat where two seats are active at same time), this tends to happen:
spa.bluez5.native ../pipewire-0.3.77/spa/plugins/bluez5/backend-native.c:1840:sco_listen: listen(): Address already in use
A solution I can see, is to limit each seat to its own bluetooth adapter, but I see no option to do that.https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3489pipewire fails to build on alpha architecture; failure in test suite due to s...2023-09-24T13:49:30ZDylan Aïssipipewire fails to build on alpha architecture; failure in test suite due to sigfpeCopy-pasted from [a Debian bug report](https://bugs.debian.org/1051128).
pipewire fails to build on [Alpha architecture](https://www.debian.org/ports/alpha/) due to test suite failure. [From the build
log](https://buildd.debian.org/stat...Copy-pasted from [a Debian bug report](https://bugs.debian.org/1051128).
pipewire fails to build on [Alpha architecture](https://www.debian.org/ports/alpha/) due to test suite failure. [From the build
log](https://buildd.debian.org/status/fetch.php?pkg=pipewire&arch=alpha&ver=0.3.79-1&stamp=1693346040&raw=0):
```
8/22 test-resample FAIL 0.19s killed by signal 8 SIGFPE
```
Re-running the test under gdb reveals the failure is in:
```
(gdb) bt
#0 0x0000020001002b14 in inner_product_c (n_taps=<optimized out>, taps=0x2000102e300, s=0x11fcfbb54, d=0x11fcf9cf0)
at ../spa/plugins/audioconvert/resample-native-c.c:13
#1 do_resample_full_c (r=0x11fcfd000, src=<optimized out>, ioffs=0, in_len=0x11fcf8eb4, dst=<optimized out>, ooffs=34,
out_len=0x11fcfcf80) at ../spa/plugins/audioconvert/resample-native-c.c:44
#2 0x0000020001001cb4 in impl_native_process (r=0x11fcfd000, src=0x11fcfcf78, in_len=0x11fcfcf84, dst=0x11fcfcf70,
out_len=0x11fcfcf80) at ../spa/plugins/audioconvert/resample-native.c:238
#3 0x000002000100157c in pull_blocks (r=0x11fcfd000, first=<optimized out>, size=1024)
at ../spa/plugins/audioconvert/test-resample.c:89
#4 0x0000020001000ec8 in test_in_len () at ../spa/plugins/audioconvert/test-resample.c:123
#5 main (argc=<optimized out>, argv=<optimized out>) at ../spa/plugins/audioconvert/test-resample.c:154
```
And disassembling at the failure point reveals:
```
0x0000020001002b10 <+336>: muls $f14,$f11,$f13
=> 0x0000020001002b14 <+340>: sextl t0,t0
```
i.e. it is multiplying two single precision floating-point values
together (the location of the failure can be an instruction or
two out due to superscalar execution in the pipeline; it will be
the muls instruction that caused the fault):
```
f11 5.2433191122247536e-09 (raw 0x3e36851720000000)
f14 1.6132473000813483e-310 (raw 0x00001db280000000)
```
and we see that f14 is a denormalised floating point number. (The
interpretation by gdb that it is 1.613...e-310 is wrong in that gdb
has assumed incorrectly that it is a double precision number for
printing the value.)
The relevant module was compiled with -ffast-math. The relevant line
in the [build
log](https://buildd.debian.org/status/fetch.php?pkg=pipewire&arch=alpha&ver=0.3.79-1&stamp=1693346040&raw=0) is:
```
[89/965] cc -Ispa/plugins/audioconvert/libaudioconvert_c.a.p -Ispa/plugins/audioconvert -I../spa/plugins/audioconvert -Ispa/include -I../spa/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu11 -fvisibility=hidden -fno-strict-aliasing -Werror=suggest-attribute=format -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wmaybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wdeprecated-declarations -Wunused-result -Werror=return-type -D_GNU_SOURCE -DFASTPATH -Werror=implicit-function-declaration -Werror=int-conversion -Werror=old-style-declaration -Werror=old-style-definition -Werror=missing-parameter-type -Werror=strict-prototypes -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ofast -ffast-math -MD -MQ spa/plugins/audioconvert/libaudioconvert_c.a.p/resample-native-c.c.o -MF spa/plugins/audioconvert/libaudioconvert_c.a.p/resample-native-c.c.o.d -o spa/plugins/audioconvert/libaudioconvert_c.a.p/resample-native-c.c.o -c ../spa/plugins/audioconvert/resample-native-c.c
```
But according to the gcc manual:
This option is not turned on by any -O option besides
-Ofast since it can result in incorrect output for programs
that depend on an exact implementation of IEEE or ISO
rules/specifications for math functions. It may, however,
yield faster code for programs that do not require the
guarantees of these specifications.
That's the problem. The use of -ffast-math "can result in incorrect
output" if "depend on an exact implementation of IEEE" and on Alpha
-ffast-math turns off IEEE support for infinities, NaNs and
denormalised numbers, and the use of any of these results in a
SIGFPE signal being raised.
One wonders why pipewire would even need support for denormalised
numbers given that audio has a much more limited range of values!
Maybe the test suite is testing something that will never occur
in practice, in which case this test should be modified not to
include denormalised numbers. Or, if there is a good reason to
expect denormalised numbers to be possible then this module should
not be compiled with -ffast-math on Alpha. (Or the input should be
tested and any denormalised numbers set to zero before any further
processing occurs.)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3488ROG MAXIMUS Z790 HERO: no sound from jack microphone in Ubuntu 23.042023-11-07T08:24:42ZValery KhamenyaROG MAXIMUS Z790 HERO: no sound from jack microphone in Ubuntu 23.04Hi
as suggested on Ubuntu Launchpad, I file the bug also here on your gitlab:
--------------------
If you have a jack microphone connected to your ROG MAXIMUS Z790 HERO motherboard and you go into Settings > Sound > Input, you'll see t...Hi
as suggested on Ubuntu Launchpad, I file the bug also here on your gitlab:
--------------------
If you have a jack microphone connected to your ROG MAXIMUS Z790 HERO motherboard and you go into Settings > Sound > Input, you'll see two entries:
* Digital Input S/PDIF USB Audio
* Microphone - USB Audio
if you detach your microphone jack the second one disappears. So, the second one is responsible for your jack mic.
Unfortunately, if you choose this "Microphone - USB Audio" no sound will be shown by the indicator gauge, even if you pull the mic volume to the maximum.
The default sound system in Ubuntu 23.04 is PipeWire. I see ALSA-related packages installed by default, but no pulseaudio and pulseaudio-utils packages.
It would be nice to get microphone working without creating a mess of different sound systems. I'd stay with ALSA+PipeWire without PulseAudio and without JACK.
I see that `arecord` can use ALSA to record sound from microphone, but what about Skype and your other apps that rely on usage of "Microphone - USB Audio" exposed via PipeWire? They don't work.
Any idea how to fix the mic issue without creating a mess?
thanks.
Other details:
----
% lsb_release -rd
No LSB modules are available.
Description: Ubuntu 23.04
Release: 23.04
% apt list --installed |grep -i pipewire
gstreamer1.0-pipewire/lunar,now 0.3.65-3 amd64 [installed,automatic]
libpipewire-0.3-0/lunar,now 0.3.65-3 amd64 [installed,automatic]
libpipewire-0.3-common/lunar,lunar,now 0.3.65-3 all [installed,automatic]
libpipewire-0.3-modules/lunar,now 0.3.65-3 amd64 [installed,automatic]
pipewire-alsa/lunar,now 0.3.65-3 amd64 [installed,automatic]
pipewire-audio/lunar,lunar,now 0.3.65-3 all [installed,automatic]
pipewire-bin/lunar,now 0.3.65-3 amd64 [installed,automatic]
pipewire-pulse/lunar,now 0.3.65-3 amd64 [installed,automatic]
pipewire/lunar,now 0.3.65-3 amd64 [installed,automatic]
% apt list --installed |grep -i alsa
alsa-base/lunar,lunar,now 1.0.25+dfsg-0ubuntu7 all [installed,automatic]
alsa-topology-conf/lunar,lunar,now 1.2.5.1-2 all [installed,automatic]
alsa-ucm-conf/lunar-updates,lunar-updates,now 1.2.6.3-1ubuntu9.1 all [installed,automatic]
alsa-utils/lunar,now 1.2.8-1ubuntu1 amd64 [installed,automatic]
gstreamer1.0-alsa/lunar-updates,lunar-security,now 1.22.1-1ubuntu1.1 amd64 [installed,automatic]
pipewire-alsa/lunar,now 0.3.65-3 amd64 [installed,automatic]
% apt list --installed |grep -i pulse
libcanberra-pulse/lunar,now 0.30-10ubuntu4 amd64 [installed,automatic]
libpulse-mainloop-glib0/lunar,now 1:16.1+dfsg1-2ubuntu3 amd64 [installed,automatic]
libpulse0/lunar,now 1:16.1+dfsg1-2ubuntu3 amd64 [installed,automatic]
libpulse0/lunar,now 1:16.1+dfsg1-2ubuntu3 i386 [installed,automatic]
pipewire-pulse/lunar,now 0.3.65-3 amd64 [installed,automatic]https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3487Occasional segfault when switching outputs2023-12-11T15:46:58ZDavid EmettOccasional segfault when switching outputsSince updating to 0.3.79, I've been seeing occasional segfaults in the `pipewire` daemon when switching outputs using commands like the following:
pactl set-card-profile alsa_card.pci-0000_0c_00.4 output:analog-surround-51
pactl...Since updating to 0.3.79, I've been seeing occasional segfaults in the `pipewire` daemon when switching outputs using commands like the following:
pactl set-card-profile alsa_card.pci-0000_0c_00.4 output:analog-surround-51
pactl set-sink-port alsa_output.pci-0000_0c_00.4.analog-surround-51 analog-output-speaker
The segfaults aren't always in the same place, however two coredumps show a crash in `spa_node_call_ready` in `audioadapter.c`'s `follower_ready`; GDB says `this->callbacks` is `{funcs = 0x0, data = 0x0}` which is presumably the issue?https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3486Volume control via hotkeys with nullsink as default sink2023-09-03T16:44:28ZSteve ParrisVolume control via hotkeys with nullsink as default sink<!-- If you are filing this issue with a regular release please try master as it might already be fixed. -->
- PipeWire version (`pipewire --version`): 0.3.79
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`...<!-- If you are filing this issue with a regular release please try master as it might already be fixed. -->
- PipeWire version (`pipewire --version`): 0.3.79
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): Arch Linux
- Desktop Environment: XFCE
- Kernel version (`uname -r`): 6.4.12-arch1-1
## Description of Problem:
When changing volume with **nullsink** as **default sink** the volume doesn't change. Volume is controlled by keyboard/hotkeys (handled by xfce4-pulseaudio-plugin). It always controls the **default sink**. Technically, the volume _does_ change for nullsink (as seen in **pavucontrol**) but nullsink doesn't seem to care about it. That's ok for a virtual sink and i probably should change my soundcard sink instead.
I have 3 output sinks and set them as **default sink** as needed.
1) Soundcard (PCI)
2) Monitor (HDMI)
3) nullsink
Changing **default sink** to 1) or 2) also changes volume control for the hotkeys correspondingly. That's ok (and should be like this).
For 3) i would need to control a different sink (instead of the default sink).
So, how to set 3) as default sink and 1) as volume control?
Something like Alsa's separation pcm.!default and ctl.!default.
Any solution for this?https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3485Sample rate discrepancy?2023-09-06T13:42:12ZJean-Michaël CelerierSample rate discrepancy?Hello,
I have a node created with pw_filter_new_simple and the following properties:
```
PW_KEY_MEDIA_TYPE, "Audio",
PW_KEY_MEDIA_CATEGORY, "Duplex",
PW_KEY_MEDIA_ROLE, "DSP",
PW_KEY_MEDIA_NAME, "ossia",
PW_KEY_NODE_LATENCY, "256/44100"...Hello,
I have a node created with pw_filter_new_simple and the following properties:
```
PW_KEY_MEDIA_TYPE, "Audio",
PW_KEY_MEDIA_CATEGORY, "Duplex",
PW_KEY_MEDIA_ROLE, "DSP",
PW_KEY_MEDIA_NAME, "ossia",
PW_KEY_NODE_LATENCY, "256/44100",
PW_KEY_NODE_RATE, "1/44100",
PW_KEY_NODE_FORCE_QUANTUM, "true",
PW_KEY_NODE_LOCK_QUANTUM, "true",
PW_KEY_NODE_ALWAYS_PROCESS, "true",
PW_KEY_NODE_LOCK_RATE, "true",
PW_KEY_NODE_FORCE_RATE, "true",
PW_KEY_NODE_PAUSE_ON_IDLE, "false",
PW_KEY_NODE_SUSPEND_ON_IDLE, "false",
```
It shows up in pw-top as this:
R 64 256 44100 47.6us 39.1us 0.01 0.01 0 + ossia score
but from within my process function, given `struct spa_io_position* position`, I see `position->clock.rate == 1/48000` and the function is indeed called at a 256/48000 rate (I observe 5.33 milliseconds between calls). Where does this mismatch happen, what can I do?
Setting
PIPEWIRE_LATENCY=256/44100
PIPEWIRE_QUANTUM=256/44100
seems to have no effect with pipewire directly.
Going through the JACK API works.https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3484Firefox: can't move streams2023-10-23T14:48:50ZYuriFirefox: can't move streams- PipeWire version (`pipewire --version`): 0.3.79
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): Debian unstable
- Desktop Environment: n/a
- Kernel version (`uname -r`): 6.4.13
## Description of Problem...- PipeWire version (`pipewire --version`): 0.3.79
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): Debian unstable
- Desktop Environment: n/a
- Kernel version (`uname -r`): 6.4.13
## Description of Problem:
A new problem appeared in recent versions of pipewire+Firefox (can't say exactly which version introduced it) where I can't move the input stream of Firefox during an audio call when using meet or slack (and likely others) when disconnecting devices or directly using pavucontrol. For example, if I disconnect a BT headset during a call, the recording stream becomes connected to "unknown" until I essentially reload the firefox page.
I know there's a Pulse quirk for Firefox that was added to allow moving streams to bypass this dumb firefox policy. However just perusing the preferences, it seems that with FF 117 the "media.webrtc.capture.allow-pipewire" now set as default, so maybe that quirk is no longer applied as FF is now directly attached to pw?
At least the policy is only listed in the pulse configuration.
## How Reproducible:
Always
### Steps to Reproduce:
1. Start a call with FF with a removable device
2. Remove that device mid-call
### Actual Results:
3. Notice how the connected stream becomes "unknown" in pavucontrol
### Expected Results:
Let me reroute the streams as I please.
# Additional Info (as attachments):
I'm not using my usual setup as I'm writing this, however I can provide more details later.