Part Number: TDA2SX
i have changed the render.cpp &srv.cpp of visionsdk use my comfirmed on PC,when i run it on TDA2X the error log is like that:
PVR_K:(Error): SGXOSTimer() detected SGX lockup (0x1489 tasks)
[ 48.231248] PVR_K: HWRecoveryResetSGX: SGX Hardware Recovery triggered
[ 48.237844] PVR_K: SGX debug (SGX_DDK sgxddk MAIN@3699939)
[ 48.243366] PVR_K:(Error): SGX Register Base Address (Linear): 0xf45a0000
[ 48.250429] PVR_K:(Error): SGX Register Base Address (Physical): 0x56000000
[ 48.257478] PVR_K: Running SGXREG Debug Scripts:
[ 48.262129] PVR_K: (HYD)
[ 48.264723] PVR_K: (SGXREG) 0x00004000 : 0x00000001
[ 48.269716] PVR_K: (SGXREG) 0x00004004 : 0x0000000A
[ 48.274753] PVR_K: (SGXREG) 0x00004008 : 0x0000000F
[ 48.279752] PVR_K: (SGXREG) 0x00004024 : 0x00000009
[ 48.284786] PVR_K: (SGXREG) 0x00004118 : 0x00000010
[ 48.289777] PVR_K: (SGXREG) 0x0000412C : 0x20000000
[ 48.294816] PVR_K: (SGXREG) 0x00004404 : 0x00000000
[ 48.299807] PVR_K: (SGXREG) 0x00004C04 : 0x00080000
[ 48.304839] PVR_K: (SGXREG) 0x00004C08 : 0x00000000
[ 48.309829] PVR_K: (SGXREG) 0x00004C74 : 0x00000000
[ 48.314868] PVR_K: (SGXREG) 0x00004C78 : 0x00000010
[ 48.319857] PVR_K: (SGXREG) 0x00004CA8 : 0x00000000
[ 48.324915] PVR_K: (P0)
[ 48.327386] PVR_K: (SGXREG) 0x00008000 : 0x002AAAAA
[ 48.332376] PVR_K: (SGXREG) 0x00008004 : 0x0A8A8AAA
[ 48.337415] PVR_K: (SGXREG) 0x00008008 : 0x01F888F8
[ 48.342404] PVR_K: (SGXREG) 0x00008118 : 0x000000B0
[ 48.347444] PVR_K: (SGXREG) 0x0000812C : 0x24142600
[ 48.352434] PVR_K: (SGXREG) 0x000084E4 : 0x00014274
[ 48.357467] PVR_K: (SGXREG) 0x00008658 : 0x00000000
[ 48.362465] PVR_K: (SGXREG) 0x00008A74 : 0x0E208200
[ 48.367498] PVR_K: (SGXREG) 0x00008BA4 : 0x00000014
[ 48.372488] PVR_K: (SGXREG) 0x00008C04 : 0x000D0400
[ 48.377521] PVR_K: (SGXREG) 0x00008C08 : 0x231B2031
[ 48.382509] PVR_K: (SGXREG) 0x00008C74 : 0x00000000
[ 48.387665] PVR_K: (SGXREG) 0x00008C78 : 0x00000017
[ 48.392656] PVR_K: (SGXREG) 0x00008CB4 : 0x00000000
[ 48.397701] PVR_K: (SGXREG) 0x00008E04 : 0x00000000
[ 48.402690] PVR_K: (SGXREG) 0x00008624 : 0x00000000
[ 48.407726] PVR_K: (SGXREG) 0x00008628 : 0x00000000
[ 48.412724] PVR_K: (SGXREG) 0x00008630 : 0x00000000
[ 48.417758] PVR_K: (SGXREG) 0x00008664 : 0x00000000
[ 48.422747] PVR_K: (SGXREG) 0x00008734 : 0x00000000
[ 48.427805] PVR_K: (SGXREG) 0x00008AA4 : 0xAAAAAAAA
[ 48.432794] PVR_K: (SGXREG) 0x00008AA8 : 0xAAAAAAAA
[ 48.437833] PVR_K: (SGXREG) 0x00008B08 : 0x00016C8E
[ 48.442823] PVR_K: (SGXREG) 0x00008B14 : 0x000189FC
[ 48.447861] PVR_K: (SGXREG) 0x00008B0C : 0x0001095A
[ 48.452850] PVR_K: (SGXREG) 0x00008B18 : 0x00000875
[ 48.457884] PVR_K: (SGXREG) 0x00008B10 : 0x00011489
[ 48.462883] PVR_K: (SGXREG) 0x00008B1C : 0x00010000
[ 48.467915] PVR_K: (SGXREG) 0x00008B80 : 0xAAAAAAAA
[ 48.472904] PVR_K: (SGXREG) 0x00008B84 : 0xAAAAAAAA
[ 48.477939] PVR_K: (SGXREG) 0x00008B88 : 0x000154E0
[ 48.482929] PVR_K: (SGXREG) 0x00008B94 : 0x000158CC
[ 48.487961] PVR_K: (SGXREG) 0x00008B8C : 0x00000873
[ 48.492949] PVR_K: (SGXREG) 0x00008B98 : 0x00010872
[ 48.497987] PVR_K: (SGXREG) 0x00008B90 : 0x00010000
[ 48.502977] PVR_K: (SGXREG) 0x00008B9C : 0x00010000
[ 48.508009] PVR_K: (P1)
[ 48.510478] PVR_K: (SGXREG) 0x0000C000 : 0x002AAAAA
[ 48.515516] PVR_K: (SGXREG) 0x0000C004 : 0x0A8A8AAA
[ 48.520510] PVR_K: (SGXREG) 0x0000C008 : 0x017808F8
[ 48.525568] PVR_K: (SGXREG) 0x0000C118 : 0x000000B0
[ 48.530567] PVR_K: (SGXREG) 0x0000C12C : 0x04142600
[ 48.535604] PVR_K: (SGXREG) 0x0000C4E4 : 0x0001FFFF
[ 48.540593] PVR_K: (SGXREG) 0x0000C658 : 0x00000000
[ 48.545630] PVR_K: (SGXREG) 0x0000CA74 : 0x0E208200
[ 48.550620] PVR_K: (SGXREG) 0x0000CBA4 : 0x00000014
[ 48.555653] PVR_K: (SGXREG) 0x0000CC04 : 0x000D0400
[ 48.560652] PVR_K: (SGXREG) 0x0000CC08 : 0x1EEFF021
[ 48.565683] PVR_K: (SGXREG) 0x0000CC74 : 0x00000000
[ 48.570672] PVR_K: (SGXREG) 0x0000CC78 : 0x00000017
[ 48.575704] PVR_K: (SGXREG) 0x0000CCB4 : 0x00000000
[ 48.580702] PVR_K: (SGXREG) 0x0000CE04 : 0x00000000
[ 48.585733] PVR_K: (SGXREG) 0x0000C624 : 0x00000000
[ 48.590722] PVR_K: (SGXREG) 0x0000C628 : 0x00000000
[ 48.595759] PVR_K: (SGXREG) 0x0000C630 : 0x00000000
[ 48.600751] PVR_K: (SGXREG) 0x0000C664 : 0x00000000
[ 48.605785] PVR_K: (SGXREG) 0x0000C734 : 0x00000000
[ 48.610782] PVR_K: (SGXREG) 0x0000CAA4 : 0xAAAAAAAA
[ 48.615815] PVR_K: (SGXREG) 0x0000CAA8 : 0xAAAAAAAA
[ 48.620804] PVR_K: (SGXREG) 0x0000CB08 : 0x00017D7A
[ 48.625858] PVR_K: (SGXREG) 0x0000CB14 : 0x0001A09B
[ 48.630857] PVR_K: (SGXREG) 0x0000CB0C : 0x0000092C
[ 48.635894] PVR_K: (SGXREG) 0x0000CB18 : 0x00010847
[ 48.640882] PVR_K: (SGXREG) 0x0000CB10 : 0x00010000
[ 48.645929] PVR_K: (SGXREG) 0x0000CB1C : 0x00010000
[ 48.650918] PVR_K: (SGXREG) 0x0000CB80 : 0xAAAAAAAA
[ 48.655951] PVR_K: (SGXREG) 0x0000CB84 : 0xAAAAAAAA
[ 48.660949] PVR_K: (SGXREG) 0x0000CB88 : 0x0001684E
[ 48.665981] PVR_K: (SGXREG) 0x0000CB94 : 0x000166D3
[ 48.670970] PVR_K: (SGXREG) 0x0000CB8C : 0x00010845
[ 48.676002] PVR_K: (SGXREG) 0x0000CB98 : 0x00010848
[ 48.681000] PVR_K: (SGXREG) 0x0000CB90 : 0x00010000
[ 48.686032] PVR_K: (SGXREG) 0x0000CB9C : 0x00010000
[ 48.691021] PVR_K: SGX Register Dump:
[ 48.694752] PVR_K: (P0) EUR_CR_CORE_ID: 01191201
[ 48.700178] PVR_K: (P0) EUR_CR_CORE_REVISION: 00010106
[ 48.705651] PVR_K: (P0) EUR_CR_EVENT_STATUS: 24142600
[ 48.711085] PVR_K: (P0) EUR_CR_EVENT_STATUS2: 000000B0
[ 48.716555] PVR_K: (P0) EUR_CR_BIF_CTRL: 00000000
[ 48.721980] PVR_K: (P0) EUR_CR_BIF_BANK0: 00000017
[ 48.727474] PVR_K: (P0) EUR_CR_BIF_INT_STAT: 000D0400
[ 48.732899] PVR_K: (P0) EUR_CR_BIF_FAULT: 231B2031
[ 48.738372] PVR_K: (P0) EUR_CR_BIF_MEM_REQ_STAT: 00000000
[ 48.743806] PVR_K: (P0) EUR_CR_CLKGATECTL: 002AAAAA
[ 48.749276] PVR_K: (P1) EUR_CR_EVENT_STATUS: 04142600
[ 48.754744] PVR_K: (P1) EUR_CR_EVENT_STATUS2: 000000B0
[ 48.760170] PVR_K: (P1) EUR_CR_BIF_CTRL: 00000000
[ 48.765643] PVR_K: (P1) EUR_CR_BIF_BANK0: 00000017
[ 48.771069] PVR_K: (P1) EUR_CR_BIF_INT_STAT: 000D0400
[ 48.776542] PVR_K: (P1) EUR_CR_BIF_FAULT: 1EEFF021
[ 48.781981] PVR_K: (P1) EUR_CR_BIF_MEM_REQ_STAT: 00000000
[ 48.787450] PVR_K: (P1) EUR_CR_CLKGATECTL: 002AAAAA
[ 48.792878] PVR_K: Checking EDM memory context (index = 7, PD = 0xad66b000)
[ 48.799922] PVR_K: Found MMU context for page fault 0x231b2000
[ 48.805830] PVR_K: GPU memory context is for PID=212 (systemd-udevd)
[ 48.812222] PVR_K: No PDE found
[ 48.815426] PVR_K: Checking TA memory context (index = 1, PD = 0xab2a2000)
[ 48.822333] PVR_K: Found MMU context for page fault 0x231b2000
[ 48.828261] PVR_K: GPU memory context is for PID=732 (apps.out)
[ 48.834210] PVR_K: No PDE found
[ 48.837417] PVR_K: Checking 3D memory context (index = 0, PD = 0xad45f000)
[ 48.844335] PVR_K: Found MMU context for page fault 0x231b2000
[ 48.850239] PVR_K: GPU memory context is for PID=641 (weston)
[ 48.856054] PVR_K: No PDE found
[ 48.859213] PVR_K: Checking PTLA memory context (index = 0, PD = 0xad45f000)
[ 48.866343] PVR_K: Found MMU context for page fault 0x231b2000
[ 48.872205] PVR_K: GPU memory context is for PID=641 (weston)
[ 48.878023] PVR_K: No PDE found
[ 48.881183] PVR_K: Checking EDM memory context (index = 7, PD = 0xad66b000)
[ 48.888304] PVR_K: Found MMU context for page fault 0x1eeff000
[ 48.894177] PVR_K: GPU memory context is for PID=212 (systemd-udevd)
[ 48.900610] PVR_K: No PDE found
[ 48.903769] PVR_K: Checking TA memory context (index = 1, PD = 0xab2a2000)
[ 48.910734] PVR_K: Found MMU context for page fault 0x1eeff000
[ 48.916641] PVR_K: GPU memory context is for PID=732 (apps.out)
[ 48.922589] PVR_K: No PDE found
[ 48.925815] PVR_K: Checking 3D memory context (index = 0, PD = 0xad45f000)
[ 48.932733] PVR_K: Found MMU context for page fault 0x1eeff000
[ 48.938640] PVR_K: GPU memory context is for PID=641 (weston)
[ 48.944421] PVR_K: No PDE found
[ 48.947623] PVR_K: Checking PTLA memory context (index = 0, PD = 0xad45f000)
[ 48.954745] PVR_K: Found MMU context for page fault 0x1eeff000
[ 48.960616] PVR_K: GPU memory context is for PID=641 (weston)
[ 48.966432] PVR_K: No PDE found
[ 48.969593] PVR_K: Host Ctl flags= 0000000c
[ 48.973882] PVR_K: SGX Host control:
i haven't got what caused it