Kooha icon indicating copy to clipboard operation
Kooha copied to clipboard

Gray grid instead of screen in SDL app only if fullscreen

Open mefistotelis opened this issue 2 years ago • 1 comments

Affected version

2.2.4, ubuntu 22.03, wayland

Bug summary

The target is the game "Terraria". When running in windowed mode, screen recording works properly. But as soon as I switch to fullscreen, gray grid starts.

Steps to reproduce

  1. Run SDL fullscreen app
  2. atl-Tab and start recording
  3. Switch back to the fullscreen app
  4. Stop recording / close Kooha
  5. Play the video - only gray grid shows during the fullscreen part

Expected behavior

Record fullscreen apps properly.

Relevant logs, screenshots, screencasts, etc.

as soon as full screen is entered, the error messages start going:

plane 0, no memory at offset 0
gst_video_frame_map_id: failed to map video frame plane 0

looks like frame buffer cannot be mapped? Maybe SDL apps need to be run with some kind of switch to allow mapping output buffer? Or maybe the function just tries to do it incorrectly?

mefistotelis avatar Oct 21 '23 17:10 mefistotelis

This seem to be the same issue as in #214.

mefistotelis avatar Oct 21 '23 19:10 mefistotelis

Thanks for the bug issue. Closing this in favor of https://github.com/SeaDve/Kooha/issues/270

SeaDve avatar Feb 08 '24 13:02 SeaDve