hyprwm / xdg-desktop-portal-hyprland

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

screen share fails when "bitdepth 10" is configured in layouts #296

Closed gshearer closed 1 week ago

gshearer commented 2 weeks ago

Not sure where to place blame, could be pipewire? But removing "bitdepth 10" from my layout config fixes it.

Errors in my log:

55514:55842:1107/093216.648495:ERROR:shared_screencast_stream.cc(215)] PipeWire stream state error: no more input formats [55514:55842:1107/093216.648525:ERROR:shared_screencast_stream.cc(178)] PipeWire remote error: no more input formats 'loop->recurse > 0' failed at ../pipewire/src/pipewire/thread-loop.c:425 pw_thread_loop_wait() [55514:55869:1107/093219.485650:ERROR:shared_screencast_stream.cc(215)] PipeWire stream state error: no more input formats [55514:55869:1107/093219.485668:ERROR:shared_screencast_stream.cc(178)] PipeWire remote error: no more input formats 'loop->recurse > 0' failed at ../pipewire/src/pipewire/thread-loop.c:425 pw_thread_loop_wait() [55567:55611:1107/093223.024037:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE [55567:55611:1107/093223.024204:ERROR:gpu_channel.cc(503)] Buffer Handle is null. [55775:11:1107/093223.024438:ERROR:shared_image_interface_proxy.cc(134)] Buffer handle is null. Not creating a mailbox from it.

nnra6864 commented 1 week ago

I am positive this is a duplicate of #270. Thanks for providing logs tho, I didn't do that in my post and that'll certainly be useful.