forked from PipeWire/pipewire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
5486 lines (4714 loc) · 225 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# PipeWire 0.3.72 (2023-06-26)
This is a bugfix release that is API and ABI compatible with previous
0.3.x releases.
## Highlights
- Fix a critical bug that would refuse to update the samplerate or
buffersize in JACK clients. (#3226)
- A new module-netjack2-driver and module-netjack2-manager were added
that are compatible with NETJACK2. This allows PipeWire to become
a NETJACK2 manager or a driver between JACK2 or PipeWire servers.
- Support was added for firewire devices with FFADO. This is untested
for now and MIDI is not implemented yet.
- The node scheduling was optimized some more. External drivers are now
as efficient as in-server ones. This should improve performance of
various drivers such as bluetooth and JACK based drivers.
- Many, many bug fixes and a ton of improvements.
## PipeWire
- pw-filter can now be used to write sinks and sources.
- The node activation for drivers was changed. The driver now does not
need to go to the server to start the processing cycle. This makes
out-of-server drivers as efficient as in-server drivers.
- Don't try to use drivers with 0 priority as fallback drivers. This
avoids making the screencast driver a driver for audio. (#3219)
- Improve xrun count reporting in pw-top and the profiler. Now each
node has their own xrun counter updated when it fails to complete
processing during the cycle.
- pw-filter now also has support for TRIGGER.
- A potential fd leak was found when fds were send to a zombie client.
(#1840)
- Fix a bug where monitor or capture streams were logged twice in the
profiler. (#3278)
- Remove stream hooks safely. (#3251)
- A bug in serialization of container properties was fixed. This could
result in truncated property values. (#3290)
- The PIPEWIRE_AUTOCONNECT environment variable now always overrides the
autoconnect settings of streams. (#3299)
- Node, port and link destroy now avoids some useless work.
- Port will now try to renegotiate a new format when idle. (#3266)
## Modules
- The module-sap now is more compatible with AES67.
- A new FFADO driver module was added. This is completely untested because
of lack of hardware. Please test and report issues.
- A new NETJACK2 driver and a NETJACK2 manager module were added. These
should be drop in replacements for the JACK2 parts.
- The RAOP discover module now tries harder to only list devices once.
- The zeroconf discover module now tries harder to only list devices once.
- The RAOP sink module now handles latency better and is compatible with
some more devices. (#3247, #3282)
- The loopback and filter-chain modules now always dequeue the last input
buffer to avoid stuttering in some cases. (#3276)
- The SPA node factory module can now also export nodes. This is used to
export the PTP clock from the AES67 config file.
- A bug in module-jack-tunnel was fixed that would cause stuttering and
corrupted output in some cases. (#3255)
- The resampler is now disabled in module-loopback and filter-chain when
the samplerate is set to follow the graph rate. (#2969)
- The way the mixer peer is sent to clients was improved. It is now also
possible to let a remote node know about mixer port removes, which
can avoid memory leaks and some code simplifications.
## SPA
- Monitor ports now report latency correctly.
- The ALSA plugin now uses htimestamp to get a more accurate ringbuffer
position to estimate the clock skew.
- The channelmixer now has min/max-volume settings to limit or fix the
volume.
- The ALSA plugin can now control the playback and capture rate of USB
gadgets. This can avoid resampling and instead use the USB feedback
to control the rate.
- The ALSA output to multiple devices has been improved, some lockups
are avoided when the device ringbuffer is full.
- The compress-offload sink has improved negotiation.
## pulse-server
- Only try to use GSettings when the schema exists.
- @DEFAULT_SOURCE@, @DEFAULT_SINK@ and @DEFAULT_MONITOR@ are now correctly
handled as targets in playback and capture streams. (#3284)
- 2 new quirks are added to disable volume updates on sinks/sources.
(#1517)
- The virtual-sink and virtual-source modules were added. These are really
example modules but actually also work and are useful on PulseAudio so
implement them as well.
- Fix initial stream volumes. (#3306)
## Bluetooth
- Only register A2DP or BAP when we have codecs.
- Include codec into the media.name
## JACK
- Fix a critical bug that would refuse to update the samplerate or
buffersize. (#3226)
- Improve updates of samplerate/buffersize, delay the updates until the
client is activated. (#3297)
- Use the new mix-info updates to simplify the mixer setup and peer
detection.
## GStreamer
- Fill default strides instead of 0 on pipewire video buffers. (#3236)
Older versions:
# PipeWire 0.3.71 (2023-05-17)
This is a bugfix release that is API and ABI compatible with previous
0.3.x releases.
## Highlights
- A new zero-latency jackdbus bridge was added. This works similar to what
PulseAudio has to offer and creates a sink/source when jackdbus is
started. It is however much more efficient and runs the complete PipeWire
graph as a synchronous JACK client with no added latency.
- Many performance improvements. Activation of remote nodes is more
efficient, fewer eventfds are required on the clients, less callback
overhead in performence critical paths and an optimized poll function
was added. This was mainly driven by the jackdbus module to get the lowest
possible overhead when running the graph.
- The JACK notify callback implementation was reworked to emulate better what
JACK does, improving compatibility with ardour7 and the JACK stress test.
- More work on BAP devices. Device latency is now passed on to
applications also for multi-device headsets, and channel allocation
is handled better.
- Many more improvements and bugfixes.
## PipeWire
- Remove the hardcoded limit on io_areas. This is used to link nodes together
and exchange buffers, it was limited to 2048 but now dynamically scales
based on requirements.
- Rate and quantum changes are now applied correctly in more cases. (#3159)
- Updates to client-node to more efficiently process the driver.
- The profiler information was improved to be more accurate. It should
now work better for remote drivers.
- Some potential memory map errors were fixed in the protocol because in some
case with large messages, some fds were closed too soon.
- pw-filter now implements the pw_filter_set_active() method.
- A potential out-of-buffers case was fixed in capture pw-streams where buffers
were not moved to the recycle queue when the node suspended.
- Nodes are now always woken up with the eventfd. Previously there were
some optimiztions in the server to directly call into the node process
function but that optimization is not necessary. Without this optimization
it is now possible to run nodes in different threads.
- pw-stream trigger is now implemented correctly in all cases.
- Remote nodes now use one eventfd less because they get triggered with the
node eventfd directly.
- Monitor ports are now ignored in latency updates.
- A potential race when reporting an error to a client was fixed. (#3192)
- Fix a bug where always_process nodes would sometimes IDLE. (#3189)
- Optimize peer activation. Nodes are now activated more efficiently and
independent of the number of links. It also reduces the number of eventfds
and memory in remote clients.
- A bug in property serialization was fixed. Values with spaces would only
serialize the first part of the value.
## Modules
- Correctly handle the echo-canceler plugin init method fallback. The
samplerate was not correctly configured. This is only a regression for people
that have external echo-canceler plugins.
- RAOP sink now only sets the volume on the remote end when the stream is
recording. (#3175)
- RAOP discover now tries to deduplicate entries from the same host.
- A new zero-latency jackdbus bridge was added. This works similar to what
pulseaudio has to offer and creates a sink/source when jackdbus is
started. It is however much more efficient and runs the complete PipeWire
graph as a synchronous JACK client.
- The access module uses a more secure way to check the application
executable.
- module-combine-stream now has configurable delay and latency for each
stream. This can be used to align sinks/sources with different latencies.
- A potential crash in module-pulse-tunnel was fixed when shutting down.
(#3199)
- Module-rt will now clamp the nice value to the min allowed value to avoid
errors from rtkit. (#3186)
- Fix a bug with the session counters in module-rtp-sap. Also use the right
format for L24. Improve the AES67 example config.
- Improve some warning and info messages in module-rt. (#3194)
- module-rtp-session should now do something when started without arguments.
- A potential crash in module-rtp-session was fixed. (#3217)
- module-filter-chain has better error reporting when a convolver fails to
load. (#3223)
## SPA
- Move some things around to avoid compiler warnings. (#3171)
- Increase mixer ports. Reorganize some things and bump mixer input ports
from 128 to 512.
- Fix a potential crash when a node is scheduled before it completes
the setup.
- The JACK sink and source SPA plugins have seen some improvements.
- Allow the peaks resampler still if we disabled resampling.
- Perform more cleanup in audioadapter when in error.
- An optimized non-cancellable loop implementation was added.
- Callbacks were optimized with a _fast() varsion that doesn't check the
version and method. When this check is performed earlier, it can
be skipped in performance critical places.
- Some of the callbacks and system methods are now using the fast function
calls in critical paths.
- A potential division by zero was fixed in the ALSA plugins.
- Improve rate and quantum when starting audioconvert.
- Make it possible to override node.driver in the SPA null-audio-driver.
(#3220)
## pulse-server
- The audio info parameter parsing was refactored and improved.
- Fix some races with clients exiting when playing samples.
- An option was added to change or disable the dbus name registration.
(#2987)
## Bluetooth
- Implement battery reporting using AT+XEVENT.
- Disable hardware volume for 3M WorkTunes.
- Implement BAP audio locations (channel positions) by using the new
bluez properties.
## JACK
- Fix some errors reported by JACK test.cpp. (#2638)
- Add jack.show-midi option to show/hide midi ports.
- Add jack.max-client-ports option. JACK also has a port limit and so
PipeWire needs it as well to make the tests happy.
- Call the shutdown callback only when the server stopped, not when there
is a random error. (#3070)
- Avoid registering the same port name twice.
- Call port registration callbacks in activate/deactivate.
- Improve jack_port_connected().
- Improve some error reporting.
- The JACK headers were updated to a newer version.
- JACK callbacks are now managed with an event queue to simulate
more what JACK does. This avoids emiting callbacks when a method is blocking
for a reply and causing deadlocks. (#3183)
- Assign unique names to JACK clients. (#2833)
- Fix a potential crash when the thread_utils was used after free.
- Aliases are now not filled in by default to improve JACK compatibility.
(#3154)
# ALSA
- The ALSA plugin will now wait for negotiation to complete or an error
before _prepare() completes. This makes more applications deal correctly
with the potential errors.
# Docs
- A new document about how scheduling is implemented was added.
- Update the pw-cli man page. (#2988)
- Document the SPA Pod serialization.
- Document the PipeWire native protocol.
# PipeWire 0.3.70 (2023-04-20)
This is a quick bugfix release that is API and ABI compatible with previous
0.3.x releases.
## Highlights
- Fix a regression in the scheduler that could keep some nodes IDLE.
- Fix a regression in the biquad filters in filter-chain.
- Fix a regression and potential crash in the ALSA mixer probing.
- Fix a regression in pipewiresrc with timestamps that could cause cheese
to record video with wrong timestamps.
- Beamforming support was enabled in the echo-canceler.
- pulse-tunnel and raop-sink will now proxy local volume changes to the
remote end.
- More bugfixes and improvements.
## PipeWire
- Fix a bug in the graph scheduler where some nodes might stay IDLE in
some cases (like when connecting the source of the echo-canceler to the
sink).
- pw-metadata can now be created from the factory with initial values for
the metadata. (#3076)
- Conditions were added to the pipewire config file to make it possible to
configure the access module and the exec sections.
- Support was added in pw-stream to intercept and override properties for
the adapter. This can be used to implement custom volume control, for
example.
## Tools
- pw-metadata can now list all available metadata objects with the -l
option.
- A new pw-config tool was added to debug configuration file loading and
parsing.
## Modules
- The webrtc echo canceler now supports beamforming. You can provide the
coordinates of the microphones and let webrtc perform beamforming on
the captured samples to improve quality and remove noise.
- Fix a regression in the filter-chain with biquad filters. (#3161) and
improve error reporting.
- The pulse-tunnel will now proxy the volume changes to the remote end.
- The RAOP sink will now send volume parameters to control the volume
remotely. (#2061)
## SPA
- One ALSA commit was not correctly reverted and might cause crashes.
- The ALSA sink and source now calculate the ALSA ringbuffer memory
location more correctly wich might improve compatibility with some
hardware.
- v4l2 now sets the values of the controls in the Props param.
## Pulse-server
- The echo-canceler aec_args are now parsed like they would be under
pulseaudio.
## Bluetooth
- More work on synchronizing BAP devices.
## GStreamer
- The GStreamer source can now renegotiate the format when it changes.
- The GStreamer source now uses the BaseSrc clocking code to implement
the clock and timing code.
# PipeWire 0.3.69 (2023-04-13)
This is a quick bugfix release that is API and ABI compatible with previous
0.3.x releases.
## Highlights
- Reverted the UCM changes, they seem to cause regressions causing audio
to be muted in some cases.
- Fix a regression in the scheduler where a driver node might not be marked
runnable in some cases, like when echo-cancel is used. (#3145)
- Handle links from the driver to itself. This makes the midi bridge work
again. (#3153)
- ALSA rate matching for sources was fixed. It would previously wait too
long for rate matching and then cause drift. This should reduce
crackling and stuttering whan capturing in low latency.
- Fix the GStreamer clock to make cheese video recording work again. (#3149)
- More fixes and improvements.
## PipeWire
- Fix a regression in the scheduler where a driver node might not be marked
runnable in some cases, like when echo-cancel is used. (#3145)
- Handle links from the driver to itself. This makes the midi bridge work
again. (#3153)
- Some man pages were improved.
- Fix a potential crash when thread-loop is destroyed before the loop.
(#3150)
## Modules
- A new raw biquad filter was added to filter-chain. You can manually set the
6 parameters and you can use this to create custom filters per sample rate.
(#3139)
- The echo-canceler now supports different channels for the capture and playback
streams.
## SPA
- A SB Audigy specific profile set was added to make better use of the
controls. (#2934)
- More ALSA IRQ based scheduling improvements.
- ALSA rate matching for sources was fixed. It would previously wait too
long for rate matching and then cause drift. This should reduce
crackling and stuttering whan capturing in low latency.
- The echo-cancel plugin API has a new method to make it possible to have
different channels for capture, source and playback.
- Reverted the UCM changes, they seem to cause regressions causing audio
to be muted in some cases.
## Bluetooth
- Many more BAP fixes and improvements. Devices are now created as a set
and can be combined into one device by the session manager.
## GStreamer
- Fix the GStreamer clock to make cheese video recording work again. (#3149)
# PipeWire 0.3.68 (2023-04-06)
This is a bugfix release that is API and ABI compatible with previous
0.3.x releases.
This release contains a huge number of changes, some of which might cause
regressions. Please report anything that seems to fail after the upgrade.
UCM devices in particular might have changed names, profiles and ports that
might require changes in custom scripts.
## Highlights
- Symbolic links to the pipewire binary are now used instead of recompiling
the same binary multiple times.
- Changes to the graph scheduler related to quantum/rate updates and
calculation of the node states. Things should start and switch between
quantums and rates more smoothly now and especially virtual devices should
now only run when required.
- A new RTP session module was added. This uses the Apple MIDI protocol
to configure low-latency bidirectional MIDI (and with a PipeWire specific
extension, also audio) between machines. OPUS encoding was added to the
RTP formats. The SAP module was separated from the rtp-sink/source module
to make it more usable.
- A new runtime debug property was added to all streams and nodes to trigger
a save of the raw samples to a wav file. Support for this has also been
added to the echo-canceler to debug potential issues.
- Module pulse-tunnel has improved rate matching and synchronization
support. It should also not drift anymore for capture devices.
- The link-factory now ignores by default the link.passive property. This means
that tools like pw-link or jack clients and wireplumber can't make passive
links anymore. The reason is that there is now much more advanced logic in
PipeWire itself to handle passive links based on node and port properties.
- The RAOP sink was ported to new OpenSSL functions. Digest passwords are
handled correctly now and support for more devices was added.
- The ACP code was updated with new PulseAudio UCM code: "Create multiple
profiles per verb for conflicting devices". This might change the names
of devices, profiles and ports so scripts might need to be updated.
- Upmixing is disabled again by default. We now ship config files that
distros can install to enable upmixing again. The reason being that PipeWire
should not apply fancy DSP processing to audio by default.
- Many cleanups and bugfixes, including some crashes and memory corruption
bugs.
## PipeWire
- Various FreeBSD compilation fixes.
- Don't crash when calling _connect twice in stream/filter. (#3091)
- Links are now installed instead of compiling the pipewire binary
multiple times.
- There is now a new core event bound_props that augments the bound_id event
with the global properties. This can be used to get the global.serial among
other global properties. It also makes it possible in the future to let the
server allocate unique names or uuids.
- Fix a bug where the server could go into an infinite reconfigure loop when
the samplerate of a driver would change.
- When a samplerate was forced, restore the previous best samplerate when the
samplerate is no longer forced. (#2133)
- Rework how the states of the nodes in the graph are calculated. A more
refined algorithm is now used that only runs nodes that need to run.
- Rework how the quantum change is applied to the graph. Drivers are now
responsible for using the new updated rate/quantum before starting a new
cycle. This avoids starting a cycle with an old quantum first.
- pw-stream and pw-filter will now ensure that the Trigger event is called
from the main thread.
- node.force-rate=0 will now force the node.rate on the graph, forcefully
switching the hardware into the new rate if possible. (#3026)
- Additional checks were added to the thread-loop to check locking order.
- Additional checks were added to pw-stream and pw-filter to check if methods
are called from the right thread context.
## modules
- A new RTP session module was added. This uses the Apple MIDI protocol
to configure bidirectional MIDI (or audio) between machines.
- SAP support was removed from module-rtp-source and module-rtp-sink and
moved to a separate module. This makes it possible to use the RTP modules
without SAP support as well.
- The echo-cancel module now has support to save the signals to a wav
file for debugging purposes.
- The RTP modules now have support for the OPUS codec.
- The RAOP module was ported to new openssl encryption functions and handles
digest passwords correctly now.
- module-raop-discover now has match rules to be able to select the streams
and set properties.
- Module pulse-tunnel has improved rate matching and synchronization
support. (#3093)
- Fix potential memory corruption and infinite loops because
module-pulse-tunnel was unloaded from the wrong thread.
- The link-factory now ignores by default the link.passive property. This means
that tools like pw-link or jack clients and wireplumber can't make passive
links anymore. The reason is that there is now much more advanced logic in
PipeWire itself to handle passive links based on node and port properties.
- module-echo-cancel will now clear its buffers after a suspend to avoid
playing stray samples.
- module-raop-sink will now handle 0 timing_port replies. (#3133)
## SPA
- The adapter module now has support for saving the raw audio to a wav
file for debugging purposes.
- The ACP code was updated with new PulseAudio UCM code: "Create multiple
profiles per verb for conflicting devices". This might change the names
of devices, profiles and ports so scripts might need to be updated.
- Upmixing was disabled again by default. We now ship config files that
distros can install to enable upmixing again. (#3081)
- audioadapter and audioconvert have seen improvements in the experimental
non-DSP/passthrough mode.
- Fix a potential race where the dummy drivers could fail to stop a timer
and cause endless warnings in the logs.
- The ALSA plugin has experimental support for IRQ based scheduling. This
should decrease latency for some (mostly USB) drivers. This should bring
latency within JACK latency. More work on this will be done before the
1.0 release later this year.
- Audioconvert now has support for volume ramping. (#3046)
- A new loop method was added the check if a thread is currently running the
loop.
- channelmix.disable and resample.disable now generate an error when true
and channelmixing or resampling is required in the converter.
## Bluetooth
- Fix a crash in some cases when a device was disconnected.
- Support async transport state changes. This avoids some lockups when the
bluetooth backend is having issues. (#3023)
- Align BAP sinks. This improves synchronization between earpieces.
## ALSA
- Improve properties in pw-top and pavucontrol.
## pulse-server
- Improve error handling from pulse-tunnel.
- Generate silence correctly for unsigned formats as well.
- Review buffer params. The streams should now just work with 1 or 2
buffers.
- module-rtp-send and module-rtp-recv now have support for the OPUS codec.
# JACK
- Make sure we don't call any callbacks anymore when deactivating. (#2781)
## GStreamer
- Sort the device by priority in deviceprovider. (#3072)
# PipeWire 0.3.67 (2023-03-09)
This is a bugfix release that is API and ABI compatible with previous
0.3.x releases.
## Highlights
- The loopback module and other couples streams will now not randomly
fail in some cases. (#3028)
- The RTP module now has support for sending and receiving MIDI as
well.
- The compress offload sink has seen many improvements. It now uses
ioctls directly to bypass limitations of tinycompress (to be able
to detect the available codecs, for example).
- Pulse server compatibility was improved for some apps by improving
the format parsing and FIX_ stream flag handling.
- The min quantum in the pulse server was changed from 256/48000 to
128/48000 to fix some issues with games that expect 5ms or less of
latency.
- The Bluetooth plugin has seen many improvements in packet scheduling
to attempt to reduce stuttering on some devices.
- The ALSA plugin now handles some impossible cases better. This fixes
recording in QEMU again. (#2971)
## PipeWire
- SPDX tags were added to the code for copyright information.
- The random number functions were made more usable.
- The port property code was moved from the adapter to the port
implementation itself to make it more useful and unified for the
cases where no adapter is used (midi and video).
- Fix a potential overflow in mixer areas.
- Improve runnable state calculations of nodes. This is part of
ongoing work to avoid running nodes that should not need to run.
- The stream will now always call the process function when using
trigger, even if there are no buffers. This avoids stalls of the
processing graph in some cases. (#3028)
- Links are now marked as passive by PipeWire itself so that
the right thing happens in all cases.
- Implement the in/out/true values for the node.passive property.
Place a passive state on ports to make passive links on a port
by port basis.
## Tools
- pw-cat has seen improvements in the encoded file playback case.
## Modules
- The rtp module has support for MIDI now.
- DSCP is now configurable in the RTP module.
- The loopback module doesn't randomly fail to work anymore. (#3028)
## SPA
- The null-audio sink can now be given a format and it will return this
instead of the default float ones. This makes it possible to make a
null-sink that has a given format.
- The compress offload sink has seen many improvements. It now no longer
uses tinycompress to be able to detect the available codecs.
- The ALSA plugin now handles some impossible cases better. (#2971)
- Fix compilation on older compilers. (#3050)
## Pulse-server
- The FIX_ flags are now implemented more correctly by fixating the
stream to the format of the sink/source they ask to be connected to.
There is now also an option to override the fixation based on rules.
- Format parsing was improved and should now support all format strings
supported by pulseaudio including upper and lower case variants
and shortcuts.
- Channelmap parsing was improved and should now reject invalid
channelmaps as well as support the shortcuts supported by pulseaudio.
- Escape codes in module arguments now work as it does in pulseaudio. (#3071)
- The min quantum was changed from 256/48000 to 128/48000 to fix some
issues with games that expect 5ms or less of latency.
## JACK
- jack.passive-links can now be used to have a JACK client make passive
links and the node.passive property is no longer used for this because
it has a different function.
- The qsynth rule was updated to the new node.passive features. It is now
only passive on the output side.
## Bluetooth
- BAP delay and transport latency are handled now.
- A2DP and SCO can now use bigger buffers to improve quality when the
reception is jittery.
- The AT+BCC command is now implemented.
- Packet encoding now happens ahead of time when possible to avoid delays
before sending it.
- Source should now always produce complete (padded) buffers to avoid sync
problems.
- Don't set unnecessary socket options.
## GStreamer
- The pipewiresrc now has an autoconnect argument.
- The metadata plane count is now handled correctly in more cases.
- Stream errors are now handled correctly to stop the GStreamer elements.
# PipeWire 0.3.66 (2023-02-16)
This is a bugfix release that is API and ABI compatible with previous
0.3.x releases.
## Highlights
- Fix a regression in the pulseaudio module-combine-stream because the new
module-combine-stream was not installed.
- PipeWire can now generate a limits.d config file with our recommended
settings for priorities and memlock.
- Modules, exec and objects can now be loaded depending on conditions. One
example is the X11-bell module that can now be disabled with a custom
property override.
- Filter-chain has a new mysofa based spacializer plugin.
- Suport was added for different clocks that allow the RTP modules to work
with a PTP clock, for example.
- Many bugfixes and improvements.
## PipeWire
- Avoid rate switches when the graph is idle.
- The rate selection algorithm was improved. This ensures minimal performance
and quality loss when resampling.
- The default min.quantum was set to 32 again after it got erronously changed
to (the too low) 16 in version 0.3.45.
- Fix compilation issues with rust bindings because of macros in defines.
Work around it for now. (#2952)
- Invalid file mappings are now refused (#2617 #2914 #3007)
- Modules, exec and objects can now be loaded depending on conditions. One
example is the X11-bell module that can now be disabled with a custom
property override.
- Filter now also supports _trigger_process() to drive the graph.
- TID is now added to the journald log.
- PipeWire generates and installs */etc/security/limits.d/25-pw-rlimits.conf*
that by default contains project's recommended settings. Creation of the
pipewire group is left to the distro or user ( `groupadd -r pipewire` ).
See the rlimits-* Meson options for controlling this behavior.
- Additionally there is now by default disabled Meson option that will
install */etc/security/limits.d/20-pw-defaults.conf* with the current Linux
default memlock value. Distros with only kernels >=5.16 or always using
systemd v251 or newer do not need this. But all other builds should set the
`-Dpam-defaults-install=true` Meson option to ensure that the memlock value
is always large enough. Thanks to Rickie Schroeder for pointing out that
the default Linux memlock value has been somewhat recently increased.
## modules
- Install module-combine-stream.
- RTP source now has support for custom channel names.
- RTP source will now stop when inactive.
- Filter-chain has a new mysofa based spacializer plugin.
- The RTP modules can now use direct clock timestamps to send and receive
packets. This makes it possible to synchronize sender and receiver with
a PTP clock, for example.
- Filter-chain now has an invert plugin to invert the polarity of a
signal. (#3008)
## SPA
- There is now an option to set the channels used for probing Pro Audio
devices. This could unlock more samplerates for some devices when they are
probed with fewer channels. (#2990)
- Support was added for other clocks than the MONOTONIC clock in the
driver nodes. This can be used to synchronize the graph to a PTP clock,
for example.
- The ALSA source has some more headroom when rate matching to avoid
stuttering when following another driver.
- libcamera controls are now mapped to standard PipeWire property values.
- The channelmixer has seen some improvements. MONO and undefined channel
layouts are now upmixed and downmixed more correctly. (#3010)
## Bluetooth
- Many BAP support fixes.
## GStreamer
- The gstreamer elements now support buffer video metadata so that strides
are correctly handled.
- pipewiresrc will now error out correctly in more cases. (#2935)
## JACK
- The frame to/from time functions are improved to also work with negative
time and frame offsets.
# PipeWire 0.3.65 (2023-01-26)
This is a bugfix release that is API and ABI compatible with previous
0.3.x releases.
## Highlights
- Add back the deprecated symbols but make sure a deprecated warning is
emitted for them. This fixes compilation issues in bindings.
- Fix an error in the AVX code that could cause crackling in filter-chain
when using the mixer.
- The convolver in filter-chain can now select an IR from a list of IRs
that best matches the current samplerate. Also resampling of the IR
has been improved.
- A new native module-combine-stream was added. You can use this to create
a 5.1 device from 3 stereo soundcards, for example, or direct the output
to multiple sinks at once.
- Support for Bluetooth MIDI was added. This requires a wireplumber
addition as well.
- An ALSA plugin rule was added to tweak the buffer settings in Davinci
Resolve so that it now runs with acceptable latency. (#1697)
- Support for compress offload was added using tinycompress. This allows
compressed formats to be decoded in hardware using ALSA on some devices.
- Many more buffixes and improvements.
## PipeWire
- Add back the deprecated symbols but make sure a deprecated warning is
emitted for them. (#2952)
- Fix a regression when running older servers and newer clients (such as
flatpaks on older server) where the server would run clients too soon,
causing crashes. (#2964)
- Ensure that environment variables override any config values.
## Tools
- pw-cli has received some improvements in the output.
- pw-cat can now use ffmpeg to demux streams for compress offload.
## modules
- The convolver IR volume is now preserved after resampling.
- Adapter ports can now have a custom prefix.
- module-rt now clamps the realtime priority to the user allowed one if
it is within an acceptable range. Before it would fall back to RTKit
immediately.
- The module-echo-cancel can now have per stream channel layouts which
makes it possible to link to specific audio ports on a device. (#2939)
- Fix an error in the AVX code that could cause crackling in filter-chain
when using the mixer. (#2965)
- The convolver in filter-chain can now select an IR from a list of IRs
that best matches the current sample-rate.
- module-pipe-* now better matches the pulseaudio properties. (#2973)
- A new combine-stream module was added to combine multiple sinks into
one sink. It is also possible to merge multiple sources into one.
- module-rtp-source now has match rules to select what SAP sessions
to stream from. There were also improvements to the buffering and
latency handling.
- module-rtp-sink now handles multicast loopback correctly.
- module-rtp-sink implements min-ptime and max-ptime to control the
send packet latency.
## SPA
- A new modifier flag was added to the video format parser helper to
allow 0 (linear) as a valid modifier. (#2943)
- Params includes were reorganized to make it more scalable. Many compressed
audio formats were added.
- The alsa pcm plugin now handles invalid values from the driver
gracefully. (#2953)
- Fix some potential stuttering cause by wrong scaling and overflow
of the output buffers in audioconvert. (#2680)
- Debug output is now also sent to the log instead of stdout. (#2923)
- A debug context was added to debug macros to implement custom debug
handling. This is used to redirect the debug of pods to the debug log
instead of using some custom duplicated code.
- Fix some warnings for potentially undefined shifts in format
conversion.
- Support for compress offload was added using tinycompress. This is mostly
used on some embedded hardware where decoding of audio formats can be
done in hardware.
## Bluetooth
- Some fixes for LE audio were added.
- Support for Bluetooth MIDI was added. This requires a wireplumber
addition as well.
- Reply OK to empty commands.
- Improve compatibility with some devices that send stray \n such as
the Sennheiser HD 350BT. (#2991)
## pulse-server
- Devices with unsupported formats (by the pulseaudio API) are now also
listed in the pulseaudio API (with invalid formats).
- The native module-combine-stream is used for module-combine-sink.
## JACK
- Make jack.merge-monitor default to true to better match the jack1/2
behaviour. Add an exception for mixxx, which is more usable with
unmerged monitors. (#1760)
## ALSA
- The property handling in the ALSA plugin was improved. alsa.properties
and alsa.rules can now be added to the config file.
- A rule was added to tweak the buffer settings in Davinci Resolve so that
it can run with acceptable latency. (#1697)
- ALSA volume will now also use cubic volumes, like pulseaudio.
- The ALSA ctl plugin now also uses the client-rt.conf file.
- A new alsa.volume-method was added to configure cubic or linear volume.
This can be set per application using the rules.
## GStreamer
- pipewiresrc will now advertize DMABUF support if the pipeline suports
this.
- pipewiresrc will now always be a live source unless told otherwise.
# PipeWire 0.3.64 (2023-01-12)
This is a bugfix release that is API and ABI compatible with previous
0.3.x releases.
## Highlights
- Clear old buffer memory on ports to fix some SIGBUS errors.
- It is now possible to assign custom port names to the ports from an
adapter. This feature is helpful to those who use a multichannel
interface with long-term connections. This way they can label each
port with its designation, such as an instrument name or anything else
to be displayed in a patchbay or DAW.
- Fix some issues with node suspend and quantum and rate calculations.
- Fix some regressions in pulse-tunnel and RTP-source adaptive resampling
that could cause synchronization problems.
- UCM devices now also have a Pro Audio profile.
- NODE_TARGET (with the object.id) is now deprecated, use TARGET_OBJECT
(with the object.serial, which is not reused and can avoid races).
## PipeWire
- Clear all peer input port buffers when suspending. This fixes some
SIGBUS errors when some plugins were using old memory. (#2914)
- Fix a case where nodes that were not supposed to be suspended, were
kept suspended on a rate change. (#2929)
- Fix an error in the quantum and rate calculations that could cause
nodes to run with wrong quantum and rates when multiple rates were
allowed. (#2925)
## Tools
- pw-dump will now sort dictionaries to make it easier to compare
different outputs.
- Improve output of pw-reserve.
- pw-loopback uses TARGET_OBJECT so you will need to use the serial
id (or better the name) as the target instead of the object id.
## modules
- The filter-chain modules has seen some cleanups, refactoring and
optimizations in the various DSP functions.
- The ROC module now supports setting a custom samplerate.
- ROC 0.2.X is now required.
- The pulse tunnel and RTP source were not updating the rate field
correctly which could cause synchronization problems. (#2891)
- The filter-chain now supports an arbitrary number of control
properties. (#2933)
- It is now possible to assign custom port names to the ports from an
adapter with the PW_KEY_NODE_CHANNELNAMES.
- Support was added for capture and playback props in echo-cancel.
(#2939)
## SPA
- The ACP code now has an option to set the probe samplerate. (#1599)
- UCM devices now also have a Pro Audio profile.
- Filtering of Step ranges is now implemented.
## Pulse-Server
- The channel-map is now set correctly on the echo-cancel module.
- source_master and sink_master are now correctly handled in module
echo-cancel.
- Fix a regression in DRAIN where resuming after a DRAIN would fail.
This caused problems for espeak. (#2928)
- TARGET_OBJECT is now used to make it possible to use the indexes
as a target.
- ladspa-source and remap-source can now also link to monitors.
## ALSA
- The ALSA plugin now handles the target.object correctly when set to
-1. (#2893)
## V4L2
- The v4l2 replacement library now also follows symlinks.
- Support for getting and setting controls was added.
- Support for G_PARM was added.
- The environment variable PIPEWIRE_V4L2_TARGET can be used to force
an application onto a specific camera.
## Bluetooth
- Fix compilation without ldac_abr.
- Fix a missing brace in CIND reply. This could cause some devices to
fail.
- Fix configuration of the initial latency.
## GStreamer
- The device provider now supports setting an fd so that it can connect
to PipeWire sessions from the portal.
- DMABuf support was re-enabled in gstpipewiresrc.
# PipeWire 0.3.63 (2022-12-15)
This is a quick bugfix release that is API and ABI compatible with previous
0.3.x releases.
## Highlights
- Fix a critical bug that causes audio distortion in some cases when using
AVX2.
- Fix a crash in mpv caused by deinit of PipeWire.
- Resample the convolver IR to match the graph samplerate for better
results.
- Many more small bugfixes and improvements.
## PipeWire
- Fix a segfault in the PipeWire deinit code triggered by mpv in some
cases. (#2881)
- Fix docs about SPA_PLUGIN_DIR.
- Always dlclose by default (even under valgrind). Add an option with
PIPEWIRE_DLCLOSE to select alternative behaviour.
- Improve PIPEWIRE_DEBUG category handling.
## modules
- Resample the IR for the convolver when the IR samplerate and graph rate
don't match.
## SPA
- Handle spurious reads from timerfd gracefully.
- Fix potential stack-use-after-scope when starting Audacity.
- Fix distorted audio when using AVX2. (#2885)
- Remove fallback to default channel map in channelmix.
- Improve sorting of MIDI events, use the same order as Ardour. (#1816)
- Enable LFE downmixing by default. (#2425)
- Make IEC958/AC3 and IEC958/DTS work better by enforcing a fixed minimal
buffering for the encoder to avoid stuttering. (#2650)
## Pulse-Server
- Add a new pulse.cmd config section to execute pulse commands, currently
only for loading modules. This removes the dependency on pactl.
- Improve debug of messages.
# PipeWire 0.3.62 (2022-12-09)
This is a bugfix release that is API and ABI compatible with previous
0.3.x releases.
## Highlights
- A regression in screensharing was fixed. It was caused by a race when
activating links and driver nodes.
- Video transform metadata was added so that cameras and screen sharing
can report the video orientation and transformations.
- Support for the PulseAudio module-gsettings was added to make paprefs
work.
- Support for bluetooth offloading was added. This allows for the bluetooth
reception, decoding and playback to happen completely in hardware.
This also requires some support in WirePlumber.
- Many bugfixes and improvements.
## PipeWire
- More work on stopping nodes in a more controlled way.
- Fix a race in starting nodes and drivers. In some cases the driver
node would already be started while the link to the peer node was not
ready yet. This caused regressions in screen sharing. The driver is
now only started after all the followers and links completed.
- Fix a case where a slow capture stream would not recycle buffers
anymore and stall. (#2874)
- Fix a subtle bug in pw_loop_invoke that could cause callbacks to be
delayed and cause crashes in some cases.
- Fix a case where IPC was done from the data-thread and could cause
crashes.
## Tools
- Silence some expected errors in the pw-top output.
## modules
- The filter-chain has seen some optimizations in the copy plugin and
the convolver.
- The zeroconf plugin will now only unpublish services from the server
that was removed.
- Fix a potential crash when stopping pw-loopback.
- Some harmless errors were turned into info messages.
- Fix some cases where pw_stream methods were called from the data-thread
that could cause segfaults. (#2633)
## SPA
- There is now a video transform metadata that indicates how a video
frame was transformed (rotated/flipped). libcamera and the GStreamer
elements now have support for this metadata.
- The SPA volume plugin is now disabled from the default build.
- Handle missing control info in libcamera.
- Handle errors from loop better, don't call the callbacks on errors.
- Somewhat improve performance in some audioconvert AVX2 code for format
conversion.
- Fix PortConfig and EnumPortConfig params in audioconvert and
audioadapter to reflect what is actually going on instead of using
hardcoded values.
- Pass ignore-dB property correctly in all cases.
- Probing is now done in 48KHz again. (#2857)
## Pulse-server
- IPv4 addresses are now added first to the list and exposed first with
zeroconf discover.
- module-gsettings was added to make paprefs work.
- The pulse.idle.timeout option was disabled by default and only enabled
for selected apps (speech-dispatcher) because it caused some problems
for other apps. (#2880)
## JACK
- Only process valid ports. Could fix some crashes. (#2863)
## Bluetooth
- Support was added for offloading bluetooth handling. Some hardware can
receive, decode and play the bluetooth audio directly in hardware.
# PipeWire 0.3.61 (2022-11-24)
This is a bugfix release that is API and ABI compatible with previous
0.3.x releases.
## Highlights
- Fix a bug in audioadapter that could cause crashes when switching
bluetooth profiles.
- Fix sound in QEMU, deadbeef and openal again.
- libcamera plugin fixes, dynamic add and remove should now work with