Closed HurricanePootis closed 2 years ago
File bugs about rendering to your compositor.
I mean, whenever I am not focused on the XWayland window, I can see the app in all of its unfrozen glory inside of the OBS preview, so it seems like my compositor is able to send data to OBS just fine.
How are you aware this is not a obs problem, but a kwin one?
If your compositor was able to send data to obs just fine it would be sending data, but instead you see it frozen in obs.
Can't reproduce on arch-repo obs 27.2.4-2
and kwin 5.25.3-1
wayland.
I've got this happening under Gnome 42 on Fedora
As someone who have been experiencing this problem I would like to add that it only happens when the application is fullscreen or borderless, but not windowed.
Operating System Info
Other
Other OS
Arch Linux
OBS Studio Version
27.2.4
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://gist.github.com/HurricanePootis/d1191ed84b23612965774183c5baeaa8
OBS Studio Crash Log URL
No response
Expected Behavior
Whenever I select a fullscreen XWayaland window to capture, I expect that it records normally and fine whenever I am actively focused on the window.
Current Behavior
However, the XWayland window freezes whenever I focus on it. It records fine whenever, lets say, I'm focused on OBS and looking at the view port and menus. It's just that, whenever I go ahead and go into the fullscreen app I'm capturing, in the video file, it's frozen.
And, this is only on XWayland apps. Running Team Fortress 2 default on XWayland will cause the recording to freeze whenever I focus on the app, but it works fine with
SDL_VIDEODRIVER=wayland
.Here is a video of me running Team Fortress 2 on XWayland Demonstrating the problem https://user-images.githubusercontent.com/53066639/163861699-adedf4b3-a21d-49f4-8e84-11f3e9fb5d88.mp4
Steps to Reproduce
QT_QPA_PLATFORM=wayland
Anything else we should know?
I am compiling OBS with these build flags
Even still, whenever using obs compiled for generic
x86_64
, or compiled on my system, or even the latest git release, it freezes on fullscreen XWayland Apps.I am using KDE Wayland, running: qt5-wayalnd 5.15.3+kde+r41-1 KDE Plasma 5.24.4 wayland 1.20.0 wayland-protocols 1.25 pipewire 0.3.50 xdg-desktop-portal 1.14.2