pipewire issueshttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues2023-09-11T00:07:45Zhttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2838Apple USB-C dongle not working after suspending2023-09-11T00:07:45ZVixApple USB-C dongle not working after suspending- PipeWire version: Compiled with libpipewire 0.3.60 Linked with libpipewire 0.3.60
- Distribution and distribution version: Fedora Linux 37 (Workstation Edition)
- Desktop Environment: GNOME Shell 43.0
- Kernel version: 6.0.8-300.fc37.x...- PipeWire version: Compiled with libpipewire 0.3.60 Linked with libpipewire 0.3.60
- Distribution and distribution version: Fedora Linux 37 (Workstation Edition)
- Desktop Environment: GNOME Shell 43.0
- Kernel version: 6.0.8-300.fc37.x86_64
## Description of Problem:
Apple, Inc. USB-C to 3.5mm Headphone Jack Adapter does not work after computer wakes from sleep.
## How Reproducible:
Click suspend in gnome power menu, wait for computer to suspend to ram, wake computer from ram, audio isn't working.
### Steps to Reproduce:
1. Suspend
2. Wake up
3. Playing sound from a source doesn't work
4. Change output device to "Digital Output (S/PDIF)", then back to "Headphones" fixes the problem
### Actual Results:
Audio isn't working.
### Expected Results:
Audio device is working properly and reproducing audio when an output source appears.
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`:
[pw-dump.log](/uploads/1bf47900795d02b54d228bef1ca84afb/pw-dump.log)
Disables audio device suspend on inactive state (This prevents crackling and popping sounds when not listening to music):
`/etc/wireplumber/main.lua.d/50-alsa-config.lua`
```
{
...
{
apply_properties = {
...
["session.suspend-timeout-seconds"] = 0, -- 0 disables suspend
},
},
}
```https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3168USB DAC disappearing after waking from sleep/suspend (fiio k3)2023-09-11T00:07:46ZAdis DurakovicUSB DAC disappearing after waking from sleep/suspend (fiio k3)When waking the PC from sleep, my USB DAC (FiiO K3) disappears, and only comes back when I re-plug it.
The problem does not affect the BT speaker or my onboard audio jack.
```
pipewire --version
pipewire
Compiled with libpipewire 0.3.6...When waking the PC from sleep, my USB DAC (FiiO K3) disappears, and only comes back when I re-plug it.
The problem does not affect the BT speaker or my onboard audio jack.
```
pipewire --version
pipewire
Compiled with libpipewire 0.3.69
Linked with libpipewire 0.3.69
Fedora 38
when it's connected: cat /proc/asound/modules
1 0 snd_usb_audio
2 1 snd_hda_intel
3 2 snd_usb_audio
4 3 snd_hda_intel
5 4 snd_usb_audio
6 5 snd_usb_audio
after wakeup: cat /proc/asound/modules
1 0 snd_usb_audio
2 1 snd_hda_intel
3 2 snd_usb_audio
4 3 snd_hda_intel
5 4 snd_usb_audio
```
If you need anything else, let me know.https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1819pw_init conflicts with BSD system function2023-09-11T00:58:38ZGleb Popovpw_init conflicts with BSD system functionFreeBSD and OpenBSD have `pw_init` function in one of their base libraries (`libutil.so` on FreeBSD, at least). This leads to a situation when `libgstpipewire.so` calls to `pw_init` from `libpipewire.so`, but actually calls the one from ...FreeBSD and OpenBSD have `pw_init` function in one of their base libraries (`libutil.so` on FreeBSD, at least). This leads to a situation when `libgstpipewire.so` calls to `pw_init` from `libpipewire.so`, but actually calls the one from `libutil.so`.
One of the simplest fixes for us would be to rename/provide a `pipewire_init` function, so that there is no conflict between two.
Downstream issue for more context: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259621https://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/3420connecting second HDMI/DVI monitor mostly makes Samsung TV sound disappear2023-09-12T07:10:55ZA Wconnecting second HDMI/DVI monitor mostly makes Samsung TV sound disappear<!-- 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.76**
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-rel...<!-- 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.76**
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): **Fedora Linux 38 (Workstation Edition)**
- Desktop Environment: **Gnome 44.3**
- Kernel version (`uname -r`): **Linux 6.4.6-200.fc38.x86_64**
- GPU/Sound card: **AMD Radeon™ RX 580 Series**
## Description of Problem:
I have sound when I connect HDMI to a Samsung TV. If I plug in a second monitor with HDMI or HDMI (sound card) to DVI (monitor), the Samsung TV loses sound. If I unplug the second monitor, the Samsung TV sound always comes back.
## How Reproducible:
I have tried 2 Acer monitors, another Samsung monitor, and a LG monitor. The LG monitor seems to be working fine. All the other 3 monitors does not work. However, there was one morning (for about 2 hours) briefly where sound on Samsung TV worked even while connected to one Acer monitor, which leads me to think it is more likely a software issue. I don't recall doing anything special that day, but I was trying things the previous day (and did not work). I didn't do anything the morning that it worked (even a reboot), and after a couple of hours, the sound again disappeared (without me doing anything that I'm aware of).
I have tried rebooting while the HDMIs are connected, and restarted services. The bar in pavucontrol shows sound is being output.
### Steps to Reproduce:
1. Turn on TV - play sound/music
2. Plug in second monitor - TV sound disappears
### Actual Results:
No sound coming from Samsung TV
### Expected Results:
Sound continue playing on Samsung TV
### Things I have tried
aplay
speaker-test
pavucontrol
pactl
systemctl restart pipewire* wireplumber
Using 16-bit sampling as in https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3016
Originally the profile seemed to default to the new plugged in monitor, but now I defaulted it to the TV.
Maybe some other investigative commands which I don't remember now. Please let me know if I can give any further information or maybe where else would be best to investigate this issue.
*EDIT*
I added pw-dump and the diff for the LG monitor below. Also posted here:
https://github.com/alsa-project/alsa-lib/issues/347
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`:[pw-dump.log](/uploads/05cef20ef2d8136f8b70b8902c0c5ca9/pw-dump.log) 2 monitors
- `pw-dump > pw-dump1.log`:[pw-dump1.log](/uploads/0faeac84034ec904f2fec3d85fc19638/pw-dump1.log) 1 monitor
- `aplay -L > aplay.log`:[aplay.log](/uploads/4cdb35feac8f622a0a1e8733084aae68/aplay.log)
- `pw-dump > pw-dumpLG.log`[pw-dumpLG.log](/uploads/f0015d14f883b72274a989afa5453ad7/pw-dumpLG.log)
- `diff pw-dumpLG.log pw-dump.log > pw-diff2.log`[pw-diff2.log](/uploads/62cf0c55e3a39b76a9ceb61778edf635/pw-diff2.log)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3507[Feature request] Improvements of opus support in module-rtp2023-09-13T15:33:01ZMatthias Larisch[Feature request] Improvements of opus support in module-rtpDear community,
I am evaluating usage of module-rtp-sink in a setup to forward audio streams to clients via WebRTC. A really simple stack could consist of pipewire -> module-rtp-sink -> janus (WebRTC Server) -> clients.
Unfortunately, ...Dear community,
I am evaluating usage of module-rtp-sink in a setup to forward audio streams to clients via WebRTC. A really simple stack could consist of pipewire -> module-rtp-sink -> janus (WebRTC Server) -> clients.
Unfortunately, module-rtp-sink does not yet provide any means to control the opus encoder despite from sample rate (which I suspect might not be working, as in https://gitlab.freedesktop.org/pipewire/pipewire/-/blame/master/src/modules/module-rtp/opus.c#L326 there are hard coded frame counts that only match for 48 kHz sample rate (see https://opus-codec.org/docs/opus_api-1.2/group__opus__multistream.html#gaff832211e572536941b9d6094f9f42ce) ) and channel count.
In my application, I would like to enable FEC encoding.
Is it feasible to develop module-rtp further or should I rely on other means e.g. use gstreamer to forward audio from pipewire to RTP?https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2945New clients hang after unlinking blocked pw-cat2023-09-13T21:21:51ZTasos SahanidisNew clients hang after unlinking blocked pw-cat```
pipewire
Compiled with libpipewire 0.3.63
Linked with libpipewire 0.3.63
```
Unlinking a blocked pw-cat reading from stdin causes new pulse/alsa clients to hang while trying to play sound. Jack clients do not appear to hang, however...```
pipewire
Compiled with libpipewire 0.3.63
Linked with libpipewire 0.3.63
```
Unlinking a blocked pw-cat reading from stdin causes new pulse/alsa clients to hang while trying to play sound. Jack clients do not appear to hang, however no audio is output despite them being linked to a sink.
Re-linking pw-cat to a sink does not restore any functionality. The only way to get the new clients to unhang is to Ctrl C the pw-cat instance.
Steps to reproduce:
1. Run `sleep 24h | pw-cat -p --rate 48000 --format s16 --channels 1 -`
2. Unlink both channels (not sure why there are two, since only one is specified)
* `pw-link -d "pw-cat:output_FL" "alsa_output.pci-0000_01_02.0.analog-stereo:playback_FL"`
* `pw-link -d "pw-cat:output_FR" "alsa_output.pci-0000_01_02.0.analog-stereo:playback_FR"`
3. Spawn a new application that tries to play audio. This is important because existing applications will continue playing audio unaffected.
* For example, `mpv` with `--ao=pulse` or `--ao=alsa`.
4. The application will hang trying to play back audio until pw-cat is closed.
Worth noting that this only happens when pw-cat is blocked. It can *not* be reproduced with, for example, `ffmpeg -i some_2ch_44100_audio_file -f s16le - | pw-cat -p --channels 2 --rate 44100 --format s16 -`.
Additional system information:
```
Ubuntu 20.04.5
Linux kernel 6.0.15
```https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3508Disconnection after a removal event on Redmi Buds 3 Pro2023-09-15T08:56:25ZMarco RodolfiDisconnection after a removal event on Redmi Buds 3 Pro<!-- 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`): Fedora Linux 38.20230912.0 (Bazzite)
- Desktop Environment: KDE Plasma
- Kernel version (`uname -r`): 6.4.14-200.fc38.x86_64
- BlueZ version (`bluetoothctl --version`): 5.69
- `lsusb`:
```
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 13d3:3553 IMC Networks Bluetooth Radio
Bus 003 Device 002: ID 28de:1205 Valve Software Steam Deck Controller
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 005: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 002 Device 004: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 28de:2001 Valve Software USB Billboard Device
Bus 001 Device 004: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
```
- Bluetooth devices:
```
Device F4:73:35:83:99:20 Keyboard K480
Device 6C:D3:EE:31:A3:3F Redmi Buds 3 Pro
Device C4:0A:CF:61:6F:5B MX Master 3 Mac
```
## Description of Problem:
I think I've found a Bluetooth multipoint audio bug, but I'm not sure if the issue is in Bluez or here, so this has an equivalent post on the bluez bugtracker with packet captures [here](https://github.com/bluez/bluez/issues/585).
I have basically two issues with this audio buds, but I have the feeling that they are interlinked together (the cause of both issues stems from the same root cause).
Issues:
1. After a random time interval (usually between one hour and four hours), the buds stop reproducing audio for 10 seconds before disconnecting and then sometimes reconnecting fine (typically one of the two sync first and the other then sync back). Other times they begin a dance of one connects and not the other and then the two swaps roles, until the end state which can be one of this two:
- The two buds resync and resume playback fine
- Both buds disconnect and no audio comes out even forcing a reconnect. This is usually fixed by either cycling the host bluetooth adapter or by putting them inside the case and pulling them out again.
2. If I pull one of the two buds out, sometimes the above trigger in the same way. If I only use one of the two this doesn't seems to happen (after 10 events of removal and reinsert nothing happens, this usually is triggered after one of two tries).
3. Regardless of the issues above, no events for audio pause and resume are generated on removal.
## How Reproducible:
Quite easily reproducible on my Steam Deck (and this do not happens on my Qualcomm Android Device).
### Steps to Reproduce:
1. Buy a pair of Redmi Buds 3 Pro
2. Connect to a computer
3. Play music while wearing both
4. Try to pull one out of your ear a couple of times
### Actual Results:
Audio stop playing and the buds disconnect from the host
### Expected Results:
The music pauses correctly and resume on reinsertion.
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`:[pw-dump.tar.gz](/uploads/5a364d399f07c0442a645b8b0a331dbc/pw-dump.tar.gz)
- Bluetooth debug log, see [here](https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Troubleshooting#bluetooth):[pipewire-bluez.tar.gz](/uploads/34338524a51e475f02f97e959c7082ea/pipewire-bluez.tar.gz)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3510Pipewire won't start2023-09-15T11:54:28ZMoo SekaPipewire won't startI'm on Artix, with runit. I'm using Sway as my WM.
I've installed all the necessary packages, like pipewire, pipewire-pulse, wireplumber...
When starting pipewire from the terminal I get nothing, but when doing it from a bash script I ge...I'm on Artix, with runit. I'm using Sway as my WM.
I've installed all the necessary packages, like pipewire, pipewire-pulse, wireplumber...
When starting pipewire from the terminal I get nothing, but when doing it from a bash script I get all these errors:
```
W 19:05:27.794710 pw ../pipewire/spa/plugins/bluez5/upower.c:54:upower_get_percentage_properties_reply: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
[0:09:37.009062706] [2701] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
[0:09:37.009076884] [2701] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
[0:09:37.009097068] [2701] INFO Camera camera_manager.cpp:284 libcamera v0.1.0
W 19:05:27.916367 spa.bluez5 ../pipewire/spa/plugins/bluez5/bluez5-dbus.c:5254:get_managed_objects_reply: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
M 19:05:27.958049 wp-device ../wireplumber/lib/wp/device.c:619:wp_spa_device_new_from_spa_factory: SPA handle 'api.alsa.acp.device' could not be loaded; is it installed?
W 19:05:27.958075 script/alsa alsa.lua:205:createDevice: Failed to create 'api.alsa.acp.device' device
W 19:05:28.096881 spa.alsa ../pipewire/spa/plugins/alsa/acp/alsa-ucm.c:976:probe_volumes: Path Mic ACP LED is not a volume or mute control
[0:09:37.320369342] [2699] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
[0:09:37.320382263] [2699] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
[0:09:37.320409431] [2699] INFO Camera camera_manager.cpp:284 libcamera v0.1.0
W 19:05:28.120053 m-portal-permissio ../wireplumber/modules/module-portal-permissionstore.c:63:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x557750057730> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files
W 19:05:28.120659 m-portal-permissio ../wireplumber/modules/module-portal-permissionstore.c:63:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x557750057730> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files
^CM 19:11:35.043456 wireplumber ../wireplumber/src/main.c:372:signal_handler: stopped by signal: Interrupt
M 19:11:35.046788 wireplumber ../wireplumber/src/main.c:364:on_disconnected: disconnected from pipewire`
```
I'd really appreciate some help. Thank you for your timehttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3470Audios crackles2023-09-20T05:41:02ZSquiglyAudios crackles<!-- If you are filing this issue with a regular release please try master as it might already be fixed. -->
- PipeWire version (0.3.77):
- Distribution and distribution version (EndeavourOS):
- Desktop Environment: GNOME 44.3
- Kernel ...<!-- If you are filing this issue with a regular release please try master as it might already be fixed. -->
- PipeWire version (0.3.77):
- Distribution and distribution version (EndeavourOS):
- Desktop Environment: GNOME 44.3
- Kernel version (6.4.11-arch2-1):
## Description of Problem: Audio crackling
Audio start crackling and becoming robotic after certain conditions are met
## How Reproducible:
Easily Reproducible
### Steps to Reproduce:
It happens with 2 circumstances
1. Open game on lutris
2. After a few second audio starts crackling
3. Sometimes it stops crackling but then it starts again
Or
1. Open youtube/some video and a music playing app
2. Play things from the music playing app and video at the same time
3. Crackling starts at times
### Actual Results:
Audio starts crackling
### Expected Results:
Audio should not be cracking
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`:https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2672Audio completely glitching out when audio is stopped and started again.2023-09-22T10:48:23ZAustin AllmanAudio completely glitching out when audio is stopped and started again.I have encountered this problem in 2 separate occasions. The first time was in chrome when I was writing tool in javascript to capture my screen and audio and play it back so that I could do a browser-discord screen capture with audio. I...I have encountered this problem in 2 separate occasions. The first time was in chrome when I was writing tool in javascript to capture my screen and audio and play it back so that I could do a browser-discord screen capture with audio. If I disconnected the mic that the page was capturing and playing back using qjackctl BEFORE connecting a new source to that input it would completely glitch out. I was able to work around this and everything was good.
The situation I cannot work around however is using UxPlay to mirror my iphone screen. UxPlay functioned absolutely perfectly in pulse but I tried it again after having switched to pipewire and it is having the exact same problem as above except there is literally nothing I can do to prevent it. Every time my phone stops outputting audio for even a second the audio gets COMPLETELY screwed up when it resumes.
Here is a video of what is happening in UxPlay
https://www.youtube.com/watch?v=BeI1MQwQ4xg
If anyone has any suggestions on things I can try on my end to fix this or if there is any further information I can provide to help in diagnosing the issue let me know.https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2804unable to set default sink2023-09-22T11:03:02ZMarius Schwarzunable to set default sinkName : pipewire
Version : 0.3.59
Release : 4.fc36
Architecture: x86_64
Install Date: Mo 31 Okt 2022 10:23:14 CET
DE:Cinnamon
Kernel: 6.0.5-200.fc36.x86_64
## Description of Problem:
all attempts to set the correct defau...Name : pipewire
Version : 0.3.59
Release : 4.fc36
Architecture: x86_64
Install Date: Mo 31 Okt 2022 10:23:14 CET
DE:Cinnamon
Kernel: 6.0.5-200.fc36.x86_64
## Description of Problem:
all attempts to set the correct default/fallback sink via pactl set-default-sink, wpctl set-default or pw-metadata are accepted, but not done.
TESTED & FAILED:
```
removing all config files in .config and .local/state | Result: bug persists
checking default.pa config | no default setup in it
checking /etc/asound/* | correct default card configured
pactl set-default-sink ID | executed, no error, not done
wpctl set-default ID | executed, set as default.configured.audio.sink correctly, but default.audio.sink is unchanged
(which is visible in the sink list by the (*) mark for the default device.
direkt metadata change with pw-metadata | executed, no error, no change either!
grep -r / -i "used alsa default device string" | only found in files that are not even nearly related.
using the "sounds app" from cinnamon to change the output device to the correct none-hdmi device | is executed, breaks any running sound app, and falls back to the wrong device a few moments later. When the RESET happens, a service must be restarted, because the selected PORT for the main-none-hdmi device (which we wanne use) is reset to the also entirely wrong port, as if the pc had booted
```
I'm out of options here.
NOTE:
in a brief moment, after "systemctl --user restart pipewire-pulse " pactl accecpts and executes the default sink cmd correctly and returns the correct device. A few seconds later, it presents the wrong default device again, as if something is watching the change event and resets it to it's desire.
We should call the Fix, if you find it, "Ghost in a Wire" ;)
References at RH's Bugzilla for more infos:
https://bugzilla.redhat.com/show_bug.cgi?id=2138857
https://bugzilla.redhat.com/show_bug.cgi?id=2026170
https://bugzilla.redhat.com/show_bug.cgi?id=2139070https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2872Add screen cast layout parameters2023-09-22T11:19:25ZJonas ÅdahlAdd screen cast layout parametersScreen casting, including screen sharing and remote desktop, currently have a couple of properties communicated via one-shot options sent when starting a screen cast via the portal. It'd be better if these were part of the stream paramet...Screen casting, including screen sharing and remote desktop, currently have a couple of properties communicated via one-shot options sent when starting a screen cast via the portal. It'd be better if these were part of the stream parameters. There are two benefits to this:
* Properties can change; e.g. a screen shared monitor position can change without the stream being recreated
* In some cases, notably remote desktop to a headless session, it should be possible to affect the position and logical size of a screen cast, effectively being a virtual monitor, in the global compositor coordinate space, to e.g. match the monitor layout of the remote desktop client.https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2751pipewire doesn't let devices sleep when audio isn't in use causing issues wit...2023-09-22T11:21:42ZPeter Robinsonpipewire doesn't let devices sleep when audio isn't in use causing issues with battery powered devicesPipewire doesn't let devices go to sleep causing power management issues and stopping devices from going to sleep. This in turn stops entire subsystems from going to sleep.
On my Lenovo Thinkpad X1 gen9 the realtek codec runs at 100% ac...Pipewire doesn't let devices go to sleep causing power management issues and stopping devices from going to sleep. This in turn stops entire subsystems from going to sleep.
On my Lenovo Thinkpad X1 gen9 the realtek codec runs at 100% according to powertop which in turn stops i2c buses going to sleep. If I add in USB audio interfaces the USB bus connected also can't sleep.
On battery powered devices this causes quite a large reduction in possible runtime.https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2954pipewire installation on Dietpi armhf7| seems to be a problem2023-09-22T11:23:40ZWim Pauwelspipewire installation on Dietpi armhf7| seems to be a problemI am new to the issues section and i am hoping someone here can resolve issues on my following problem:
i recently wanted to use the dietpi os based on raspbian lite with armhf7| processor: thus the raspbian pi keyboard design RPI400. o...I am new to the issues section and i am hoping someone here can resolve issues on my following problem:
i recently wanted to use the dietpi os based on raspbian lite with armhf7| processor: thus the raspbian pi keyboard design RPI400. one important thing to mention is that Pulseaudio server is not installed on this system. so only ALSA is implemented.
so the problem seems to be this:
I wanted to install pipewire from scratch with all its dependencies coming from apt repositories, github latest, debian sites with all the wikis ran through but none seems to be able to completly fix the installation of pipewire full version inluding wireplumber: this package seems to be missing in any repository or file that i downloaded and tried to install on the system.
One thing to mention is that i really need pipewire for making music: now the thing is that although i did everything through terminal the system lacks of being able to get pipewire installed an copying the files from etc pipewere folder to user config folders is NOT working at all. and i am running my hands in my hair because i am already searching two weeks for a solution. But the question is now what package an be installed simplified in the apt-get way so that repositories don't get confused with packages from pipewire??? And please i need all the instruction completely available from the latest version of pipewire. because raspbian seems to be lacking needed packages...
so if anyone can respond on this very soon, i would be glad to hear it and read it of course.
I am living in europe in belgium so maybe the packages that are available lack of importent locale files or something that is needed like libc6 highest version for wireplumber which i cant find anywhere on the net to get that installed. that is just an example of the reasons why i cant install pipewire from scratch...
so any help in detail would be appreciated very soon coming today or at least tomorrow as soon as possible so that i can go on with my daily business
many thanks in advance
Wim Pauwels
Belgium
Europehttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2768Outputs on 24 channel interface rotate/shuffle at random after some time.2023-09-22T15:31:45ZJonathan SlendersOutputs on 24 channel interface rotate/shuffle at random after some time.- PipeWire version: 0.3.58
- Distribution and distribution version: Ubuntu 22.10 kinetic (beta)
- Desktop Environment: Gnome
- Kernel version (`uname -r`): 5.19.0-19-generic
## Description of Problem:
I have a Motu 24ao multichannel in...- PipeWire version: 0.3.58
- Distribution and distribution version: Ubuntu 22.10 kinetic (beta)
- Desktop Environment: Gnome
- Kernel version (`uname -r`): 5.19.0-19-generic
## Description of Problem:
I have a Motu 24ao multichannel interface. I'm using qpwgraph to route the output of an application into two channels of this interface. This works great for some time. At a random point in time, all auxes are mapped to a random different output off the underlying hardware. (E.g., sending sound into aux8 plays from aux16, sound into aux9 plays into aux17, etc... So, they rotate, all with a random offset.) It's reproducible, but the offset is not always the same.
## How Reproducible:
Play some audio into two auxes and wait a couple of minutes. I don't think it's triggered by any action of myself.
It does not happen when the same interface is connected to Mac OS, so I don't think it can be a hardware issue.
In this image you can see that the Firefox output is routed straight into AUX0/1. For quite a long time audio played correctly from the corresponding outputs on the interface, but suddenly it started playing from AUX16/17. (blue dots in the Motu interface - they start counting from 1.)
I have not been able to test with "master" (I'm not sure how to install on Ubuntu 22.10).
After reloading pipewire, everything is back to normal again (`systemctl restart --user pipewire`).
![image](/uploads/cc181451dbf58be5f8209626d8bbc541/image.png)
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`:
[pw-dump.log](/uploads/c3fa0d7ce20475abdf49103d6c0bc245/pw-dump.log)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2882Beamforming support for microphone arrays2023-09-22T16:06:47ZDmitry SharshakovBeamforming support for microphone arraysI wanted to implement it with use of WebRTC features, but they have dropped beamformer from recent versions. Adding this to the TODO list.
State of beamformer in webrtc-audio-processing library: https://gitlab.freedesktop.org/pulseaudio...I wanted to implement it with use of WebRTC features, but they have dropped beamformer from recent versions. Adding this to the TODO list.
State of beamformer in webrtc-audio-processing library: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/24https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3527Sound Problems on Late 2015 iMac 21.5" (16,2)2023-09-27T05:35:45ZJack GraddonSound Problems on Late 2015 iMac 21.5" (16,2)- PipeWire version: 0.3.80
- Distribution and distribution version: Fedora Linux 38 Workstation Edition
- Desktop Environment: GNOME 44.5
- Kernel version: 6.4.15-200.fc38.x86_64
## Description of Problem:
I am experiencing many issue...- PipeWire version: 0.3.80
- Distribution and distribution version: Fedora Linux 38 Workstation Edition
- Desktop Environment: GNOME 44.5
- Kernel version: 6.4.15-200.fc38.x86_64
## Description of Problem:
I am experiencing many issues with the iMac's CS4208 sound card with Fedora. I have tried every solution I have come across, and I have been digging and digging for days now. The same issue also persisted on Ubuntu when I tried that. I was able to get solutions working when running off of the installer USB, but those solutions did not work when I reapplied them after installing.
Problems with the built-in speakers include:
- No volume control.
- Speakers only have output when set to anything higher than stereo (2.1, 4.0, etc).
- However, 2.1 only has sound coming out of the left channels, and 4.0 has all "front" channels coming out of the left, and all "rear" channels coming out of the right.
- Terrible audio quality when playing any audio.
However, when I plug in my DAC I use for my headphones, audio works fine. All of the above issues do not apply to external audio devices. I have not tried bluetooth devices, and frankly I don't have any plans on using bluetooth headphones (I only have AirPods) with this computer.
## How Reproducible:
Assuming this affects all iMac 16,2 models (seems to affect multiple other iMac models as well, based on my research), install Fedora with PipeWire on the machine and try configuring audio.
### Actual Results:
- No volume control.
- Speakers only have output when set to anything higher than stereo (2.1, 4.0, etc).
- However, 2.1 only has sound coming out of the left channels, and 4.0 has all "front" channels coming out of the left, and all "rear" channels coming out of the right.
- Terrible audio quality when playing any audio.
### Expected Results:
- Normal working built-in speakers
# Additional Info:
If there are any command outputs that would help, please let me know. These are the outputs of some of the commands I have run:
`aplay -l`
```
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [iMac]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: CS4208 Digital [CS4208 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
All of the HDMI devices do not produce sound.
```
`pactl info`
```
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 2298
Tile Size: 65472
User Name: myusername
Host Name: myhostname
Server Name: PulseAudio (on PipeWire 0.3.67)
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_1b.0.analog-surround-40.3
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo.10
Cookie: 2da8:0d7f
```
`lspci | grep -i audio`
```
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 0a)
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
```
[pw-dump.log](/uploads/6cdcf82f3d2cc194e13836c714674614/pw-dump.log)
[Accompanying Reddit post linked here](https://www.reddit.com/r/Fedora/comments/16saw10/sound_problems_on_late_2015_imac_215_162/?context=3)https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2516Crackling / clipping with Pipewire and Bitwig (MOTU m4)2023-09-27T08:54:21ZGou!Crackling / clipping with Pipewire and Bitwig (MOTU m4)<!-- 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.53
- 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.53
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`): Fedora 36
- Desktop Environment: Gnome
- Kernel version (`uname -r`): 5.18.9
## Description of Problem: Since serveral update of Pipewire, I have a sort of clipping (crackling sound) when I use my USB Soundcard (MOTU M4) with Bitwig and Pipewire or pw-jack engine. If I switch to ALSA, It works without issue.
- I have this problem only with my MOTU 4. No issue with my second USB soundcard (Roland Quad Capture) or internal audio interface.
- If I record a track from my M4 with Pipewire or pw-jack engine in Bitwig, the audio that was captured was not affected (no crackling if I switch to Alsa and listen the track)
- I tried with differents buffer size or sample rate and I have the same result.
- I don't have the issue if I play music with other applications.
- I tried with differents versions of Bitwig and the latest (4.3) who manage natively Pipewire directy from the settings.
I captured the output with another soundcard to illustrate the problem. It's the same sample. One is played with ALSA and the second with Pipewire. I use a sample with guitar and distortion because it's more easy to detect.
![Alsa](/uploads/9156fdfc47d53ccc2cf6a4b982462325/Alsa.mp3)
![Pipewire](/uploads/36c290fb53a9addf0c0393b60c9a019b/Pipewire.mp3)
## How Reproducible:
### Steps to Reproduce:
1. Open a project Bitwig with Alsa. There is no crackling when the track is played.
2. Switch to Pipewire engine and crackling appears when the track is played.
3. Listen with headphone for better precision.
### Actual Results: Crackling when a track is played with Bitwig and Pipewire engine.
### Expected Results: No crackling when a track is played with Bitwig and Pipewire engine.
# Additional Info (as attachments):
- `pw-dump > pw-dump.log`:https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2680After recent changes to PA protocol strawberry/clementine player goes nuts wh...2023-09-27T14:12:14ZSergey KondakovAfter recent changes to PA protocol strawberry/clementine player goes nuts when pausing/unpausingAfter changes like a79b5c86ea33d7103c07552ecbbde54e1c01e7bd (don't know exact one), strawberry player started glitching out when pausing. Such as not resuming when unpausing at all, showing progress without sound or making sound for seco...After changes like a79b5c86ea33d7103c07552ecbbde54e1c01e7bd (don't know exact one), strawberry player started glitching out when pausing. Such as not resuming when unpausing at all, showing progress without sound or making sound for seconds from buffer when paused again.
Previously, the worst that could happen was #753