You are not logged in.
Hi friends,
I noticed that when playing sounds from youtube in firefox or spotify as an app from aur then the sounds cuts off every now and then for half a second.
I tried different bluetooth speakers, same problem.
I tried playing youtube and spotify from the laptop's native output and the sound is perfect.
I tried playing music from VLC and the sound is perfect.
Could you please let me know what would be interesting to look at to find out what's wrong?
Cheers,
Last edited by Ramb0 (2020-01-30 22:26:07)
Offline
Likely sampling differences, what's your output for
pacmd list-sinks
pacmd list-sink-inputs
for the properly and not properly working situation.
Offline
Sorry for the late reply. Things were working fine for a couple of days. And now their are bad again. I didn't change anything in the packages or configs in between.
pacmd list-sinks
2 sink(s) available.
index: 0
name: <alsa_output.pci-0000_00_1b.0.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: 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 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 1837.50 ms
card: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC3661 Analog"
alsa.id = "ALC3661 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7a18000 irq 35"
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 = "front:1"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Realtek ALC3661"
alsa.components = "HDA:10ec0668,102805fe,00100003"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-speaker>
* index: 5
name: <bluez_sink.00_0C_8A_B7_62_1B.a2dp_sink>
driver: <module-bluez5-device.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY
state: RUNNING
suspend cause: (none)
priority: 9650
volume: front-left: 42597 / 65% / -11.23 dB, front-right: 42597 / 65% / -11.23 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 83.09 ms
max request: 5 KiB
max rewind: 0 KiB
monitor source: 6
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 2
fixed latency: 56.93 ms
card: 6 <bluez_card.00_0C_8A_B7_62_1B>
module: 29
properties:
bluetooth.protocol = "a2dp_sink"
device.description = "Bose Mini SoundLink"
device.string = "00:0C:8A:B7:62:1B"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "hifi"
bluez.path = "/org/bluez/hci0/dev_00_0C_8A_B7_62_1B"
bluez.class = "0x240428"
bluez.alias = "Bose Mini SoundLink"
device.icon_name = "audio-card-bluetooth"
ports:
hifi-output: HiFi (priority 0, latency offset 0 usec, available: yes)
properties:
active port: <hifi-output>
pacmd list-sink-inputs
2 sink input(s) available.
index: 1
driver: <protocol-native.c>
flags: START_CORKED
state: CORKED
sink: 5 <bluez_sink.00_0C_8A_B7_62_1B.a2dp_sink>
volume: front-left: 65535 / 100% / -0.00 dB, front-right: 65535 / 100% / -0.00 dB
balance 0.00
muted: no
current latency: 1065.80 ms
requested latency: 45.32 ms
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: (null)
module: 12
client: 8 <Spotify>
properties:
media.role = "music"
media.name = "Spotify"
application.name = "Spotify"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "33"
application.process.id = "385038"
application.process.user = "philou"
application.process.host = "delphine"
application.process.binary = "spotify"
window.x11.display = ":0"
application.language = "en_AU.UTF-8"
application.process.machine_id = "a886449e0cec4964ae392ca3faa2167d"
application.process.session_id = "2"
application.icon_name = "spotify-client"
module-stream-restore.id = "sink-input-by-media-role:music"
index: 11
driver: <protocol-native.c>
flags: START_CORKED
state: RUNNING
sink: 5 <bluez_sink.00_0C_8A_B7_62_1B.a2dp_sink>
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 119.58 ms
requested latency: 45.32 ms
sample spec: float32le 2ch 48000Hz
channel map: front-left,front-right
Stereo
resample method: speex-float-1
module: 12
client: 6 <Firefox>
properties:
media.name = "AudioStream"
application.name = "Firefox"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "33"
application.process.id = "885"
application.process.user = "philou"
application.process.host = "delphine"
application.process.binary = "firefox"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "a886449e0cec4964ae392ca3faa2167d"
application.process.session_id = "2"
application.icon_name = "firefox"
module-stream-restore.id = "sink-input-by-application-name:Firefox"
Last edited by Ramb0 (2020-01-21 10:55:45)
Offline
Please wrap all of that in [ code ] rather than [ quote ] tags.
Other than that looks somewhat alright. You could also be running into wifi interference here, how are you connected to the internet? Via wlan? on the same chip as bluetooth? If you can switch your wifi network to exclusive 5GHz band and/or check whether your wifi module has some bluetooth coex option.
Offline
I ve got a laptop Dell XPS 15 9530. I m connected to the internet vie wlan. I'm not sure how to check if the wifi is on the same chip as the bluetooth.
I m gonna try 5G and the bluetooth coex option and report back.
Thanks again for your help!
Offline
Hi @V1del
I've tried the Bluetooth coexistence when it was giving me grief and it worked normally straight away.
After a few days of testing it seems to be holding. I think this can be marked as solved.
Thank you so much for your help. This community is of the highest quality.
Last edited by Ramb0 (2020-01-30 10:56:17)
Offline
Glad to hear, please mark it as [SOLVED] yourself, by editing the title in your first post.
Offline