Package Details: wlrobs-hg r72.958a52be0f0f-3

Git Clone URL: https://aur.archlinux.org/wlrobs-hg.git (read-only, click to copy)
Package Base: wlrobs-hg
Description: An obs-studio plugin that allows you to screen capture on wlroots based wayland compositors
Upstream URL: https://hg.sr.ht/~scoopta/wlrobs
Licenses: GPL-3.0-only
Conflicts: wlrobs
Provides: wlrobs
Submitter: klardotsh
Maintainer: KafCoppelia
Last Packager: KafCoppelia
Votes: 14
Popularity: 0.75
First Submitted: 2019-06-21 02:18 (UTC)
Last Updated: 2024-12-21 11:07 (UTC)

Latest Comments

1 2 Next › Last »

Toni500 commented on 2024-12-20 18:22 (UTC)

please add export CFLAGS="-Wno-error" in build() for the moment since meson setup build -Dwerror=false doesn't work

lilydjwg commented on 2024-12-20 14:12 (UTC)

Yes, because obs-studio ships -Werror in their .pc files. The user needs to remove them to build.

KafCoppelia commented on 2024-12-20 14:01 (UTC) (edited on 2024-12-20 14:02 (UTC) by KafCoppelia)

However, I only occasionally get it to compile successfully according to the upstream instructions. And even if I added additional build flags(see issue), I still got the following error:

ninja: Entering directory `build'                                                                                                                                                                                                                    
[6/7] Compiling C object libwlrobs.so.p/src_scpy_source.c.o
FAILED: libwlrobs.so.p/src_scpy_source.c.o 
ccache cc -Ilibwlrobs.so.p -I. -I.. -I../inc -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -DENABLE_SCPY -D_GNU_SOURCE -DENABLE_DMABUF -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -fPIC -std=gnu17 -fPIC -fvisibility=hidden -fopenmp-simd -Werror -MD -MQ libwlrobs.so.p/src_scpy_source.c.o -MF libwlrobs.so.p/src_scpy_source.c.o.d -o libwlrobs.so.p/src_scpy_source.c.o -c ../src/scpy_source.c
../src/scpy_source.c: 在函数‘buffer’中:
../src/scpy_source.c:241:9: 错误:ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
  241 |         ftruncate(this->frame->fd, stride * height);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1:所有的警告都被当作是错误
ninja: build stopped: subcommand failed.

The same compilation error also occurs in AUR wlrobs.

lilydjwg commented on 2024-12-20 05:52 (UTC) (edited on 2024-12-20 05:53 (UTC) by lilydjwg)

It doesn't seem necessary to depend wlroots at runtime?

bkb commented on 2021-11-03 15:14 (UTC) (edited on 2021-11-03 15:18 (UTC) by bkb)

Having a systematic segmentation fault at start after adding scpy or dmabuf in a scene (obs stable and wlrobs-hg)

Needs to uninstall hg; launch obs; delete from scene; reinstall hg; reboot obs. To get OBS working

msrd0 commented on 2021-07-08 15:27 (UTC)

It looks like this compiles fine with the obs-studio package again, no need for obs-studio-git anymore. This finally includes wayland preview support.

PedroHLC commented on 2021-03-15 13:57 (UTC)

Note: Since commit 5f1c794e4614, you need to build this against an obs-studio with commit 7867d16, which while I was writing this isn't available in the [community]'s 26.1.2-1. So build it against obs-studio-git for now.

junglerobba commented on 2020-04-07 20:59 (UTC) (edited on 2020-10-24 10:59 (UTC) by junglerobba)

If the obs preview is transparent (showing the desktop / whatever window is behind it), obs can either be run on XWayland with QT_QPA_PLATFORM=xcb or with proper Wayland support which is being worked on here https://github.com/obsproject/obs-studio/pull/2484
The AUR package obs-studio-wayland contains all these patches.

The screencopy backend works with default obs, however for dmabuf OBS needs EGL support. The linked PR above for Wayland support also makes EGL work, so that is probably the best way to use this.

PedroHLC commented on 2020-04-07 20:24 (UTC)

Should this work with the obs-studio from the official repos?

junglerobba commented on 2020-03-02 15:35 (UTC)

I have also noticed that the permissions differ from the plugins that OBS ships with, however this works fine for me on two different systems. Are you sure these permission changes are required?