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.

  • Cyborganism@lemmy.caOP
    link
    fedilink
    arrow-up
    1
    ·
    19 days ago

    pactl info | grep “Server Name”

    This is the output I’m getting:

    Server Name: PulseAudio (on PipeWire 1.0.5)

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

    Edit ~/.config/wireplumber/main.lua.d/50-alsa-monitor.lua

    That path doesn’t even exist. I don’t have the wireplumber subdirectory.

    I’m gonna check with Pulseaudio if there are any known bugs. I wasn’t sure where to start looking but this thread has given me some good hints, thanks to people like you. :)

    • OsrsNeedsF2P@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      18 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)

      • Cyborganism@lemmy.caOP
        link
        fedilink
        arrow-up
        2
        ·
        18 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.

          • Cyborganism@lemmy.caOP
            link
            fedilink
            arrow-up
            2
            ·
            15 days ago

            So I tried it and when I rebooted I saw my sound was muted. When I clicked on the volume icon in the system tray it said “No output or input devices found.”