Skip to content

How to disable audio loopback (output to input)

I have a razer blade advanced 2018 and somehow, any audio output comes back to input(mic) if I have headphone and mic connected to the audio jack(that connector that has both together). I thought it could be the headphone, but on windows it works fine. It's only when I go to arch that every output gets redirected to the mic device.

It's not the volume. Even if I put the audio at minimum volume and the mic isolated by something, I still get the audio at the same volume in the mic device, no matter what I do.

Does anyone know how to disable this behavior? It is so irritating. EVERY sound on my computer gets back as input into calls and conferences. It is impossible to use Linux on my computer like this.

I can say that if I connect a separated mic, like a webcam and use it's mic, the output audio does not get redirect to the input, but that is a pain in the ass, and most of the time, I can only connect my headphones(whatever they are, the problems persist as long as they go through the same connector).

I was using pulseaudio but now I'm using pipewire with pulse audio and the problem is the same as it was before.

edit1: btw, I'm using kde/plasma up to date and there was no options on the system settings that would indicate that this was an intentional behavior.

system info:

$ pacman -Qs pipewire
local/gst-plugin-pipewire 1:0.3.23-1
local/pipewire 1:0.3.23-1
local/pipewire-media-session 1:0.3.23-1
local/pipewire-pulse 1:0.3.23-1

$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 34
Server Protocol Version: 34
Is Local: yes
Client Index: 76
Tile Size: 65472
User Name: user
Host Name: death-star
Server Name: PulseAudio (on PipeWire 0.3.23)
Server Version: 14.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie: 9351:cd05

$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC298 Analog [ALC298 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC298 Analog [ALC298 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
(... and lots more of the same hdmi device ...)

$ lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
01:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)

lshw audio section
id:	
multimedia
description: 	Audio device
product: 	Cannon Lake PCH cAVS
vendor: 	Intel Corporation
physical id:    1f.3
bus info: 	pci@0000:00:1f.3
version: 	10
width: 	64 bits
clock: 	33MHz
capabilities: 	pm msi bus_master cap_list
configuration:	
  driver	=	snd_hda_intel
  latency	=	32
resources:	 
  irq	:	148
  memory	:	ad410000-ad413fff
  memory	:	ad100000-ad1fffff

Edited 30 Mar 2021. We only hold this version.

7 points7 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
7 · 75% up
Kind
Text
ID
mg9ikh

Author

2
posts
11
comments
0
media
View profile

13 comments

During a recording attempt with the issue, what's your

amixer -c0
pactl list sources
pactl list source-outputs
2 points
unknown author

Deleted before we saved it.

2 points

dude, I have the same problem. I looked at pavucontrol and gnome settings and didn't found any way to disable this. anyone? for now, I'm doing like you said, using another device as a mic, but it is indeed annoying as fuck. Every time I have to change place, I have to carry my webcam and headphone together. If I were to use my computer on the go, I wouldn't even try.

1 points

whats you setup? did you fix the issue?

I honestly got fed up with this and migrated to fedora rawhide. Which honestly, up until this day is kinda strange to me since I've been using arch for the past 12 years of my personal, study, and professional life almost exclusively. But after initial setup, and a few system settings, its not that different, it has practically the same if not better performance and I'm starting to get used to it since everything I needed form from AUR is nowadays on flatpak, which is a much safer and better way to install and use shit than having to inspect every package and update you have just to be sure that someone is not messing with you like you're on windows, provided that you're using official flatpaks, which most the ones I use are, and if you don't, just completely lock the app from your system and have fun, much faster than having to manually configure chroots for apps you don't trust from AUR(and I know there are a few scripts that automate that, but it was never as user friendly, and nice to use as flatpak and often broken after some updates).

But honestly, there's no way you can have a professional life like that without being really annoyed by your computer. I often need to work on the go, and no way I'm gonna be carrying a webcam with me or a separate mic just so I don't have people annoyed by my mic, or don't listen to shit I'm listening to. And you could say that I could use my integrated webcam mic, but I would totally disagree with that. while that's ok-ish for personal stuff and it's ok to be always repeating yourself, I've yet to find a single one that doesn't sound dog shit and beat the cheapest headphone+mic you find for 5 bucks, especially in public places.

If fedora is not your poise, there's opensuse tumbleweed as well. people say it's pretty good, but I haven't tried it yet. I tried manjaro but got the same problem with it.

I used to watch those Lunduk linux sucks talks, and be thinking that he was doing it just to raise the flag on the issues, but honestly, after so many years frustrated by stuff like that I get the sense that he was doing it mostly to vent out his frustrations.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.