-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PipeWire camera/screen sharing support #132
Comments
Here are my tests on the KDE Plasma Wayland session. When I launch There is no information in the Firefox logs, however, when using Ungoogled Chromium (possibly on regular Chromium), these errors occur at the start (both through XWayland using xhost, and on native Wayland using the browser flag $ ego -vvv -u anon env LANG=C chromium
...
[868502:868809:1202/155839.945515:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.StartServiceByName: object_path= /org/freedesktop/DBus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[868502:868502:1202/155839.946435:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.portal.Secret.RetrieveSecret: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Secret” on object at path /org/freedesktop/portal/desktop
[868502:868502:1202/155839.946450:ERROR:secret_portal_key_provider.cc(150)] Failed to retrieve secret: No response from portal. I suspect that this is a conflicting running dbus process, or probably some permissions not set for dbus. I'm not sure for sure. There are also other interesting logs, for example, inside the second user, the systemd status of the $ ego -vvv -u anon env LANG=C systemctl --user status xdg-desktop-portal
...
● xdg-desktop-portal.service - Portal service
Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
Active: active (running) since Mon 2024-12-02 16:12:19 +05; 2min 25s ago
Invocation: 626f733e06dd40b3868d9b050f7f9544
Main PID: 2512754 (xdg-desktop-por)
Tasks: 7 (limit: 18997)
Memory: 3M (peak: 3.7M)
CPU: 47ms
CGroup: /user.slice/user-1001.slice/[email protected]/session.slice/xdg-desktop-portal.service
`-2512754 /usr/lib/xdg-desktop-portal
Dec 02 16:12:19 arch xdg-desktop-por[2512754]: Choosing gtk.portal for org.freedesktop.impl.portal.FileChooser as a last-resort fallback
Dec 02 16:12:19 arch xdg-desktop-por[2512754]: Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
Dec 02 16:12:19 arch xdg-desktop-por[2512754]: Choosing gtk.portal for org.freedesktop.impl.portal.Print as a last-resort fallback
Dec 02 16:12:19 arch xdg-desktop-por[2512754]: Choosing gtk.portal for org.freedesktop.impl.portal.Notification as a last-resort fallback
Dec 02 16:12:19 arch xdg-desktop-por[2512754]: Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit as a last-resort fallback
Dec 02 16:12:19 arch xdg-desktop-por[2512754]: Choosing gtk.portal for org.freedesktop.impl.portal.Access as a last-resort fallback
Dec 02 16:12:19 arch xdg-desktop-por[2512754]: Choosing gtk.portal for org.freedesktop.impl.portal.Account as a last-resort fallback
Dec 02 16:12:19 arch xdg-desktop-por[2512754]: Choosing gtk.portal for org.freedesktop.impl.portal.Email as a last-resort fallback
Dec 02 16:12:19 arch xdg-desktop-por[2512754]: Choosing gtk.portal for org.freedesktop.impl.portal.DynamicLauncher as a last-resort fallback
Dec 02 16:12:19 arch systemd[2511547]: Started Portal service. Inside the second user, when launching the browser, other systemd services such as |
While experimenting with Wayland #168, I discovered that PipeWire also supports a "security context" system similar to Wayland. |
Hopefully it's possible to implement this with filesystem ACLs, just like PulseAudio/Wayland.
Haven't looked into this in detail yet.
The text was updated successfully, but these errors were encountered: