Stuck at "Connect to PipeWire"
System information
- coppwr version (See in Help → About):1.6.0
- coppwr installation method: Flathub
- PipeWire version: 1.0.5
- OS: postmarketOS/alpine
- Desktop environment/Window manager: sway
Describe the bug After launching i get to the "Connect to Pipewire" screen and dont get further from there:
Failed to connect to remote: Connecting
to Pipewire failed: Creation failed
Not sure if I am missing something or if it does not support the weird pipewire setup on mobile phones.... 🤷 (qpwgraph running from terminal starts and shows me nodes...)
Does running with --device=shm work?
--device=shm this did not help and resulted in the same error.
i took a look into the flatpak with
--command=sh
followed with env.
there i see:
ALSA_CONFIG_PATH=/usr/share/alsa/alsa-flatpak.conf
which does not exist on my system... but i have no idea 🤷
You ran flatpak run --device=shm io.github.dimtpap.coppwr right? (--device=shm goes before the ID)
The problem is that the PipeWire socket is in the /dev directory, which Flatpak blocks from applications.
You can either give more permissions to the app for it to be able to connect to the socket or change PipeWire's socket location by setting a per-user environment variable: https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Config-PipeWire#socket-directories
Most systems have XDG_RUNTIME_DIR set to /run/user/(user id)
Relevant Alpine Linux documentation: https://wiki.alpinelinux.org/wiki/Wayland#XDG_RUNTIME_DIR
You ran flatpak run --device=shm io.github.dimtpap.coppwr right? (--device=shm goes before the ID)
yes i did!
thanks for the Alpine link. Setting the XDG_RUNTIME_DIR in ~/.profile did not help... maybe i need to set it somwhere else (in the DE)... however, i'll post here when i got the right commands/settings