hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
305 stars 48 forks source link

Chrome 112 shares a black screen #50

Closed kschat closed 1 year ago

kschat commented 1 year ago

When sharing my screen on Chrome 112.0.5615.165, only a black screen is shown. The Chrome logs are flooded with

[4958:7102:0420/093242.251780:ERROR:egl_dmabuf.cc(569)] Failed to record frame: Error creating EGLImage - EGL_BAD_ALLOC
[4958:7102:0420/093242.251805:ERROR:shared_screencast_stream.cc(791)] Dropping DMA-BUF modifier: 144115188622392067 and trying to renegotiate stream parameters

This same issue was reported in xdg-desktop-portal-wlr, and it's fixed in 0.7 (I have tested myself).

vaxerski commented 1 year ago

so it was here jesus christ use the search bar #45

kschat commented 1 year ago

I did search. Nothing came up for the error I was seeing in Chrome. Looking at #45, you claim that the latest -git version fixes it. That's what I'm using, and I'm still seeing the issue.

 —— pikaur -Qs xdg-desktop-portal-hyprland
local/xdg-desktop-portal-hyprland-git 1:r261.e1f145d-4
    xdg-desktop-portal backend for hyprland
vaxerski commented 1 year ago

image image

very git

kschat commented 1 year ago

I guess it's my fault for assuming the -git AUR package would actually track master

Screenshot 2023-04-20 at 6 32 07 PM
vaxerski commented 1 year ago

it does, you just need to manually update it, like any -git package. -git packages do not get updates.

kschat commented 1 year ago

pikaur handles this for you, but it looks like I turned it off and forgot to turn it back on. My mistake. Thanks for being a rubber duck.