Friday, April 12, 2013

Xgxperf on Qt5

Xgxperf was created earlier on Qt4 as a C++ based performance benchmarking toolkit, in addition to providing HMI templates using Vector Graphics.


Screenshot of the Industrial HMI screen is below (without animation):



This has now been ported to Qt5, and is available at,

https://github.com/prabindh/xgxperf

More information on Xgxperf HMI toolkit is at,

http://processors.wiki.ti.com/index.php/XgxPerf_HMI

Monday, April 8, 2013

WebGL 1.0.1 announced


Khronos announces WebGL 1.0.1 compliance updates:

https://www.khronos.org/news/press/webgl-momentum-creating-the-industrys-most-secure-and-portable-3d-platform
... Among the first WebGL 1.0.1 implementations submitted for approval as being fully conformant are both Google Chrome 25 and Firefox 19 on Windows, Mac and Linux...

Firefox 19 to linuxfb is available as b2g on TI platforms as described in earlier post.

http://tigraphics.blogspot.in/2013/01/webgl-and-html5-with-firefox-19a1-on.html

Qt5 (minimal) on Beaglebone with Yocto

While eglfs works for most Qt5 applications on AM33x EVM/ derived boards, Yocto integration has not been done so far. This post introduces changes to get Qt5 built for Beaglebone using Yocto. Performance is not yet tuned, and all platform plugins are not yet available, but this will help teams starting on Beaglebone and related boards with Yocto. The output is a core-image-minimal Yocto image, with Qt5 (qtbase) example and dependencies added to the image.

Introduction:
To build Qt5 for Beaglebone, the below repos are needed:
poky
meta-oe
meta-ti
meta-qt5

Downloading the configuration files:
git clone git://git.yoctoproject.org/poky
cd poky
git clone https://github.com/openembedded/meta-oe
git clone git://git.yoctoproject.org/meta-ti
git clone git@github.com:prabindh/meta-qt5.git

Further information and next steps at,
http://gpupowered.org/node/20

TODO:
- fonts are not installed to (image) target, so text is garbled
- eglfs with virtual/gles2 configuration update

- Qt 5.1 update
- webkit update
- Beaglebone itself runs only at 250 MHz (!) in the default Yocto core-image-minimal. To update with TI scripts for a better performance profile

Friday, April 5, 2013

1Q 2013 update of Linux Graphics SDK Release

1Q Linux Graphics SDK release 04.09.00.01 is now available for download at-

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html

OR

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/gfxsdk/4_09_00_01/index_FDS.html

New/Changes in this release
  • NEW  - Runtime PM support for AM335x
    1. Selectable option via command line during graphics SDK build (issue make help for details).
    2. Requires a kernel patch. Please refer to include/patches/Readme of the graphics sdk release package for more details.
  • NEW - Support for compilation against 3.8 kernel (build tested only.Please refer to release notes for details on kernel versions & toolchain used for validation).
  • NEW Validated on AM335x PG2.0 GP-EVM.   
Component Software version details used in this release
  • Based on the IMG Linux 1.9 DDK (1.9ED2188537)
  • Supports Xorg X Server 1.12.
  • PowerVR SDK3.0.
Please refer to the release notes for more details.

Release notes-
http://processors.wiki.ti.com/index.php/RN_4_09_00_01

User guide-
http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide

Debugging guide-
http://processors.wiki.ti.com/index.php/SGXDbg

Monday, March 25, 2013

Correct Tslib operation with Qt5 on AM335x EVM

Qt5 Tslib plugin hardcodes the tslib input to be available at /dev/input/event1. A minor patch is required to get correct operation with tslib in Qt5. This is needed for AM335x EVM, and possibly other customer platforms.

For correct TSLIB operation on the EVM, apply the patch below for building the tslib plugin - And ensure TSLIB_TSDEVICE is exported on target to point to the correct tslib device (ie, export TSLIB_TSDEVICE=/dev/input/event2). Without this patch, Qt5 tslib plugin will use only /dev/input/event1, and if this the touchscreen is not mounted at this point, tslib based access will not work for eglfs. To use the tslib plugin, add "-plugin Tslib" to the application invocation command line.

https://github.com/prabindh/qt-configs/blob/master/qt5_1.0_Feb13/tslib.p...

Note: ts_calibrate needs to be performed as usual.

Tuesday, March 19, 2013

Moksha - HTML5/CSS with Snowshoe/Qt5.0.1

Qt5.0.1 was released recently, and Qt5.0.1, and its Webkit2 build are now available for testing on TI platforms. To show-case the capability of HTML5 based Data visualisation on TI platforms with Webkit2, a simple CSS layout has been created to be readily used for evaluation in compliant Browsers.

Snowshoe, a Qt5 QML based browser has been used for this experiment. CSS, SVG, and Webkit specific optimisations are used. AM335x EVM was the HW platform used.

Video snapshot of the HTML5 capabilities, using the Moksha layout is available at below link:

http://www.youtube.com/watch?v=nztgCone4jI


Detailed information on running the demo are available at,

http://gpupowered.org/node/19

Snowshoe Patches, and HTML/CSS layout files are available at,

https://github.com/prabindh/moksha


Wednesday, March 13, 2013

Current screen display resolutions, Browsers, and HTML5

How does one choose the screen resolution and characteristics for a Display based device, and what do you optimise the page for when designing HTML5 based applications ? While looking through live access statistics of a recent web-page that was created for this sampling - below is the information identified:

==> 1366 x 768 is the most popular resolution of the devices accessing this page,

==> 1920x1920 is the highest resolution




Discussions on the recent Microsoft RT Reddit thread offer interesting perspectives to this question of resolutions - (http://www.reddit.com/r/IAmA/comments/11kyja/iam_panos_panay_gm_of_microsoft_surface_amaa_ask/c6ndm9j).

Further information on these pages - http://www.gpupowered.org/node/18