How to access the 3D Video Accelerator
The OMAP3530/DM3730 SoC contains a 3D Video accelerator (PowerVR-SGX530). The kernel driver is free and open (GPL) but the runtime (microkernel running on GPU) and the libraries are non-free. If you are not happy with this situation, please help this FSF project: http://powervr.gnu.org.ve/
The system consists of 3 components:
- Kernel driver
- Runtime initialization
- Libraries (OpenGLES)
The kernel driver has been added to the sources of our kernel:
Configure (Device Drivers/Graphics Support) into the kernel through PowerVR SGX, Revision 1.2.5 - OMPA 3630. This is compatible with the DM3730 chip used in the GTA04.
You can check if the kernel driver is working by looking for
Runtime and Libraries
You need to locate and download the SDK from Texas Instruments (you may have to register yourself and accept license conditions since it is not open source!):
Go to http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html and locate 'Graphics_SDK_setuplinux_4_08_00_02_BinOnly.bin' or 'Graphics_SDK_setuplinux_4_08_00_02_hardfp_BinOnly.bin'
We provide a binary package for SGX530_REV125:
- armel http://download.goldelico.com/quantumstep/debian/dists/jessie+alpha/main/binary-armel/omap3-pvrsgx530-gta04_0.20130811195123_armel.deb
- armhf: http://download.goldelico.com/quantumstep/debian/dists/jessie+alpha/main/binary-armhf/omap3-pvrsgx530-gta04_0.20130811195126_armhf.deb
Copy the libraries from the SDK to /usr/lib. The version gfx_rel_es5.x is compatible to the DM3730 (the others are rejected by the kernel driver).
pvrsrvctl --start --no-module
This sends the microkernel into the GPU.
After that you can and should run the tests available in the graphics package.
The kernel package has a demo in /root: