You are not logged in.

#1 2019-04-06 23:29:04

incantator
Member
Registered: 2018-10-19
Posts: 15

Taking too much time to load the sound on the web.

Hello, I'm currently using Arch on KDE with the kernel 5.0.5.
I have pulseaudio and pulseeffects installed on my machine.
After updating the kernel I noticed that the audio system in my machine got some problems:

1.  Basically the audio system is unstable; I'm currently using DeaDBeeF and Clementine and the symptoms are the same.
When I play the music and just surfing the net, the music is not streaming in a constant fashion but sometimes stops very shortly and resume, causing some noticeable noise and disturbance.
This is much more noticeable in Clementine. This happens even when there is no audio source being played on the browsers.
On the other hand, on DeaDBeeF, if I briefly pause a music and then restart, it takes about more than a second to resume.
This phenomenon is DeaDBeeF exclusive as far as I can tell.
All these problems I do not notice on the browsers, say when I'm playing a youtube video or a plain music file.

2. For some reason, on some site, from time to time, it takes way too much time to load the sound.
For example, I just type in any word on the google to listen to the pronunciation and sometimes it takes about a couple of seconds before it plays the sound.
It is quite erratic but it seems like if I'm not frequenting the site and doing something else for a long time and check the pronunciation it happens with a higher probability.
And on the other hand, if I'm keep listening the pronunciations then the chance of this problem happening seems to be lower.

I apologize for my lack of knowledge on this problem; I'm not even sure where I should start debugging and what to provide to you experience users.
All I did was reinstalling the pulseeffects and the media players, but it didn't work; I haven't tried reinstalling pulseaudio yet.
I'll provide any information that is necessary. Any help would be highly appreciated!

[Edited: Added a concrete example for the hanging (google search for words)]

Last edited by incantator (2019-04-17 23:14:12)

Offline

#2 2019-04-07 11:37:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: Taking too much time to load the sound on the web.

Have you tried disabling pulseeffects/playing back to a non pulseeffect affected sink? It's likely that some filter you are applying takes too long, is incorrectly configured.

FWIW during affected playback, what's your output for

pacmd list-sinks
pacmd list-sink-inputs
pacmd list-sources
pacmd list-source--outputs

Last edited by V1del (2019-04-07 11:44:52)

Offline

#3 2019-04-07 12:06:36

incantator
Member
Registered: 2018-10-19
Posts: 15

Re: Taking too much time to load the sound on the web.

Thank you @V1del for your reply! Indeed I suspect pulseeffects is causing a problem; I'm on KDE and I had to install an additional package to use the equalizer.
In Clementine, I redirected the audio output device 'auto' to 'family 17 model ... analog stereo' but it seemed like the phenomenon persisted (I'm quite not sure though...)
I do think the problem lessened noticeably but I'm afraid it might just be a placebo.
I get a lot of GTK related errors when opening the pulseeffects as well.

pulseeffects

(pulseeffects:5991): Gtk-WARNING **: 21:06:16.423: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:5991): Gtk-WARNING **: 21:06:16.423: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:5991): Gtk-WARNING **: 21:06:16.423: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:5991): Gtk-WARNING **: 21:06:16.423: Theme parsing error: gtk.css:71:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:5991): Gtk-WARNING **: 21:06:16.424: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:5991): Gtk-WARNING **: 21:06:16.424: Theme parsing error: gtk.css:76:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:5991): Gtk-WARNING **: 21:06:16.424: Theme parsing error: gtk.css:83:29: The style property GtkStatusbar:shadow-type is deprecated and shouldn't be used anymore. It will be removed in a future version

Here are the pacmd outputs (I couldn't time the problematic behavior exactly so the outputs were generated while a music was playing on Clementine while browsing the web):

list-sinks

4 sink(s) available.
    index: 0
	name: <alsa_output.pci-0000_23_00.1.hdmi-stereo-extra2>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9030
	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: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
	card: 0 <alsa_card.pci-0000_23_00.1>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 2"
		alsa.id = "HDMI 2"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "8"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfe960000 irq 63"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:23:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:23:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "aaf0"
		device.product.name = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
		device.string = "hdmi:0,2"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo-extra2"
		device.profile.description = "Digital Stereo (HDMI 3)"
		device.description = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] Digital Stereo (HDMI 3)"
		alsa.mixer_name = "ATI R6xx HDMI"
		alsa.components = "HDA:1002aa01,00aa0100,00100700"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "LG FULL HD"
	active port: <hdmi-output-2>
  * index: 1
	name: <alsa_output.pci-0000_25_00.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9039
	volume: front-left: 11796 /  18% / -44.68 dB,   front-right: 11796 /  18% / -44.68 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 64.03 ms
	max request: 15 KiB
	max rewind: 15 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 90.00 ms; range is 0.50 .. 1999.82 ms
	card: 1 <alsa_card.pci-0000_25_00.3>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC892 Analog"
		alsa.id = "ALC892 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 0xfe800000 irq 65"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:25:00.3"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:25: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 = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
		alsa.mixer_name = "Realtek ALC892"
		alsa.components = "HDA:10ec0892,18496893,00100302"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
			properties:
				
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-headphones>
    index: 2
	name: <PulseEffects_apps>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9000
	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: 13.11 ms
	max request: 1 KiB
	max rewind: 1 KiB
	monitor source: 3
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 2
	linked by: 3
	configured latency: 10.00 ms; range is 0.50 .. 2000.00 ms
	module: 24
	properties:
		device.description = "PulseEffects(apps)"
		device.class = "sound"
		device.icon_name = "audio-card"
    index: 3
	name: <PulseEffects_mic>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9000
	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: 344 KiB
	max rewind: 344 KiB
	monitor source: 4
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	module: 25
	properties:
		device.description = "PulseEffects(mic)"
		device.class = "sound"
		device.icon_name = "audio-card"

list-sink-inputs

4 sink input(s) available.
    index: 53
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 2 <PulseEffects_apps>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 110.00 ms
	requested latency: 90.00 ms
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: (null)
	module: 10
	client: 31 <Clementine>
	properties:
		media.name = "'only my railgun' by 'fripside'"
		application.name = "Clementine"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		media.role = "music"
		application.process.id = "4754"
		application.process.user = "incantator"
		application.process.host = "incantator"
		application.process.binary = "clementine"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "4c5af6f5e7484dd19fd5016e0157515c"
		application.process.session_id = "2"
		application.icon_name = "clementine"
		module-stream-restore.id = "sink-input-by-media-role:music"
		media.title = "only my railgun"
		media.artist = "fripside"
    index: 55
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 1 <alsa_output.pci-0000_25_00.3.analog-stereo>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 23.36 ms
	requested latency: 90.00 ms
	sample spec: float32le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 10
	client: 12 <PulseEffects>
	properties:
		application.id = "com.github.wwmm.pulseeffects.sinkinputs"
		media.name = "Playback Stream"
		application.name = "PulseEffects"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.icon_name = "pulseeffects"
		application.process.id = "1000"
		application.process.user = "incantator"
		application.process.host = "incantator"
		application.process.binary = "pulseeffects"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "4c5af6f5e7484dd19fd5016e0157515c"
		application.process.session_id = "2"
		module-stream-restore.id = "sink-input-by-application-id:com.github.wwmm.pulseeffects.sinkinputs"
    index: 59
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 2 <PulseEffects_apps>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 38.05 ms
	requested latency: 23.22 ms
	sample spec: float32le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 10
	client: 35 <Chromium>
	properties:
		application.icon_name = "chromium-browser"
		media.name = "Playback"
		application.name = "Chromium"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "1484"
		application.process.user = "incantator"
		application.process.host = "incantator"
		application.process.binary = "chromium"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "4c5af6f5e7484dd19fd5016e0157515c"
		application.process.session_id = "2"
		module-stream-restore.id = "sink-input-by-application-name:Chromium"
    index: 60
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 2 <PulseEffects_apps>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 38.84 ms
	requested latency: 23.22 ms
	sample spec: float32le 1ch 44100Hz
	channel map: mono
	             Mono
	resample method: copy
	module: 10
	client: 37 <Chromium>
	properties:
		application.icon_name = "chromium-browser"
		media.name = "Playback"
		application.name = "Chromium"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "1484"
		application.process.user = "incantator"
		application.process.host = "incantator"
		application.process.binary = "chromium"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "4c5af6f5e7484dd19fd5016e0157515c"
		application.process.session_id = "2"
		module-stream-restore.id = "sink-input-by-application-name:Chromium"

list-sources

5 source(s) available.
    index: 0
	name: <alsa_output.pci-0000_23_00.1.hdmi-stereo-extra2.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1030
	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: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
	monitor_of: 0
	card: 0 <alsa_card.pci-0000_23_00.1>
	module: 6
	properties:
		device.description = "Monitor of Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] Digital Stereo (HDMI 3)"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfe960000 irq 63"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:23:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:23:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "aaf0"
		device.product.name = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
  * index: 1
	name: <alsa_output.pci-0000_25_00.3.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 1030
	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: 15 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 1999.82 ms; range is 0.50 .. 1999.82 ms
	monitor_of: 1
	card: 1 <alsa_card.pci-0000_25_00.3>
	module: 7
	properties:
		device.description = "Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
		device.class = "monitor"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfe800000 irq 65"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:25:00.3"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:25: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 = "1"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
    index: 2
	name: <alsa_input.pci-0000_25_00.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9039
	volume: front-left: 3277 /   5% / -78.06 dB,   front-right: 3277 /   5% / -78.06 dB
	        balance 0.00
	base volume: 6554 /  10% / -60.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
	card: 1 <alsa_card.pci-0000_25_00.3>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC892 Analog"
		alsa.id = "ALC892 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 0xfe800000 irq 65"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:25:00.3"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:25: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 = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
		alsa.mixer_name = "Realtek ALC892"
		alsa.components = "HDA:10ec0892,18496893,00100302"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
			properties:
				
	active port: <analog-input-front-mic>
    index: 3
	name: <PulseEffects_apps.monitor>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 1000
	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: 1 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 10.00 ms; range is 0.50 .. 2000.00 ms
	monitor_of: 2
	module: 24
	properties:
		device.description = "Monitor of PulseEffects(apps)"
		device.class = "monitor"
		device.icon_name = "audio-input-microphone"
    index: 4
	name: <PulseEffects_mic.monitor>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1000
	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 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	monitor_of: 3
	module: 25
	properties:
		device.description = "Monitor of PulseEffects(mic)"
		device.class = "monitor"
		device.icon_name = "audio-input-microphone"

list-source--outputs

1 source output(s) available.
    index: 11
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	source: 3 <PulseEffects_apps.monitor>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 5.76 ms
	requested latency: 10.00 ms
	sample spec: float32le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	owner module: 10
	client: 13 <PulseEffects>
	properties:
		application.id = "com.github.wwmm.pulseeffects.sinkinputs"
		media.name = "Record Stream"
		application.name = "PulseEffects"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.icon_name = "pulseeffects"
		application.process.id = "1000"
		application.process.user = "incantator"
		application.process.host = "incantator"
		application.process.binary = "pulseeffects"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "4c5af6f5e7484dd19fd5016e0157515c"
		application.process.session_id = "2"
		module-stream-restore.id = "source-output-by-application-id:com.github.wwmm.pulseeffects.sinkinputs"

Last edited by incantator (2019-04-07 12:08:00)

Offline

#4 2019-04-17 23:13:09

incantator
Member
Registered: 2018-10-19
Posts: 15

Re: Taking too much time to load the sound on the web.

So I think I have fixed the issue of DeaDBeeF; basically in the prefence-sound tab the output plugin was ALSA and the output device was PulseAudio sound server. I changed the output plugin to PulseAudio and after that the lagging seems to have been fixed.

Even after tinkering with the preference settings, it still takes some time to pause and then play, or play another song in DeaDBeeF. Not in clementine though.

The problem is that still when I search for a word and listen to its pronunciation in Google, it takes about a couple of seconds before the pronunciation comes out. I do think that this is somehow related to PulseEffects or PulseAudio but I'm not sure what is causing the problem and how to fix it.

Please help!

Last edited by incantator (2019-04-17 23:18:52)

Offline

#5 2019-04-18 07:32:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: Taking too much time to load the sound on the web.

Depending on what kind of effects you are applying this is going to be inevitable to a certain degree. Which effects are you using, how are they configured, which buffer sizes have you set? FWIW can you rule out whether this is just pulseeffects related or some deeper issue? Can you still reproduce if you disable pulseffects and play back to a standard pulse sink?

Offline

#6 2019-04-18 23:46:13

incantator
Member
Registered: 2018-10-19
Posts: 15

Re: Taking too much time to load the sound on the web.

@V1del Thank you for your caring about this question! I noticed that the problem related to DeaDBeeF disappeared when the pulseeffects is disabled. I was basically using the neutral preset that I made which indeed has flat equalizer level. I installed pulseeffects and had to install something else in order to activate the equalizer and other panels, but that's about it. I hardly tampered anything.

Here are some pictures of my current pulseeffects settings (Pulseaudio and Spectrum panels)

Offline

Board footer

Powered by FluxBB