Xwayland: Celeste captured at 10 FPS by OBS #4986
Labels
bug
Not working as intended
client-compat
Compatibility issues with a particular application
xwayland
X11-related issues
Celeste is an X11 game. On sway Open Broadcaster Software (OBS) always captures it at around 10 FPS regardless of the OBS FPS setting. On X11 with the exact same setup it's captured at 60 FPS as it should be. On GNOME Wayland with the exact same setup it's captured at 60 FPS as it should be.
Steps to Reproduce
QT_QPA_PLATFORM=xcb
as it doesn't work properly with the Wayland backend).The log file is opening sway with default configuration, launching Steam, launching OBS, launching Celeste and observing the low Celeste refresh rate in OBS.
Additional Information
No other X11 games or applications I captured thus far had this issue (everything captured at the correct FPS).
I tried running Celeste in a child sway running via the X11 backend (so Celeste was running via Xwayland inside sway, which was an X11 window itself running via Xwayland in the parent sway) and capturing this child sway's X11 window via OBS to observe this odd behavior:
You can see a video recording demonstrating the above here: https://youtu.be/5B4z-YOwp04
This leads me to believe there's some issue with OBS not "seeing" that Celeste has pushed a new frame and thus falling back to some kind of a 10 FPS timer.
OBS issue: obsproject/obs-studio#2323, Xwayland issue: https://gitlab.freedesktop.org/xorg/xserver/issues/967
The text was updated successfully, but these errors were encountered: