You are not logged in.
I'm using sway. I'm trying to get screen capture working. I'm using https://mozilla.github.io/webrtc-landing/gum_test.html to test. When I click 'Screen capture', a prompt pops up, I select 'Allow' for 'Use operating system settings', my cursor becomes a cross until I click something, and then nothing visibly happens.
Every time I try this I'm getting this error in systemctl status --user xdg-desktop portal:
xdg-desktop-por[1566]: A backend call failed: Operation not permitted
No errors in systemctl status --user pipewire or systemctl status --user xdg-desktop-portal-wlr.
I have xdg-desktop-portal-wlr installed, exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway in my sway config, and XDG_CURRENT_DESKTOP set in an override file for xdg-desktop-portal.service.
Any idea what I should be looking at?
EDIT: It looks like I had an old version of wlroots. Updating now gives me a new error.
nrcpb@harpy:~ ➜ systemctl --user status xdg-desktop-portal
○ xdg-desktop-portal.service - Portal service
Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
Drop-In: /home/nrcpb/.config/systemd/user/xdg-desktop-portal.service.d
└─override.conf
Active: inactive (dead)
Aug 10 19:57:32 harpy xdg-desktop-por[1560]: A backend call failed: Remote peer disconnected
Aug 10 19:57:57 harpy xdg-desktop-por[1560]: Failed to close session implementation: Timeout was reached
Aug 10 19:58:22 harpy xdg-desktop-por[1560]: A backend call failed: Remote peer disconnected
Aug 10 19:58:47 harpy xdg-desktop-por[1560]: Failed to close session implementation: Timeout was reached
Aug 10 19:58:48 harpy xdg-desktop-por[1560]: A backend call failed: Remote peer disconnected
Aug 10 19:59:13 harpy xdg-desktop-por[1560]: Failed to close session implementation: Timeout was reached
Aug 10 19:59:25 harpy xdg-desktop-por[1560]: A backend call failed: Remote peer disconnected
Aug 10 19:59:50 harpy xdg-desktop-por[1560]: Failed to close session implementation: Timeout was reached
Aug 10 20:00:18 harpy xdg-desktop-por[1560]: A backend call failed: Remote peer disconnected
Aug 10 20:00:43 harpy xdg-desktop-por[1560]: Failed to close session implementation: Timeout was reached
nrcpb@harpy:~ ➜ systemctl --user status xdg-desktop-portal-wlr
● xdg-desktop-portal-wlr.service - Portal service (wlroots implementation)
Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal-wlr.service; static)
Active: active (running) since Sat 2024-08-10 20:01:44 PDT; 21min ago
Invocation: c6f1231c6d3a4b13bfdbf58a94c03d5e
Main PID: 5434 (xdg-desktop-por)
Tasks: 1 (limit: 76942)
Memory: 1M (peak: 1.5M)
CPU: 6ms
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/xdg-desktop-portal-wlr.service
└─5434 /usr/lib/xdg-desktop-portal-wlr
Aug 10 20:01:44 harpy systemd[1107]: xdg-desktop-portal-wlr.service: Failed with result 'core-dump'.
Aug 10 20:01:44 harpy systemd[1107]: xdg-desktop-portal-wlr.service: Scheduled restart job, restart counter is at 6.
Aug 10 20:01:44 harpy systemd[1107]: Starting Portal service (wlroots implementation)...
Aug 10 20:01:44 harpy systemd[1107]: Started Portal service (wlroots implementation).
Error:
2024/08/10 20:01:19 [DEBUG] - wlroots: linux_dmabuf_feedback_format_table called
2024/08/10 20:01:19 [DEBUG] - wlroots: linux_dmabuf_feedback_tranche_target_devices called
2024/08/10 20:01:19 [DEBUG] - wlroots: linux_dmabuf_feedback_tranche_flags called
2024/08/10 20:01:19 [DEBUG] - wlroots: linux_dmabuf_feedback_tranche_formats called
2024/08/10 20:01:19 [DEBUG] - wlroots: linux_dmabuf_feedback_tranche_done called
2024/08/10 20:01:19 [DEBUG] - wlroots: linux_dmabuf_feedback_handle_done called
2024/08/10 20:01:19 [DEBUG] - wayland: dmabuf_feedback listeners run
2024/08/10 20:01:19 [ERROR] - dbus: failed to acquire service name: File exists
'impl->enter_count > 0' failed at ../pipewire/spa/plugins/support/loop.c:465 loop_leave()
Last edited by nrcpb (2024-08-11 03:41:29)
Offline