Black screen when take screenshot with writeback connector
- When I run a client to take the screenshot with writeback pixel source, I got 2 issues:
-
[Issue1]: When screenshot client run in the first time, my display is become completely black, after about 0.5 second, the screen can works normally. I still can get the correctly screenshot image. the issue will not be observed if I re-run screenshot client. If I re-run Weston, and run screenshot client, issue will be observed.
-
[Issue2]: After the screenshot is taken, when DPMS switch screen to off, the error message occurred and the display is always black:
[11:07:51.078] atomic: couldn't commit new state: Invalid argument
[11:07:51.078] repaint-flush failed: Invalid argument
- I installed weston 13 and run in the target. I modified clients/screenshot.c
file like this:
- command run weston first with command: weston -Swayland-1 --debug &
- After that, run screenshot client: WAYLAND_DISPLAY=wayland-1 weston-screenshoot
- I attached files which contain detail log of weston-debug when the screenshot client is run and got [issue1], [issue2]