pipewire issueshttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues2022-04-12T00:24:16Zhttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2283Microphone not selected upon Bluetooth connect2022-04-12T00:24:16ZBob DoolittleMicrophone not selected upon Bluetooth connect- PipeWire version: 0.3.49
- Distribution and distribution version: Ubuntu 18.04.6 LTS
- Desktop Environment: GNOME 3.28.2
- Kernel version (`uname -r`): 5.4.0-107-generic
- BlueZ version (`bluetoothctl --version`): 5.48
- `lsusb`:
```
B...- PipeWire version: 0.3.49
- Distribution and distribution version: Ubuntu 18.04.6 LTS
- Desktop Environment: GNOME 3.28.2
- Kernel version (`uname -r`): 5.4.0-107-generic
- BlueZ version (`bluetoothctl --version`): 5.48
- `lsusb`:
```
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0424:5534 Standard Microsystems Corp. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 05c8:03b1 Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 006: ID 138a:00ab Validity Sensors, Inc.
Bus 001 Device 004: ID 8087:0a2b Intel Corp.
Bus 001 Device 010: ID 0430:00a2 Sun Microsystems, Inc. Type 7 Keyboard
Bus 001 Device 009: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 008: ID 0430:100e Sun Microsystems, Inc. 24.1" LCD Monitor v4 / FID-638 Mouse
Bus 001 Device 005: ID 0bda:58b0 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 0424:2134 Standard Microsystems Corp. Hub
Bus 001 Device 002: ID 1050:0403 Yubico.com
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
```
- Bluetooth devices:
```
[NEW] Controller 48:F1:7F:22:BC:16 ua21cc08805c85e.ant.amazon.com [default]
[NEW] Device AC:12:2F:CC:B3:C6 Soundcore Life Q30
[NEW] Device 20:04:02:A2:D0:E4 Mpow Jaws
[NEW] Device 00:1F:FF:53:8D:05 PR BT 4704
[NEW] Device 08:DF:1F:90:7F:47 Bose Mini II SoundLink
Agent registered
```
## Description of Problem:
When connecting my Soundcore Life Q30 BT headset, the sound output is automatically switched to the headset. However the sound input does not change to select the BT headset microphone. It remains selecting the default audio input.
## How Reproducible:
100%
### Steps to Reproduce:
1. Power on Soundcore BT headset and let it connect automatically
### Actual Results:
Soundcore BT Headset audio is selected for output, but not for input.
### Expected Results:
Soundcore input and output are selected automatically, rather than requiring me to select it manually from settings.
# Additional Info (as attachments):
`dmesg` output upon head set connection:
```
[ 7715.227196] input: AC:12:2F:CC:B3:C6 as /devices/virtual/input/input62
```
`dmesg` output upon manual selection:
```
[ 8593.893734] Bluetooth: hci0: SCO packet for unknown connection handle 0
[ 8593.903808] Bluetooth: hci0: SCO packet for unknown connection handle 0
[ 8593.903818] Bluetooth: hci0: SCO packet for unknown connection handle 0
[ 8593.903822] Bluetooth: hci0: SCO packet for unknown connection handle 0
[ 8593.903825] Bluetooth: hci0: SCO packet for unknown connection handle 0
[ 8593.913776] Bluetooth: hci0: SCO packet for unknown connection handle 0
```
`pactl info` output before connection:
```
Server String: /run/user/623366671/pulse/native
Library Protocol Version: 32
Server Protocol Version: 35
Is Local: yes
Client Index: 926
Tile Size: 65472
User Name: doolir
Host Name: ua21cc08805c85e.ant.amazon.com
Server Name: PulseAudio (on PipeWire 0.3.49)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie: 2c70:5532
```
`pactl info` after connection:
```
Server String: /run/user/623366671/pulse/native
Library Protocol Version: 32
Server Protocol Version: 35
Is Local: yes
Client Index: 933
Tile Size: 65472
User Name: doolir
Host Name: ua21cc08805c85e.ant.amazon.com
Server Name: PulseAudio (on PipeWire 0.3.49)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: bluez_output.AC_12_2F_CC_B3_C6.a2dp-sink
Default Source: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie: 2c70:5532
```
`pactl info` after manual selection:
```
Server String: /run/user/623366671/pulse/native
Library Protocol Version: 32
Server Protocol Version: 35
Is Local: yes
Client Index: 943
Tile Size: 65472
User Name: doolir
Host Name: ua21cc08805c85e.ant.amazon.com
Server Name: PulseAudio (on PipeWire 0.3.49)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: bluez_output.AC_12_2F_CC_B3_C6.headset-head-unit
Default Source: bluez_input.AC_12_2F_CC_B3_C6.headset-head-unit
Cookie: 2c70:5532
```
`pavucontrol` lists Soundcore BT as an Output Device, but not as an Input Device. I'm not sure whether or not this is expected behavior. `pipewire-pulse` is running.[pw-dump.log](/uploads/9475be3a9a10f07997b12cd143d95436/pw-dump.log)
- `pw-dump > pw-dump.log`:
- Bluetooth debug log, see [here]([pipewire-bluez.log](/uploads/48629fb27ab46f004ef6c57cbda40988/pipewire-bluez.log)): attached[pipewire-bluez.log](/uploads/71881402774fcdd29abe7c2f61f26737/pipewire-bluez.log)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2282Clipping/distorted/blown-out audio from specific video when OS volume is turn...2022-07-09T08:52:56ZK4LCIFERClipping/distorted/blown-out audio from specific video when OS volume is turned up high<!-- If you are filing this issue with a regular release please try master as it might already be fixed. -->
- PipeWire version: 0.3.49
- Distribution and distribution version: Arch Linux
- Desktop Environment: Gnome 42.0, Wayland
- Ker...<!-- If you are filing this issue with a regular release please try master as it might already be fixed. -->
- PipeWire version: 0.3.49
- Distribution and distribution version: Arch Linux
- Desktop Environment: Gnome 42.0, Wayland
- Kernel version: 5.17.1-arch1-1
## Description of Problem:
Experiencing extreme distortion of loud sounds in the form of heavy clipping or "blown-out audio".
## How Reproducible:
It is reproduceable for me.
### Steps to Reproduce:
1. Turn system volume to max (overamplification disabled)
2. Play the video linked below.
3. Skip to 00:01:29 in the video (the intro scene with Cooper's dream of him flying the ship).
4. Observe that the loud portions of this scene are heavily blown out.
### Actual Results:
Blown out/clipped audio at loud spikes/areas with lots of bass.
### Expected Results:
Clean audio
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`: [pw-dump.log](/uploads/81ce9082304afe5ddbcf4ac627b0de69/pw-dump.log)
- Audio interface: Focusrite scarlett 2i2
- Watching video with MPV player.
- Sample Video (WARNING: This is a torrent of a copywritten video, so download it at your own risk): `magnet:?xt=urn:btih:fa9773b96054338d1f1c10f2a4d2d9bd5a578b92&dn=Interstellar%20(2014)%20%5b2160p%5d%20%5b4K%5d%20%5bBluRay%5d%20%5b5.1%5d%20%5bYTS.MX%5d&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=udp%3a%2f%2f9.rarbg.to%3a2710%2fannounce&tr=udp%3a%2f%2fp4p.arenabg.ch%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.cyberia.is%3a6969%2fannounce&tr=http%3a%2f%2fp4p.arenabg.com%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.internetwarriors.net%3a1337%2fannounce`https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2281pipewire 0.3.49 crashes on jack_client_close if (default) jack.conf present i...2022-11-09T12:20:43ZDavid Rungepipewire 0.3.49 crashes on jack_client_close if (default) jack.conf present in override locationHi! When trying to run [agordejo](https://git.laborejo.org/lss/Agordejo/) with pipewire and a custom override in /etc/pipewire/jack.conf.d/override.conf ([override.conf](/uploads/c7cb4a38f2a60768065ebbf8e4d0033b/override.conf)), agordejo...Hi! When trying to run [agordejo](https://git.laborejo.org/lss/Agordejo/) with pipewire and a custom override in /etc/pipewire/jack.conf.d/override.conf ([override.conf](/uploads/c7cb4a38f2a60768065ebbf8e4d0033b/override.conf)), agordejo crashes. This crash can not be observed with jack2.
For jack detection agordejo attempts to open and then close a jack client. The crash is triggered on [jack_client_close()](https://git.laborejo.org/lss/Agordejo/src/commit/ec9b0ce787faf240a1034adfd962c9ecbf42819e/engine/start.py#L212) and is also triggered when [the default jack.conf](https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/6ad6300ec657c88322a8cd6f3548261d3dc05359/src/daemon/jack.conf.in) is used in the above location.
edit: The crash is not observed if no file is present in the override location. I was not able to find a combination of configuration options that trigger the issue.
If you need more info than the below coredump let me know.
Unrelated: A man page for the jack.conf would be super appreciated! :)
```
PID: 62084 (python3)
UID: 1000 (dave)
GID: 1000 (dave)
Signal: 11 (SEGV)
Timestamp: Sun 2022-04-10 20:02:44 CEST (8min ago)
Command Line: python3 ./agordejo --verbose
Executable: /usr/bin/python3.10
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (dave)
Boot ID: 34fa8cc914d24231bca1b8135a1b338e
Machine ID: 4cd3eb639b8545f7920abc7f22892343
Hostname: trvlr
Storage: /var/lib/systemd/coredump/core.python3.1000.34fa8cc914d24231bca1b8135a1b338e.62084.1649613764000000.zst (present)
Disk Size: 3.1M
Message: Process 62084 (python3) of user 1000 dumped core.
Module linux-vdso.so.1 with build-id ae8518a0710c2679844504efb751b01abf13cef5
Module libpipewire-module-metadata.so with build-id 75914d9d89b0b517562141df66fec05ee9a77809
Module libpipewire-module-client-node.so with build-id 5d5bb786a940ee33df5d0f72eaa3b63209385f91
Module libpipewire-module-protocol-native.so with build-id 719050a25d871ace56256dfa73fa94c5bd528d93
Module libpipewire-module-rt.so with build-id c6f3940e77a8923b69ac2888aa62a2cc5b4c31f1
Module libspa-dbus.so with build-id 0a3399934a8e89e932a65d5be38a37056a566d91
Module libspa-journal.so with build-id 31ef6525d9d1867b3840a376ba825fe72e636c7f
Module libspa-support.so with build-id 27fc14e3c6d3ae464b7e062065e2de3bf81931e7
Module libpipewire-0.3.so.0 with build-id 53b547e7dd190b48e3386f2419368d27f4726818
Module libjack.so.0 with build-id 25996965375aef43b0bdea4483eefb8374a7e4b4
Module _struct.cpython-310-x86_64-linux-gnu.so with build-id 19097330480dc2d2725776938f115063ac97193a
Module _ctypes.cpython-310-x86_64-linux-gnu.so with build-id d8d34e0175e930a7089cb4a2cc3d6b212cd30a15
Module libxml2.so.2 with build-id 34aa03d6fadb52a051964f0e50a977efaea9482e
Module libncursesw.so.6 with build-id 1f873ddb2c32ab39d0b7d8646d03680ffe99de7c
Module libedit.so.0 with build-id 4b0babfcad161c2ad0af6e59e2493258db23a331
Module libvulkan.so.1 with build-id 9a68026d3ebb939eab0b6165c10596468560db5e
Module libdrm_nouveau.so.2 with build-id af8afb2331ac08c52132102ecbdc6076a8eb4c6f
Module libdrm_amdgpu.so.1 with build-id 8eb3977b830f3012d9ead7b4def5f4d2f38ec688
Module libelf.so.1 with build-id 4cf96cb4785e1ca233693ae17fa0d62971ee09c2
Module libdrm_radeon.so.1 with build-id 43e0aecc70c4ce905ba35c948e1c9a5d999b14c0
Module libsensors.so.5 with build-id dc8b2c1c0d8525411aca188ea3cc3fb86d381d30
Module libLLVM-13.so with build-id 76d1fe97dbdca6d6891c6a1a7c06a388aa247154
Module crocus_dri.so with build-id 038d7fe313c75afbb868d4e7d2e7d4959069a751
Module libxshmfence.so.1 with build-id 8876d9ccf620858795724ca24b9e567585a77cec
Module libxcb-sync.so.1 with build-id dda14591103b01b1311906053bf1ca9e82ade35c
Module libxcb-present.so.0 with build-id 68f5465258750e2397b1333b3ffc01ee33caa4e1
Module libxcb-dri3.so.0 with build-id 9407a2480e09dc5a1dd9d9a0652fa8d32b328c91
Module libwayland-server.so.0 with build-id 5526cec43774a83c7ab8c7ff820eea8b28880d51
Module libdrm.so.2 with build-id 00816f0a71c7e4e388c10db6245dbb9c031732a9
Module libxcb-xfixes.so.0 with build-id a6b197ace5b9b59f913f5969eb419a88d1194f47
Module libxcb-dri2.so.0 with build-id 2dd6e65129a809dab828a1d26215a3f7a363fcc8
Module libX11-xcb.so.1 with build-id f6beacd41cd16a23f53e5e56bb599e98f039d0d6
Module libglapi.so.0 with build-id 11581a3febd714d3ddc9bb9ac62e1e29843f51ed
Module libgbm.so.1 with build-id 3222d981eee391f1d803df1046c0f4060a1fb5cc
Module libEGL_mesa.so.0 with build-id 9bdec23be88ff30319afeb136e63d90623d5f0dc
Module libcomposeplatforminputcontextplugin.so with build-id 21084422e8f6910b5e50e5b059e60e221b20c049
Module libdbus-1.so.3 with build-id 7f4b16b4b407cbae2d7118d6f99610e29a18a56a
Module libexpat.so.1 with build-id 113bb5a3e9ad856801bfcfc029102c9bdc13d67e
Module libffi.so.8 with build-id f90d8b734f6de9b25faedb8cbfab7054dafc0a42
Module libxkbcommon.so.0 with build-id 3a9338b2085f0af41217bc0a90ffcc941938a16e
Module libQt5DBus.so.5 with build-id eaadac7eb0682c8accdb8431fb928470c0546840
Module libfontconfig.so.1 with build-id 36be6951b8c1e42a7dd05684a37400fc8ef9147c
Module libwayland-cursor.so.0 with build-id 647d92328111682fb15bff1c20a4c9368414857c
Module libwayland-client.so.0 with build-id 95e7368b400dd57e3db2a5c385de71c7dca08879
Module libwayland-egl.so.1 with build-id ac45e227422559ff92c4d04851fffb8452874713
Module libEGL.so.1 with build-id 686c2e4036c01a3a72349ed0dd04f7c434af14ce
Module libQt5WaylandClient.so.5 with build-id 9f3c21f7f5196ef19ecc2d12703063106f43e873
Module libqwayland-egl.so with build-id 1800540637e4876c84c79e1e90c707944ab078e7
Module _lzma.cpython-310-x86_64-linux-gnu.so with build-id 186b6ce4c94ba416862a06a530e114a18ce1f839
Module _bz2.cpython-310-x86_64-linux-gnu.so with build-id 7e74fa9479cd3b0a6229d3da36b1bb1bb41e7bfe
Module zlib.cpython-310-x86_64-linux-gnu.so with build-id 7b63b814a52529ba43bb950a9bb1c57cde227f6e
Module _blake2.cpython-310-x86_64-linux-gnu.so with build-id 8a18254bf65b0b11b9608b2056fad872ac203c91
Module libcrypto.so.1.1 with build-id f94a24f9ce8f3f394c3df23f7d436796797d4459
Module _hashlib.cpython-310-x86_64-linux-gnu.so with build-id 15ab0bd96684418ab435b0abea020d96415a702b
Module libQt5Widgets.so.5 with build-id 843a982f8a0dab86c67b5fe72ee0eece971ed305
Module QtWidgets.abi3.so with build-id da2f2ebb5f49827183a48cddadd88c0481943aa9
Module libXdmcp.so.6 with build-id 8ca0792d23c8b8b4c0864297512349292bea5955
Module libXau.so.6 with build-id 1c67764663e07bec24d8951e5fd93f4d165979ff
Module libbrotlicommon.so.1 with build-id a4ba3f4b4571c8272343b621da812a6e24a202a7
Module libxcb.so.1 with build-id 0d1ef11740a5daad2ee331e812a51aa6574af222
Module libbrotlidec.so.1 with build-id 45defc036e918e0140a72f1fbce6e7692d38241d
Module libbz2.so.1.0 with build-id 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
Module libX11.so.6 with build-id 1bf9c2f1c9e2f823a1200b41ffa6b09943edf886
Module libgraphite2.so.3 with build-id 47761dc11e553f519cde97ed9ee985be12ccdae2
Module libfreetype.so.6 with build-id 2c4fc9c3e3c6324e6a495e760c2b9b62559d695c
Module libGLX.so.0 with build-id 2a08836c6e6126ce9ff4496b6aacaf29ae9b4e7b
Module libGLdispatch.so.0 with build-id 501765b3a78d668860fa54229b18107473aeda4c
Module libmd4c.so.0 with build-id 2151dba72cdc9960097e6e960a58a2f03c8bb96e
Module libharfbuzz.so.0 with build-id ac8220c9649822c84097ad58e80b97a86f3b4f7f
Module libpng16.so.16 with build-id 2dc0bce07f199bf983c07a05fb95a6f4af83a9b3
Module libGL.so.1 with build-id 912ac4f37a9fa2d5abcf7a9088c9983cfe46f12a
Module libQt5Gui.so.5 with build-id 367ea3f2b4912ab46f4e9d4dd8376de8a6c46570
Module QtGui.abi3.so with build-id 050753e65ced93faff4284b2d4252690fdf60dcf
Module sip.cpython-310-x86_64-linux-gnu.so with build-id 7c77893ba9b264b9823523ae8782ee88e6f37201
Module libgpg-error.so.0 with build-id f9aaa96d5ddf6f6872051ed7abcdfe6bdaff9b1c
Module libpcre.so.1 with build-id 845483dd0acba86de9f0313102bebbaf3ce52767
Module libdl.so.2 with build-id bb9bd2657bfba9f60bd34d2050cc63a7eb024bc4
Module libpthread.so.0 with build-id 7fa8b52fae071a370ba4ca32bf9490a30aff31c4
Module libicudata.so.70 with build-id e1dcc2a88cfaafed882d09c90c668af0eed4efed
Module libgcrypt.so.20 with build-id 8bf3cb884124273640de797a3e77d86c98434ea4
Module libcap.so.2 with build-id eb6dae97527fc89dbb0d5bb581a15acd02ae9f56
Module liblz4.so.1 with build-id e63600ab23b2f6997f42fac2fa56e1f02ce159a1
Module liblzma.so.5 with build-id 28b40c7af8098a66af6ee093b6986b91cad7694d
Module libgcc_s.so.1 with build-id 5d817452a709ca3a213341555ddcf446ecee37fa
Module libglib-2.0.so.0 with build-id d6c7c03d71a1b71f59e10016323136de55f43266
Module libzstd.so.1 with build-id 3bccb8fe08e48d5ea135b1d0f99de0d771dd752f
Module libpcre2-16.so.0 with build-id 195fbccafbcff538ce13805ba687514fb614c5ed
Module libicuuc.so.70 with build-id 2e245c2bf12f95fd8ab79b3a4be99524677cbd70
Module libicui18n.so.70 with build-id 95af755fca990df26753a7d720b8e3ae24270e42
Module libdouble-conversion.so.3 with build-id d162eb67b00f523a3f146b1077ae00fe04d5fb85
Module libz.so.1 with build-id 1fb800ce60ddb605ebe23f9702adcd341c7c8970
Module libsystemd.so.0 with build-id 05d0460efefd339d315812f9506aecc5a5d22200
Module libstdc++.so.6 with build-id 88ad4eff81a00c684abfe0f863e87434123d8943
Module libQt5Core.so.5 with build-id bef6f9c12d4d3dc7185d4665c703a96e4f14ae78
Module QtCore.abi3.so with build-id 702e4daa6df300f2cc4a4a29fca4c4863f570ec1
Module ld-linux-x86-64.so.2 with build-id c09c6f50f6bcec73c64a0b4be77eadb8f7202410
Module libm.so.6 with build-id 596b63a006a4386dcab30912d2b54a7a61827b07
Module libc.so.6 with build-id 85766e9d8458b16e9c7ce6e07c712c02b8471dbc
Module libpython3.10.so.1.0 with build-id 901a4aa7e17268bd8139edc953a41faa7311f64f
Module python3.10 with build-id d98be67281de551fbc0a44f93c9395b3e99dd0ee
Stack trace of thread 62084:
#0 0x00007f0f768b034c __pthread_kill_implementation (libc.so.6 + 0x8f34c)
#1 0x00007f0f768634b8 raise (libc.so.6 + 0x424b8)
#2 0x00007f0f76863560 __restore_rt (libc.so.6 + 0x42560)
#3 0x00007f0f669ca6e1 n/a (libpipewire-module-metadata.so + 0x26e1)
#4 0x00007f0f66907300 pw_impl_module_destroy (libpipewire-0.3.so.0 + 0x63300)
#5 0x00007f0f668e7546 pw_context_destroy (libpipewire-0.3.so.0 + 0x43546)
#6 0x00007f0f66991679 jack_client_close (libjack.so.0 + 0x14679)
#7 0x00007f0f70b50d4a n/a (libffi.so.8 + 0x6d4a)
#8 0x00007f0f70b50267 n/a (libffi.so.8 + 0x6267)
#9 0x00007f0f70aade9e n/a (_ctypes.cpython-310-x86_64-linux-gnu.so + 0x7e9e)
#10 0x00007f0f70aad5fc n/a (_ctypes.cpython-310-x86_64-linux-gnu.so + 0x75fc)
#11 0x00007f0f76b74ddb _PyObject_MakeTpCall (libpython3.10.so.1.0 + 0x149ddb)
#12 0x00007f0f76b701c5 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x1451c5)
#13 0x00007f0f76b7b8cc _PyFunction_Vectorcall (libpython3.10.so.1.0 + 0x1508cc)
#14 0x00007f0f76b6ab43 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x13fb43)
#15 0x00007f0f76b7b8cc _PyFunction_Vectorcall (libpython3.10.so.1.0 + 0x1508cc)
#16 0x00007f0f76b6ab43 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x13fb43)
#17 0x00007f0f76b69752 n/a (libpython3.10.so.1.0 + 0x13e752)
#18 0x00007f0f76c20f64 PyEval_EvalCode (libpython3.10.so.1.0 + 0x1f5f64)
#19 0x00007f0f76c27611 n/a (libpython3.10.so.1.0 + 0x1fc611)
#20 0x00007f0f76b7bad0 n/a (libpython3.10.so.1.0 + 0x150ad0)
#21 0x00007f0f76b707b2 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x1457b2)
#22 0x00007f0f76b7b8cc _PyFunction_Vectorcall (libpython3.10.so.1.0 + 0x1508cc)
#23 0x00007f0f76b6f95b _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x14495b)
#24 0x00007f0f76b7b8cc _PyFunction_Vectorcall (libpython3.10.so.1.0 + 0x1508cc)
#25 0x00007f0f76b6aefb _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x13fefb)
#26 0x00007f0f76b7b8cc _PyFunction_Vectorcall (libpython3.10.so.1.0 + 0x1508cc)
#27 0x00007f0f76b6ab43 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x13fb43)
#28 0x00007f0f76b7b8cc _PyFunction_Vectorcall (libpython3.10.so.1.0 + 0x1508cc)
#29 0x00007f0f76b6ab43 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x13fb43)
#30 0x00007f0f76b7b8cc _PyFunction_Vectorcall (libpython3.10.so.1.0 + 0x1508cc)
#31 0x00007f0f76b7b054 n/a (libpython3.10.so.1.0 + 0x150054)
#32 0x00007f0f76b8d09f _PyObject_CallMethodIdObjArgs (libpython3.10.so.1.0 + 0x16209f)
#33 0x00007f0f76b8bec9 PyImport_ImportModuleLevelObject (libpython3.10.so.1.0 + 0x160ec9)
#34 0x00007f0f76baea8c n/a (libpython3.10.so.1.0 + 0x183a8c)
#35 0x00007f0f76b7b462 n/a (libpython3.10.so.1.0 + 0x150462)
#36 0x00007f0f76b8783b PyObject_Call (libpython3.10.so.1.0 + 0x15c83b)
#37 0x00007f0f76b707b2 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x1457b2)
#38 0x00007f0f76b7b8cc _PyFunction_Vectorcall (libpython3.10.so.1.0 + 0x1508cc)
#39 0x00007f0f76b6ab43 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x13fb43)
#40 0x00007f0f76b7b8cc _PyFunction_Vectorcall (libpython3.10.so.1.0 + 0x1508cc)
#41 0x00007f0f76b7b054 n/a (libpython3.10.so.1.0 + 0x150054)
#42 0x00007f0f76b8d09f _PyObject_CallMethodIdObjArgs (libpython3.10.so.1.0 + 0x16209f)
#43 0x00007f0f76b8c34a PyImport_ImportModuleLevelObject (libpython3.10.so.1.0 + 0x16134a)
#44 0x00007f0f76b6f3c8 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x1443c8)
#45 0x00007f0f76b69752 n/a (libpython3.10.so.1.0 + 0x13e752)
#46 0x00007f0f76c20f64 PyEval_EvalCode (libpython3.10.so.1.0 + 0x1f5f64)
#47 0x00007f0f76c30df4 n/a (libpython3.10.so.1.0 + 0x205df4)
#48 0x00007f0f76c2c7bb n/a (libpython3.10.so.1.0 + 0x2017bb)
#49 0x00007f0f76ac8c13 n/a (libpython3.10.so.1.0 + 0x9dc13)
#50 0x00007f0f76ac8893 _PyRun_SimpleFileObject (libpython3.10.so.1.0 + 0x9d893)
#51 0x00007f0f76ac9228 _PyRun_AnyFileObject (libpython3.10.so.1.0 + 0x9e228)
#52 0x00007f0f76c3d6ab Py_RunMain (libpython3.10.so.1.0 + 0x2126ab)
#53 0x00007f0f76c1198d Py_BytesMain (libpython3.10.so.1.0 + 0x1e698d)
#54 0x00007f0f7684e310 __libc_start_call_main (libc.so.6 + 0x2d310)
#55 0x00007f0f7684e3c1 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2d3c1)
#56 0x00005641f18c7045 _start (python3.10 + 0x1045)
Stack trace of thread 62085:
#0 0x00007f0f768ab15a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
#1 0x00007f0f768ad960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
#2 0x00007f0f6f0091fc n/a (crocus_dri.so + 0xc01fc)
#3 0x00007f0f6f00288c n/a (crocus_dri.so + 0xb988c)
#4 0x00007f0f768ae5c2 start_thread (libc.so.6 + 0x8d5c2)
#5 0x00007f0f76933584 __clone (libc.so.6 + 0x112584)
Stack trace of thread 62086:
#0 0x00007f0f768ab15a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
#1 0x00007f0f768ad960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
#2 0x00007f0f75991cfc _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xebcfc)
#3 0x00007f0f70d11297 n/a (libQt5WaylandClient.so.5 + 0x75297)
#4 0x00007f0f7598a8cc n/a (libQt5Core.so.5 + 0xe48cc)
#5 0x00007f0f768ae5c2 start_thread (libc.so.6 + 0x8d5c2)
#6 0x00007f0f76933584 __clone (libc.so.6 + 0x112584)
Stack trace of thread 62087:
#0 0x00007f0f769272af __poll (libc.so.6 + 0x1062af)
#1 0x00007f0f70d112f6 n/a (libQt5WaylandClient.so.5 + 0x752f6)
#2 0x00007f0f7598a8cc n/a (libQt5Core.so.5 + 0xe48cc)
#3 0x00007f0f768ae5c2 start_thread (libc.so.6 + 0x8d5c2)
#4 0x00007f0f76933584 __clone (libc.so.6 + 0x112584)
ELF object binary architecture: AMD x86-64
```https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2280Centre channel broken when playing a 7.1 stream on 5.1 speakers2022-04-12T10:06:07Zbogi788Centre channel broken when playing a 7.1 stream on 5.1 speakers<!-- 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.49
- 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.49
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): Arch Linux
- Desktop Environment: Gnome 42
- Kernel version (`uname -r`): 5.17.1-arch1-1
When playing a 7.1 channel stream on an 5.1 speakers (using a pulseaudio client, like ffmpeg or mpv) the surround channels appear to be correct, but the front centre channel sounds like it has a lowpass filter applied to it. This does not occur when downmixing the source first and outputting 5.1 directly.
(When using JACK instead of pulseaudio to connect to pipewire each channel sounds as expected, but they are played on the wrong speakers.)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2279Selecting virtual input devices is affected by system input device2022-04-11T17:26:46ZTinterSelecting virtual input devices is affected by system input device<!-- 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.49
- 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.49
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): Arch Linux
- Desktop Environment: KDE Plasma
- Kernel version (`uname -r`): 5.17.1-arch1-1
## Description of Problem:
After running a system update, involving updating pipewire, removing all my old configs and making new ones, I see inconsistent behaviour regarding selecting virtual devices in applications.
I'm using a Behringer UMC204HD, with this config in https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-devices#behringer-umc404hd-micguitar-virtual-sources in /etc/pipewire/pipewire.conf.d/behringer.conf, 404 changed to 204.
I used this setup earlier to run my mic through EasyEffects and guitar through Guitarix.
My application and system settings interact in odd ways, this is my usual setup:
![image](/uploads/6e0e4367c3e66ebee7b79d25269adb48/image.png)
![image](/uploads/43c9fc7095de9fa63a2a40a2858127a6/image.png)
which after my update produces no sound when monitoring EasyEffects output. Selecting "UMC Microphone" or "UMC204HD 192k Pro" in KDE will let it produce output and it does not playback input from the guitar port. Selecting "UMC Guitar" will use the guitar port for input, unless I select "UMC Microphone" first, in which case it will use the microphone.
Selecting "UMC204HD 192k Pro" in the EasyEffects options will behave as expected (Guitar and mic input, regardless of KDE settings).
Selecting "UMC Guitar" in the EasyEffects options will input guitar with "UMC Guitar" in KDE, microphone with "UMC Microphone", microphone and guitar with "UMC204HD 192k Pro" and nothing with "EasyEffects Source".
This is not solely an EasyEffects issue, as Guitarix similarly also cares about which input device I've selected in KDE.
I can't really make sense of this behaviour, but it seems weird and connected to virtual devices or at the very least, how my virtual devices are configured.
The expected behaviour is that I should be able to choose any input device in an application and it would use that as input, regardless of what my system settings have configured.
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`: [pw-dump.log](/uploads/fadb91f4671ea5ca584675cd0d2f4185/pw-dump.log)
I suppose I haven't actually concluded this is caused solely by pipewire and could not possibly be a KDE issue, but at this point I'm not sure how I would verify that.https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2277installation dependency conflict for libspa-0.2-bluetooth2022-04-08T19:31:53ZBob Doolittleinstallation dependency conflict for libspa-0.2-bluetoothUbuntu 20.04 when I attempt to install libspa-0.2-bluetooth I get the following errors:
```
dpkg: error processing archive /var/cache/apt/archives/libldacbt-enc2_2.0.2.3+git20200429+ed310a0-5_amd64.deb (--unpack):
trying to overwrite '...Ubuntu 20.04 when I attempt to install libspa-0.2-bluetooth I get the following errors:
```
dpkg: error processing archive /var/cache/apt/archives/libldacbt-enc2_2.0.2.3+git20200429+ed310a0-5_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libldacBT_enc.so.2', which is also in package libldac:amd64 2.0.2.3-2~bionic1
Preparing to unpack .../libldacbt-abr2_2.0.2.3+git20200429+ed310a0-5_amd64.deb ...
Unpacking libldacbt-abr2:amd64 (2.0.2.3+git20200429+ed310a0-5) ...
dpkg: error processing archive /var/cache/apt/archives/libldacbt-abr2_2.0.2.3+git20200429+ed310a0-5_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libldacBT_abr.so.2', which is also in package libldac:amd64 2.0.2.3-2~bionic1
Selecting previously unselected package libspa-0.2-bluetooth:amd64.
Preparing to unpack .../libspa-0.2-bluetooth_0.3.49-1~ubuntu18.04_amd64.deb ...
Unpacking libspa-0.2-bluetooth:amd64 (0.3.49-1~ubuntu18.04) ...
Errors were encountered while processing:
/var/cache/apt/archives/libldacbt-enc2_2.0.2.3+git20200429+ed310a0-5_amd64.deb
/var/cache/apt/archives/libldacbt-abr2_2.0.2.3+git20200429+ed310a0-5_amd64.deb
```
My apt sources are:
```
/etc/apt/sources.list.d/amazon-gir.list:deb http://cascadia.corp.amazon.com/gir/bionic-amazon amazon main
/etc/apt/sources.list.d/amazon-workspaces-clients.list:deb [arch=amd64] https://d3nt0h4h6pmmc4.cloudfront.net/ubuntu bionic main
/etc/apt/sources.list.d/dev.list:deb [arch=amd64] http://cascadia.corp.amazon.com/amazon bt main
/etc/apt/sources.list.d/eh5-ubuntu-pulseaudio-a2dp-bionic.list:deb http://ppa.launchpad.net/eh5/pulseaudio-a2dp/ubuntu bionic main
/etc/apt/sources.list.d/kritalime-ubuntu-ppa-bionic.list:deb http://ppa.launchpad.net/kritalime/ppa/ubuntu bionic main
/etc/apt/sources.list.d/mmk2410-ubuntu-intellij-idea-bionic.list:deb http://ppa.launchpad.net/mmk2410/intellij-idea/ubuntu bionic main
/etc/apt/sources.list.d/nodesource.list:deb https://deb.nodesource.com/node_14.x bionic main
/etc/apt/sources.list.d/nodesource.list:deb-src https://deb.nodesource.com/node_14.x bionic main
/etc/apt/sources.list.d/openjdk-r-ubuntu-ppa-bionic.list:deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic main
/etc/apt/sources.list.d/openjdk-r-ubuntu-ppa-bionic.list:deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial main
/etc/apt/sources.list.d/pipewire-debian-ubuntu-pipewire-upstream-bionic.list:deb http://ppa.launchpad.net/pipewire-debian/pipewire-upstream/ubuntu bionic main
/etc/apt/sources.list.d/pipewire-debian-ubuntu-wireplumber-upstream-bionic.list:deb http://ppa.launchpad.net/pipewire-debian/wireplumber-upstream/ubuntu bionic main
/etc/apt/sources.list.d/slack.list:deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main
/etc/apt/sources.list.d/spotify.list:deb http://repository.spotify.com stable non-free
/etc/apt/sources.list.d/upstream.list:deb https://zim.client-eng.a2z.com/ubuntu/prod bionic main restricted universe
/etc/apt/sources.list.d/upstream.list:deb https://zim.client-eng.a2z.com/canonical-partner/prod bionic main
/etc/apt/sources.list.d/upstream.list:deb https://zim.client-eng.a2z.com/ansible/prod bionic main
/etc/apt/sources.list.d/upstream.list:deb [arch=amd64] https://zim.client-eng.a2z.com/chrome/prod bionic main
/etc/apt/sources.list.d/upstream.list:deb https://zim.client-eng.a2z.com/libreoffice/prod bionic main
/etc/apt/sources.list.d/upstream.list:deb https://zim.client-eng.a2z.com/firefox-esr/prod bionic main
/etc/apt/sources.list.d/virtualbox.list:deb [arch=amd64] https://zim.client-eng.a2z.com/virtualbox/prod bionic main
/etc/apt/sources.list.d/vscode.list:deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
/etc/apt/sources.list.d/workspacesclient.list:deb [arch=amd64] https://zim.client-eng.a2z.com/workspacesclient/prod bionic main
```
aptitude and apt are unable to fix the broken dependencies.https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2276Force AC3 Codec with iec958 Output?2022-09-22T13:43:33ZLUBEForce AC3 Codec with iec958 Output?- PipeWire version: 0.3.49
- Distribution and distribution version: Arch Linux
- Desktop Environment: i3
- Kernel version : 5.17.1-arch1-1
## Description of Problem:
I My AV Surround Reciever I use has an iec958 Input that i want to use...- PipeWire version: 0.3.49
- Distribution and distribution version: Arch Linux
- Desktop Environment: i3
- Kernel version : 5.17.1-arch1-1
## Description of Problem:
I My AV Surround Reciever I use has an iec958 Input that i want to use with my motherboard. But the problem is I can't get the surround output to work. When I use mpv with the dts or ac3, my Surround Reciever shows that it's using that codec, and it works (Audio Files converted via ffmpeg), although mpv does only play 2 of the 6 Audio Channels...
I have all my Sound Cards set up in pipewire.conf through ALSA direcrly, but if I play an audio file with VLC or mpv again, it just uses the PCM Format. I can activate the other codecs, but it doesn't change anything. If i use the Surround Output with the Configuration tab in pavucontrol and select 5.1 digial iec958 output, i get the same issue like in #1648.
Is it somehow possible to Force ALSA to use the AC3 or DTS Codec?https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2275Setting default device and automatic bluetooth switch2022-04-24T16:58:19ZMatteo GuareschiSetting default device and automatic bluetooth switchI have two devices, IDs 49 and 51, 49 is the speakers, 51 is analog output. I can set the default device to 49 with:
`pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo`
and make that permanent through pipewire-pulse.conf...I have two devices, IDs 49 and 51, 49 is the speakers, 51 is analog output. I can set the default device to 49 with:
`pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo`
and make that permanent through pipewire-pulse.conf. Now, that prevents me from getting bluetooth autoconnect.
If I connect to bluetooth, manually or with:
`pactl load-module module-switch-on-connect`
Then, when bluetooth is disconnected, the fallback is 51 again. By reading online, I assume the issue is related to the priority being assigned based on the number, so it falls beack on 51 before 49.
Now, I cannot really see a way out of this. Since I use it so little, I would even be ok with disabling 51 by default and only re-enabling when needed, but I cannot figure out how to do this either.https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2273Creative AE-7 - cant make the 5.1 surround to work2022-04-05T11:35:35ZwolfyrionCreative AE-7 - cant make the 5.1 surround to workPipewire recognizes the Creative AE-7 card but when I am testing the speakers through KDE Audio -- FL FR FC LFE RL RR --
The sound is not surround.
For example when I am playing RR it plays the FR and somehow when I am playing the subw...Pipewire recognizes the Creative AE-7 card but when I am testing the speakers through KDE Audio -- FL FR FC LFE RL RR --
The sound is not surround.
For example when I am playing RR it plays the FR and somehow when I am playing the subwoofer , the testing app is freezing
pw-link -o
alsa_output.pci-0000_09_00.0.analog-surround-51:monitor_FL
alsa_output.pci-0000_09_00.0.analog-surround-51:monitor_FR
alsa_output.pci-0000_09_00.0.analog-surround-51:monitor_RL
alsa_output.pci-0000_09_00.0.analog-surround-51:monitor_RR
alsa_output.pci-0000_09_00.0.analog-surround-51:monitor_FC
alsa_output.pci-0000_09_00.0.analog-surround-51:monitor_LFE
I have tried also to create a virtual sink but again I have failed to produce a 5.1 surround soundhttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2272Chrome stops playing video due to `spa.alsa: set_hw_params: Cannot allocate m...2024-03-05T15:54:08ZKonstantin KharlamovChrome stops playing video due to `spa.alsa: set_hw_params: Cannot allocate memory`After updating pipewire from `0.3.47` to `0.3.49` a problem appeared: when playing a video on youtube with Google Chrome, if you pause it for a minute or more, then after unpausing it will keep loading indefinitely. If you reload the pag...After updating pipewire from `0.3.47` to `0.3.49` a problem appeared: when playing a video on youtube with Google Chrome, if you pause it for a minute or more, then after unpausing it will keep loading indefinitely. If you reload the page, `pipewire` prints to logs:
```
апр 04 14:25:18 constantine-N61Ja pipewire[582]: spa.alsa: set_hw_params: Cannot allocate memory
апр 04 14:25:18 constantine-N61Ja pipewire[582]: pw.node: (alsa_output.pci-0000_00_1f.3.analog-stereo-35) suspended -> error (Start error: Cannot allocate memory)
апр 04 14:25:18 constantine-N61Ja pipewire-media-session[23949]: ms.core: error id:53 seq:40784 res:-12 (Cannot allocate memory): Start error: Cannot allocate memory
апр 04 14:25:18 constantine-N61Ja pipewire[582]: pw.link: 0x5595d9768ba0: one of the nodes is in error out:running in:error
```
Sometimes restarting Chrome fixes this, but right now I can't even make it work by restarting Chrome.
It seems to happen to any video, but in case it matters: it's reproducible here https://youtu.be/oYtlnZ9vDEw
# Steps to reproduce
1. Start Chrome
2. Open https://youtu.be/oYtlnZ9vDEw
3. Pause for a minute
4. Unpause
## Expected
Video continues playing
## Actual
Video shows a "loading" sign indefinitely and playback does not start.
# Versions
* OS: Archlinux
* kernel: 5.17.1-zen1-1-zen
* Pipewire: 0.3.49https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2271pipewire 0.3.49 SIGSEGV on i386 but not on amd642022-04-21T20:15:01ZDylan Aïssipipewire 0.3.49 SIGSEGV on i386 but not on amd64FWD: https://bugs.debian.org/1008907
- PipeWire version (`pipewire --version`):
```
pipewire
Compiled with libpipewire 0.3.49
Linked with libpipewire 0.3.49
```
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-relea...FWD: https://bugs.debian.org/1008907
- PipeWire version (`pipewire --version`):
```
pipewire
Compiled with libpipewire 0.3.49
Linked with libpipewire 0.3.49
```
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`):
```
Debian GNU/Linux bookworm/sid
```
- Desktop Environment:
```
GNOME 42.0
```
- Kernel version (`uname -r`):
```
5.16.0-5-686
```
## Description of Problem:
## How Reproducible:
### Steps to Reproduce:
1. Install a fresh and clean VM with Debian testing i386 (or openSUSE Tumbleweed i686)
2. Switch from pulseaudio to pipewire-pulse
3. Pipewire segfault at startuphttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2270Realtek ALC4080: no sound from S/PDIF2022-06-18T03:36:40ZTatshRealtek ALC4080: no sound from S/PDIF<!-- 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.48
- 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.48
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): Gentoo/Linux
- Desktop Environment: KDE Plasma
- Kernel version (`uname -r`): 5.17.1-gentoo-r1-limelight
## Description of Problem:
I am unable to hear anything from the optical audio output.
I have double checked the receiver works properly as audio from another optical device works fine.
## How Reproducible:
Always.
### Steps to Reproduce:
1. Plug in optical audio cable
2. Select a profile that uses IEC958 output
3. Play some media
### Actual Results:
No sound.
### Expected Results:
Should have sound.
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`: [pw-dump.log](/uploads/2b6ac7ac66ec9c4f638ef2a6d8152516/pw-dump.log)
Similar issue on PulseAudio: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1337https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2269Realtek ALC4080: unable to record from any input2022-04-06T06:47:18ZTatshRealtek ALC4080: unable to record from any input<!-- 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.48
- 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.48
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): Gentoo/Linux
- Desktop Environment: KDE Plasma
- Kernel version (`uname -r`): 5.17.1-gentoo-r1-limelight
## Description of Problem:
I am unable to record from any input line. Jack detection works but no audio is recorded.
## How Reproducible:
Always.
### Steps to Reproduce:
1. Plug in microphone into microphone in or line in (front or back ports)
2. Record with the correct input selected
### Actual Results:
Does not record.
### Expected Results:
Should record.
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`: [pw-dump.log](/uploads/2b6ac7ac66ec9c4f638ef2a6d8152516/pw-dump.log)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2266I have upmixing enabled. Stereo plays on all speakers2022-04-04T07:09:07ZAdolfo RodriguesI have upmixing enabled. Stereo plays on all speakersI have tried and I have failed.
How can I disable this ? KDE speaker test correctly plays each channel but if I open youtube or some music all speakers are working with stereo sources. Why? Can someone help me disable this?
Using hdmi...I have tried and I have failed.
How can I disable this ? KDE speaker test correctly plays each channel but if I open youtube or some music all speakers are working with stereo sources. Why? Can someone help me disable this?
Using hdmi over here.
Thank you
EDIT:
Well just for reference, editing pipewire-pulse.conf like bellow shuts up the rear speakers but the center one continues to play(I did try each settings one at a time and them both, center still plays). I'm out of ideas.
`...
stream.properties = {
#node.latency = 1024/48000
#node.autoconnect = true
#resample.quality = 4
#channelmix.normalize = false
#channelmix.mix-lfe = false
channelmix.upmix = false
channelmix.upmix-method = none # simple, none, psd
#channelmix.lfe-cutoff = 120
#channelmix.fc-cutoff = 6000
#channelmix.rear-delay = 12.0
#channelmix.stereo-widen = 0.1
#channelmix.hilbert-taps = 0
}
...`https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2265within firefox - playing back media on youtube (or loading discord in firefox...2022-05-29T09:27:14ZDreamcat 4within firefox - playing back media on youtube (or loading discord in firefox) - yet another bug report for freezing / hanging / crashing- PipeWire version (`pipewire --version`): `0.3.43`
- Distribution and distribution version: `ubuntu 21.04`
- Desktop Environment: `budgie-desktop 10.5.2`
- Kernel version (`uname -r`): `5.15.32-xanmod1-tt`
## Description of Problem:
T...- PipeWire version (`pipewire --version`): `0.3.43`
- Distribution and distribution version: `ubuntu 21.04`
- Desktop Environment: `budgie-desktop 10.5.2`
- Kernel version (`uname -r`): `5.15.32-xanmod1-tt`
## Description of Problem:
The (yet another) return of the bug you thought was solved! Firefox youtube hanging or messing up. Refusing to play videos. Also discord website freezing up firefox. etc.
## How Reproducible:
Often you cannot see or reproduce this same issue. However what can tell you, is that on my setup, it has the following specific peculiarities, which do seem to have a bearing upon things:
* Firefox version `96.0`
* WebRTC is disabled in the browser (for tighter security)
* XOrg based desktop environment (NOT wayland)
Today have discovered that in the above modes, firefox is using a fallback to pulse audio. Even though pipewire might be supported now in firefox? That is only? If webrtc is enabled and if it's running under wayland. Which my configuration definately isn't
### Steps to Reproduce:
Firstly, the user might need to have the same configuration circumstances as above ^. Because it might not occur under other configurations such as native wayland etc.
1. Edit the config file `~/.config/pipewire/pipewire-pulse.conf`
2. Enable the non default setting `node.autoconnect = false` within the `stream.properties = {` block at the bottom of the file
3. Restart systemd services `pipewire-pulse` and then `pipewire`
4. Reopen firefox or reload the browser tab with a youtube video in it
5. Play the youtube video, and observe if the bug occuring
If the bug is happening, then the timer on the video will not be moving. And the video will not start playing immediately. Instead the video may start to play later on, however if it ever does start to play then there will be no audio.
Another symptom of this bug is that firefox may start freezing intermittently for a number of seconds. And then temporarily un-freeze itself. For a few seconds. And then completely freeze and lock itself up again. In a continual cycle. This cyclic freezing will continue until the user can manually close the tab containing the youtube video. Once the youtube tab is closed then firefox will typically stop misbehaving like that. (until the next time you try playing some more youtube videos).
Furthermore if firefox has been open for a long time (several days). Then the freezing issue will typically become much more severe. And occur to a greater extent. Until firefox becomes almost completely unusable.
OR (alternative bug, but it's realy the same exact bug here)
Just loadup discord website, login and go about navigating the chat rooms. Discord will in the background be trying to setup all sorts of pulse audio streams (for microphone, chat audio and other chat sound effects or notification sounds etc). And this will then also lockup firefox and cause it to freeze a lot. Or to create a situation where it may crash the browser.
This seems to be occuring when firefox is in pulse audio mode AND when `node.autoconnect = false`. But only for in `pipewire-pulse.conf`.
So it is specific to pulse audio clients only. Therefore perhaps some similar type of issues might indeed also occur somehow in other pulse audio clients. But clearly firefox is the easier application of choice here, for trying to reproduce this specific bug.
### Why I am asking for this bug to be fixed:
So why not just remove the config setting to avoid this bug then?
I have a desperate compelling need to set the option `node.autoconnect = false` for all the audio engines (all my client apps), so to stop them from always automatically connecting and routing to the wrong device output. This is a super annoying behaviour, most of all because there seems no good or reliable methods to actually control which specific default device that all the audio gets routed connected to. For example i have these random cheap game controller USB dongles, that then the system chooses for me as being 'THE SOUNDCARD' of my PC. And then everything tries to auto connect to that stupid $5 usb dongle. What i want the target default destination node to be is my DAW software. However it turns out that: I cannot do this important critical thing. At least with this specific `autoconnect` feature of pipewire.
So I must disable this autoconnect feature. At least until such a time that pipewire's autoconnect feature can be improved upon. However that might happen.
Upon seeking advice on matrix, I have been told by someone else (who is much more knowledgable than myself) that it cannot in fact be made to work with any DAW, because a DAW is a software app. This is no good! Because everything first must pass into my DAW for processing. And not directly out to the hardware. No good!
For the time being at least I need to instead resort to a 3rd party helper program. Such as `qpwgraph` to store and remember / save all of my node connections. And then automatically watch and restore them, doing the correct routing between graph nodes. To reproduce the feature and get new connections to go to my DAW program.
Perhaps alsa can instead be configured at a lower level to pretend and masquerade a dummy virtual alsa device, to pretend that is a hardware soundcard. But that is something else entirely far beyond my own understanding. And just impossible to configure and get working properly (i tried). But even if that part of it worked, pipewire is still be autoconnecting to the wrong soundcard anyhow. Which is another different problem with the autoconnect feature that I still absolutely cannot fathom how to change that behaviour whithin pipewire system. It just all seems either way too difficult? or not documented? or not implemented yet?
So that explains is why i need to use the feature `node.autoconnect = false`. At least for the time being. And cannot just simple disable this setting to avoid this bug from happening.
# Additional Info (as attachments):
It should be noted that I have today tested and reproduced (both positively and negatively) this bug on my system. And have double checked that is manually set now `node.autoconnect = false` in all of my OTHER pipewire config files (for native clients, realtime clients, main config default setting, and in jack clients). They all have the autoconnect disabled except for the `pipewire-pulse.config`. When flicking it between true and false to reproduce the issue. Gets both a positive and negative test result. And without changing absolutely anything else on the whole system.
So to be clear it seems specific to pipewire-pulse. Or just pulse clients only. At least here on my system.
If you need further details then please request. Have not included any log file yet because I was too busy getting a decent bug report down. But perhaps you need certain logs, or maybe other additional information that is not included in the default pipewire logs. Then please reply and ask, then I will try my best to provide what you need. Many thanks (and sorry for not providing logs just yet).
# Other possible related bugs (not verified)
Thought it might be helpful to collect other open issues which might seem to have similarities. In case of any duplicates. This does not mean that all of these listed bugs are definately duplicates. It is also likely that some of them are not related to this bug, they just seem a bit similar looking:
* https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2128
* https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2032
* https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1804
* https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1752
* https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1279
@wtaymans PINGhttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2264Easyeffects cuts volume in half for audio going through it2022-05-19T17:37:36ZPLYSHKAEasyeffects cuts volume in half for audio going through it<!-- 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.49
Linked with libpipewire 0.3.49
```
- Distributi...<!-- 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.49
Linked with libpipewire 0.3.49
```
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`):
```
Arch Linux
```
- Desktop Environment:
```
AwesomeWM
```
- Kernel version (`uname -r`):
```
5.17.1-arch1-1
```
## Description of Problem:
Easyeffects cuts in half any audio that is passing through it, even though it doesnt affect audio in any way if it doesn't apply any effects.
There was an ongoing [Easyeffects github issue](https://github.com/wwmm/easyeffects/issues/1425), but it doesnt seem to lead that this is Easyeffects problem. There was also problems with running pw-dot (output was pretty much empty).
## How Reproducible:
Not quite sure, didn't test on other systems, but it has been present on my system for a while (at least 4+ months) with different pipewire and kernel versions.
### Steps to Reproduce:
1. Open easyeffects
2. Open pavucontrol (to check audio levels)
3. Compare easyeffects source and original microphone volumes
### Actual Results:
Volume cut in half
### Expected Results:
Volume should stay the same regardless on the effects applied
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`:
[pw-dump.log](/uploads/8b8c3ba6e4bb2ca9d40be69ae057c4f5/pw-dump.log)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2263Please document pw-link2022-04-02T07:16:48ZVrihubPlease document pw-link`pw-link` lacks a manual page, and hence does not appear at https://docs.pipewire.org/page_tools.html
Thanks!`pw-link` lacks a manual page, and hence does not appear at https://docs.pipewire.org/page_tools.html
Thanks!https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2262change time stop the node when nothing is linked to it anymore2023-09-22T10:40:00ZBarnabe di Kartolachange time stop the node when nothing is linked to it anymorehello good afternoon, I'm using pipewire + wireplumber on linux manjaro + helvum to manage the connections, I turned on some calf plugins to equalize and compress the audio, I connected the browser to the calf input and the calf output t...hello good afternoon, I'm using pipewire + wireplumber on linux manjaro + helvum to manage the connections, I turned on some calf plugins to equalize and compress the audio, I connected the browser to the calf input and the calf output to the system's default audio output , when I'm using a video player when pausing after a few seconds the connection is broken, especially in browsers, when restarting the video it goes back to connecting to the system's standard audio output not the calf input, so I have to disconnect and connect everything again.
is there any way to change the time to disconnect? I already searched the wiki, I changed the line:
--["session.suspend-timeout-seconds"] = 5, -- 0 disables suspend
for
["session.suspend-timeout-seconds"] = 0, -- 0 disables suspend
(or another value greater than 5, such as 50 or 100)
inside /usr/share/wireplumber/main.lua.d/50-alsa-config.lua
but it still continues to disconnect after a few seconds.
/etc/wireplumber/ does not exist in manjaro.https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2260Disordered ports in Carla after 0.3.47 release2022-04-21T09:50:10ZJuan Ramon Castan GuillenDisordered ports in Carla after 0.3.47 releaseUntil pipewire 0.3.47 release everything worked Ok.
but with 0.3.48 and 0.3.49 releases ports are shown with no logical order in multiport audio interfaces.
i.e.
playback_1
playback_2
playback_11
playback_3
playback_12
playback_13
playba...Until pipewire 0.3.47 release everything worked Ok.
but with 0.3.48 and 0.3.49 releases ports are shown with no logical order in multiport audio interfaces.
i.e.
playback_1
playback_2
playback_11
playback_3
playback_12
playback_13
playback_14
playback_4
playback_5
...
Is it a problem with Carla or something is wrong in pipewire?https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2259module-native-protocol-tcp doesn't accept multiple listening addresses2022-04-26T15:11:41ZArtem S. Tashkinovmodule-native-protocol-tcp doesn't accept multiple listening addresses```
pactl load-module module-native-protocol-tcp "listen=127.0.0.1;192.168.0.100;::1"
Failure: Invalid argument
```
What am I doing wrong?```
pactl load-module module-native-protocol-tcp "listen=127.0.0.1;192.168.0.100;::1"
Failure: Invalid argument
```
What am I doing wrong?