Skip to content

Playback stops randomly #12942

Backlog
Backlog

Description

@Krauus

Bug description

Playback keeps stopping after hitting play.

Steps to reproduce

  1. Click Play button

Expected behavior

It shouldn't cease playing randomly.

Actual behavior

It ceases randomly, usually after a second or two. Program remains in play mode until I click Stop.

Audacity Version

Audacity 4.0.2

Operating system

Linux

Additional context

I'm on the latest version of Linux Mint, specifically. Audacity version 3 never had this issue.

Activity

  1. added theissue type on Dec 1, 2026
  2. dozzzzer commented on Dec 2, 2026

    @dozzzzer
    Contributor

    @Krauus we'd need more details from you to be able to reproduce this

    1. When playback stops, does the playhead keep moving or freeze? Do the meters freeze?
    2. How did you install Audacity 4.0.2 (AppImage, Flatpak, Snap, other)?
    3. Please launch it from a terminal (./audacity-*.AppImage 2>&1 | tee au4.log or flatpak run org.audacityteam.Audacity 2>&1 | tee au4.log), reproduce the issue, and attach the log.
    4. In Preferences > Audio, which host and playback device are selected, and what are the project rate and buffer settings? Does choosing a different device (e.g. pulse or default) change anything?
    5. What's your output device (built-in, USB, HDMI, Bluetooth)?
    6. Output of pactl info | grep -i "server name", cat /etc/linuxmint/info, and uname -r
    7. Does it also happen in a new project with just a generated tone?
  3. Krauus commented on Dec 2, 2026

    @Krauus
    Author

    Hi @dozzzzer thanks for following up. I have a habit of deluging inapplicable information so I thought I'd start minimal and reply with what you need.

    Alright, check this out! It's got to be the Sample Rate.

    • I set it to 48000 in Preferences, generated a tone, playback was fine.
    • I set it to 44100 and it failed about 10 seconds in.
    • The log does not register any failure.
    • While playback is frozen, I set it back to 48000 in Prefs and playback resumed after clicking Ok. The log updates with more info

    Here's the log:

    au4.log

    Here's a video to let you see this in action. If a picture says a thousand words, then a video would be cubed that amount: https://www.youtube.com/watch?v=HRAE_wo39f8

    Here are all the deets in the manner you asked the questions:

    1. When playback stops, the playhead also freezes. Meter drops to zero, with smooth animation intact.
    2. AppImage appears to be the only option Muse offers on the site now, so that's what I use.
    3. Log is running. Log supplied. No errors register when playback freezes.
    4. Buffer is at default 100ms. Latency compensation is default -130ms.

    Sample Rate is 44100 when failing, but works at 48000hz.

    1. Playback device is "System default: default" My system default is my Scarlett 18i20 3rd Gen Pro. It is set to Pro Audio in pavucontrol. I'm using a node called 4.0 Surround Sink in qpwgraph.

    Also just in case you need to know, Audacity's Host is "ALSA."

    $ pactl info | grep -i "server name"
    Server Name: PulseAudio (on PipeWire 1.0.5)
    
    $ cat /etc/linuxmint/info
    RELEASE=22.3
    CODENAME=zena
    EDITION="Cinnamon"
    DESCRIPTION="Linux Mint 22.3 Zena"
    DESKTOP=Gnome
    TOOLKIT=GTK
    NEW_FEATURES_URL=https://www.linuxmint.com/rel_zena_whatsnew.php
    RELEASE_NOTES_URL=https://www.linuxmint.com/rel_zena.php
    USER_GUIDE_URL=https://www.linuxmint.com/documentation.php
    GRUB_TITLE=Linux Mint 22.3 Cinnamon
    
    $ uname -r
    6.8.0-151-generic
    
    1. Fails during playback of recorded audio or generated tone.
  4. Krauus commented on Dec 2, 2026

    @Krauus
    Author

    I remembered the command pw-top to show Pipewire buffers and rates:

    S   ID  QUANT   RATE    WAIT    BUSY   W/Q   B/Q  ERR FORMAT           NAME
    S   31      0      0    ---     ---   ---   ---     0                  Dummy-Driver
    S   32      0      0    ---     ---   ---   ---     0                  Freewheel-Driver
    S   46      0      0    ---     ---   ---   ---     0                  Midi-Bridge
    R   69   2048  48000 196.8us   0.3us  0.00  0.00    2   S32LE 20 48000 alsa_input.usb-Focusrite_Scarlett_18i20_USB_P9H08HC9703F4C-00.pro-input-0
    R   37      0      0   9.4us  18.8us  0.00  0.00    0     F32P 4 48000  + 4.0ch_sink
    R   38      0      0  61.7us   6.5us  0.00  0.00    0         F32P 2 0  + virtual_stereo_source
    R   39      0      0  31.0us   7.2us  0.00  0.00    0         F32P 2 0  + virtual_stereo_sink
    R   68      0      0  12.0us  57.7us  0.00  0.00    0   S32LE 20 48000  + alsa_output.usb-Focusrite_Scarlett_18i20_USB_P9H08HC9703F4C-00.pro-output-0
    R  204   1102  44100  21.8us  61.0us  0.00  0.00    0    F32LE 2 44100  + alsa_capture.audacity4portable
    

    That bottom one changes from 44100 to 48000 on the fly when I update it in Prefs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions