10-27-2022, 08:00 PM
(10-27-2022, 01:58 PM)dante404 Wrote:(10-23-2022, 06:13 AM)d-.-b Wrote: So to have Pipewire audio working here is what I did:Thank you!
...
I will try this as soon as I have the time (although I still don't understand why pulseaudio won't autostart anymore ).
I also had trouble with pulseaudio not autostarting anymore. I tried the pipewire suggestions a few days ago and at first it seemed like an improvement.
But over the past couple days I've found a few times that all of a sudden all sound stops working - speakers and mic. Sometimes I'll hear a single clicking noise when pushing the button to wake the PinePhone and then sound isn't working, other times there is no click. I can usually get sound back via
Code:
systemctl --user restart pipewire
but I think maybe once I had to reboot. Perhaps oddly, restarting pipewire results in several clicking noises from the phone, just like the camera noises on boot. After the clicking noises stop, sound works again for a while, and sometimes the last few sounds to play all play at once.
After restarting pipewire, journalctl is full of stuff like
Code:
callaudiod[819]: Error in PulseAudio context: Connection terminated
phosh[793]: gvc_mixer_cart_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
callaudiod[819]: No suitable card found, retrying in 3s...
wireplumber[3453]: Failed to set scheduler settings: Operation not permitted
wireplumber[3453]: SPI handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
wireplumber[3453]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
pipewire[3449]: spa.v4l2: '/dev/video2' VIDIOC_ENUM_FRAMESIZES: Inappropriate ioctl for device
which I guess may or may not be related to my sound issues...
(Apparently on Fedora the solution to the libcamera errors is to install pipewire-plugin-libcamera which contains file libspa-libcamera.so but I haven't found a debian/mobian package containing that file yet... but maybe I'm getting off-topic.)