Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 06-03-2020, 05:45 PM   #1
LQ Newbie
Registered: Jun 2020
Posts: 3

Rep: Reputation: Disabled
pulseaudio / mic issues

Hi everyone,

I've finally convinced my son to move from Windows to Debian He does a lot with stop motion, and everything he uses for that seems to work well in Linux. He's also started a YouTube channel and likes to livestream video game play. He uses obs-studio, and trying to get it to work in Windows was a nightmare. One day it works, the next day, nothing works, the next day, no video audio, the next day, no mic, etc. Mind you, this is without him changing anything. And I showed him how I can just plug that stuff into my debian machine and it all just works. So he bought it.

Now the problem - his mic is giving me serious issues. I didn't have to adjust any pulseaudio settings on my laptop, the mic just sounds find. But on his, it sounded really over-driven. I've gotten it to sound a lot better, but it's still crackly. And this doesn't change whether he's plugging in a microphone or using his laptop's built-in mic. I've searched all over trying to figure out, and I've followed a lot of tutorials. Probably the most thorough I found was this one: I went through all of that, and I used those instructions to figure out what my frame rate should be. I also used pavucontrol and noticed that the mic was set to boost. So I turned that down. I tried toggling to tsched=0/1 option in /etc/pulse/ and that didn't seem to make a different. And again, the over-driven sound is now gone, but I can't get the crackling to go away. Anybody want to help? Just let me know what info you need. Here's some preliminary stuff:

Lenovo 320-15ABR

$ uname -a
Linux debian-nt 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux

$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: Generic Analog [Generic Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

$ lspci -v (only showing audio devices here)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
        Subsystem: Lenovo Kabini HDMI/DP Audio
        Flags: bus master, fast devsel, latency 0, IRQ 40
        Memory at f0d60000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge
        Flags: fast devsel

00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller
        Subsystem: Lenovo Family 15h (Models 60h-6fh) Audio Controller
        Flags: bus master, fast devsel, latency 0, IRQ 41
        Memory at f0d64000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
Old 06-04-2020, 02:33 PM   #2
Registered: Sep 2010
Posts: 256

Rep: Reputation: 28
i think this is related to a bug i issued. i cannot say for certain and it doesnt solve your problem but it might help. the essential problem boils down to the driver not being built correctly into the system and so that is the issue. it culminates in pulseaudio giving off staticy out-of-sync sound.
Old 06-04-2020, 10:54 PM   #3
Registered: Aug 2017
Posts: 52

Rep: Reputation: Disabled
I also had this problem but no idea how I solved it, sorry. Seems to me the crackling or popping was picked up from the software trying to interpret a system sound or thinks a drive running is "sound" or something like that. Then there's the "latency" Setting. (You might try turning system sounds OFF, see if that helps?) Pulseaudio is a pain, but easier to work with than a bare ALSA system (in some people's opinion, that is) BUT since it controls everything it might be hard to isolate a problem.
Old 06-05-2020, 05:24 AM   #4
LQ Newbie
Registered: Sep 2012
Posts: 10

Rep: Reputation: Disabled
If I get crackling sounds with my inputs, it's usually because xruns are happening. Meaning: the settings are to strict for the hardware and audio samples start dropping.
You can check it with a tool like JACK -> see "Preferences"; you'll be looking for Frames/Period and Periods/Buffer settings. Try with >=512 frames and 3 periods (USB mic) OR 2 periods (internal mic).
Old 06-06-2020, 04:09 AM   #5
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 211

Rep: Reputation: 110Reputation: 110
Try asking the pulseaudio folks at .

I lurk there and have seen quite a few similar issues addressed there.
Old 06-07-2020, 08:57 AM   #6
LQ Newbie
Registered: Jun 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the suggestions. I may ask the pulseaudio people as I'd still like to resolve bthis even though I have found another solution for now: bought a $20 USB mic from Amazon and it seems to work great.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with the mic on slackware - mic boost on still very quiet adrian2009 Slackware 1 06-09-2009 05:57 PM
Mic problem. Mic bar missing in alsaconf rengo.Java Linux - Hardware 4 02-15-2009 07:02 PM
Mic problems with Ventrilo (wine) - just need help getting the mic on Snipersnest Linux - Software 5 10-14-2008 06:44 AM
microphone problem mic is rear mic and when i rebooted after repair wont work adb0434 Linux - Newbie 2 10-02-2006 01:37 AM
MIC Problem > "Unable to find simple control mic" Balarabay1 SUSE / openSUSE 3 04-10-2006 12:08 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration