Display compositing gets interrupted when running with --otg (original) (raw)

Environment

Describe the bug

When running scrcpy with --otg, it makes a request to interrupt compositing
This does not happen when running normally (video+audio) or simply --no-video which should be equivalent in that behavior

output from kwin with --otg

kwin_core: Failed to focus 0x1000002 (error 3)
kwin_core: XCB error: 3 (BadWindow), sequence: 5832, resource id: 16777218, major code: 129 (SHAPE), minor code: 3 (Combine)
kwin_core: XCB error: 3 (BadWindow), sequence: 5833, resource id: 16777218, major code: 129 (SHAPE), minor code: 3 (Combine)
kwin_core: XCB error: 3 (BadWindow), sequence: 5847, resource id: 16777218, major code: 129 (SHAPE), minor code: 3 (Combine)
kwin_core: XCB error: 3 (BadWindow), sequence: 5848, resource id: 16777218, major code: 129 (SHAPE), minor code: 3 (Combine)

Kwin reloads in-place when starting/exiting scrcpy --otg