Difference between revisions of "CL-SOM-AM57x: Linux: TI SDK demo"

From Compulab Mediawiki
Jump to: navigation, search
Line 18: Line 18:
 
* SGX Demos
 
* SGX Demos
 
<pre>
 
<pre>
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Coverflow &
+
root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Coverflow &
<pre>root@cl-som-am57x-jessie:~# pkill OGLES2Coverflow
+
root@cl-som-am57x-jessie:~# pkill OGLES2Coverflow
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ChameleonMan &
+
root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ChameleonMan &
<pre>root@cl-som-am57x-jessie:~# pkill OGLES2Chameleon
+
root@cl-som-am57x-jessie:~# pkill OGLES2Chameleon
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ExampleUI &
+
root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ExampleUI &
<pre>root@cl-som-am57x-jessie:~# pkill OGLES2ExampleUI
+
root@cl-som-am57x-jessie:~# pkill OGLES2ExampleUI
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Navigation &
+
root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Navigation &
<pre>root@cl-som-am57x-jessie:~# pkill OGLES2Navigatio
+
root@cl-som-am57x-jessie:~# pkill OGLES2Navigatio
 
</pre>
 
</pre>
 
* OpenGL Demo
 
* OpenGL Demo
 
<pre>
 
<pre>
<pre>root@cl-som-am57x-jessie:~# kmscube -a &
+
root@cl-som-am57x-jessie:~# kmscube -a &
<pre>root@cl-som-am57x-jessie:~# pkill kmscube
+
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
Admolition note.png 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
Admolition note.png 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