input-overlay
input-overlay copied to clipboard
Mouse Preset causes crash
Describe the bug OBS crashes after selecting a mouse overlay config file
To Reproduce Add Input Overlay source, add default mouse.png from preset zip, then add any of the three default mouse config json files, upon double clicking/pressing open with the json file selected in the file manager, OBS will crash.
Expected behavior The config file imports properly, enabling the Input Overlay.
Additional information:
- Plugin version: input-overlay-5.0.3-linux-x86_64
- Full OBS Studio log https://obsproject.com/logs/BeOem5iPsJBQBNUX
- Linux Mint 21.1
Thanks in advance.
Same for me
Try version 5.0.4
I opened with gdb
and I got this
with version
5.0.4
looks like that fix didn't make it into that release v5.0.5 should fix the issue
I see that the version number has been bumped to v5.0.5. But the latest release is still v5.0.4. Any eta on the v5.0.5 release that will address this issue?
I thought that I had already fixed it and it just didn't make it into the previous release, but from what it looks like it's something related to the build on github. When I load a mouse preset with a local build it doesn't crash.
I thought that I had already fixed it and it just didn't make it into the previous release, but from what it looks like it's something related to the build on github. When I load a mouse preset with a local build it doesn't crash.
So... How can this problem be solved? I wanted to compile the plugin locally but I couldn't. when I run "build-linux.sh" I get the following warnings and errors:
(...)
CMake Warning:
Manually-specified variables were not used by the project:
ENABLE_PIPEWIRE
QT_VERSION
(...)
CMake Warning:
Manually-specified variables were not used by the project:
LINUX_PORTABLE
LOCAL_INSTALLATION
QT_VERSION
(...)
[10/15] Building CXX object CMakeFiles/io_client.dir/src/network_helper.cpp.o
FAILED: CMakeFiles/io_client.dir/src/network_helper.cpp.o
(...)
[14/15] Building CXX object MY_PATH/input-overlay/deps/json11/json11.cpp.o
ninja: build stopped: subcommand failed.
✖︎ script execution error
Callstack:
MY_PATH/input-overlay/.github/scripts/build-linux.zsh:242
MY_PATH/input-overlay/.github/scripts/build-linux.zsh:260
Is there currently a solution to be able to use the mouse source in Linux? OBS crashes (shut down) immediately every time I try to load mouse presets.
Thanks
Describe the bug OBS crashes after selecting a mouse overlay config file
To Reproduce Add Input Overlay source, add default mouse.png from preset zip, then add any of the three default mouse config json files, upon double clicking/pressing open with the json file selected in the file manager, OBS will crash.
Expected behavior The config file imports properly, enabling the Input Overlay.
Additional information:
* Plugin version: input-overlay-5.0.3-linux-x86_64 * Full OBS Studio log https://obsproject.com/logs/BeOem5iPsJBQBNUX * Linux Mint 21.1
Thanks in advance.
Have you managed to solve it? please tell us how you did it
To build the plugin you just need to run mkdir build && cd build && cmake .. && make
, it'll give you an input-overlay.so
mkdir build && cd build && cmake .. && make
Ok, thank you, it works! (but first, I should to install 'libobs0' and 'libobs-dev' packages)
Also, taking 'input-overlay-5.0.4-linux-x86_64.zip' like inspiration, I created a folder structure: input-overlay |-->bin |-->data And I copied the content of 'build/rundir/RelWithDebInfo/obs-plugins/' into 'bin' And I copied the content of 'build/rundir/RelWithDebInfo/data/obs-plugins/input-overlay/data' into 'data' And finally I moved 'input-overlay' into '~/.config/obs-studio/plugins'
I think if you hadn't told me I wouldn't have guessed since I don't know how these kind of projects are built. I also would not have known how to use the .so file if I had not had the .zip file with the binaries for Linux as a reference (which gives me the same problem as the .deb, that is, it crashes when I load the mouse presets .json)
Now It's working perfect :)
EDIT: Only one fail... the side button closest to the front doesn't work with the 'mouse-arrow' preset