I do not support usage of custom flags that differ from Arch Linux defaults.
I recently switch form CMake Release flags to Arch Linux defaults.
Git Clone URL: | https://aur.archlinux.org/obs-studio-tytan652.git (read-only, click to copy) |
---|---|
Package Base: | obs-studio-tytan652 |
Description: | Free and open source software for video recording and live streaming. With everything except service integrations. Plus my bind interface PR, and sometimes backported fixes |
Upstream URL: | https://github.com/obsproject/obs-studio |
Keywords: | browser ftl obs vst |
Licenses: | GPL-2.0-or-later |
Conflicts: | libva-vdpau-driver, obs-browser, obs-linuxbrowser, obs-studio, obs-vst, obs-websocket |
Provides: | obs-browser, obs-studio, obs-vst, obs-websocket |
Submitter: | tytan652 |
Maintainer: | tytan652 |
Last Packager: | tytan652 |
Votes: | 50 |
Popularity: | 1.19 |
First Submitted: | 2021-03-17 21:24 (UTC) |
Last Updated: | 2024-12-09 12:24 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 17 Next › Last »
I do not support usage of custom flags that differ from Arch Linux defaults.
I recently switch form CMake Release flags to Arch Linux defaults.
Seems like it was/is a fault of -Ofast
. Adding the lines export CFLAGS="${CFLAGS/-Ofast/-O3}"
and export CXXFLAGS="${CXXFLAGS/-Ofast/-O3}"
in build()
made it build properly.
@Freso, I never met this stringop-overflow either locally (even in a chroot) or on obs-studio repo CIs.
Using makepkg -fscCi
, I get this:
[…]
[ 7%] Building C object libobs/CMakeFiles/libobs.dir/obs-output.c.o
In file included from /tmp/makepkg/obs-studio-tytan652/src/obs-studio/libobs/util/threading.h:41,
from /tmp/makepkg/obs-studio-tytan652/src/obs-studio/libobs/obs-internal.h:24,
from /tmp/makepkg/obs-studio-tytan652/src/obs-studio/libobs/obs.c:24:
In function 'os_atomic_dec_long',
inlined from 'stop_gpu_encode' at /tmp/makepkg/obs-studio-tytan652/src/obs-studio/libobs/obs.c:3241:2:
/tmp/makepkg/obs-studio-tytan652/src/obs-studio/libobs/util/threading-posix.h:26:16: error: '__atomic_sub_fetch_8' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
26 | return __atomic_sub_fetch(val, 1, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [libobs/CMakeFiles/libobs.dir/build.make:76: libobs/CMakeFiles/libobs.dir/obs.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 7%] Built target obspython_swig_compilation
[ 8%] Linking CXX executable obs-browser-page
make[1]: *** [CMakeFiles/Makefile2:1136: libobs/CMakeFiles/libobs.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Installing obs-browser-page to OBS rundir
[ 8%] Built target obs-browser-page
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
I can’t quite tell if this is a local issue or not.
Is it possible to add AMF support to this build ?
No, I will not.
Is it possible to add AMF support to this build ?
I found this comment, which seems to explain, why ffmpeg-obs has been created. Although which fixes exactly there are differences, is still not clear. E.g. wiki etc post would be helpful, that can be pinned, referred. I try to figure out, whether the obs-studio with ffmpeg package could be sufficient or not and on which cases.
@zeroconf, check the pinned comments of the concerned package.
@tytan652 can you, please, elaborate, what are differences between ffmpeg-obs and ffmpeg?
FFmpeg 6 has been push to stable repos.
The simplest way to update without conflict is to install obs-studio
and vlc
then reinstall this package afterward.
Pinned Comments
tytan652 commented on 2023-01-13 07:51 (UTC) (edited on 2023-01-13 07:52 (UTC) by tytan652)
For those who might ask why
libva-vdpau-driver
was added to conflicts.It is the only way at package level to prevent the user to have segfaults because of this driver. This will not be fixed on OBS side since this is not an OBS issue.
The driver is only loaded with Nvidia cards.
Try
libva-nvidia-driver
if you really need Nvidia decode through VAAPI.tytan652 commented on 2021-05-14 17:49 (UTC) (edited on 2022-07-08 06:03 (UTC) by tytan652)
This package have some dependencies with version check, it will allow you to rebuild the package only when your system is correctly updated. This feature is not enabled on Manjaro.
If you have any issue, please before commenting rebuild this package (a clean build) and try again to make sure it's not because of a library update.
Pamac has a messed up dependency checker, use another AUR helper for the first install.
This AUR package provide OBS with all the missing feature except Twitch, Restream and YouTube integrations.
More explaination here: https://ideas.obsproject.com/posts/1558/
It provide any dependency needed for Wayland support.
It also contains some unmerged PR or backported fix documented in the PKGBUILD.
I'm quite active on OBS discord server (don't PM me directly), so if I saw something that need to be backported I add it.