Screen capture doesn't work under Wayland. Window capture does work, X11 does work.

dtang

New Member
Hi, all.

I'm running OBS Studio (29.1.0 from flathub) under Wayland in Gnome 44, Fedora 38.

When I add a screen capture source and select the desired screen, I get a black video feed in the preview. It will eventually be populated with an image, but the screen capture is basically a sideshow that updates one frame every tens of seconds. The mouse pointer moves smoothly in the preview, but everything else does not update. For example, if I try to drag a window around, I can see in my OBS preview that the mouse pointer is moving, but the window I'm dragging with the mouse will still be frozen and will not update its position in the preview until OBS decides it's time to paint another one new frame in the preview, by which time the window will jump to the new location and stay there for another tens of seconds. The screen capture is also frozen in the recording if I do try to record.

I tried to use XSHM under an X11 session, and that worked as expected. Nothing else changed, just X11 instead of Wayland.

Also, if I were to overlay a window capture (from the same screen that is captured) over the screen capture in the preview, I can see the window capture update and perform as expected, while the screen capture remain frozen.

I don't see anything suspicious from the log, but I might be missing some clues here.

Here's my uploaded log: log capture

Please help! Thanks in advance.
 

dtang

New Member
Follow up:

I installed KDE Plasma on Fedora yesterday, and OBS screen capture did work flawlessly under KDE (Wayland). So I guess this now becomes a Gnome 44 (Wayland) specific issue?
 
Top