V3dfx base Getting Started Guide - prabindh/v3dfx-base GitHub Wiki

v3dfx-base Getting Started Guide

Useful Documents and Download Links needed for v3dfx-base:

[1] Presentation covering the overall architecture of v3dfx-base

http://www.slideshare.net/prabindh/introduction-to-video-streaming-on-sgx-through-v3dfxbase

[2] TI Graphics SDK - Provides imgstream streaming extensions, along with standard OpenGL ES1.1/2.0 APIs

http://processors.wiki.ti.com/index.php/AM35x-OMAP35x_Graphics_SDK_Getting_Started_Guide

[3] Linux Utils download - Provides CMEM, a physically contiguous memory allocator, that is used in v3dfx-base. Alternative mechanisms can also be used.

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/linuxutils/index.html

Build and Install

A working Linux filesystem, with Graphics SDK installed to it is assumed.

  • Ensure the Qt demo - "/demos/opengl/hellogl_es2" is functional. Check out below link if it is not. Powervr debug link

  • Following targets to be rebuilt: - > v3dfx-base.a, libv3dfx*.so, and the test applications

  • Framework-independent library:

api/build/Makefile - Update toolchain, paths to Graphics SDK

  • Framework-independent test application for imgstream:

test/imgstream/Makefile - Update toolchain, paths to Graphics SDK, cmem paths

  • Qt wrapper library (QGLWidget based):

platforms/qt/v3dfx_qt.pro - Update paths for cmem, Graphics SDK

  • Qt wrapper library (QGraphicsscene based):

platforms/qtQGL/v3dfx_qtqgl.pro - Update paths for cmem, Graphics SDK

  • Qt test application (QGLWidget based):

test/platforms/qtQGL/Makefile - Update paths for cmem, Graphics SDK

  • Qt test application (QGraphicsScene based):

test/platforms/qt/Makefile - Update paths for cmem, Graphics SDK

Execution

  • Execute the Graphics SDK install script depending on the platform

  • Install the CMEM kernel modules. This needs managing the memory allocated to kernel, and cmem at bootargs.

Example for 2.6.37 =

Bootargs ==> "mem=99M@0x80000000 mem=103M@0x89900000"

CMEM insertion ==> insmod cmemk.ko allowOverlap=1 phys_start=0x86300000 phys_end=0x871fffff pools=16x1500,2x2048,2x5120,18x16384,1x110000,8x131072,1x150000,2x1048576,4x1843200,1x3670016

  • Run the test applications built in previous step
⚠️ **GitHub.com Fallback** ⚠️