As described in this AskUbuntu post, basically every time there’s some audio playback, there is a variable delay when the audio starts. It can range from anything like a fraction of a second to a full two seconds.

I noticed this first when playing YouTube videos and then it was excruciatingly obvious and a real problem while editing audio in Audacity.

If it’s any good, I’m using an NVIDIA RTX 3070 and I’m still under X, not Wayland, and using Pulse Audio.

My audio is going to my HDMI connected monitor where my speakers are connected.

This is only happening since I did a fresh install of Kubuntu 24.04 earlier this September.

Update: Added my graphics card model.

  • OsrsNeedsF2P@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    4 days ago

    Well THAT’S clear hahahaha … So does that mean I’m using PulseAudio or PipeWire?

    It means you’re using Pipewire :D. I think Pipewire builds on top of PulseAudio or integrates it or something. In any case, try this command to confirm it’s Pipewire:

    systemctl --user status wireplumber.service

    My output looks like this:

     wireplumber.service - Multimedia Service Session Manager
         Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
         Active: active (running) since Thu 2024-12-05 13:12:41 PST; 2 days ago
    

    (The (running) means it’s running)

    That path doesn’t even exist

    It might be under /usr/share/wireplumber/main.lua.d/. The only difference is this folder is for system files that affect all users, but given that this bug is happening on your own hardware that’s probably what you want to change anyways

    (You can also create ~/.config/wireplumber/main.lua.d/50-alsa-monitor.lua if you want; this is assuming you didn’t change your XDG directories to not use .config)

    • CyborganismOP
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      wireplumber.service - Multimedia Service Session Manager Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled) Active: active (running) since Fri 2024-12-06 21:17:10 EST; 2 days ago Yep. Looks like I am!

      It might be under /usr/share/wireplumber/main.lua.d/

      It is!!!

      (You can also create ~/.config/wireplumber/main.lua.d/50-alsa-monitor.lua if you want; this is assuming you didn’t change your XDG directories to not use .config)

      Ok so I will try this first.