This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PVR mismatch error for debug flag in Gingerbread

I am porting rowboat Gingerbread system to our custom OMAP DM3730 target based on beagleboard.  Graphics are running with our Gingerbread system built from sources (DevKit 1.0 from TI_Android_GingerBread_2_3_Sources.tar.gz), but appear to be running oddly  When running with omapfb.debug=y, the kernel messages report 2 overlay updates for frame buffer0 when it should be doing a single update only.  I don't see anything else in the kernel causing this, so I believe the Surfaceflinger an PVR server or EGL libraries are driving this.  I am looking for more debugging information to verify what is causing this behavior.

I am currently trying to get more information on how the PVR server and libraries are running with the kernel using the debug version of the SGX drivers with the rowboat Gingerbread built from sources.  Even though the kernel version 1.7.17.4352 seems to match the strings libIMGegl.so 1.7.17.4352, I am getting a PVR KM mismatch:

PVR_K: (FAIL) SGXInit: Mismatch in client-side and KM driver build options; extr
a options present in KM: (0x1). Please check sgx_options.h

But the flag it is complaining about is the debug flag?

Question:  Does anyone know how to build the debug version of the SGX kernel drivers from DevKit 1.0 sources?  Do I need to advance to DevKit 2.0 for this?

I ran the gfx_check.sh as follows.  Note: eglinfo.apk won't run on debug system because Android can't start with above error.  On running system with "release" drivers, eglinfo is a blank screen?

Here is my startup messages and gfx_check results

=================

init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery' 
enabling adb 
sh: can't access tty; job control turned off 
adb_open 
# adb_release 
adb_open 
PVR: PVRCore_Init 
PVR: PVRSRVDriverProbe(pDevice=bf052cd8) 
PVR: EnableSystemClocks: Enabling System Clocks 
PVR: PVRCore_Init: major device 249 
omapfb_open: Returning 0. 
logfile_open error: 1 
logfile_write: something wrong with file. 
logfile_write: something wrong with file. 
logfile_close: something wrong with file 
omaplfb: Device 0: Framebuffer physical address: 0x8fe00000 
omaplfb: Device 0: Framebuffer virtual address: 0xd0a00000 
omaplfb: Device 0: Framebuffer size: 1048576 
omaplfb: Device 0: Framebuffer virtual width: 240 
omaplfb: Device 0: Framebuffer virtual height: 320 
omaplfb: Device 0: Framebuffer width: 240 
omaplfb: Device 0: Framebuffer height: 320 
omaplfb: Device 0: Framebuffer stride: 480 
omaplfb: Device 0: LCM of stride and page size: 61440 
omaplfb: Device 0: Maximum number of swap chain buffers: 5 
omaplfb: Device 0: PVR Device ID: 1 
android_usb gadget: high speed config #1: android 
PVR: Installing MISR with cookie bf055d64 
PVR: Installing device LISR SGX ISR on IRQ 21 with cookie cfa96380 
PVR: OSUnMapPhysToLin: unmapping 65536 bytes from d09c0000 
PVR: SysFinalise: Version string: SGX revision = 1.2.5 
PVR_K: (FAIL) SGXInit: Mismatch in client-side and KM driver build options; extr
a options present in KM: (0x1). Please check sgx_options.h 
PVR_K:(Error): PVRSRVFinaliseSystem: Failed PVRSRVDevInitCompatCheck call (devic
e index: 0) [518, services4/srvkm/common/pvrsrv.c] 
PVR_K:(Error): BridgedDispatchKM: Initialisation failed. Driver unusable. [4628
, services4/srvkm/bridged/bridged_pvr_bridge.c] 
PVR_K:(Error): BridgedDispatchKM: Initialisation failed. Driver unusable. [4628
, services4/srvkm/bridged/bridged_pvr_bridge.c] 
warning: `zygote' uses 32-bit capabilities (legacy support in use) 

request_suspend_state: wakeup (0->0) at 17841674807 (2000-01-01 00:00:12.7500000
01 UTC) 
init: untracked pid 1101 exited 
/system/bin/sgx/gfx_check.sh 
WSEGL settings 
/etc/powervr.ini: No such file or directory 
------ 
ARM CPU information 
Processor : ARMv7 Processor rev 2 (v7l) 
BogoMIPS : 669.06 
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 
CPU implementer : 0x41 
CPU architecture: 7 
CPU variant : 0x3 
CPU part : 0xc08 
CPU revision : 2 

Hardware : OMAP3 Beagle Board 
Revision : 0020 
Serial : 0000000000000000 
------ 
SGX driver information 
Version 1.7.17.4352 (debug) omap_android 
System Version String: SGX revision = 1.2.5 
------ 
Framebuffer settings 
fbset: not found 
------ 
Rotation settings 

------ 
Kernel Module information 
omaplfb 18251 0 - Live 0xbf073000 
pvrsrvkm 382581 1 omaplfb, Live 0xbf000000 
------ 
Boot settings 
console=ttyO2,115200n8 mpurate=800 vram=2M omapfb.mode=dvi:1024x768MR-16@60 omap
dss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait init=/init omap
fb.vram=0:1M 
------ 
Linux Kernel version 
uname: not found 

#cat /proc/version 
Linux version 2.6.37-dbg232-g06ebbba-dirty (dev@dev-laptop) (gcc version 4.4.0 (
GCC) ) #288 Fri May 4 10:58:16 EDT 2012 

# cat /proc/pvr/version 
Version 1.7.17.4352 (debug) omap_android 
System Version String: SGX revision = 1.2.5