# SGX Hardware Recovery triggered

**URL:** <https://forums.imgtec.com/t/sgx-hardware-recovery-triggered/1551>\
**Category:** PowerVR Insider\
**Created:** [October 30, 2012, 6:50pm UTC](https://forums.imgtec.com/t/sgx-hardware-recovery-triggered/1551 "2012-10-30T18:50:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sschefter](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@sschefter](https://forums.imgtec.com/u/sschefter)\
**Post date:** [October 30, 2012, 6:50pm UTC](https://forums.imgtec.com/t/sgx-hardware-recovery-triggered/1551/1 "2012-10-30T18:50:05Z")

</div>

Hi.  
I am using the SGX in the OMAP4 processor running Linux.&nbsp; I am able to run OGLES and OGLES2 demo apps (currently using SDKv3.0).&nbsp; However, I experience frequent SGX lockups.&nbsp; The hardware recovery handles it nicely, but the display is jittery because of the timeouts.  
  
It seems that the lockups are get worse with larger output.&nbsp; On my 800x480 display:

&nbsp;&nbsp;&nbsp; OGLES2ChameleonMan -width=775 -height=400&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; results in no errors at all

  

&nbsp;&nbsp;&nbsp; OGLES2ChameleonMan -width=800 -height=480&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; results in lots of errors

  

The closer to 800x400, the more frequent the errors.

  

Any hints from the register dump below would be appreciated.

Regards,

&nbsp;&nbsp;&nbsp; Steve

PVR\_K:(Error): SGXOSTimer() detected SGX lockup (0xc tasks) [1763, services4/srvkm/devices/sgx/sgxinit.c]  
PVR\_K: HWRecoveryResetSGX: SGX Hardware Recovery triggered  
PVR\_K: SGX debug (SGX\_DDK\_Linux\_CustomerTI sgxddk 19 1.9.RC2@2139099)  
PVR\_K:(Error): SGX Register Base Address (Linear):&nbsp;&nbsp; 0xE09C0000 [1278, services4/srvkm/devices/sgx/sgxinit.c]  
PVR\_K:(Error): SGX Register Base Address (Physical): 0x56000000 [1279, services4/srvkm/devices/sgx/sgxinit.c]  
PVR\_K: (P0) EUR\_CR\_CORE\_ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 01140000  
PVR\_K: (P0) EUR\_CR\_CORE\_REVISION:&nbsp;&nbsp;&nbsp; 00010200  
PVR\_K: (P0) EUR\_CR\_EVENT\_STATUS:&nbsp;&nbsp;&nbsp;&nbsp; 20000000  
PVR\_K: (P0) EUR\_CR\_EVENT\_STATUS2:&nbsp;&nbsp;&nbsp; 00000008  
PVR\_K: (P0) EUR\_CR\_BIF\_CTRL:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00000000  
PVR\_K: (P0) EUR\_CR\_BIF\_INT\_STAT:&nbsp;&nbsp;&nbsp;&nbsp; 00008000  
PVR\_K: (P0) EUR\_CR\_BIF\_FAULT:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00000000  
PVR\_K: (P0) EUR\_CR\_BIF\_MEM\_REQ\_STAT: 00000001  
PVR\_K: (P0) EUR\_CR\_CLKGATECTL:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 000AAA6A  
PVR\_K: (P0) EUR\_CR\_PDS\_PC\_BASE:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00002118  
PVR\_K: SGX Host control:  
PVR\_K: &nbsp;&nbsp;&nbsp; (HC-0) 0x00000001 0x00000000 0x00000000 0x00000000  
PVR\_K: &nbsp;&nbsp;&nbsp; (HC-10) 0x00000002 0x0000000A 0x0004B000 0x00000003  
PVR\_K: &nbsp;&nbsp;&nbsp; (HC-20) 0x00000000 0x00000003 0x00000000 0x0000002C  
PVR\_K: &nbsp;&nbsp;&nbsp; (HC-30) 0x00000116 0xF8BBFA30 0x00000000 0x00000000  
PVR\_K: &nbsp;&nbsp;&nbsp; (HC-40) 0x00000000 0xE3530000 0x0AFFFFE8 0xE1A00007  
PVR\_K: SGX TA/3D control:  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-0) 0x0F003000 0x0F0030E0 0x0F002000 0x00000000  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-10) 0x00000000 0x00000000 0x00000000 0x0F00AB80  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-20) 0x00000000 0x00000000 0x00000000 0x00000000  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-30) 0x00000000 0x00000000 0x00000000 0x00000000  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-40) 0x00000000 0x00000000 0x00000000 0x00000000  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-50) 0x00000000 0x0F00AD70 0x0F000000 0x9AF4B000  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-60) 0x0F02E180 0x00000000 0x0F01E920 0x0F00AB80  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-70) 0x0F00AD70 0x0F01E920 0x00000000 0x00000000  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-80) 0x00000000 0x00000000 0x00000000 0x00000000  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-90) 0x00000000 0x0000002E 0x0000002E 0x0F004000  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-A0) 0x0F00A420 0x0F00B000 0x0F01E000 0x0F01E000  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-B0) 0x00000000 0x0000047F 0x0000047F 0x00000000  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-C0) 0x00000003 0x00000001 0x00000000 0x00000001  
PVR\_K: &nbsp;&nbsp;&nbsp; (T3C-D0) 0x00000000 0xE1A00004 0xEBFFFFFE 0xE3A03001  
PVR\_K: SGX Kernel CCB WO:0x63 RO:0x62
