Public bug reported:
The audio is stuttering at random times, a short (about a second or less)
repeated sound occurs, in the browser, in VLC or even the system sounds, and
it's actually annoying. I tried Fedora 32 but the same issue there, and I tried
OpenSUSE Leap 15.2 but it never happened.
My search led me to an Arch article explaining the situation:
"The newer implementation of the PulseAudio sound server uses timer-based audio
scheduling instead of the traditional, interrupt-driven approach.
Timer-based scheduling may expose issues in some ALSA drivers. On the other
hand, other drivers might be glitchy without it on, so check to see what works
on your system."
See
https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Glitches,_skips_or_crackling
I tried the proposed solutions but it Don't work.
Further search led me to the conclusion that it's an old bug:
It happened in 16.04, see:
https://askubuntu.com/questions/915904/audio-glitches-every-2-10-minutes-ubuntu-16-04
and 18.04, see:
https://askubuntu.com/questions/1044552/audio-stuttering-in-ubuntu-18-04
It turned out that there is a bug in kernel which causes audio stutter if a
wifi enabled yet not connected to any wifi network.
I have an internal wifi card that is enabled but I don't use it, and a USB wifi
adapter which I use. So I disabled my internal unused wifi card by blacklisting
it and then reboot, and so far everything works fine (about 2 hours of
testing). I re-enabled it and the stutter happened again. So I reported this
bug while both cards are enabled.
I don't mind blacklisting the unused card, but I think it's better to report
such bug.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: pulseaudio 1:13.99.1-1ubuntu3.6
ProcVersionSignature: Ubuntu 5.4.0-47.51-generic 5.4.55
Uname: Linux 5.4.0-47-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: abdulrhman 1549 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Tue Sep 8 18:47:55 2020
InstallationDate: Installed on 2020-09-07 (0 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/27/2018
dmi.bios.vendor: Insyde
dmi.bios.version: F.45
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 2213
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 57.58
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias:
dmi:bvnInsyde:bvrF.45:bd06/27/2018:svnHewlett-Packard:pnHP15NotebookPC:pvr0990110000000000000600087:rvnHewlett-Packard:rn2213:rvr57.58:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.family: 103C_5335KV G=N L=CON B=HP S=PAV
dmi.product.name: HP 15 Notebook PC
dmi.product.sku: K1Y87EA#ABV
dmi.product.version: 0990110000000000000600087
dmi.sys.vendor: Hewlett-Packard
** Affects: pulseaudio (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug focal
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1894872
Title:
Audio stuttering in Ubuntu
Status in pulseaudio package in Ubuntu:
New
Bug description:
The audio is stuttering at random times, a short (about a second or less)
repeated sound occurs, in the browser, in VLC or even the system sounds, and
it's actually annoying. I tried Fedora 32 but the same issue there, and I tried
OpenSUSE Leap 15.2 but it never happened.
My search led me to an Arch article explaining the situation:
"The newer implementation of the PulseAudio sound server uses timer-based
audio scheduling instead of the traditional, interrupt-driven approach.
Timer-based scheduling may expose issues in some ALSA drivers. On the other
hand, other drivers might be glitchy without it on, so check to see what works
on your system."
See
https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Glitches,_skips_or_crackling
I tried the proposed solutions but it Don't work.
Further search led me to the conclusion that it's an old bug:
It happened in 16.04, see:
https://askubuntu.com/questions/915904/audio-glitches-every-2-10-minutes-ubuntu-16-04
and 18.04, see:
https://askubuntu.com/questions/1044552/audio-stuttering-in-ubuntu-18-04
It turned out that there is a bug in kernel which causes audio stutter if a
wifi enabled yet not connected to any wifi network.
I have an internal wifi card that is enabled but I don't use it, and a USB
wifi adapter which I use. So I disabled my internal unused wifi card by
blacklisting it and then reboot, and so far everything works fine (about 2
hours of testing). I re-enabled it and the stutter happened again. So I
reported this bug while both cards are enabled.
I don't mind blacklisting the unused card, but I think it's better to report
such bug.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: pulseaudio 1:13.99.1-1ubuntu3.6
ProcVersionSignature: Ubuntu 5.4.0-47.51-generic 5.4.55
Uname: Linux 5.4.0-47-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: abdulrhman 1549 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Tue Sep 8 18:47:55 2020
InstallationDate: Installed on 2020-09-07 (0 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/27/2018
dmi.bios.vendor: Insyde
dmi.bios.version: F.45
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 2213
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 57.58
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias:
dmi:bvnInsyde:bvrF.45:bd06/27/2018:svnHewlett-Packard:pnHP15NotebookPC:pvr0990110000000000000600087:rvnHewlett-Packard:rn2213:rvr57.58:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.family: 103C_5335KV G=N L=CON B=HP S=PAV
dmi.product.name: HP 15 Notebook PC
dmi.product.sku: K1Y87EA#ABV
dmi.product.version: 0990110000000000000600087
dmi.sys.vendor: Hewlett-Packard
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1894872/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp