manjaro-pinephone / phosh-dev

Development Builds of Phosh for the Pinephone
36 stars 9 forks source link

Sound stuttering and no audio during calls occasionally #18

Open drgnomage opened 2 years ago

drgnomage commented 2 years ago

I've had this issue on my PinePhone Pro to varying degrees on the stable, testing and unstable branch.

I'm currently dealing with unstable branch and when I try to play audio via a music player the entire device because horrifically slow, regardless of the source of the audio or the output used. I had a look at journalctl and found some interesting info but I'm not sure if it's relevant or not.

Journalctl: https://pastebin.com/raw/4NrrtR6j

heuristic-sloth commented 2 years ago

I've installed manjaro phosh-dev (kernel 5.17.3-2 and phosh 0.17.0+136+g67c1ba40-1 right now) a couple days ago and I see the same issue.

When i turn the volume down to 50%, the stuttering goes away completely.

drgnomage commented 2 years ago

@heuristic-sloth, good info there, I didn't even think to turn down the volume!

I think I have two different issues here. The issue that @heuristic-sloth describes where the audio will stutter over 50-60% and a different one perhaps because of a resync issue.

After I experienced an issue where Lollypop wouldn't play audio at all and testing audio within Gnome settings was stuttering, I found this in journalctl --user -xeu pipwire: Apr 27 10:00:35 manjaro-arm pipewire[3652]: spa.alsa: hw:PinePhonePro: follower delay:808 target:512 thr:512, resync

Upon restarting the service, the stuttering was gone but Lollypop had an error and needed to reconnect to Pipewire.

drgnomage commented 2 years ago

I'm having to restart pipewire every time I use the PPP now. This obviously means that it's unusable for calls as you would need to answer then go to terminal and run a command before you could hear the other side.

I wrote this comment from the PPP though, so that's pretty awesome!

drgnomage commented 2 years ago

Issue is persistent in latest release of Phosh (0.17.0+140+ge00bc029-1) but I'm betting this is a pipewire or similar bug.

drgnomage commented 2 years ago

Issue persists in Beta 24 fresh installation.

the-cave-dweller commented 1 year ago

Issue is persistent in latest release of Phosh (0.17.0+140+ge00bc029-1) but I'm betting this is a pipewire or similar bug.

It's not, this has never been an issue with pipewire with pinephone pro arch iso