You are not logged in.

#1 2016-07-16 16:40:15

ReneHollander
Member
Registered: 2015-10-17
Posts: 3

Pulseaudio source suspended, high CPU and journal spam

Hello,

I currently have an Juli@ XTe soundcard installed. On random occasions the following happens:
* Sound input stops, pacmd says the device is suspended
* The journal gets spammed with the following message, producing gigabytes of log files: pulseaudio[856]: E: [alsa-source-ICE1724] alsa-source.c: Failed to set hardware parameters: Device or resource busy
* The CPU usage of pulse goes crazy

I noticed this problem is somewhat caused by Teamspeak. To get it working again I have to close Teamspeak, restart pulse with pulseaudio -k and then I can start Teamspeak again. If I reopen Teamspeak the same thing happens. I don't know if only teamspeak is causing it, because it ist generally acting weird. Sometimes I have to open pavucontrol, do pulseaudio -k to get it working. Without pavucontrol just running it will not work correctly again. I also tried to get it working with pasuspender, but that only worked once.

I had this problem from the first day I installed Arch about a month ago. But on my previous Debian installation I had pretty much the same issues.

I hope somebody has some ideas and what I should do if the problem rises again.

- Rene Hollander

Offline

#2 2016-07-18 07:20:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,667

Re: Pulseaudio source suspended, high CPU and journal spam

Configure teamspeak to use pulseaudio directly, post

sudo fuser -v /dev/snd/*

while the problem occurs

Offline

#3 2016-07-18 18:28:26

ReneHollander
Member
Registered: 2015-10-17
Posts: 3

Re: Pulseaudio source suspended, high CPU and journal spam

I selected Pulseaudio as the audio device for both capture and playback, but it still occurs:

rene@renespc ~ % sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  gdm         739 F.... pulseaudio
                     rene       3836 F.... pulseaudio
/dev/snd/controlC1:  gdm         739 F.... pulseaudio
                     rene       3836 F.... pulseaudio
/dev/snd/controlC2:  gdm         739 F.... pulseaudio
                     rene       3836 F.... pulseaudio
/dev/snd/pcmC0D0c:   rene       3836 F...m pulseaudio
/dev/snd/pcmC0D0p:   rene       3836 F...m pulseaudio
/dev/snd/pcmC1D0p:   rene       3836 F...m pulseaudio
rene@renespc ~ % pacmd list-sources
3 source(s) available.
    index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: 
	priority: 1950
	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 rewind: 344 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 1837.50 ms; range is 0.50 .. 1837.50 ms
	monitor_of: 0
	card: 1 <alsa_card.pci-0000_00_1b.0>
	module: 7
	properties:
		device.description = "Monitor of Built-in Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xef330000 irq 30"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "1"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
    index: 1
	name: <alsa_output.pci-0000_05_00.0.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: 
	priority: 1050
	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 rewind: 256 KiB
	sample spec: s32le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 743.04 ms; range is 0.50 .. 743.04 ms
	monitor_of: 1
	card: 2 <alsa_card.pci-0000_05_00.0>
	module: 8
	properties:
		device.description = "Monitor of VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "ESI Juli@"
		alsa.long_card_name = "ESI Juli@ at 0xc080, irq 16"
		alsa.driver_name = "snd_ice1724"
		device.bus_path = "pci-0000:05:00.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:00.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1412"
		device.vendor.name = "VIA Technologies Inc."
		device.product.id = "1724"
		device.product.name = "VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
  * index: 2
	name: <alsa_input.pci-0000_05_00.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: 
	priority: 9059
	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 rewind: 0 KiB
	sample spec: s32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 0.00 ms; range is 0.50 .. 743.04 ms
	card: 2 <alsa_card.pci-0000_05_00.0>
	module: 8
	properties:
		alsa.resolution_bits = "24"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ICE1724"
		alsa.id = "ICE1724"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "ESI Juli@"
		alsa.long_card_name = "ESI Juli@ at 0xc080, irq 16"
		alsa.driver_name = "snd_ice1724"
		device.bus_path = "pci-0000:05:00.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:00.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1412"
		device.vendor.name = "VIA Technologies Inc."
		device.product.id = "1724"
		device.product.name = "VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller"
		device.string = "front:0"
		device.buffering.buffer_size = "262144"
		device.buffering.fragment_size = "131072"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller Analog Stereo"
		alsa.mixer_name = "ICE1724 - multitrack"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <analog-input>

Offline

#4 2016-11-20 11:45:53

ReneHollander
Member
Registered: 2015-10-17
Posts: 3

Re: Pulseaudio source suspended, high CPU and journal spam

I am still having this issue and no idea how to fix it. It is really annoying because if I want to fix pulse I have to close all programs that use audio otherwise everything breaks.

Offline

Board footer

Powered by FluxBB