We have a requirement drive the same GUI out HDMI, RGB ("VGA" computer monitor), and composite (NTSC) simultaneously, but I'm having some trouble achieving this. I can successfully display separate graphics on HDMI/composite or LCD/composite pairs, but not the same GUI on all outputs.
I'm currently trying to clone the EVM's display output (the graphics0 pipeline) to both the LCD and the Composite Video out, and could use some more information. Could you have someone at TI clarify what timing attributes and constraints they are referring to in this statement:
"One graphics pipeline can be connected to multiple video compositor as long as those VENCs associated with video compositor are in the same timing."
This is from the "VPSS Library-graphics0/1/2: sysfs attributes" table on the below wiki page.
http://processors.wiki.ti.com/index.php/DM814X_AM387X_VPSS_Video_Driver_User_Guide#VPSS_Library:_graphics0.2F1.2F2
Below is the procedure by which I attempted to display the default "Matrix" GUI on both the LCD and component video out. I see corrupt images on both outputs for a brief time, and then the VPSS seems to "crash." I assume this has something to do with the timing caveat mentioned above, but am uncertain as to what timing parameters are available for me to modify, and how to correctly modify them to clone the GUI to LCD + Composite video. I see some timing parameters in /sys/devices/platform/vpss/displayX/timings, but obviously they can't be the same, as the displays are all different formats.
root@dm814x-evm:~# /etc/init.d/matrix-gui-e stop
Stopping Matrix GUI application.
root@dm814x-evm:~# echo 0 > /sys/devices/platform/vpss/graphics0/enabled
root@dm814x-evm:~# echo 0 > /sys/devices/platform/vpss/display0/enabled
root@dm814x-evm:~# echo 0 > /sys/devices/platform/vpss/display1/enabled
root@dm814x-evm:~# echo 0 > /sys/devices/platform/vpss/display2/enabled
root@dm814x-evm:~# echo 12 > /sys/devices/platform/vpss/system/tiedvencs
root@dm814x-evm:~# echo 2:sd,dvo2 > /sys/devices/platform/vpss/graphics0/nodes
root@dm814x-evm:~# echo 1 > /sys/devices/platform/vpss/graphics0/enabled
root@dm814x-evm:~# /etc/init.d/matrix-gui-e start
Removing stale PID file /var/run/matrix-gui-e.pid.
Starting Matrix GUI application.
# At this point the displays show corrupt images for a few seconds
# and then go black
root@dm814x-evm:~# echo 0 > /sys/devices/platform/vpss/graphics0/enabled
VPSS_FVID2: contrl event 0x6 timeout
Please let me know if my objective can be reached and how to do it if so,
Thanks,
Bryan Busacco