hyprwm / xdg-desktop-portal-hyprland

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

Screen sharing on apps other than OBS works for individual windows, but not full screen (hyprland nvidia patch) #48

Open jacekjarosz55 opened 1 year ago

jacekjarosz55 commented 1 year ago

On Hyprland with NVIDIA 1660 Super, when selecting whole screen or just region for screen sharing, the output is black, despite sharing individual windows working flawlessly (hyprland-nvidia-git on arch linux).

On OBS everything seems to be working fine, but on discord, webcord, firefox, chromium and telegram-desktop it's just black for full screen.

vaxerski commented 1 year ago

make sure everything you want to screenshare in is running through native wayland

other than that, welcome to novideo:tm:

jacekjarosz55 commented 1 year ago

@vaxerski novideo it totally is, i made sure everything was running on wayland (also screen sharing wayland native applications work)

i guess my only option right now, since obs works, to just open a full screen preview inside of it and stream that

superspike7 commented 1 year ago

I have the same issue. I'm using the non-nvidia patch

timblaktu commented 10 months ago

Adding my "me too" comment to subscribe to issue and provide another datapoint:

Details about My Hyprland Environment and Software Versions ``` [0]tim@thinky:~ > neofetch --stdout ~ % tim@thinky ---------- OS: Arch Linux x86_64 Host: 21DCCTO1WW ThinkPad P1 Gen 5 Kernel: 6.5.7-arch1-1 Uptime: 4 hours, 57 mins Packages: 1415 (pacman) Shell: zsh 5.9 Resolution: 3840x2160 DE: Hyprland WM: sway Theme: Breeze [GTK2/3] Icons: breeze-dark [GTK2/3] Terminal: tmux CPU: 12th Gen Intel i7-12700H (20) @ 4.600GHz GPU: NVIDIA RTX A1000 Laptop GPU Memory: 44646MiB / 64082MiB [0]tim@thinky:~ > echo && sudo pacman -Qs ".*hypr|xdg|portal|pipe|wire|grim|slurp|obs-studio.*" | grep local\/ ~ % local/dagger 0.8.8-1 local/grim 1.4.1-1 local/grimblast-git r60.5fd96ad-1 local/hyprland-nvidia-git 0.31.0.r42.g92cf1c23-1 local/hyprpaper 0.4.0-1 local/hyprpicker-git 0.1.1.r6.94010d6-1 local/iw 5.19-2 local/iwd 2.8-1 local/libcanberra 1:0.30+r2+gc0620e4-3 local/libpipeline 1.5.7-1 local/libpipewire 1:0.3.83-1 local/libraw1394 2.1.2-3 local/libwireplumber 0.4.15-1 local/libxdg-basedir 1.2.3-1 local/linux 6.5.9.arch2-1 local/obs-studio 29.1.3-1 local/pipewire 1:0.3.83-1 local/pipewire-alsa 1:0.3.83-1 local/pipewire-audio 1:0.3.83-1 local/pipewire-docs 1:0.3.83-1 local/pipewire-jack 1:0.3.83-1 local/pipewire-pulse 1:0.3.83-1 local/qpwgraph 0.5.3-1 (pro-audio) local/slurp 1.4.0-1 local/waybar-hyprland-git 0.9.22.r198.g95b0647c-1 local/wireguard-tools 1.0.20210914-1 local/wireplumber 0.4.15-1 local/wlrobs-hg r64.f72d5cb3cbbd-1 local/wpa_supplicant 2:2.10-8 local/xdg-dbus-proxy 0.1.5-1 local/xdg-desktop-portal 1.18.0-2 local/xdg-desktop-portal-hyprland-git 1:r322.22e7a65-1 local/xdg-desktop-portal-termfilechooser-git r4.71dc7ab-1 local/xdg-utils 1.1.3+45+g301a1a4-1 ```
natesymer commented 9 months ago

I'm thinking it might be a frame size issue. Try selecting a smaller region on the screen and seeing if that works. Pipewire shows you a dialog to select what you want to share, select "region" and then pick a small region about the size of a phone screen.