Skip to content
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

xwaylandvideobridge screen share freezes after a few seconds #180

Open
phonetic112 opened this issue Feb 18, 2024 · 5 comments
Open

xwaylandvideobridge screen share freezes after a few seconds #180

phonetic112 opened this issue Feb 18, 2024 · 5 comments

Comments

@phonetic112
Copy link

When I start screen-sharing (after I've started the portal) the share freezes after a few seconds.

Logs:
libEGL warning: egl: failed to create dri2 screen
[LOG] [toplevel] (activate) locks: 2
[LOG] [screencopy] New session:
[LOG] [screencopy]  | /org/freedesktop/portal/desktop/request/1_1088/xwaylandvideobridge4032653782
[LOG] [screencopy]  | /org/freedesktop/portal/desktop/session/1_1088/xwaylandvideobridge4032653782
[LOG] [screencopy]  | appid: 
[LOG] [screencopy] SelectSources:
[LOG] [screencopy]  | /org/freedesktop/portal/desktop/request/1_1088/xwaylandvideobridge4032653782
[LOG] [screencopy]  | /org/freedesktop/portal/desktop/session/1_1088/xwaylandvideobridge4032653782
[LOG] [screencopy]  | appid: 
[LOG] [screencopy] option cursor_mode to 2
[LOG] [screencopy] unused option multiple
[LOG] [screencopy] unused option types
[LOG] [screencopy] restore data invalid / missing, prompting
[LOG] [sc] Selection: /screen:HDMI-A-1

[LOG] [screencopy] SHAREDATA returned selection 0
[LOG] [screencopy] Start:
[LOG] [screencopy]  | /org/freedesktop/portal/desktop/request/1_1088/xwaylandvideobridge4032653782
[LOG] [screencopy]  | /org/freedesktop/portal/desktop/session/1_1088/xwaylandvideobridge4032653782
[LOG] [screencopy]  | appid: 
[LOG] [screencopy]  | parent_window: org.kde.xwaylandvideobridge
[LOG] [pw] Building modifiers for dma
[LOG] [screencopy] Sharing initialized
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[WARN] [pipewire] Asked for a wl_shm buffer which is legacy.
[LOG] [screencopy/pipewire] Out of buffers
@niksingh710
Copy link

for me if i select specific region then this happens
image

@igor-ramazanov
Copy link

For me it happens when I switch tabs in Firefox.
Hyprland: 0.36.0
xdg-desktop-portal-hyprland: 1.3.1

@igor-ramazanov
Copy link

I think it works with Hyprland 0.35.0, will check later.

@igor-ramazanov
Copy link

So, the reason somewhere in Hyprland, the issue is unrelated to xdph, xdpw, pipewire or wireplumber.

The issue was introduced in Hyprland 0.36.0 and persists in 0.37.1, 0.35.0 works well.

@vaxerski
Copy link
Member

git bisect then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants