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 405
    • Issues 405
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • 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
  • #1961

Closed
Open
Created Dec 29, 2021 by Elias@Bleuzen

Audio stutters when using Viper4Linux

  • PipeWire version (pipewire --version): 0.3.42 & also master 8416d66a
  • Distribution and distribution version (PRETTY_NAME from /etc/os-release): EndeavourOS (vm) & Debian testing (real hardware) (same behaviour on both)
  • Desktop Environment: Xfce and KDE Plasma
  • Kernel version (uname -r): 5.15

Description of Problem:

Hi, when using Viper4Linux for audio processing / effects, there are gaps in audio output which makes it very unpleasant to listen to.

Steps to Reproduce:

  1. Install Viper4Linux and its GUI (on Arch systems, from AUR: yay -S viper4linux-gui - for other see the repo: https://github.com/Audio4Linux/Viper4Linux-GUI)
  2. Start viper in command line: viper start
  3. Launch the Viper4Linux GUI
  4. Make sure FX is enabled and audio output is going through viper
  5. Try to not get sad while listening to music

Actual Results:

Audio output seems to have some gaps, music 'stutters' in a unpleasant way.

Expected Results:

Audio output should be normal without stutters.

Additional Info:

  • pw-dump > pw-dump.log:pw-dump.log
  • audio demo: viper-pipewire-stutter

Noticed that the viper gst plugin seems to run on fixed 44.1k samplerate, even if everything else is on 48k. Haven't found a way to change this. However when forcing pipewire to run everything else also on 44.1k samplerate (command: pw-metadata -n settings 0 clock.force-rate 44100) this makes the stutter appear much less. Setting samplerate back to auto or 48k is like a big comeback party for the stuttering.

Also, looking at pw-mon, the viper gst plugin runs at very weird latency values. Maybe this or compensation for this has something to do with the problem: image

Edited Dec 29, 2021 by Elias
Assignee
Assign to
Time tracking