Skip to content

fix(pipewire): prevent bursty real-time promotion - #1292

Merged
roderickvd merged 4 commits into
masterfrom
fix/pipewire-rt-promote-jitter
Jul 29, 2026
Merged

fix(pipewire): prevent bursty real-time promotion#1292
roderickvd merged 4 commits into
masterfrom
fix/pipewire-rt-promote-jitter

Conversation

@roderickvd

Copy link
Copy Markdown
Member

A user on Discord reported getting 'Failed to promote audio thread to real-time priority: AudioThreadPriorityError: Thread promotion error ("Device or resource busy"): "Device or resource bus"' errors, noticing his quantum size changed on every callback.

This PR fixes that by using a growth-only strategy when the quantum size is jittery (e.g. for non-integer resampling ratios, or to compensate for clock drift, ...)

@roderickvd
roderickvd merged commit 2f5fc62 into master Jul 29, 2026
31 checks passed
@roderickvd
roderickvd deleted the fix/pipewire-rt-promote-jitter branch July 29, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant