VAB-820 Linux BSP v3.2.0 Quick Start Guide
13
5.2. Setting Up Dual Displays
An HDMI monitor and an LVDS panel can be used to create a dual display set up for the
VAB-820, with support for clone and extension modes.
HDMI monitor and AUO 10.4” G104XVN01.0 LVDS panel
HDMI monitor and AUO 7” G070VW01 V0 LVDS panel
5.2.1. Setting Up the U-Boot Display Parameters for Dual Displays
Due to system limitations, the maximum resolution suggested for the HDMI monitor in
the dual display set up is 1280x720. To change the HDMI resolution to 1280x720 use
the following command:
# xrandr --output HDMI --mode 1280x720 --rate 60 --output LVDS --mode building
The next step is to set the U-Boot display parameters for dual display. (Note: For the
dual display set up you must use an HDMI device and one of the LVDS panels
supported in the BSP).
To set an HDMI monitor and an AUO 10.4” G104XVN01.0 (1024x768) LVDS panel as
the display devices, use the following command:
=> setenv hdmilvds_g104 ‘video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=16
video=mxcfb1:dev=ldb,LDB-XGA,if=RGB24 ldb=sin0’
=> setenv mmcargs ‘setenv bootargs console=${console},${baudrate} ${hdmilvds_g104}
root=${mmcroot}’
=> saveenv
=> reset
To set an HDMI monitor and an AUO 7” G070VW01 V0 (800x480) LVDS panel as the
display devices, use the following command:
=> setenv hdmilvds_g070 ‘video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=16
video=mxcfb1:dev=ldb,480C60,if=RGB24 ldb=sep0’
=> setenv mmcargs ‘setenv bootargs console=${console},${baudrate} ${hdmilvds_g070}
root=${mmcroot}’
=> saveenv
=> reset
5.2.2. Setting Video Playback in Clone Mode
The default setting for the dual display set up is clone mode. In order to enable video
playback, use the following command:
# gst-launch playbin2 uri=file:///$filename video-sink="tee name=tee ! queue max-size-
buffers=1 ! vpudec ! imxv4l2sink device=$VIDEO_DEVICE1 disp-width=$width disp-
height=$height tee. ! queue max-size-buffers=1 ! vpudec ! imxv4l2sink
device=$VIDEO_DEVICE2 disp-width=$width disp-height=$height"
To play MJPEG video files in clone mode, use the following command:
# gst-launch playbin2 uri=file:///$filename video-sink="tee name=tee ! queue max-size-
buffers=1 ! imxv4l2sink device=$VIDEO_DEVICE1 disp-width=$width disp-height=$height tee. !
queue max-size-buffers=1 ! imxv4l2sink device=$VIDEO_DEVICE2 disp-width=$width disp-
height=$height"