LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-20-2023, 01:38 PM   #1
AKM512
Member
 
Registered: May 2022
Posts: 38

Rep: Reputation: 0
Arch Linux, ThinkPad T590: Microphone crackling with pipewire


My laptop's microphone takes a harsh and crackling sound when I attempt to use it to record myself. Playing audio from YouTube/PeerTube/Signal/Telegram calls/etc. all work fine (e.g. there is nothing wrong with my speakers), but recording produces a crackling sound.

I am using Pipewire for audio; I attempted to switch to PulseAudio briefly to solve the issue, but that didn't help (and the sound output from my laptop was significantly worse in quality.) Under
Code:
/etc/pipewire
, there are no .conf files, only .conf.d files.
Code:
/etc/modprobe.d ls
also produces no output, and likewise with
Code:
/etc/pulse ls
only
Code:
client.conf
(and leftover default.pa~ from when I shifted to pulseaudio) are present.

Note: The same poor microphone quality and good speaker quality dichotomy also exists in my Fedora 38 virtual machine with QEMU/KVM.
 
Old 08-20-2023, 02:02 PM   #2
AKM512
Member
 
Registered: May 2022
Posts: 38

Original Poster
Rep: Reputation: 0
Output of
Code:
pactl info
:

Code:
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 340
Tile Size: 65472
User Name: user
Host Name: archlinux
Server Name: PulseAudio (on PipeWire 0.3.77)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.5.analog-stereo
Default Source: alsa_input.pci-0000_00_1f.3.5.analog-stereo
Cookie: a308:3edd
Output of inxi -Faz (audio section only):

Code:
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9dc8
    class-ID: 0403
  API: ALSA v: k6.4.11-arch1-1 status: kernel-api tools: N/A
  Server-1: PipeWire v: 0.3.77 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Code:
[user@archlinux ~]$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xcd73c000 irq 166
Output of amixer:

Code:
[user@archlinux ~]$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 64538 [98%] [on]
  Front Right: Playback 64538 [98%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 65536
  Front Left: Capture 65536 [100%] [on]
  Front Right: Capture 65536 [100%] [on]

Last edited by AKM512; 08-20-2023 at 03:18 PM. Reason: Added output of amixer
 
Old 08-20-2023, 03:24 PM   #3
AKM512
Member
 
Registered: May 2022
Posts: 38

Original Poster
Rep: Reputation: 0
Solution

I realized the solution was actually very simple: In alsamixer, set the internal microphone to dB gain: 0.00 .

For any future reference:
  1. Run
    Code:
    alsamixer
  2. F6
  3. Navigate to correct sound card (in my case, HDA Intel PCH)
  4. Go to Internal Mic
  5. Set Master [db gain] to 0.00

Marking as solved now.
 
  


Reply

Tags
arch linux, microphone, pipewire, thinkpad


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
Arch Linux: Lenovo ThinkPad T590 not charging automatically AKM512 Linux - Hardware 1 11-14-2022 03:57 PM
[SOLVED] [current] slackpkg-15.0.2-noarch-1 has /etc/pipewire/pipewire.conf.new j12i Slackware 3 04-27-2021 01:08 AM
(Zorin OS 9) Microphone's sound signal picks up some crackling Kealerator Linux - Newbie 8 10-10-2016 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:33 AM.

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