[i.MX8] How to record screen on weston.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[i.MX8] How to record screen on weston.

1,698 Views
tan-k
Contributor III

Hi,

We are testing i.MX8 with below environment.

[Environment]
Evaluation Kit : 8MMINILPD4-EVK (Connect HDMI cable, USB keyboard and USB mouse.)
Linux for i.MX : Linux 5.10.9_1.0.0

We can capture a screenshot with "super" + "s" key.
We also try to record a screencast with "super" + "r" key.
"capture.wcap" file is created.
However file size is not changed.
According to weston.log, total file size is 0M and 0 frames.
------------------------------------------------------------------------------------------
# ls -l /home/weston/capture.wcap
-rw-r--r-- 1 root root 16 Jul 19 07:37 /home/weston/capture.wcap
# cat /run/user/0/weston.log
[07:37:33.909] starting recorder for output HDMI-A-1, file capture.wcap
[07:58:19.181] stopping recorder, total file size 0M, 0 frames
------------------------------------------------------------------------------------------
How can I record screen on weston?

 

0 Kudos
6 Replies

1,169 Views
shaioz
Contributor I
late for the thread but for others, I've run into the exact same problem and for me what worked is to comment this line in the weston config file:
use-g2d=1
then restart weston.

Good luck!

1,672 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

 

The screenshot is support in weston, but record screen can not support

You can run the QT, the Qt's grabWindow() to achieve the task.

0 Kudos

1,665 Views
tan-k
Contributor III

Thank you for your reply!
We will try to use Qt's grabWindow() instead of Weston record screen.
Do you have any examples to record screen?

0 Kudos

1,104 Views
mgonzalezg9
Contributor II

Hi, did you find any example of Qt or Python screen capture?

0 Kudos

1,661 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Sorry I do not have.

0 Kudos

1,659 Views
tan-k
Contributor III

OK, thank you.
By the way, could you please let us know the documents or URL about not supporting record screen function?
Where does it say that?

0 Kudos