You are not logged in.

#1 2021-02-18 10:20:35

AverytheFurry
Member
Registered: 2020-09-27
Posts: 5

Audio randomly stops working.

Hello! I'm having an issue where my audio seemingly randomly stops working and I have to type `pulseaudio -k` in the terminal to fix it. My audio just stops playing entirely and I can't seem to find any solution or examples of other people having the same problem either. I have a Yamaha MG10XU Audio Mixer. The issue has been persistent on multiple arch installations. Any help is appreciated, thank you!

Offline

#2 2021-02-18 10:32:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,449

Re: Audio randomly stops working.

systemctl --user status pulseaudio
pacmd list-sinks
pacmd list-sink-inputs
sudo fuser -v /dev/snd/*

in

[code]code tags[/code]

while not working?

Offline

#3 2021-02-19 12:52:09

AverytheFurry
Member
Registered: 2020-09-27
Posts: 5

Re: Audio randomly stops working.

Here's all the command outputs while it was broken! Also, I can get it to come back if I open Pulse Audio Volume Control, but all audio is slowed down unless I do

pulseaudio -k

- Thank you for your help!

1:

● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
     Active: active (running) since Fri 2021-02-19 04:34:48 PST; 14min ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 1153 (pulseaudio)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pulseaudio.service
             ├─1153 /usr/bin/pulseaudio --daemonize=no --log-target=journal
             └─1300 /usr/lib/pulse/gsettings-helper

Feb 19 04:34:47 FurBox systemd[1088]: Starting Sound Service...
Feb 19 04:34:48 FurBox systemd[1088]: Started Sound Service.
Feb 19 04:34:48 FurBox pulseaudio[1153]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.

2:

2 sink(s) available.
  * index: 0
	name: <alsa_output.usb-Yamaha_Corporation_MG-XU-00.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9049
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 61.17 ms
	max request: 28 KiB
	max rewind: 28 KiB
	monitor source: 0
	sample spec: s32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 75.00 ms; range is 0.50 .. 1837.50 ms
	card: 1 <alsa_card.usb-Yamaha_Corporation_MG-XU-00>
	module: 7
	properties:
		alsa.resolution_bits = "32"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "MG-XU"
		alsa.long_card_name = "Yamaha Corporation MG-XU at usb-0000:0b:00.3-1.1, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:0b:00.3-usb-0:1.1:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0b:00.3/usb5/5-1/5-1.1/5-1.1:1.0/sound/card0"
		udev.id = "usb-Yamaha_Corporation_MG-XU-00"
		device.bus = "usb"
		device.vendor.id = "0499"
		device.vendor.name = "Yamaha Corp."
		device.product.id = "1703"
		device.product.name = "MG-XU"
		device.serial = "Yamaha_Corporation_MG-XU"
		device.string = "front:0"
		device.buffering.buffer_size = "705600"
		device.buffering.fragment_size = "352800"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "MG-XU Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	ports:
		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <analog-output>
    index: 1
	name: <alsa_output.pci-0000_0b_00.4.iec958-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY 
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9038
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 2
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	fixed latency: 100.14 ms
	card: 2 <alsa_card.pci-0000_0b_00.4>
	module: 8
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALCS1200A Digital"
		alsa.id = "ALCS1200A Digital"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "1"
		alsa.card = "2"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xf7b00000 irq 102"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0b:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0b:00.4/sound/card2"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "iec958:2"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "Starship/Matisse HD Audio Controller Digital Stereo (IEC958)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <iec958-stereo-output>

3:

1 sink input(s) available.
    index: 1
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 0 <alsa_output.usb-Yamaha_Corporation_MG-XU-00.analog-stereo>
	volume: front-left: 54654 /  83% / -4.73 dB,   front-right: 54654 /  83% / -4.73 dB
	        balance 0.00
	muted: no
	current latency: 117.75 ms
	requested latency: 75.00 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 13
	client: 6 <LibreWolf>
	properties:
		media.name = "AudioStream"
		application.name = "LibreWolf"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "34"
		application.process.id = "1483"
		application.process.user = "avery"
		application.process.host = "FurBox"
		application.process.binary = "librewolf"
		application.language = "C"
		window.x11.display = ":1"
		application.process.machine_id = "6379685b9c74407a99649abd0fb00915"
		application.icon_name = "librewolf"
		module-stream-restore.id = "sink-input-by-application-name:LibreWolf"

4:

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  avery      1153 F.... pulseaudio
/dev/snd/controlC1:  avery      1153 F.... pulseaudio
/dev/snd/controlC2:  avery      1153 F.... pulseaudio
/dev/snd/controlC3:  avery      1153 F.... pulseaudio
/dev/snd/pcmC0D0p:   avery      1153 F...m pulseaudio

Last edited by AverytheFurry (2021-02-19 12:54:31)

Offline

#4 2021-03-19 15:16:28

AverytheFurry
Member
Registered: 2020-09-27
Posts: 5

Re: Audio randomly stops working.

Still having this issue on a new install of arch - I think the issue may be my yamaha MG10XU which I use for my audio, but if that's the case, then why does pavucontrol fix it while I leave it open? The audio usually only cuts out when I open an app, telegram specifically likes to turn off my sound when I don't have pavucontrol open.

Offline

#5 2021-05-14 09:32:42

drag0nl0rd
Package Maintainer (PM)
From: Czech Republic
Registered: 2007-10-24
Posts: 127
Website

Re: Audio randomly stops working.

I got myself the Yamaha MG10XU audio mixer too and did see the same trouble with sound stopping. Deep dig in the internet revealed the two following related posts 1 and 2

and the

pactl unload-module module-suspend-on-idle

seems pretty useful and fixing trouble with stopping the sound for me.

Not really sure what's the difference, but I had no such trouble with the Yamaha AG06 model.

Offline

Board footer

Powered by FluxBB