hyprwm / xdg-desktop-portal-hyprland

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

Screenshare not working on a RDNA3 card #32

Closed MarkGhanz closed 1 year ago

MarkGhanz commented 1 year ago

OBS does show up a qt menu for selecting monitors, but after selecting the monitor it's still a black screen. I also have an intel laptop with hyprland, but screensharing works fine given wlrobs-hg plugin installed. Also, could this relate to 10-bit?

OS: Arch Linux Kernel: 6.2.2 GPU: RX 7900 XT Mesa version: 23.0.0 Monitor Setup: Single 3840x2160 monitor at 144hz, 10-bit enabled, scaling set to 1.5

Laptop specs: OS: Arch Linux Kernel: 6.2.1 CPU: i5-1135G7 GPU: Iris Xe LP intel-media-driver version: 23.1.0 Monitor Setup: Builtin 2256x1504 monitor at 60hz, scaling set to 1.5

Log from OBS:

info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info:     - source: 'Screen Capture (PipeWire)' (pipewire-desktop-capture-source)
info: ------------------------------------------------
info: [pipewire] Screencast session created
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)

info: [pipewire] Asking for desktop
info: [pipewire] desktop selected, setting up screencast
info: [pipewire] Server version: 0.3.66
info: [pipewire] Library version: 0.3.66
info: [pipewire] Header version: 0.3.64
info: [pipewire] Created stream 0x555b4392d890
info: [pipewire] Stream 0x555b4392d890 state: "connecting" (error: none)
info: [pipewire] Playing stream 0x555b4392d890
info: [pipewire] Stream 0x555b4392d890 state: "paused" (error: none)

Edit: It seems unrelated to 10-bit. I switched to 8 bit and it still doesn't work. Edit: Not sure why it works given KDE and xdg-desktop-portal-kde.

vaxerski commented 1 year ago

You opened like 4 issues of the same thing.