On Linux, begin latency troubleshooting by identifying the active audio stack, application route and device, then inspect the accepted buffer or graph timing. For PipeWire, quantum divided by rate describes a processing period. It is not the complete input-to-headphone or acoustic round-trip delay.
Do not apply a configuration fragment from another distribution blindly. Installed versions, session management, application backends and hardware can differ. A stable, documented change to the correct path is more useful than forcing the smallest quantum globally.
Identify the route actually in use
Record the distribution, audio service versions, application, selected device and backend. An application may connect through a compatibility layer or a different supported path. Its presence in the desktop mixer does not explain every timing stage.
Confirm the intended input and output after reconnecting a USB interface or wireless headset. If the problem follows a particular output, compare another supported route before changing the whole graph.
The input and output latency explanation helps label capture, processing and playback separately. A software instrument and a microphone monitor do not have identical starting points.
Read quantum and rate together
PipeWire’s pw-top displays node and device statistics. Its QUANT and RATE fields must be interpreted together. For a driver node, the period duration is approximately 1,000 × quantum / rate milliseconds.
| Quantum | One period | What the calculation excludes |
|---|---|---|
| 128 | 2.67 ms | Other buffering, conversion and processing |
| 256 | 5.33 ms | The rest of the input/output route |
| 512 | 10.67 ms | Acoustic travel and capture outside the period |
| 1024 | 21.33 ms | Any complete end-to-end guarantee |
The sample-rate guide explains this arithmetic. Do not read a follower’s suggested value as proof that the entire graph adopted it. Check the active driver state and the documented meaning of each field.
Use pw-top as observation, not an acoustic meter
Where available, run pw-top while the affected task is active. Record the relevant node, quantum, rate and error behavior. The ERR field summarizes xruns and errors; a changing count can help identify missed-deadline behavior.
A graph statistic is not a physical microphone-to-headphone measurement. The documented format can differ from the graph rate when resampling is involved. Keep requested settings, active graph information and measured return values in separate categories.
Do not assume every nonzero value uniquely identifies a faulty device. Correlate changes with the actual symptom and workload. Use the installed version’s manual if field behavior or layout differs from current online documentation.
Change one application setting first
If the application exposes a supported buffer or latency request, begin there. Reduce it one available step, confirm the accepted active state and repeat the real task. If glitches appear, restore a larger stable setting.
PipeWire clients can make latency-related requests, but a request and a forced global graph setting are different controls. Other clients, graph policy and the device can influence the working configuration. A copied value does not establish that it is accepted or appropriate.
The latency reduction checklist emphasizes one-variable comparisons. Avoid editing several service, session-manager and application configurations at once.
Separate xruns from smooth delayed monitoring
A smaller period gives the system less time to finish each cycle. If deadlines are missed, you may hear clicks or gaps. That is different from a smooth signal that always arrives a fixed time late.
Compare a simple project with the actual workload while keeping device and rate fixed. If only the dense project fails, investigate processing and routing before declaring the hardware incompatible.
The symptom-based guide separates interruptions, drift, duplicate monitoring and fixed delay. Lowering a buffer further is not a universal fix for every branch.
Keep direct monitoring and software return distinct
A supported interface may let you hear a physical input without the application’s full software return. That route can suit a dry reference, but may not include the effects required for a performance.
If both direct and software routes are audible, the result can be doubled or hollow. Choose the intended monitor path before changing graph timing. A virtual instrument still needs software generation and cannot be replaced with an analog input monitor.
The production guide also distinguishes live comfort from recording placement. A clip offset does not shorten the next monitoring journey.
Be cautious with advanced configuration
Use documentation matching the installed service and session-manager versions. Prefer a small user-level change with a known way to restore the prior state. Keep the exact original values before experimenting.
Do not delete configuration directories or force every device to an extremely small quantum as a routine first step. Different hardware and workloads can need different stable settings. A change that breaks calls or ordinary playback is not a complete improvement.
For USB-specific connection questions, the USB audio guide separates bus reliability, buffering and end-to-end response.
Verify the right path after the change
The homepage sound latency test measures its browser’s acoustic output-air-input return and separates browser estimates. It does not expose every PipeWire graph contribution or certify another application’s route.
Use the repeatable testing method to keep microphone, distance and route fixed for browser comparisons. For the application, repeat the actual input or instrument task and check reliability through a complete passage.
Save the accepted settings and repeat after restarting or reconnecting. If the value changes, investigate the active policy or client request rather than claiming the earlier configuration is permanently enforced.
Frequently asked questions
Is quantum divided by rate my complete latency?
No. It describes one graph period. Other buffers, conversion, processing and the selected measurement path can add time.
Does a zero follower quantum mean zero delay?
No. It can indicate no suggested quantum, with the driver-selected value used instead. Read the installed manual and active driver state.
Should I force 64 or 128 globally?
Not as a universal rule. Use supported settings and test the actual workload. A fragile minimum can create xruns and break other tasks.
Can pw-top measure Bluetooth-only latency?
It reports graph statistics, not an isolated physical codec or receiver measurement. Keep complete acoustic tests separate.
Why did the setting change after reconnecting?
Device, client and policy behavior can alter the active configuration. Verify the accepted state rather than assuming a request remains enforced.
