Letux Kernel

Video-3D

Table of Content

How to access the 3D Video Accelerator

Introduction

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/

Details

The system consists of 3 components:

  1. Kernel driver
  2. Runtime initialization
  3. Libraries (OpenGLES)

Kernel driver

The kernel driver has been added to the sources of our kernel:

http://git.goldelico.com/?p=gta04-kernel.git;a=tree;f=drivers/gpu/pvr/omap3

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

/dev/pvrsrvkm
/proc/pvr/*

Runtime and Libraries

Binaries

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'

Binary packages

We provide a binary package for SGX530_REV125:

Starting

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).

Finally run

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.

Demo

The kernel package has a demo in /root:

/root/gpu-demo