Tool/software: TI C/C++ Compiler
hardware: dra725 Customization board
software: ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03
Create double OpenGL instances with double VOUT.
OpenGL sometimes crash while load texture by glBufferData API..
1.Problem disappeared while close one of OpenGL instances.
2.Problem disappeared while resize the texture.
the error log like below:
[ 114.928898] PVR_K: HWRecoveryResetSGX: SGX Hardware Recovery triggered
[ 114.942915] PVR_K: SGX debug (SGX_DDK sgxddk MAIN@3699939)
[ 114.958214] PVR_K:(Error): SGX Register Base Address (Linear): 0xe18c0000
[ 114.976547] PVR_K:(Error): SGX Register Base Address (Physical): 0x56000000
[ 114.995635] PVR_K: Running SGXREG Debug Scripts:
[ 115.005362] PVR_K: (HYD)
[ 115.008451] PVR_K: (SGXREG) 0x00004000 : 0x00000000
[ 115.014343] PVR_K: (SGXREG) 0x00004004 : 0x0000000A
[ 115.021081] PVR_K: (SGXREG) 0x00004008 : 0x0000000F
[ 115.026638] PVR_K: (SGXREG) 0x00004024 : 0x00000009
[ 115.032360] PVR_K: (SGXREG) 0x00004118 : 0x00000010
[ 115.038363] PVR_K: (SGXREG) 0x0000412C : 0x20000000
[ 115.044047] PVR_K: (SGXREG) 0x00004404 : 0x00000003
[ 115.049778] PVR_K: (SGXREG) 0x00004C04 : 0x00090008
[ 115.055619] PVR_K: (SGXREG) 0x00004C08 : 0x1139C000
[ 115.061124] PVR_K: (SGXREG) 0x00004C74 : 0x00000000
[ 115.066797] PVR_K: (SGXREG) 0x00004C78 : 0x00000000
[ 115.072316] PVR_K: (SGXREG) 0x00004CA8 : 0x00000000
[ 115.077928] PVR_K: (P0)
[ 115.080855] PVR_K: (SGXREG) 0x00008000 : 0x002AAAAA
[ 115.086555] PVR_K: (SGXREG) 0x00008004 : 0x0A8A8AAA
[ 115.092008] PVR_K: (SGXREG) 0x00008008 : 0x011808F8
[ 115.097668] PVR_K: (SGXREG) 0x00008118 : 0x000000B0
[ 115.103113] PVR_K: (SGXREG) 0x0000812C : 0x243C2F80
[ 115.108814] PVR_K: (SGXREG) 0x000084E4 : 0x001F0408
[ 115.114305] PVR_K: (SGXREG) 0x00008658 : 0x00000000
[ 115.120007] PVR_K: (SGXREG) 0x00008A74 : 0x0E208200
[ 115.125474] PVR_K: (SGXREG) 0x00008BA4 : 0x00000014
[ 115.131022] PVR_K: (SGXREG) 0x00008C04 : 0x00080000
[ 115.136630] PVR_K: (SGXREG) 0x00008C08 : 0x00000000
[ 115.142178] PVR_K: (SGXREG) 0x00008C74 : 0x00000000
[ 115.147759] PVR_K: (SGXREG) 0x00008C78 : 0x00000007
[ 115.153252] PVR_K: (SGXREG) 0x00008CB4 : 0x00000000
[ 115.158844] PVR_K: (SGXREG) 0x00008E04 : 0x00000000
[ 115.164381] PVR_K: (SGXREG) 0x00008624 : 0x00000000
[ 115.170016] PVR_K: (SGXREG) 0x00008628 : 0x00000000
[ 115.175609] PVR_K: (SGXREG) 0x00008630 : 0x00000000
[ 115.181056] PVR_K: (SGXREG) 0x00008664 : 0x00000000
[ 115.186837] PVR_K: (SGXREG) 0x00008734 : 0x00000000
[ 115.192339] PVR_K: (SGXREG) 0x00008AA4 : 0xAAAAAAAB
[ 115.198029] PVR_K: (SGXREG) 0x00008AA8 : 0xAAAAAAAA
[ 115.203497] PVR_K: (SGXREG) 0x00008B08 : 0x0001BAD8
[ 115.209200] PVR_K: (SGXREG) 0x00008B14 : 0x0001C44F
[ 115.214761] PVR_K: (SGXREG) 0x00008B0C : 0x00017A86
[ 115.220322] PVR_K: (SGXREG) 0x00008B18 : 0x0001263E
[ 115.225897] PVR_K: (SGXREG) 0x00008B10 : 0x00000F42
[ 115.231375] PVR_K: (SGXREG) 0x00008B1C : 0x00010000
[ 115.236945] PVR_K: (SGXREG) 0x00008B80 : 0xAAAAAAAA
[ 115.242507] PVR_K: (SGXREG) 0x00008B84 : 0xAAAAAAAA
[ 115.248147] PVR_K: (SGXREG) 0x00008B88 : 0x00010C65
[ 115.253707] PVR_K: (SGXREG) 0x00008B94 : 0x0001DA90
[ 115.259522] PVR_K: (SGXREG) 0x00008B8C : 0x00012280
[ 115.265764] PVR_K: (SGXREG) 0x00008B98 : 0x00012903
[ 115.271325] PVR_K: (SGXREG) 0x00008B90 : 0x00010000
[ 115.277007] PVR_K: (SGXREG) 0x00008B9C : 0x00010000
[ 115.282448] PVR_K: (P1)
[ 115.285577] PVR_K: (SGXREG) 0x0000C000 : 0x00000000
[ 115.291060] PVR_K: (SGXREG) 0x0000C004 : 0x00000000
[ 115.296687] PVR_K: (SGXREG) 0x0000C008 : 0x00000000
[ 115.302183] PVR_K: (SGXREG) 0x0000C118 : 0x00000000
[ 115.307845] PVR_K: (SGXREG) 0x0000C12C : 0x00000000
[ 115.313333] PVR_K: (SGXREG) 0x0000C4E4 : 0x00000000
[ 115.319001] PVR_K: (SGXREG) 0x0000C658 : 0x00000000
[ 115.324484] PVR_K: (SGXREG) 0x0000CA74 : 0x00000000
[ 115.330103] PVR_K: (SGXREG) 0x0000CBA4 : 0x00000000
[ 115.335656] PVR_K: (SGXREG) 0x0000CC04 : 0x00000000
[ 115.341140] PVR_K: (SGXREG) 0x0000CC08 : 0x00000000
[ 115.346839] PVR_K: (SGXREG) 0x0000CC74 : 0x00000000
[ 115.352344] PVR_K: (SGXREG) 0x0000CC78 : 0x00000000
[ 115.357965] PVR_K: (SGXREG) 0x0000CCB4 : 0x00000000
[ 115.363456] PVR_K: (SGXREG) 0x0000CE04 : 0x00000000
[ 115.369063] PVR_K: (SGXREG) 0x0000C624 : 0x00000000
[ 115.374543] PVR_K: (SGXREG) 0x0000C628 : 0x00000000
[ 115.380142] PVR_K: (SGXREG) 0x0000C630 : 0x00000000
[ 115.385601] PVR_K: (SGXREG) 0x0000C664 : 0x00000000
[ 115.391107] PVR_K: (SGXREG) 0x0000C734 : 0x00000000
[ 115.396737] PVR_K: (SGXREG) 0x0000CAA4 : 0x00000000
[ 115.402223] PVR_K: (SGXREG) 0x0000CAA8 : 0x00000000
[ 115.407850] PVR_K: (SGXREG) 0x0000CB08 : 0x00000000
[ 115.413331] PVR_K: (SGXREG) 0x0000CB14 : 0x00000000
[ 115.418982] PVR_K: (SGXREG) 0x0000CB0C : 0x00000000
[ 115.424511] PVR_K: (SGXREG) 0x0000CB18 : 0x00000000
[ 115.430099] PVR_K: (SGXREG) 0x0000CB10 : 0x00000000
[ 115.435595] PVR_K: (SGXREG) 0x0000CB1C : 0x00000000
[ 115.441082] PVR_K: (SGXREG) 0x0000CB80 : 0x00000000
[ 115.446768] PVR_K: (SGXREG) 0x0000CB84 : 0x00000000
[ 115.452268] PVR_K: (SGXREG) 0x0000CB88 : 0x00000000
[ 115.457889] PVR_K: (SGXREG) 0x0000CB94 : 0x00000000
[ 115.463353] PVR_K: (SGXREG) 0x0000CB8C : 0x00000000
[ 115.468964] PVR_K: (SGXREG) 0x0000CB98 : 0x00000000
[ 115.474455] PVR_K: (SGXREG) 0x0000CB90 : 0x00000000
[ 115.480064] PVR_K: (SGXREG) 0x0000CB9C : 0x00000000
[ 115.485560] PVR_K: SGX Register Dump:
[ 115.489753] PVR_K: (P0) EUR_CR_CORE_ID: 01191201
[ 115.495837] PVR_K: (P0) EUR_CR_CORE_REVISION: 00010106
[ 115.501805] PVR_K: (P0) EUR_CR_EVENT_STATUS: 243C2F80
[ 115.507863] PVR_K: (P0) EUR_CR_EVENT_STATUS2: 000000B0
[ 115.513784] PVR_K: (P0) EUR_CR_BIF_CTRL: 00000000
[ 115.519934] PVR_K: (P0) EUR_CR_BIF_BANK0: 00000007
[ 115.525889] PVR_K: (P0) EUR_CR_BIF_INT_STAT: 00080000
[ 115.531798] PVR_K: (P0) EUR_CR_BIF_FAULT: 00000000
[ 115.537909] PVR_K: (P0) EUR_CR_BIF_MEM_REQ_STAT: 00000003
[ 115.543849] PVR_K: (P0) EUR_CR_CLKGATECTL: 002AAAAA
[ 115.549929] PVR_K: (P1) EUR_CR_EVENT_STATUS: 00000000
[ 115.556149] PVR_K: (P1) EUR_CR_EVENT_STATUS2: 00000000
[ 115.562057] PVR_K: (P1) EUR_CR_BIF_CTRL: 00000000
[ 115.568154] PVR_K: (P1) EUR_CR_BIF_BANK0: 00000000
[ 115.574081] PVR_K: (P1) EUR_CR_BIF_INT_STAT: 00000000
[ 115.580207] PVR_K: (P1) EUR_CR_BIF_FAULT: 00000000
[ 115.586223] PVR_K: (P1) EUR_CR_BIF_MEM_REQ_STAT: 00000000
[ 115.592214] PVR_K: (P1) EUR_CR_CLKGATECTL: 00000000
[ 115.598278] PVR_K: Checking EDM memory context (index = 7, PD = 0x9e620000)
[ 115.605825] PVR_K: Found MMU context for page fault 0x1139c000
[ 115.612184] PVR_K: GPU memory context is for PID=94 (pvrsrvctl)
[ 115.618821] PVR_K: No PDE found
[ 115.622490] PVR_K: Checking TA memory context (index = 0, PD = 0x9e73e000)
[ 115.629966] PVR_K: Found MMU context for page fault 0x1139c000
[ 115.636350] PVR_K: GPU memory context is for PID=193 (adas.exe.back)
[ 115.643237] PVR_K: PDE valid: PTE = 0x7cd7c001 (PhysAddr = 0x7cd7c000, valid)
[ 115.651066] PVR_K: Checking 3D memory context (index = 0, PD = 0x9e73e000)
[ 115.658523] PVR_K: Found MMU context for page fault 0x1139c000
[ 115.664984] PVR_K: GPU memory context is for PID=193 (adas.exe.back)
[ 115.671889] PVR_K: PDE valid: PTE = 0x7cd7c001 (PhysAddr = 0x7cd7c000, valid)
[ 115.679727] PVR_K: Checking PTLA memory context (index = 0, PD = 0x9e73e000)
[ 115.687328] PVR_K: Found MMU context for page fault 0x1139c000
[ 115.693679] PVR_K: GPU memory context is for PID=193 (adas.exe.back)
[ 115.700731] PVR_K: PDE valid: PTE = 0x7cd7c001 (PhysAddr = 0x7cd7c000, valid)
[ 115.708444] PVR_K: Host Ctl flags= 0000000c
[ 115.713309] PVR_K: SGX Host control:
[ 115.717539] PVR_K: (HC-0) 0x00000001 0x00000000 0x00000000 0x00000001
[ 115.724620] PVR_K: (HC-10) 0x00000000 0x0000000A 0x0004A666 0x00000000
[ 115.731832] PVR_K: (HC-20) 0x00000001 0x00000001 0x00000000 0x00000000
[ 115.739051] PVR_K: (HC-30) 0x0002E229 0xEE8423B0 0x00000000 0x00000000
[ 115.746271] PVR_K: (HC-40) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.753493] PVR_K: (HC-50) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.760945] PVR_K: (HC-60) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.768756] PVR_K: (HC-70) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.776043] PVR_K: (HC-80) 0x00000000 0x00000000 0x00001A5B 0x00000000
[ 115.783244] PVR_K: SGX TA/3D control:
[ 115.787497] PVR_K: (T3C-0) 0xF4003000 0xF40031A0 0xF4002000 0x00000000
[ 115.794978] PVR_K: (T3C-10) 0x00000000 0x00000002 0x00000000 0x00000000
[ 115.802180] PVR_K: (T3C-20) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.809624] PVR_K: (T3C-30) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.816859] PVR_K: (T3C-40) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.824090] PVR_K: (T3C-50) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.831422] PVR_K: (T3C-60) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.838727] PVR_K: (T3C-70) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.846061] PVR_K: (T3C-80) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.853382] PVR_K: (T3C-90) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.860689] PVR_K: (T3C-A0) 0x00000000 0x00000000 0x00000000 0xF4156420
[ 115.867973] PVR_K: (T3C-B0) 0x00000000 0xF4000000 0x9E620000 0x00000000
[ 115.875332] PVR_K: (T3C-C0) 0x00000000 0xF4125F80 0xF4156420 0xF41214A0
[ 115.882611] PVR_K: (T3C-D0) 0xF400FF80 0x00000000 0x00000000 0xF4002AC0
[ 115.889929] PVR_K: (T3C-E0) 0xF411DA20 0x0048322E 0x00000000 0x00000000
[ 115.897225] PVR_K: (T3C-F0) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.904417] PVR_K: (T3C-100) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.911951] PVR_K: (T3C-110) 0x00000000 0x00000000 0x00000000 0x00000000
[ 115.919272] PVR_K: (T3C-120) 0x00000000 0x000000A3 0x00000161 0x00000000
[ 115.926708] PVR_K: (T3C-130) 0xF2016010 0xF2016014 0xF2016034 0xF2016030
[ 115.933978] PVR_K: (T3C-140) 0xF4004000 0xF400F820 0xF4002020 0xF411D000
[ 115.941471] PVR_K: (T3C-150) 0xF411D000 0x00000000 0x00000000 0x000000C1
[ 115.948759] PVR_K: (T3C-160) 0x000000C1 0x00000000 0x00000000 0x00000000
[ 115.956301] PVR_K: (T3C-170) 0x00000002 0x00000000 0x494102ED 0x00000000
[ 115.963554] PVR_K: (T3C-180) 0xA55198BF 0x00000000 0x00000000 0x00000000
[ 115.971127] PVR_K: (T3C-190) 0x00000000 0x00000000 0xF400FF80 0xF4125F80
[ 115.978510] PVR_K: SGX Kernel CCB WO:0xA7 RO:0xA7
[ 115.983777] PVR_K: Active syncs
[ 115.987585] PVR_K: SyncInfo 4331:
[ 115.991514] PVR_K: Write ops (0xef00175c): P/C = 1/0 (0x00000001/0x00000000)
[ 115.999422] PVR_K: Read ops (0xef001764): P/C = 0/0 (0x00000000/0x00000000)
[ 116.007139] PVR_K: Read ops 2 (0xef00176c): P/C = 0/0 (0x00000000/0x00000000)
[ 116.015274] PVR_K: SyncInfo 931:
[ 116.019074] PVR_K: Write ops (0xef0017fc): P/C = 55/54 (0x00000037/0x00000036)
[ 116.027136] PVR_K: Read ops (0xef001804): P/C = 0/0 (0x00000000/0x00000000)
[ 116.034936] PVR_K: Read ops 2 (0xef00180c): P/C = 0/0 (0x00000000/0x00000000)
[ 116.042824] PVR_K: SyncInfo 270:
[ 116.046894] PVR_K: Write ops (0xef0014b4): P/C = 39/38 (0x00000027/0x00000026)
[ 116.055208] PVR_K: Read ops (0xef0014bc): P/C = 0/0 (0x00000000/0x00000000)
[ 116.062892] PVR_K: Read ops 2 (0xef0014c4): P/C = 0/0 (0x00000000/0x00000000)
[ 116.070944] PVR_K: SyncInfo 3:
[ 116.074607] PVR_K: Write ops (0xef00107c): P/C = 119/118 (0x00000077/0x00000076)
[ 116.082842] PVR_K: Read ops (0xef001084): P/C = 0/0 (0x00000000/0x00000000)
[ 116.090545] PVR_K: Read ops 2 (0xef00108c): P/C = 0/0 (0x00000000/0x00000000)
[ 116.098482] PVR_K: SyncInfo 2:
[ 116.102150] PVR_K: Write ops (0xef001054): P/C = 1670/1669 (0x00000686/0x00000685)
[ 116.110582] PVR_K: Read ops (0xef00105c): P/C = 636/633 (0x0000027c/0x00000279)
[ 116.118599] PVR_K: Read ops 2 (0xef001064): P/C = 0/0 (0x00000000/0x00000000)
[ 116.126580] PVR_K: SyncInfo 1:
[ 116.130224] PVR_K: Write ops (0xef00102c): P/C = 1670/1669 (0x00000686/0x00000685)
[ 116.138649] PVR_K: Read ops (0xef001034): P/C = 0/0 (0x00000000/0x00000000)
[ 116.146403] PVR_K: Read ops 2 (0xef00103c): P/C = 0/0 (0x00000000/0x00000000)
[ 116.154262] PVR_K: SyncInfo 0:
[ 116.158114] PVR_K: Write ops (0xef001004): P/C = 636/633 (0x0000027c/0x00000279)
[ 116.166309] PVR_K: Read ops (0xef00100c): P/C = 0/0 (0x00000000/0x00000000)
[ 116.173981] PVR_K: Read ops 2 (0xef001014): P/C = 0/0 (0x00000000/0x00000000)