I tried hard to get pipewire on sway working but I am stuck having only a black screen and a mouse cursor while sharing the screen.
Sway is started by systemd directly.
Code: Select all
emerge -vp sway pipewire xdg-desktop-portal xdg-desktop-portal-wlr
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R #] media-video/pipewire-0.3.6:0/0.3::gentoo USE="X alsa bluetooth gstreamer pulseaudio systemd vulkan -debug -doc -ffmpeg -jack -test" 0 KiB
[ebuild R *] gui-wm/sway-9999::gentoo USE="X man swaybar swaybg swayidle swaylock swaymsg swaynag systemd tray wallpapers (-elogind) -fish-completion -zsh-completion" 0 KiB
[ebuild R #] sys-apps/xdg-desktop-portal-1.7.2::gentoo [1.7.2::sorrow] USE="screencast -doc -geolocation" 0 KiB
[ebuild R ~] sys-apps/xdg-desktop-portal-wlr-0.1.0::sorrow USE="systemd (-elogind)" 0 KiB
Total: 4 packages (4 reinstalls), Size of downloads: 0 KiB
$ cat .config/sway/env
XDG_CURRENT_DESKTOP=sway
MOZ_ENABLE_WAYLAND=1
RTC_USE_PIPEWIRE=true
XDG_SESSION_TYPE=wayland
$ systemctl --user status
● c3po
State: running
Jobs: 0 queued
Failed: 0 units
Since: Mon 2020-07-06 11:54:06 CEST; 24min ago
CGroup: /user.slice/user-1000.slice/user@1000.service
├─init.scope
│ ├─4518 /lib/systemd/systemd --user
│ └─4519 (sd-pam)
├─pipewire.service
│ ├─4525 /usr/bin/pipewire
│ ├─4531 exec pipewire-media-session
│ ├─4537 /usr/bin/pulseaudio --start --log-target=syslog
│ └─4555 /usr/libexec/pulse/gsettings-helper
└─dbus.service
└─4529 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
Code: Select all
$ systemctl --user start xdg-desktop-portal
$ systemctl --user start xdg-desktop-portal-wlr
$ systemctl --user status
● c3po
State: degraded
Jobs: 0 queued
Failed: 1 units
Since: Mon 2020-07-06 11:54:06 CEST; 28min ago
CGroup: /user.slice/user-1000.slice/user@1000.service
├─xdg-permission-store.service
│ └─14650 /usr/libexec/xdg-permission-store
├─xdg-desktop-portal.service
│ └─15457 /usr/libexec/xdg-desktop-portal
├─init.scope
│ ├─4518 /lib/systemd/systemd --user
│ └─4519 (sd-pam)
├─xdg-desktop-portal-wlr.service
│ └─15468 /usr/libexec/xdg-desktop-portal-wlr
├─pipewire.service
│ ├─4525 /usr/bin/pipewire
│ ├─4531 exec pipewire-media-session
│ ├─4537 /usr/bin/pulseaudio --start --log-target=syslog
│ └─4555 /usr/libexec/pulse/gsettings-helper
└─dbus.service
└─4529 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
enabled) or Mozilla Firefox or whatever...
A python script found here https://gitlab.gnome.org/snippets/19 works flawlessly..
Does anyone got this working?
