christianhaitian / arkos

Another rockchip Operating System
MIT License
1.48k stars 84 forks source link

Bluetooth audio not working well #626

Closed rolivav closed 1 year ago

rolivav commented 1 year ago

I checked the knows issues and this doesn't seem to be there.

Describe the Issue (If applicable)

Bluetooth headphone issues! I have two pairs of bluetooth headphones.

How can the issue be reproduced? (If applicable)

I guess not easy to reproduce for you if you don't have these devices :/

What device are you using?

RG353VS

What version of ArkOS are you on?

01152023

Anything else you'd like to include that may help to review this issue or feature request?

Let me know what I can help with!! I am fairly new to this scene so I am completely clueless but if you need logs or anything else just ask.

christianhaitian commented 1 year ago

Not sure how best to help on this. latency has been reduced as best as possible and per this issue, the latency seemed to have improved nicely for that person. It probably depends on the headset. I have an old Philips bluetooth headset that seems to have ok latency. I also have a Anker Soundcore bluetooth headset I purchased cheap on Amazon that seems to perform well with very minimal latency. If you're familiar with ssh, you can try to edit the /home/ark/.asoundrcbt file and change the period and buffer size to see if there's a number that works better for you there. Good luck.

rolivav commented 1 year ago

Yeah I saw that ticket and hurried to update, but I was already on the latest version. I wonder what the hell is going on with this, the headphones have no latency in any other devices. Anything I can do for the Galaxy Buds sound? It is really strange that they have no sound at all, since they are much better in quality.

rolivav commented 1 year ago

Anyway thanks for the tips, I'll SSH into the device and tweak those values. I assume I have to reboot the device everytime I change them, or can I just restart the bluetooth?

rolivav commented 1 year ago

@christianhaitian you might not be getting any more notifications for this topic, but I'll be digging a bit on this. I also tried a pair of Razer Kraken BT and they work the same way as the Urbanista Lisbons. So I currently have no headphones that work perfectly well.

christianhaitian commented 1 year ago

I can still see updates to closed tickets. A quick way to not have to reboot between tests is to just edit the /home/ark/.asoundrc file instead while bluetooth is connected and see if different periods and buffers improve there.

btw, where are you noticing the latency issues the most? If within a retroarch emulator, try setting the retroarch audio latency to 0 and see if that helps. Settings>Audio>Output>Audio Latency (ms)

rolivav commented 1 year ago

That's a good point, I didn't mention I noticed this in the gba core. I tested setting the audio latency to 0 and funny enough, it seemed to make it worse!

rolivav commented 1 year ago

I also get the latency on the emulation station menu, so I think this happens everywhere 🤔.

rolivav commented 1 year ago

Mmm I was changing this setting from the quick menu but I am not sure it works at all there. Disabling the audio in that menu doesn't disable it in game. I am trying to change the setting from retroarch in the main menu, I load the mGBA core but after changing the setting, it doesn't seem to persist. I think I am missing basic knowledge of how to set things in Retroarch.

christianhaitian commented 1 year ago

save configuration

rolivav commented 1 year ago

Big facepalm moment, thanks. That didn't do anything either. It is still almost a full second of latency... Looking into SSHing into it now.