Open jabuxas opened 9 months ago
Having the exact same issue, also on Gentoo OpenRC. Tried downgrading xdph, pipewire, wireplumber, xdg-desktop-portal, no result. Please post an update if you find a fix!
for now, using xdpw, until something changes
I'm on Gentoo and 1.2.2 works perfectly, but 1.2.5 does not. No error in the log. In fact, nothing appears in the log at all when I open OBS. OBS doesn't even have any options to add a Pipewire Video Capture with xdph-1.2.5. With xdph-1.2.2, I get a bunch screencopy requests in the log when using OBS.
hmmm, what are the versions of your pipewire and all the other things related to screensharing?
hmmm, what are the versions of your pipewire and all the other things related to screensharing?
sys-apps/xdg-desktop-portal-1.18.2 gui-libs/xdg-desktop-portal-hyprland-1.2.2 media-video/pipewire-0.3.80 media-video/obs-studio-30.0.0
Also, I have this script that I run on startup because for some reason it doesn't work if xdp starts before xdph. Feels so jenky. I really hope XDG figures out how to cleanly start desktop portals without having to resort to this nonsense (not to mention the fact that desktop portals can conflict so easily and break everything).
#!/bin/bash
sleep 2
pkill -f /usr/libexec/xdg-desktop-portal\*
sleep 1
/usr/libexec/xdg-desktop-portal-hyprland &
sleep 1
exec /usr/libexec/xdg-desktop-portal
weird. replicating your exact versions doesn't work for me, even with the script
weird. replicating your exact versions doesn't work for me, even with the script
And after my next system update, xdg-desktop-portal-hyprland-1.2.5 now work just fine for me. Very strange. None of the other related software updated either.
it's working for me again after revision from gentoo repos.
latest 1.2.5-r1 on guru works fine for me, 1.2.6 is broken. does it not work for you?
oh well, they added another revision and then deleted r1, try r2 now then.
no change lmao
This probably isn't complete but here are the changes that 1.2.5-r1/1.2.5-r2
makes:
hyprland-protocols
.add_compile_options(-O3)
from the CMakeLists.txt
file? Probably just for Gentoo specific build stuff!Source: xdg-desktop-portal-hyprland-1.2.5-r2.ebuild and the Gentoo Manual cause I don't use Gentoo much!
Does anyone also have any of these problems with the Gentoo repo ones? #131
Getting the ERR] [screencopy] Couldn't obtain a format from dma
and having to restart xdg-desktop-portal-hyprland
?
Similar problem with OBS and Arch.
I can manually open the hyprland-share-picker
but with OBS, pipewire and XDPH it doesn't work(hyprland-share-picker
window doesn't pop up).
With XDPW (after removing XDPH), when I choose a window, get a warning says:
/usr/lib/xdg-desktop-portal: a backend call failed: Message recipient disconnected from message bus without replying
Actually, I can choose windows, but nothing shows up in OBS.
pipewire: "1:0.3.85-1" hyprland: "0.30.0-1" obs-studio: "30.0.0-1" wireplumber: "0.4.16-1" Kernel: "6.6.2-arch1-1"
I am having the same issue on gentoo with xdph 1.3.3-r2
Neither xdph 1.2.5 or 1.2.2 is working for me. I'm not really sure what broke, but mix and matching those 2 versions of xdph and pipewire 0.3.77 or 0.3.80 both don't work. It wasn't being started automatically so I added the script available on the wiki, still didn't work though. After installing xdpw, it works, but I quite got used to xdph so it's a shame.
I'm on Gentoo Openrc, I do have
exec-once=dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
in my hyprland config.:wood: :