I've just built the SGX Graphics SDK version 4.04.00.03. I have a TI8168 EVM.
I've built Qt embedded commerical 4.7.2 against this graphics SDK using gfx_dbg_es6.x..
When I copy all the files to the target and run this command on the Qt demos, I just end up with a Qt window on the HDMI output with a black rectangle in:
/examples/opengl/hellogl_es2/hellogl_es2 -qws -driver powervr
PVR: Hint: Setting WindowSystem to libpvrQWSWSEGL.so
PVR:(Warning): PVRSRVMetricsTimeNow: not implemented [120, /pvr_metrics.c]
PVR:(Warning): InitContext: ignoring buffer type CBUF_TYPE_PDS_VERT_SECONDARY_PREGEN_BUFFER [717, eglglue.c]
PVR:(Warning): Running StartUpMemSpeedTest. High memory watermark will be ruined. Disable using apphint EnableMemorySpeedTest [57, metrics.c]
PVR: Bytes : 512 1024 2048 4096 8192 16384 32768 65536 131072
PVR: ---------------|-------|-------|-------|-------|-------|-------|-------|-------|
PVR: H -> VB: 160.01 320.03 640.06 426.71 853.41 853.41 930.99 930.99 1050.35
PVR: H -> H: 0.00 320.03 0.00 1280.12 2560.23 1280.12 1137.88 1077.99 1107.13
PVR:
PVR: Texture allocation HWM = 8 bytes
PVR:(Warning): HW Recovery stats: Host: 0 uKernel: 0 [131, /sgxrender_context.c]
PVR:
PVR: Memory Stats
PVR: ------------
PVR:
PVR: High Water Mark = 2132113 bytes
PVR:
PVR: 4104 bytes still allocated in 1 allocations
PVR:
PVR: 1 - 4104 bytes at 0x24578 - tls.c:49
PVR:
PVR:
Here's my output of the "gfx_check.sh" script. The 3D-only SGX demos run fine (e.g. Skybox, etc).
# ./gfx_check.sh
WSEGL settings
[default]
#WindowSystem=libpvrPVR2D_FRONTWSEGL.so
#WindowSystem=libpvrPVR2D_FLIPWSEGL.so
WindowSystem=libpvrQWSWSEGL.so
------
ARM CPU information
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 986.31
Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2
Hardware : ti8168evm
Revision : 0000
Serial : 0000000000000000
------
SGX driver information
Version 1.6.16.4117 (debug) /home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_02_01_59/component-sources/graphics-sdk_4.04.00.03/GFX_Linux_KM
System Version String: SGX revision = 1.2.5
------
Framebuffer settings
mode "1920x1080-60"
# D: 148.500 MHz, H: 67.500 kHz, V: 60.000 Hz
geometry 1920 1080 1920 3240 32
timings 6734 148 88 36 4 44 5
rgba 8/16,8/8,8/0,8/24
endmode
Frame buffer device information:
Name : ti81xxfb
Address : 0x8ce00000
Size : 25165824
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 0
LineLength : 7680
Accelerator : No
------
Rotation settings
0
------
Kernel Module information
Module Size Used by Not tainted
bufferclass_ti 4946 0
omaplfb 10762 0
pvrsrvkm 381012 2 bufferclass_ti,omaplfb
ti81xxhdmi 12992 0
ti81xxfb 20247 1
vpss 61787 3 omaplfb,ti81xxhdmi,ti81xxfb
syslink 1108175 0
------
Boot settings
console=ttyO2,115200n8 root=/dev/nfs nfsroot=10.0.0.2:/home/ralph/rootfs mem=256MB@0x80000000 earlyprink notifyk.vpssm3_sva=0xBF900000 vram=50M ti816xfb.vram=0:16M,1:16M,2:6M ip=dhcp noinitrd
------
Linux Kernel version
Linux buildroot 2.6.37 #1 Mon Sep 5 14:35:41 BST 2011 armv7l GNU/Linux
Any ideas what's going wrong?
Thanks,
Ralph