Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pipewire
pipewire
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 183
    • Issues 183
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PipeWire
  • pipewirepipewire
  • Issues
  • #494

Closed
Open
Opened Dec 20, 2020 by Cosmic Chip Socket@cosmicchipsocket

Default latency too high in some apps, cannot be adjusted

Pipewire 0.3.18, x86_64, Arch Linux packages.

Hi, I'm currently on a system with a Ryzen 7 3700X CPU, meaning that I have to deal with the ALSA batch special case weirdness.

See also !330 (closed) and pulseaudio/pulseaudio#780

I'm experiencing similar symptoms to what I've described in the pulseaudio issue, though it doesn't seem to affect quite as many applications.

Renoise, Reaper, and OpenAL applications seem to be "good enough", latency feels like somewhere between 30-60 ms. I would have liked lower but I imagine improvements will happen over time. Other applications seem more adversely affected. OpenRCT2 and QuakeSpasm feel like about 100-200 ms. If I play a YouTube video at the same time that a DAW is running, I get Xruns momentarily from the DAW as the video gets ready to play, and then the audio from the DAW seems to fall behind a bit. After I stop the video it seems like the DAW audio eventually "snaps forward" again.

I do not have the latency issues if I run a pure ALSA setup, or run PulseAudio with a modified configuration to manually reduce the buffer size of the server. It would be nice if I could have Pipewire use a fixed 10-15 ms server latency system-wide, but I have not found a way to configure this yet. I have tried setting default.clock.quantum and default.clock.max-quantum to 256 and 512 respectively in the configuration, but this doesn't seem to have any effect. Additionally, pipewire-pulse does not seem to provide a readily usable configuration file that would allow me to change the buffer size.

Thanks in advance.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: pipewire/pipewire#494