Open victor23k opened 4 months ago
My Screen Sharing on Firefox has been also broken since last week.
Just confirming. I have two Archlinux systems, identical configurations using hyperland, both all AMD. One system I have updated, the other hasn't been updated since kernel 6.9.6 -- the latter works, the updated one does not. So, this problem was introduced recently. Here's a screenshot.
Sharing my config in cases this is useful
Linux 6.9.7-arch1-1
Hyprland v0.41.2
xdg-desktop-portal 1.18.4-1
xdg-desktop-portal-hyprland 1.3.2-1
Mozilla Firefox 127.0.2
pipewire
Compiled with libpipewire 1.2.0
Linked with libpipewire 1.2.0
wireplumber
Compiled with libwireplumber 0.5.5
Linked with libwireplumber 0.5.5
systemctl --user status xdg-desktop-portal-hyprland
● xdg-desktop-portal-hyprland.service - Portal service (Hyprland implementation)
Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal-hyprland.service; static)
Active: active (running) since Fri 2024-07-12 10:46:04 CEST; 1min 54s ago
Invocation: 57955c47133d4c8b9be3d37baa5598ec
Main PID: 2350 (xdg-desktop-por)
Tasks: 5 (limit: 38010)
Memory: 95.4M (peak: 319.7M)
CPU: 235ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal-hyprland.service
└─2350 /usr/lib/xdg-desktop-portal-hyprland
Jul 12 10:46:31 xps xdg-desktop-portal-hyprland[2350]: [LOG] [screencopy] | /org/freedesktop/portal/desktop/session/1_20/webrtc_session1720760173
Jul 12 10:46:31 xps xdg-desktop-portal-hyprland[2350]: [LOG] [screencopy] | appid:
Jul 12 10:46:31 xps xdg-desktop-portal-hyprland[2350]: [LOG] [screencopy] SelectSources:
Jul 12 10:46:31 xps xdg-desktop-portal-hyprland[2350]: [LOG] [screencopy] | /org/freedesktop/portal/desktop/request/1_20/webrtc935119829
Jul 12 10:46:31 xps xdg-desktop-portal-hyprland[2350]: [LOG] [screencopy] | /org/freedesktop/portal/desktop/session/1_20/webrtc_session1720760173
Jul 12 10:46:31 xps xdg-desktop-portal-hyprland[2350]: [LOG] [screencopy] | appid:
Jul 12 10:46:31 xps xdg-desktop-portal-hyprland[2350]: [LOG] [screencopy] option persist_mode to 1
Jul 12 10:46:31 xps xdg-desktop-portal-hyprland[2350]: [LOG] [screencopy] unused option multiple
Jul 12 10:46:31 xps xdg-desktop-portal-hyprland[2350]: [LOG] [screencopy] unused option types
Jul 12 10:46:31 xps xdg-desktop-portal-hyprland[2350]: [LOG] [screencopy] restore data invalid / missing, prompting
Just confirming. I have two Archlinux systems, identical configurations using hyperland, both all AMD. One system I have updated, the other hasn't been updated since kernel 6.9.6 -- the latter works, the updated one does not. So, this problem was introduced recently. Here's a screenshot.
same issue here...
Hey everyone, just dropping by to say that as of this morning I ran both a pacman update, and a fresh build of the git version of hyprland portal, and screenshare seems to be working :) Good job whomever fixed this! Thank you!
Mine also was fixed thanks to:
Linux 6.9.8/6.9.9 OR xdg-desktop-portal-hyprland 1.3.2-2
Actually that was not fixed. But I was able to analyze the behavior a little bit.
I am using a dual monitor setup: the monitor of my laptop + an external monitor. The only way I could make screen sharing work is by putting the Firefox AND the app I want to share on the external monitor. If I don't do that, the Screen Sharing popup successfully lists the app but is not able to access it.
https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/99
Following a recommendation in this other issue and adding bitdepth, 10 to all monitors fixed the problem for me.
It's actually working better in Firefox than in Chrome now. Chrome still ask 3 times what screen you want to share, Firefox just once.
Hi there! I'm having problems trying to screenshare on Firefox. I'm using nvidia.
After trying to screenshare in the gUM Test Page, I can pick an input but there is nothing shown. I have the following logs:
I can't find what this message
[pw] Building modifiers for dma
means. Would really appreciate some help to debug this and find what is the piece that's not working properly.