过了很久很久之后,又要研究下weston了。先提个问题给自己:
怎么配置显示输出为clone模式?
怎么配置只显示输出到指定的output上?
思路应该是用output section里的 same-as
cat .config/weston.ini
[output]
name=DP-2
mode=preferred
[output]
name=DP-1
mode=off
same-as=DP-2
启动weston和glmark2:
1. weston –tty=1 -i 0
2. WAYLAND_DISPLAY=wayland-0 glmark2-es2-wayland