Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Recently, I have been having lots of issues with my Bluetooth Headset's audio desyncing with video, so I have uninstalled PulseAudio thinking that it was the problem and now I'm trying to use ALSA, but since uninstalling PulseAudio Blueman Bluetooth manager refuses to connect to my headset. So how can I fix this? I'm using Ubuntu 16.04, I can try and provide more info if anybody needs it. (I got around this issue before by making a script that disconnected then reconnected my headset, however, it causes my games to close and with some, it requires me to restart my game)
Recently, I have been having lots of issues with my Bluetooth Headset's audio desyncing with video, so I have uninstalled PulseAudio thinking that it was the problem and now I'm trying to use ALSA, but since uninstalling PulseAudio Blueman Bluetooth manager refuses to connect to my headset. So how can I fix this? I'm using Ubuntu 16.04, I can try and provide more info if anybody needs it. (I got around this issue before by making a script that disconnected then reconnected my headset, however, it causes my games to close and with some, it requires me to restart my game)
OH what -- ?? did you tried installing PulseAudio volume control? then when you hook up to your headset open that up and find that drop down list and set it to your bluetooth device thingy -- it has been a long time sence I've done that so I do not remember actual steps and names, only that it is in there and just needs to be changed to direct sound to your bluetooth.
so you might want to put that back in your system.
as far as this goes
audio desyncing with video
yeah it has to be set for delay I forget something like .xxx milsecs due to the delay it takes for the siganl to go from your system to your head set. to sync it with your video..
I do have to say Microsoft windows does a let better job at this when watching vids and listing to them via bluetooth - the sync is right on spot whereas with linux it lags.
OH what -- ?? did you tried installing PulseAudio volume control? then when you hook up to your headset open that up and find that drop down list and set it to your bluetooth device thingy -- it has been a long time sence I've done that so I do not remember actual steps and names, only that it is in there and just needs to be changed to direct sound to your bluetooth.
so you might want to put that back in your system.
Of course, I've installed PulseAudio volume control if I remember correctly I think Ubuntu 16.04 came preinstalled with it (I switched to Linux 7 months ago so I can't quite remember). I also setup PulseAudio Volume Control to automatically set a newly connected device as the default device so it did that automatically (I did it using another script I found). However to resync the video I had to run the script that I had mapped to ctrl+R which disconnected then reconnected my headset (also triggering my other script).
EDIT: Sorry when making this reply only half your reply was there, the audio only starts to desync after around 2-10 minutes so it couldn't simply just be the Bluetooth signal.
Of course, I've installed PulseAudio volume control if I remember correctly I think Ubuntu 16.04 came preinstalled with it (I switched to Linux 7 months ago so I can't quite remember). I also setup PulseAudio Volume Control to automatically set a newly connected device as the default device so it did that automatically (I did it using another script I found). However to resync the video I had to run the script that I had mapped to ctrl+R which disconnected then reconnected my headset (also triggering my other script).
EDIT: Sorry when making this reply only half your reply was there, the audio only starts to desync after around 2-10 minutes so it couldn't simply just be the Bluetooth signal.
sorry for the bad info then, all I do remember when i was playing with bluetooth and linux is that I had to try and set my sync for audio and it was always a delay like a badly dubbed movie, that buffer for it maybe getting full too that is why it got like that.
as I am putting my money on that it uses a buffer for the sound. so at two minutes it can no longer keep up ..
but it was due to that bad sync with videos I went back to plugging in my ear buds, even though I noticed that Widows does not have this problem. it auto syncs the sound with the video but I do not like using Windows. I only did that or watch a video while I am syncing my iphone music but that has nothing to do with this.
here is a page I just found using key words "Linux bluetooth alsa"
sorry for the bad info then, all I do remember when i was playing with bluetooth and linux is that I had to try and set my sync for audio and it was always a delay like a badly dubbed movie, that buffer for it maybe getting full too that is why it got like that.
as I am putting my money on that it uses a buffer for the sound. so at two minutes it can no longer keep up ..
but it was due to that bad sync with videos I went back to plugging in my ear buds, even though I noticed that Widows does not have this problem. it auto syncs the sound with the video but I do not like using Windows. I only did that or watch a video while I am syncing my iphone music but that has nothing to do with this.
here is a page I just found using key words "Linux bluetooth alsa"
Actually, I already had that exact page pulled up right now, I'll look into rather or not I can change anything about the buffers so they might be able to last longer or something, Also I have a charging station for my headset that can also act as the Bluetooth connection from my headset to my PC, however I lost the required cord to make that part work ages ago but perhaps since my PC will only be sending audio out to the station via a cord and not directly to the headset from my PCs Bluetooth perhaps using that may fix it.
Actually, I already had that exact page pulled up right now, I'll look into rather or not I can change anything about the buffers so they might be able to last longer or something, Also I have a charging station for my headset that can also act as the Bluetooth connection from my headset to my PC, however I lost the required cord to make that part work ages ago but perhaps since my PC will only be sending audio out to the station via a cord and not directly to the headset from my PCs Bluetooth perhaps using that may fix it.
hciconfig - configure Bluetooth devices
aclmtu mtukt
Sets ACL MTU to to mtu bytes and ACL buffer size to pkt packets.
I'm using a bluetooth headset with pulseaudio. Whenever the connection
temporarily drops (e.g. by moving too far from the bt device), I get the message
in the syslog:
[bluetooth] module-bluetooth-device.c: Skipping 24275 us (= 4280 bytes) in audio
stream and the audio lags behind after that. A workaround is to suspend and resume the sink using "pactl suspend-sink 1 && pactl suspend-sink 0", after which the audio is in sync again.
Using the same headset on Windows doesn't show the same behavior.
ebay or amazon maybe? just type in device name model and such hit search cross fingers.
Thanks but now after reinstalling everything (earlier I also uninstalled bluez and blueman in an attempt to find something that would just be able to use ALSA by default) it seems that my bt headset won't connect, blueman doesn't even try searching for it to connect, though after paring it can still find it? I'm not sure how to fix that, also the cable I need is a TOSLINK audio-digital cable so I should be able to get one.
ebay or amazon maybe? just type in device name model and such hit search cross fingers.
Got my headset to connect, I had to install then load in one of the modules, also, I think I might have finally found a solution it looks like somebody realised a patch for PulseAudio 8.0/9.0 https://github.com/dmitryvk/pulseaud...974a422dabe85c the only problem is I'm not really sure how to install the patch,I have already downloaded the source code for both but I'm not sure exactly where to install it in PulseAudio
Got my headset to connect, I had to install then load in one of the modules, also, I think I might have finally found a solution it looks like somebody realised a patch for PulseAudio 8.0/9.0 https://github.com/dmitryvk/pulseaud...974a422dabe85c the only problem is I'm not really sure how to install the patch,I have already downloaded the source code for both but I'm not sure exactly where to install it in PulseAudio
thats great and I have no idea either .. looks like a job for Mr. Lx Patchman dude. -- might need to post another question on that one.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.