I am having an issue with OBS using Wayland on Linux.
Basically when opening the Properties and Filters (through the gear icon near the volume bar in the mixer panel) windows in OBS it makes OBS hang (recording is attached).
The issue does not happen on X and only on Wayland.
I am using Fedora 36 beta with Gnome 42 (The same issue also happens on KDE 5.24.3 and Gnome 41).
I have also tested on a non Nvidia GPU (Intel integrated graphics) and the issue does not happen there at all, so that leads me to believe that somehow the NV driver causes it.
The issue happens on the official flatpak and rpm builds of OBS.
The issue happens even when not changing anything inside the windows.
My specs:
CPU: Ryzen 5 2600
GPU: GTX 1070Ti with drivers 510.60.02
OS: Fedora 36 beta
@oranhero can you check what version of the egl-wayland library you have installed? Most distributions package it separately from the main driver. This issue should be fixed with the latest version 1.1.10.
I will also tag a new version since it’s a fairly important fix and we probably want to have distros pick it up. If you want to try it in the meantime you could build the library from source.
@ekurzinger I have built egl-wayland with that commit as RPM package for testing and can confirm the issue no longer persists. Will mark as solved when there is an official release with the fix.
@ekurzinger I am noticing something weird, when closing the same windows with the X button in the window titlebar, OBS is crashing and in the terminal (when running obs through the terminal) I get:
obs: pthread_mutex_lock.c:94: ___pthread_mutex_lock: Assertion 'mutex->__data.__owner == 0' failed.
and sometimes a segmentation fault.
I am not sure if this a fault of OBS or something with the egl-wayland library. (maybe i didn’t build it correctly? though the hanging does not happen anymore)