LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-19-2021, 06:52 AM   #1
anon112
Member
 
Registered: May 2008
Distribution: Arch, FreeBSD
Posts: 116

Rep: Reputation: 17
Applications no longer using Pulseaudio for output (not update-related)


This started yesterday and I have confirmed that no updates have been installed since Saturday. For the first half of this week, my audio has been working fine and I can capture desktop audio as needed, but yesterday I was no longer able to capture desktop audio. The vu-meter in pavucontrol remains at 0 for all outputs despite the fact that I can clearly hear desktop audio.

What I've tried:
1) restart (full power off + unplug and turn back on in case it's a hardware issue)
2) plugging in a USB audio interface (vu-meter still stays at 0 and cannot capture output)
3) using JACK (this works)
4) trying to capture from ALSA instead of pulseaudio (hw:1,0 device or resource busy)

I'm not sure what to make of this. It's working, but it's not "working" in the sense that I can capture desktop audio through OBS, audacity, ffmpeg, or any other capture script that I could use 2 days ago (and I can confirm that this started 2 days ago because I recorded a screen capture which worked fine).

Output from `pactl list sinks` (with media playing):
Code:
Sink #0
	State: RUNNING
	Name: alsa_output.pci-0000_0a_00.3.analog-stereo
	Description: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 7
	Mute: no
	Volume: front-left: 40720 /  62% / -12.40 dB,   front-right: 40720 /  62% / -12.40 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_0a_00.3.analog-stereo.monitor
	Latency: 100089 usec, configured 100136 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC887-VD Analog"
		alsa.id = "ALC887-VD Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xf7700000 irq 52"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0a:00.3"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0a:00.3/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1457"
		device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.string = "front:1"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-output-lineout: Line Out (type: Line, priority: 9000, available)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
	Active Port: analog-output-lineout
	Formats:
		pcm
If I had to guess, I would think that applications are somehow bypassing pulse and writing straight to hw:1,0 via ALSA, but why it started doing that now is confusing.

Any idea how I fix this?

Last edited by anon112; 03-19-2021 at 06:54 AM.
 
Old 03-19-2021, 12:42 PM   #2
anon112
Member
 
Registered: May 2008
Distribution: Arch, FreeBSD
Posts: 116

Original Poster
Rep: Reputation: 17
Solved on bbs.archlinux:
Code:
$>pacmd list-sources

2 source(s) available.
  * index: 0
	name: <alsa_output.pci-0000_0a_00.3.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 1030
	volume: front-left: 49053 /  75% / -7.55 dB,   front-right: 49053 /  75% / -7.55 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: yes
        ...
Not sure why it got muted randomly in the middle of the day, but that solved the problem
 
  


Reply

Tags
alsa, pulseaudio



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Get Sound from Pulseaudio -- PulseAudio Will Not Start JasonC10203 Linux - Software 4 11-28-2016 11:18 PM
[SOLVED] pulseAudio/alsa no longer working... BW-userx Slackware 15 11-01-2016 12:40 PM
Bypass pulseaudio problems and crashes when you don't have pulseaudio. Rinndalir Linux - Software 1 08-31-2016 01:00 PM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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