no longer loads on Wayland in Gnome 3.38
I used this plugin extensively from April to August of this year -- thank you! After a set of recent upgrades the plugin no longer runs for me.
I am on Arch Linux with Gnome 3.38, obs-studio 26.0.2. I've tried running this on "vanilla" obs and hte obs with wayland patches, and I've also tried but the flatpak from flathub and the Arch Linux AUR packages. None of them works properly for me:
- flatpak: XDG-portal source is available, but attempting to share screen causes obs-studio to hang
- arch-linux obs-studio-wayland package: the test
if (obs_get_nix_platform () == OBS_NIX_PLATFORM_X11_GLX)
fails and the plugin is not loaded. - arch-linux obs-studio-wayland package & obs-xdg-portal built from commit 49466c81: obs-studio hangs after requesting access to screen (as in flatpak)
- arch-linux obs-studio vanilla package with obs-xdg-portal package built from commit 49466c81 (before the test is added) -- startup error (sorry, forgot to grab the details when I had this combination installed)
I don't know how to run flatpak from the CLI, but the hang with month-old obs-xdg-portal and recent obs-studio hangs after the following terminal messages:
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: - source: 'Desktop Screencast (Wayland / X11)' (obs-xdg-source)
info: - source: 'Desktop Screencast (Wayland / X11) 2' (obs-xdg-source)
info: - source: 'Screen Capture (XSHM)' (xshm_input)
info: ------------------------------------------------
Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /usr/share/obs/obs-studio/images/overflow.png
info: [OBS XDG] Screencast session created
info: [OBS XDG] Screencast session created
info: [OBS XDG] Asking for monitor…
info: [OBS XDG] Asking for monitor…
info: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)
info: [OBS XDG] Monitor selected, setting up screencast
info: [OBS XDG] Starting monitor screencast…
screencast preview window stays black, though cursor is visible.
Oddly, on startup the window system is described as X11 though I am certainly operating in wayland:
info: CPU Speed: 3312.190MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 15665MB Total, 1305MB Free
info: Kernel Version: Linux 5.8.7-arch1-1
info: Distribution: "Arch Linux" Unknown
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.9
info: Portable mode: false
can you confirm whether this package still works in other circumstances, or suggest some configuration tests I should run? I would love to help out some but I am not a c programmer. Thank you!