xdg-desktop-portal-hyprland icon indicating copy to clipboard operation
xdg-desktop-portal-hyprland copied to clipboard

Bitdepth 10 breaks Vesktop screenshare

Open nnra6864 opened this issue 5 months ago • 3 comments

Before I start, I am well aware that following is stated in the Hyprland wiki: Some applications do not support screen capture with 10 bit enabled. However, I've been using Vesktop with bitdepth set to 10 for ~8 months now and it's always worked fine. I am on Arch, nvidia 560, just updated and using hyprland-git, as well as xdg-desktop-portal-hyprland-git. All the hyprland related stuff is git:

paru -Qs hyprland
local/hyprland-git 0.43.0.r79.d73c1475-1
    Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't
    sacrifice on its looks.
local/hyprutils-git 0.2.3.r2.g3f529343-1
    Hyprland utilities library used across the ecosystem
local/xdg-desktop-portal-hyprland-git 1.3.6.r0.g7e500e67-1
    xdg-desktop-portal backend for hyprland
paru -Qs aquamarine
local/aquamarine-git 0.4.1_r220.gb82fdaf-1
    a very light linux rendering backend library

Portal service seems to be running just fine:

systemctl --user status xdg-desktop-portal.service
● xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
     Active: active (running) since Tue 2024-10-01 13:01:00 CEST; 29min ago
 Invocation: 2707585dbd5f415fbeb5029a398c6949
   Main PID: 52390 (xdg-desktop-por)
      Tasks: 5 (limit: 38113)
     Memory: 2.4M (peak: 3.3M)
        CPU: 24ms
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/xdg-desktop-portal.service
             └─52390 /usr/lib/xdg-desktop-portal

Oct 01 13:01:00 nnra systemd[912]: Starting Portal service...
Oct 01 13:01:00 nnra xdg-desktop-por[52390]: No skeleton to export
Oct 01 13:01:00 nnra systemd[912]: Started Portal service.

My env vars should be just fine, commonly mentioned one being:

echo $XDG_CURRENT_DESKTOP
Hyprland

Lastly, this is the error message I get when I make a choice in the portal popup:

[52663:1001/130155.603218:ERROR:shared_screencast_stream.cc(215)] PipeWire stream state error: no more input formats
[52663:1001/130155.603229:ERROR:shared_screencast_stream.cc(178)] PipeWire remote error: no more input formats

Here's a video showcasing the issue. Possibly related: #229 #233 #251

nnra6864 avatar Oct 01 '24 13:10 nnra6864