Stuttery audio in buster/kde

Everything about X, Gnome, KDE, ... and everything running on it

Stuttery audio in buster/kde

Postby ljones0 » 2019-10-20 21:56

Hello all!

I'm having a bit of a problem when using debian buster and kde plasma and playing back audio. Sometimes whenever I play a video file (for example with VLC) or an audio file for a few seconds the audio will break up for several seconds before stabilising.

Here is an example file to illustrate what I mean. All I did is to start the video file and then after a few moments move the playback of the video file to the start. The same problem exists with audio files as well. I am listening via wired headphones btw, not bluetooth. BTW that file was recorded with a standalone audio recoder connected to my PC via the headphone socket. The audio recorder in question dosen't stutter and glitch like that. The file I'm using plays fine with no problems on other devices.

I have tried the suggestions here and here but to no avail it dosen't seem to make anything better.

BTW My pc really should not be too slow -- it's an AMD Ryzen 5 2600 CPU with 32GB Ram. I'm running off an SSD and not a hard drive as well. The OS is 64 bit debian buster running kde plasma and pulseaudio.

lspci dosen't seem to say much about the on-board sound;

Code: Select all
$lspci | grep Audio
27:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM / R5 230/235/235X OEM]
29:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller

not much from asound either;

Code: Select all
$ cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xf7e40000 irq 94
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xf7d00000 irq 96

dmesg has more to say;
Code: Select all
$ dmesg | grep "Audio"
[    0.220445] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    7.796909] input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:29:00.3/sound/card1/input16
[    7.796951] input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:29:00.3/sound/card1/input17
[    7.796983] input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/0000:29:00.3/sound/card1/input18
[    7.797014] input: HD-Audio Generic Line Out Front as /devices/pci0000:00/0000:00:08.1/0000:29:00.3/sound/card1/input19
[    7.797042] input: HD-Audio Generic Line Out Surround as /devices/pci0000:00/0000:00:08.1/0000:29:00.3/sound/card1/input20
[    7.797086] input: HD-Audio Generic Line Out CLFE as /devices/pci0000:00/0000:00:08.1/0000:29:00.3/sound/card1/input21
[    7.797143] input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/0000:29:00.3/sound/card1/input2

Code: Select all
dmesg | grep "audio"
[    7.693598] snd_hda_intel 0000:27:00.1: Handle vga_switcheroo audio client
[    7.765592] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC892: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[    7.765593] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.765595] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    7.765596] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    7.765597] snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x1e/0x0
[    7.765597] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    7.765598] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    7.765599] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    7.765601] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a

Does anyone know what could be causing the glitchy audio and why it seems to "trip up" as in the example file? Maybe an internal PCIE sound card might work better?

Posts: 81
Joined: 2013-03-30 22:51

Re: Stuttery audio in buster/kde

Postby Head_on_a_Stick » 2019-10-21 18:16,_skips_or_crackling?

EDIT: you have installed the non-free firmware required by your hardware, right?
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Posts: 10613
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Stuttery audio in buster/kde

Postby ljones0 » 2019-10-21 18:46

Well I gave aplay -L a go and I can confirm the chipset is ALC892. It's a realtek chipset and I have the firmware-realtek package already insalled.

I did try the tsched=0 suggestion on that page but it did not work I still have the same problem.

Posts: 81
Joined: 2013-03-30 22:51

Re: Stuttery audio in buster/kde

Postby stevepusser » 2019-10-21 21:50

Could it be the same as this issue? ... t-Audio-WA

If the current 5.2 kernel in backports doesn't include the fix, maybe a more recent Liquorix 5.2 kernel or my 5.3.2 kernel backport includes it.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
Posts: 11258
Joined: 2009-10-06 05:53

Re: Stuttery audio in buster/kde

Postby ljones0 » 2019-10-22 19:04

Not sure. I forgot about my kernel version - ! Anyways I'm running a liquroix kernel, 5.2.0-20.1-liquorix-amd64 .

Posts: 81
Joined: 2013-03-30 22:51

Re: Stuttery audio in buster/kde

Postby ljones0 » 2019-10-23 15:57

Decided to give a behringer UCA202 usb sound card a go instead of on-board audio. Just trying it now but it looks like no problems with this external device as opposed to the onboard audio.

Posts: 81
Joined: 2013-03-30 22:51

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests