Bug 469854 - Changing window state (maximized <-> fullscreen <-> non-maximized): OBS Studio window recording freezes
Summary: Changing window state (maximized <-> fullscreen <-> non-maximized): OBS Studi...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-16 14:54 UTC by postix
Modified: 2024-03-14 14:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.1


Attachments
kWin Support Info (7.28 KB, text/plain)
2023-05-16 14:55 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2023-05-16 14:54:33 UTC
SUMMARY

Changing window state (maximized <-> fullscreen <-> non-maximized): OBS Studio window recording freezes.

I am not sure if this a an actual KWin, Plasmashell or rather an OBS Studio, Pipewire or portal issue. Sorry in advance if I filed it against the wrong product. :)

TEPS TO REPRODUCE
1. Open OBS Studio 29.02 Wayland
2. Add a window to your sources, e.g. Firefox or Dolphin
3. Change the window state: Maximize it, make it fullscreen or drag it so that it becomes a non-maximized window

OBSERVED RESULT
OBS Studio's preview (recording) of the window becomes frozen.

When this happens journalctl logs

```
16:39:59 plasmashell[14603]: info: [pipewire] Negotiated format:
16:39:59 plasmashell[14603]: info: [pipewire]     Format: 12 (Spa:Enum:VideoFormat:BGRA)
16:39:59 plasmashell[14603]: info: [pipewire]     Modifier: 72057594037927935
16:39:59 plasmashell[14603]: info: [pipewire]     Size: 1920x1046
16:39:59 plasmashell[14603]: info: [pipewire]     Framerate: 0/1
16:39:59 plasmashell[14603]: info: [pipewire] Negotiated format:
16:39:59 plasmashell[14603]: info: [pipewire]     Format: 12 (Spa:Enum:VideoFormat:BGRA)
16:39:59 plasmashell[14603]: info: [pipewire]     Modifier: 72057594037927935
16:39:59 plasmashell[14603]: info: [pipewire]     Size: 1920x1046
16:39:59 plasmashell[14603]: info: [pipewire]     Framerate: 0/1
```


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230514
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.1-2-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Pipewire: 0.3.70-1.1
Comment 1 postix 2023-05-16 14:55:50 UTC
Created attachment 159001 [details]
kWin Support Info
Comment 2 postix 2024-03-14 14:07:02 UTC
Fixed in 6.0.1 \o/ There's another related issue though, but  I will open a new report for it.