a r/archlinuxu/A4orce8410 Jun 2023 GNOME pipewire - Bluetooth sound cuts out frequently SUPPORT Anyone seeing similar issues? TIA. 11 points7 commentsSaveSavedHideHiddenCopy linkHideHiddenCopy linkOpen on Reddit About this post Posted10 Jun 2023 Archived25 Aug 2023 Score11 · 84% up KindText ID145rmge AuthorA u/A4orce84 208posts484comments6media View profile
triangulumavalanche10 Jun 20232 hidden Use Wireplumber and set bitratemode (should work with pretty much all headphones) and/or LDAC quality (only works on latest Sony headphones afaict) to optimize for latency. /etc/wireplumber/bluetooth.lua.d/51-aac-bitratemode.lua table.insert(bluez_monitor.rules, { matches = { { -- This matches all cards. { "device.name", "matches", "bluez_card.*" }, }, }, apply_properties = { -- AAC variable bitrate mode -- Available values: 0 (cbr, default), 1-5 (quality level) ["bluez5.a2dp.aac.bitratemode"] = 1, }, }) /etc/wireplumber/bluetooth.lua.d/51-set-ldac-quality.lua table.insert(bluez_monitor.rules, { matches = { { -- This matches all cards. { "device.name", "matches", "bluez_card.*" }, }, }, apply_properties = { -- LDAC encoding quality -- Available values: auto (Adaptive Bitrate, default) -- hq (High Quality, 990/909kbps) -- sq (Standard Quality, 660/606kbps) -- mq (Mobile use Quality, 330/303kbps) ["bluez5.a2dp.ldac.quality"] = "mq", }, }) And give ALSA more headroom for buffering: /etc/wireplumber/main.lua.d/51-more-headroom.lua table.insert(alsa_monitor.rules, { matches = { { -- Matches all sources. { "node.name", "matches", "alsa_input.*" }, }, { -- Matches all sinks. { "node.name", "matches", "alsa_output.*" }, }, }, apply_properties = { ["api.alsa.headroom"] = 1024, -- mitigate channel underflow }, }) 3 pointsCopy link A4orce84OP10 Jun 20231 hidden Thanks! Are these updates documented somewhere? 2 pointsCopy link triangulumavalanche10 Jun 2023 Only the last one. The first two I pieced together from docs. Will contribute them to the wiki. 2 pointsCopy link
A4orce84OP10 Jun 20231 hidden Thanks! Are these updates documented somewhere? 2 pointsCopy link triangulumavalanche10 Jun 2023 Only the last one. The first two I pieced together from docs. Will contribute them to the wiki. 2 pointsCopy link
triangulumavalanche10 Jun 2023 Only the last one. The first two I pieced together from docs. Will contribute them to the wiki. 2 pointsCopy link
phonegoat10 Jun 20232 hidden Bump, also noticing this! Thought it was only me... -1 pointsCopy link A4orce84OP10 Jun 20231 hidden What are your symptoms? -1 pointsCopy link phonegoat10 Jun 2023 Just normal playback, then for like 0.1 second distortion and then back to normal. Or, when starting playback, the first .2 seconds beging distorted -1 pointsCopy link
A4orce84OP10 Jun 20231 hidden What are your symptoms? -1 pointsCopy link phonegoat10 Jun 2023 Just normal playback, then for like 0.1 second distortion and then back to normal. Or, when starting playback, the first .2 seconds beging distorted -1 pointsCopy link
phonegoat10 Jun 2023 Just normal playback, then for like 0.1 second distortion and then back to normal. Or, when starting playback, the first .2 seconds beging distorted -1 pointsCopy link
7 comments
Use Wireplumber and set bitratemode (should work with pretty much all headphones) and/or LDAC quality (only works on latest Sony headphones afaict) to optimize for latency.
/etc/wireplumber/bluetooth.lua.d/51-aac-bitratemode.lua/etc/wireplumber/bluetooth.lua.d/51-set-ldac-quality.luaAnd give ALSA more headroom for buffering:
/etc/wireplumber/main.lua.d/51-more-headroom.luaThanks! Are these updates documented somewhere?
Only the last one. The first two I pieced together from docs. Will contribute them to the wiki.
Same issue on Plasma
Bump, also noticing this! Thought it was only me...
What are your symptoms?
Just normal playback, then for like 0.1 second distortion and then back to normal. Or, when starting playback, the first .2 seconds beging distorted