Skip to main content
27 votes
Accepted

Sound stopped working after upgrading to Linux 5.4 (Intel HD Audio)

Here is how I was able to resolve this: sudo vim /etc/default/grub Find GRUB_CMDLINE_LINUX_DEFAULT and add snd_hda_intel.dmic_detect=0 to the end of it. (ex: GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 ...
hopeseekr's user avatar
  • 1,672
19 votes

Pulseaudio: how to rescan audio devices?

Running pulseaudio -k && pactl load-module module-detect worked for me. This will restart pulseaudio and therefore forget existing devices. Afterwards it will rescan for devices. The ...
Daniel's user avatar
  • 291
17 votes
Accepted

Mono + Mic instead of stereo sound for Bluetooth headphones on Ubuntu

Short answer : There is no solution as long as you are using Linux and a Bluetooth headset. Long answer: For music playback only A2DP is suitable, but it does not have an INPUT mode so use of the ...
harrymc's user avatar
  • 482k
16 votes
Accepted

systemd keeps respawning pulseaudio, and doesn't allow me to stop it

To stop user services it's necessary to use the parameter --user: systemctl --user stop pulseaudio.socket systemctl --user stop pulseaudio.service
diogovk's user avatar
  • 448
14 votes
Accepted

Headset microphone not detected by Pulse und Alsa

After some more searching I found a post that told me to create /etc/modprobe.d/alsa-base.conf with following contents: options snd-hda-intel model=dell-headset-multi After reboot the headset ...
Nobody moving away from SE's user avatar
13 votes

Headset microphone not detected by Pulse und Alsa

I have a headset (combined stereo headphones and mic) jack on my Dell PC with Ubuntu 16.04 and experienced the same problem. First use hdajackretask check that the problem is not related to the jack: ...
Jaydin's user avatar
  • 231
11 votes

pavucontrol shows Line-out as unplugged when Headphones are plugged in

Open up alsamixer. Then press F6 to select your sound card, most likely ending with PCH. Scroll right till you find the Auto-Mute option. Press up or down arrow to disable it. Press Esc to quit ...
Vishal Biswas's user avatar
9 votes

Sound stopped working after upgrading to Linux 5.4 (Intel HD Audio)

The option snd_hda_intel.dmic_detect=0 is deprecated on newer kernels, you may use snd-intel-dspcfg.dsp_driver=1 instead. But be aware, it's slightly different meaning.
CyclingSir's user avatar
9 votes
Accepted

Zoom and Pulseaudio -- audio distortion on audio run through zoom_combine

I made the following changes in ~/.config/pulse but you can also put them in ~/.pulse if it doesn't already exist. At least on this system, pulseaudio runs as the user. No system configurations were ...
Charles Z Henry's user avatar
7 votes
Accepted

How to redirect sound sink to source

The automatic monitor that is created is not recognized by a lot of programs as a source. Try remapping the source: pactl load-module module-remap-source master=alsa_output.pci-0000_00_1b.0.analog-...
Qwarlock's user avatar
7 votes
Accepted

Pulseaudio daemon won't start inside docker

First of all thanks a lot for your starting point, as i was looking to do the same by joining a conference as virtual user and playing audio. I got it working with the following changes to your ...
thec00n's user avatar
  • 88
6 votes
Accepted

How to configure PulseAudio to input/output via ALSA?

This answer builds on @dirkt's answer, so thanks are due to him. You can edit ~/.config/pulse/default.pa. It's listed under FILES in the "pulseaudio(1)" manual page. If it is present, the global ...
Metamorphic's user avatar
6 votes

List all ALSA devices

So in short, it looks like the problem is up at the alsa level and not at the pulseaudio level? If you want to see the alsa devices try. aplay -l (but aplay -L which you've already mentioned is ...
demented hedgehog's user avatar
6 votes
Accepted

Pulseaudio: wait for devices on start?

Telling that PulseAudio won't be very useful. It can already detect hotplugged devices just fine on its own; however, due to --disallow-module-loading it is no longer able to use the devices, since it'...
u1686_grawity's user avatar
5 votes

Pulseaudio: how to rescan audio devices?

You're not restarting PulseAudio correctly. The correct way to restart PulseAudio in Ubuntu 20 is with this command: systemctl --user restart pulseaudio Restarting PulseAudio will detect new audio ...
kas's user avatar
  • 334
5 votes

List all ALSA devices

It's brutally simple: This shows you the sinks/output ports: aplay -L Since a 'monitor' is a source/input port, you'll want this: arecord -L Update: aplay and arecord are in the 'alsa-utils' package....
Henk van der Laak's user avatar
5 votes

“Connection to pulseaudio failed” - and can't start-pulseaudio-x11 either

I encountered a similar issue, however I did not have a default.pa file. I found the following steps worked. In terminal: apt-get purge pulseaudio Then, under $HOME/.config Delete the entire ...
SE Does Not Like Dissent's user avatar
4 votes
Accepted

What files does paprefs modify?

paprefs currently uses GConf, the GNOME 2 settings storage system (via module-gconf). Its backend storage, while technically "just XML", is not meant to be edited directly – instead you can use ...
u1686_grawity's user avatar
4 votes
Accepted

How to make mpv use the pulseaudio volume controls again?

To fix this, one can re-bind the volume control keys to use the ao-volume and ao-mute properties instead of the built-in softvol filter controls (see also the corresponding ArchWiki entry). For this ...
Jonas Schäfer's user avatar
4 votes

How to configure PulseAudio to input/output via ALSA?

You don't configure PulseAudio to use the ALSA default device. Instead, you configure ALSA to use pulse as the default device: pcm.!default pulse ctl.!default pulse In that way, ALSA applications ...
dirkt's user avatar
  • 16.9k
4 votes

Headset microphone not detected by Pulse und Alsa

My laptop is ACER E5-573G-74Q5. My codec is Realtek ALC255. I did Yurii S’s solution, but it didn’t work. Then Soundar gave me the idea of putting more than one codec in /etc/modprobe.d/alsa-base.conf,...
Pedro Siqueira's user avatar
4 votes
Accepted

How can i can create a virtual pulseaudio soundcard on Linux with no audio hardware?

Pulseaudio can create various sinks (what you call "virtual soundcards", but sinks are for output, sources are for input, and they also get associated to real sound hardware). Have a look at the ...
dirkt's user avatar
  • 16.9k
4 votes
Accepted

Combining Selected Applications' Sound With Voice Into Virtual Microphone (Linux)

(Below I'll assume the use of a Ubuntu-like Linux distribution --- in my case I'm using Linux Mint 20.1 Cinnamon --- and that Pulse Audio Volume Control is installed; you can install it with sudo apt ...
MikeEVMM's user avatar
3 votes
Accepted

How to subscribe to pulseaudio events from terminal instead of C?

I think you are looking for patcl subscribe. From the man page: subscribe Subscribe to events, pactl does not exit by itself, but keeps waiting for new events. Sorry for the late reply ...
Marcel's user avatar
  • 288
3 votes

Streaming audio from Windows to Linux using PulseAudio

https://github.com/duncanthrax/scream It took less than 5 minutes to setup. It supports unicast and multicast raw streams from Windows at multiple sample rates. It has listeners for windows, ALSA ...
John's user avatar
  • 31
3 votes
Accepted

KDE apps apparently reset pulse audio volume to 100% on debian stretch/sid

Faced the same problem, Here is the solution : >echo 'flat-volumes = no' >> ~/.config/pulse/daemon.conf >pulseaudio -k && pulseaudio --start
AjaiVeer Singh Sandhu's user avatar
3 votes
Accepted

pulse audio not playing sound in i3wm / Arch

Since you get output using pactl info PulseAudio is running and because it worked in GNOME before a permission or driver problem can most likely be ruled out. In pavucontrol you can check the tab "...
stefan0xC's user avatar
  • 276
3 votes
Accepted

Keep sound on when switching users on Linux Mint

The reason why the sound turns off is that Pulseaudio is started on each login with this user's privileges and the system does not allow users to listen to other users audio. Solution : Add all ...
harrymc's user avatar
  • 482k
3 votes
Accepted

Understanding ffmpeg recording input types from devices

You're doing pactl list sinks short when you should really be doing pactl list sources short. When doing ffmpeg -f pulse -i you're specifying a source, not a sink. The first (0) source of pulse on my ...
confetti's user avatar
  • 2,455
3 votes

OBS studio won't record audio only

To record only audio in OBS Studio, go to File -> Settings -> Output, make sure Advanced mode is selected. Open Recording tab and choose Custom Output (FFmpeg) in dropdown. Choose e.g. mp3 as ...
Destroy666's user avatar
  • 6,822

Only top scored, non community-wiki answers of a minimum length are eligible