Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Stuttering audio after upgrade to 24.04

  1. #1
    Join Date
    Mar 2009
    Location
    Sacramento, CA
    Beans
    644
    Distro
    Xubuntu

    Question Stuttering audio after upgrade to 24.04

    Canonical decided for some unfathomable reason to put the 24.04 upgrade back more than halfway to the next release, so on my laptops I forced the upgrade with sudo do-release-upgrade -d. That's fine on my laptops because they'd be easy to reinstall from scratch if need be - but my desktop is another matter. I wanted to hold off until the official release was available.

    However, a project I'm involved with (Raceintospace) now requires an updated version of CMake, which isn't available on 22.04 LTS, so I had to upgrade to 24.04. It upgraded just fine and everything's working great, except certain things now have a sort of stuttery sound. Audacious plays flawlessly, VLC plays movies just fine, etc. However, the Raceintospace game now has stuttery sound. I thought it was the game, until I opened LOTRO, and the music is kind of stuttery there too (less pronounced than in RIS, but definitely there).

    I've tried to record this stuttering in RIS, but as soon as I tell OBS Studio to record, the stuttering stops and the sound is just fine again. I tell it to stop recording, and the stuttering resumes. It's the strangest thing! Anyone have any idea? Is it maybe a problem with PulseAudio or something?

  2. #2
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Stuttering audio after upgrade to 24.04

    There was a workaround that jbicha had posted if you wan to give it try:
    There was another workaround in the upstream bug:

    Code:
    systemctl edit --user wireplumber.service
    Add this then save the file and exit:

    Code:
    [Service]
    ExecStartPre=/bin/sleep 1
    (And if one second isn't long enough, you could try a larger number.) I'm using "3" ATM
    Code:
    ### Editing /home/me/.config/systemd/user/wireplumber.service.d/override.conf
    ### Anything between here and the comment below will become the contents of the drop-in file
    
    ExecStartPre=/bin/sleep 3
    
    ### Edits below this comment will be discarded
    
    
    ### /usr/lib/systemd/user/wireplumber.service
    # [Unit]
    # Description=Multimedia Service Session Manager
    # After=pipewire.service
    # BindsTo=pipewire.service
    # Conflicts=pipewire-media-session.service
    #
    # [Service]
    # LockPersonality=yes
    # MemoryDenyWriteExecute=yes
    # NoNewPrivileges=yes
    # SystemCallArchitectures=native
    # SystemCallFilter=@system-service
    I'm curious to see how this works or not for your use. I still see a few race conditions though.

    Sound and Video is at best in beta stage for Buntu flavors.....Sigh
    Last edited by #&thj^%; June 22nd, 2024 at 06:20 PM. Reason: Add to

  3. #3
    Join Date
    Mar 2009
    Location
    Sacramento, CA
    Beans
    644
    Distro
    Xubuntu

    Re: Stuttering audio after upgrade to 24.04

    Thanks for the suggestion! It doesn't seem to have fixed it though, either at 1 or 3.

  4. #4
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Stuttering audio after upgrade to 24.04

    Your not alone: https://askubuntu.com/questions/1515...-24-04-install
    *Rumors* are is a fix is coming at some point soon.
    One Bug report: https://bugs.launchpad.net/ubuntu/+s...e/+bug/2063150
    Last edited by #&thj^%; June 23rd, 2024 at 12:06 AM.

  5. #5
    Join Date
    Mar 2009
    Location
    Sacramento, CA
    Beans
    644
    Distro
    Xubuntu

    Re: Stuttering audio after upgrade to 24.04

    Oh so it's not just me! Thanks, good to know. I was toying with the idea of wiping and reinstalling from scratch, and wasn't looking forward to that.

  6. #6
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Stuttering audio after upgrade to 24.04

    If your adventurous some had a fix with:
    Martin Vysny (vyzivus) wrote on 2024-05-09: #9

    Blacklisting snd_soc_avs. (i.e. add this line: blacklist snd_soc_avs to /etc/modprobe.d/blacklist.conf) fixing the problem for me.

  7. #7
    Join Date
    Mar 2009
    Location
    Sacramento, CA
    Beans
    644
    Distro
    Xubuntu

    Re: Stuttering audio after upgrade to 24.04

    Thanks! I added that and rebooted, but same problem. Well, it was worth a try.

  8. #8
    Join Date
    May 2024
    Beans
    48

    Re: Stuttering audio after upgrade to 24.04

    Maybe the new pulseaudio defaults are crazy. Or maybe pipewire got installed.
    i'm not sure what to tell you. I fuss with audio buffers all the time for my Digital Audio Workstation.

    Maybe post up a messages over at the Cockos Reaper forums in some section mentioning Linux. They fuss with audio buffers there a lot, and would know which settings for you might be golden. I only know my own system and some pro audio optimizations, but those aren't for everyday desktops.

    But I can tell you that the PulseAudio devs are kinda dorky because the default settings are the worst of both pro and consumer and prosumer. They didn't set the buffers correctly to accommodate anybody, and yet they shoved in bluetooth audio support too (which I wouldn't wish on my worst enemies).
    I would try to do a more direct support for you, but I'm on Arch Linux instead of Ubuntu flavors.

  9. #9
    Join Date
    Mar 2009
    Location
    Sacramento, CA
    Beans
    644
    Distro
    Xubuntu

    Re: Stuttering audio after upgrade to 24.04

    My mistake, incidentally - it is affecting other sound and music, just to differing degrees.

  10. #10
    Join Date
    Mar 2007
    Location
    Promiseland
    Beans
    1,730
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Stuttering audio after upgrade to 24.04

    Maybe the new pulseaudio defaults are crazy. Or maybe pipewire got installed.
    My audio works. It seems like pulseaudio has a substitute, look at Server-2
    Code:
    $ inxi -Axxz
    Audio:
      Device-1: AMD driver: snd_hda_intel v: kernel bus-ID: 00:01.1
        chip-ID: 1002:15b3
      Device-2: AMD Family 15h Audio vendor: Conexant Systems
        driver: snd_hda_intel v: kernel bus-ID: 00:09.2 chip-ID: 1022:157a
      Device-3: Generalplus USB Audio Device
        driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
        lanes: 1 bus-ID: 2-3:3 chip-ID: 1b3f:2008
      API: ALSA v: k6.8.0-36-generic status: kernel-api
      Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
        status: active 2: wireplumber status: active
      Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse)
    Cheers,


    The Linux Command Line at https://linuxcommand.org/

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •