Close Weston before testing
$ systemctl stop weston@root
Use modetest to get display information
modetest -M rcar-du
There will be an unique 'id' for each component. These numbers are used when you want to reference different portions. The id numbers might be different between SoC device and not match the example commands below, so please find them first with the modetest command.
According to the results returned by modetest, the following information can be obtained.
For example, according to the return result of modetest on a RZ/G2L EVK, RZ/G2L has 2 physical planes.
ExpandExample modetest output on a RZ/G2L EVKΒ β β β β β β Β Β |
Below is an example of an RZ/G2L connected to a 1280x800 MHDI LCD. There are 2 IDSs for "Planes" ('32' and '34') because there are 2 hardware layers in the RZ/G2L LCD display controller.
Display the test pattern on the Primary Plane
Use the id of the 'Connector' and the resolution of your LCD panel.
Example:
modetest -M rcar-du -s 39:1280x800@AR24 -d
(present ENTER on the keyboard to exit modetest)
Primary Plane+Overlay
modetest -M rcar-du -s 39:1280x800@AR24 -d -P '34@37:400x300 +200+200@AR24'
(present ENTER on the keyboard to exit modetest)
Set the alpha property of the overlay layer
$ modetest -M rcar-du -s 39:1280x800@AR24 -d -P '34@37:400x300 +200+200@AR24' &
$ modetest -M rcar-du -w 34:alpha:32768 $ modetest -M rcar-du -w 34:alpha:16384 $ modetest -M rcar-du -w 34:alpha:50000
$ fg
(present ENTER on the keyboard to exit modetest)