emersion / xdg-desktop-portal-wlr

xdg-desktop-portal backend for wlroots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Screensharing disabled after restarting pipewire service

J0nnyMak0 opened this issue · comments

I ran into this issue after having to restart pipewire service.
To reproduce:

share screen (ok)
stop sharing (ok)
restart pipewire (systemctl --user restart pipewire pipewire-pulse wireplumber)
share screen (unable to share screen, only black screen visible to participants)

If I restart pipewire without sharing screen before the restart, then I'm able to share screen even though pipewire has been restarted. Log attached for the procedure outlined above.

sway.log

Just wanted to add that when xdg-desktop-portal-wlr gets into this state of being unable to share screen, it consumes 100% cpu. When in this state, issuing systemctl --user restart xdg-desktop-portal-wlr.service brings back the sharing window and I'm able to resume sharing without any further problems...