Results 1 to 3 of 3

Thread: Pulseaudio malfunctioning after the kernel update (5.3.18-150300.59.6)

  1. #1

    Default Pulseaudio malfunctioning after the kernel update (5.3.18-150300.59.6)

    After updating to the latest kernel version (5.3.18-150300.59.68-default) the DragonFly USB DAC stopped working after starting Kodi (19.4-pm153.2.2). Pulseaudio is run in system mode (systemd service). After starting the server (small multimedia home server) the sound works correctly. But when I start Kodi by

    systemctl --user start kodi_user.service
    Code:
    [Unit] 
    Description = Kodi Media Center 
    
    [Service] 
    #User = firefly 
    Restart = always 
    #ExecStartPre = /usr/bin/pulseaudio --k 
    ExecStart = /usr/bin/kodi 
    Environment="DISPLAY=:0" 
    
    [Install] 
    WantedBy = multi-user.target
    
    sound stop working and the PA log (journalctl) is full of repeating errors:
    Code:
    
    ...
    kvě 26 20:43:57 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:57 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:57 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:57 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:57 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:57 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:57 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:57 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:57 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:58 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:58 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:58 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:58 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:58 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:58 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:58 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:58 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600) 
    kvě 26 20:43:58 serenity pulseaudio[912]: W: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 576000/288000
    , New 529200/264600)
    …
    When I boot the previews kernel version 5.3.18-150300.59.63 the PA works correctly after start of Kodi and with the USB DAC. I had no similar issues with sound until the last update of kernel.

    Do you have an idea what might be wrong?

  2. #2

    Default Re: Pulseaudio malfunctioning after the kernel update (5.3.18-150300.59.6)

    I've managed to solve the problem by commenting out the parameters

    Code:
    ;default-sample-rate = 48000
    ;alternate-sample-rate = 44100
    in the configuration
    Code:
     /etc/pulse/daemon.conf
    .

    The source of the solution was: https://forums.gentoo.org/viewtopic-t-1149986.html

    I don't know how is the sample-rate related to the kernel update, but it helped.

  3. #3

    Default Re: Pulseaudio malfunctioning after the kernel update (5.3.18-150300.59.6)

    Using PulseAudio, not Pipewire.

    I had similar problems with external DAC:
    Audacious, VLC works. Vivaldi works after update.
    Firefox cannot play sound, so youtube videos cannot be played with DAC output, but works with another devices.

    I solved it with these PulseAudio settings in /etc/pulse/daemon.conf:

    Code:
    default-sample-format = s24le
    default-sample-rate = 44100
    Also works with

    Code:
    default-sample-format = s24le
    default-sample-rate = 48000
    IMHO 44100 is preferable for online videos.

    Parameter "alternate-sample-rate" may cause troubles.

Tags for this Thread

Posting Permissions

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