The audio is stuttering/crackling whenever played in external speakers/headphone or the laptop's speaker.
I have tried several solutions to no avail, and different combinations of them:
https://unix.stackexchange.com/a/136591
Changing
default-sample-rate = 42100→default-sample-rate = 48000at/etc/pulse/daemon.conf.Changing
load-module module-udev-detect→load-module module-udev-detect tsched=0.This has significantly reduced the amount of noise and slowness of the music but it is not perfect.
https://askubuntu.com/a/1067759:
pulseaudio -k.https://askubuntu.com/a/1135589: Add
options snd-hda-intel power_save=0 power_save_controller=Nto/etc/modprobe.d/alsa-base.conf.Audio stuttering on 18.04: Quoting:
- add
options snd-hda-intel position_fix=1to /etc/modprobe.d/alsa-base.conf - edit to
load-module module-udev-detect tsched=1in /etc/pulse/default.pa - add
resample-method = src-sinc-best-qualityin /etc/pulse/daemon.conf
Points to other sources as well.
- add
I have also tried:
pulseaudio -k && sudo alsa force-reload
Reboot.
Other solutions which I have not tried because there is no such an option for me:
I have recently upgraded from Lubuntu 16.04 and it worked perfectly. I have a Lubuntu 18.04:
$ uname -a
Linux abcde 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux