Difference between revisions of "CL-SOM-AM57x: Linux: TI SDK demo"
| Line 18: | Line 18: | ||
* SGX Demos  | * SGX Demos  | ||
<pre>  | <pre>  | ||
| − | + | root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Coverflow &  | |
| − | + | root@cl-som-am57x-jessie:~# pkill OGLES2Coverflow  | |
| − | + | root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ChameleonMan &  | |
| − | + | root@cl-som-am57x-jessie:~# pkill OGLES2Chameleon  | |
| − | + | root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ExampleUI &  | |
| − | + | root@cl-som-am57x-jessie:~# pkill OGLES2ExampleUI  | |
| − | + | root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Navigation &  | |
| − | + | root@cl-som-am57x-jessie:~# pkill OGLES2Navigatio  | |
</pre>  | </pre>  | ||
* OpenGL Demo  | * OpenGL Demo  | ||
<pre>  | <pre>  | ||
| − | + | root@cl-som-am57x-jessie:~# kmscube -a &  | |
| − | + | root@cl-som-am57x-jessie:~# pkill kmscube  | |
</pre>  | </pre>  | ||
* QT Demo  | * QT Demo  | ||
Revision as of 10:34, 21 April 2016
Connection and Logging In
Use the following username and password to login:
cl-som-am57x-jessie login: root Password: 111111
Multimedia Examples
- Run pre-installed demo
 
| Some demos can't run if Weston is up. Stop it before running the demos. | 
root@cl-som-am57x-jessie:~# /etc/init.d/weston stop
- H.264 Decoding
 
root@cl-som-am57x-jessie:~# /usr/bin/runIvahdH264Dec.sh
- H.265 Decoding
 
root@cl-som-am57x-jessie:~# /usr/bin/runH265Dec.sh
- SGX Demos
 
root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Coverflow & root@cl-som-am57x-jessie:~# pkill OGLES2Coverflow root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ChameleonMan & root@cl-som-am57x-jessie:~# pkill OGLES2Chameleon root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ExampleUI & root@cl-som-am57x-jessie:~# pkill OGLES2ExampleUI root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Navigation & root@cl-som-am57x-jessie:~# pkill OGLES2Navigatio
- OpenGL Demo
 
root@cl-som-am57x-jessie:~# kmscube -a & root@cl-som-am57x-jessie:~# pkill kmscube
- QT Demo
 
| QT makes use of Weston. Start it before running the QT demos. | 
root@cl-som-am57x-jessie:~# /etc/init.d/weston start
- Open up weston-terminal and issue:
 
root@cl-som-am57x-jessie:~# cd /usr/share/qt5/examples/widgets/painting root@cl-som-am57x-jessie:~# ./affine/affine
Troubleshooting
- Restore tty after running SGX demos
 
root@cl-som-am57x-jessie:~# echo -e "\033c"
- Disable Matrix GUI auto start
 
root@cl-som-am57x-jessie:~# update-rc.d matrix-gui-2.0 remove
TI Resources
- Linux SDK examples: Processor Linux SDK Graphics and Display
 - GStreamer Pipelines examples: Example GStreamer Pipelines
 - Processor Training Multimedia: Processor Training:Multimedia