Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pipewire pipewire
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 401
    • Issues 401
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWire
  • pipewirepipewire
  • Issues
  • #494

Closed
Open
Created 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
Time tracking