I bumped the version of the plugin to the latest commit as well as for libuiohook with some fixes. I hope it's not too buggy.
Search Criteria
Package Details: obs-plugin-input-overlay 5.1.0.r56.g673e594-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/obs-plugin-input-overlay.git (read-only, click to copy) |
|---|---|
| Package Base: | obs-plugin-input-overlay |
| Description: | obs-studio plugin to show keyboard, gamepad and mouse input on stream. |
| Upstream URL: | https://github.com/univrsal/input-overlay |
| Licenses: | GPL-2.0-only |
| Groups: | obs-plugins |
| Submitter: | chiyuki0325 |
| Maintainer: | patlefort |
| Last Packager: | patlefort |
| Votes: | 5 |
| Popularity: | 0.114275 |
| First Submitted: | 2021-07-20 09:44 (UTC) |
| Last Updated: | 2026-07-12 02:25 (UTC) |
Dependencies (14)
- libgcc (libgcc-fast-optimizedAUR, libgcc-snapshotAUR)
- libstdc++ (libstdc++-fast-optimizedAUR, libstdc++-snapshotAUR)
- libxkbfile
- libxrandr (libxrandr-gitAUR)
- libxt
- libxtst
- obs-studio (teb-obsAUR, obs-studio-browserAUR, obs-studio-tytan652AUR, obs-studio-gitAUR, obs-studio-libertyAUR, obs-studio-rcAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-hifpsAUR, qt6-base-headlessAUR)
- sdl2AUR (sdl2-gitAUR, sdl2-compat-gitAUR, sdl2-compat)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR, sonic-frameworks-cmake-modulesAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- patchelf (patchelf-gitAUR) (make)
- wayland-protocols (wayland-protocols-gitAUR) (make)
Required by (0)
Sources (2)
patlefort commented on 2026-07-12 02:27 (UTC)
denilsonsa commented on 2026-07-11 22:07 (UTC)
==> Starting prepare()...
Submodule 'deps/libuiohook' (https://github.com/TolikPylypchuk/libuiohook) registered for path 'deps/libuiohook'
Cloning into '/var/tmp/pamac-build-denilson/obs-plugin-input-overlay/src/input-overlay/deps/libuiohook'...
done.
fatal: git upload-pack: not our ref ce96f4239e5ff7337e11f94ca5601089f82f306f
fatal: remote error: upload-pack: not our ref ce96f4239e5ff7337e11f94ca5601089f82f306f
fatal: Fetched in submodule path 'deps/libuiohook', but it did not contain ce96f4239e5ff7337e11f94ca5601089f82f306f. Direct fetching of that commit failed.
sanerb commented on 2026-06-12 09:29 (UTC)
just checking in to confirm that my issue as well completely disappears if i use an alternate makepkg.conf (makepkg --config /etc/makepkg.conf.obs-plugin-input-overlay), in which the only change from /etc/makepkg.conf is changing march=x86_64 to march=native.
my (normal) makepkg.conf is mostly stock otherwise, with the only differences being:
-
i use:
OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman purge !debug !lto)instead of the default:OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto !autodeps) -
i use
-j16
jazztickets commented on 2026-05-26 00:05 (UTC)
Changing march from x86-64 to native does indeed fix the compilation issue.
patlefort commented on 2026-05-25 15:40 (UTC)
I was able to reproduce it using default flags. Can you try to change march to native? It looks like an upstream problem on OBS. SIMDe recommend to define SIMDE_ENABLE_NATIVE_ALIASES only for testing.
jazztickets commented on 2026-05-25 15:18 (UTC)
/etc/makepkg.conf is stock except for various MAKEFLAGS="-jXXX" flags based on the cpu for each machine. I only saw ... -march=x86-64 -mtune=generic ... after adding --verbose to the cmake build command. Here's the output of the command anyway:
Machine 1 (AMD Ryzen 7 3700X 8-Core Processor): -march=znver2 -mmmx -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -msse4a -mfma -mbmi -mbmi2 -maes -mpclmul -madx -mabm -mclflushopt -mclwb -mclzero -mcx16 -mf16c -mfsgsbase -mfxsr -msahf -mlzcnt -mmovbe -mmwaitx -mprfchw -mrdpid -mrdrnd -mrdseed -msha -mwbnoinvd -mxsave -mxsavec -mxsaveopt -mxsaves --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=znver2
Machine 2 (Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz): -march=skylake -mmmx -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -mbmi -mbmi2 -maes -mpclmul -madx -mabm -mclflushopt -mcx16 -mf16c -mfsgsbase -mfxsr -msahf -mlzcnt -mmovbe -mprfchw -mrdrnd -mrdseed -msgx -mxsave -mxsavec -mxsaveopt -mxsaves --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=skylake
Machine 3 is a QEMU vm: -march=k8-sse3 -mmmx -msse -msse2 -msse3 -mcx16 -mfxsr -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8
Older revisions of obs-plugin-input-overlay don't compile either now so some other system update broke it along the way.
patlefort commented on 2026-05-25 14:45 (UTC)
What compile flags are you using? If you use march=native, can you tell me the output of gcc -'###' -E - -march=native 2>&1 | sed -r '/cc1/!d;s/(")|(^.* - )|( -mno-[^\ ]+)//g;s/-dumpbase \S+//'?
jazztickets commented on 2026-05-25 14:33 (UTC)
Getting the same redefinition error on three different systems. I had to take out "#define SIMDE_ENABLE_NATIVE_ALIASES" on line 37 of /usr/include/obs/util/sse-intrin.h for it to compile.
patlefort commented on 2026-05-24 15:43 (UTC)
@sanerb: I can't reproduce. Can you try in a clean container/chroot? https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
sanerb commented on 2026-05-24 15:15 (UTC)
I get a build error on this for 5.1.0.
zip of makepkg output (makepkg.ansi is direct makepkg output, with coloring/ANSI escapes. makepkg.out.txt is pure text, ANSI escapes stripped):
Pinned Comments
patlefort commented on 2024-08-13 03:51 (UTC)
Presets are installed in
/usr/share/obs/obs-plugins/input-overlay/presets.