Hi,
I'm working on a touch screen based on dm3730 with ti-dvsdk_dm3730-evm_04_03_00_06.
I'm having SGX errors and consequent reboots on starting/killing the GUI based on qt 5.1.0.
The problem happens randomly but it's easy to recreate it just by starting and killing the process for a sufficient number of loops.
Does someone know how to fix this issue? Thanks in advance.
Here is the error log from dmesg command (at the end there's also the info printed by the gfx_check script):
[ 279.062713] PVR_K: HWRecoveryResetSGX: SGX Hardware Recovery triggered
[ 279.062713] PVR_K: SGX debug (1.6.16.3977)
[ 279.062744] PVR_K: (P0) EUR_CR_EVENT_STATUS: 20000000
[ 279.062744] PVR_K: (P0) EUR_CR_EVENT_STATUS2: 00000000
[ 279.062774] PVR_K: (P0) EUR_CR_BIF_CTRL: 00000000
[ 279.062774] PVR_K: (P0) EUR_CR_BIF_INT_STAT: 00004004
[ 279.062774] PVR_K: (P0) EUR_CR_BIF_FAULT: 0E40A000
[ 279.062805] PVR_K: (P0) EUR_CR_BIF_MEM_REQ_STAT: 00000000
[ 279.062805] PVR_K: (P0) EUR_CR_CLKGATECTL: 00222220
[ 279.062835] PVR_K: (P0) EUR_CR_PDS_PC_BASE: 00203360
[ 279.062835] PVR_K: Flip Command Complete Data 0 for display device 1:
[ 279.062835] PVR_K: SRC 0: (Not in use)
[ 279.062866] PVR_K: SRC 1: (Not in use)
[ 279.062866] PVR_K: SGX Host control:
[ 279.062866] PVR_K: (HC-0) 0x00000001 0x00000000 0x00000000 0x00000001
[ 279.062896] PVR_K: (HC-10) 0x00000000 0x00000001 0x0000000A 0x00030D40
[ 279.062896] PVR_K: (HC-20) 0x00000002 0x00000000 0x00000001 0x00000000
[ 279.062927] PVR_K: (HC-30) 0x0000000C 0x000001D2 0xFEC253DC 0x00000000
[ 279.062927] PVR_K: SGX TA/3D control:
[ 279.062957] PVR_K: (T3C-0) 0x0F003000 0x0F003120 0x0F002000 0x00000000
[ 279.062957] PVR_K: (T3C-10) 0x00000000 0x00000001 0x00000002 0x00000001
[ 279.062988] PVR_K: (T3C-20) 0x0F007F40 0x00000000 0x00000000 0x00000000
[ 279.062988] PVR_K: (T3C-30) 0x00000000 0x00000000 0x00000000 0x00000000
[ 279.062988] PVR_K: (T3C-40) 0x00000000 0x00000000 0x00000000 0x00000000
[ 279.063018] PVR_K: (T3C-50) 0x00000000 0x00000000 0x00000000 0x00000000
[ 279.063018] PVR_K: (T3C-60) 0x00000000 0x00000000 0x00000000 0x00000000
[ 279.063049] PVR_K: (T3C-70) 0x00000000 0x00000000 0x00000000 0x00000000
[ 279.063049] PVR_K: (T3C-80) 0x00000000 0x00000000 0x00000000 0x0F000000
[ 279.063079] PVR_K: (T3C-90) 0x9B968000 0x0F089000 0x00000000 0x0F0883A0
[ 279.063079] PVR_K: (T3C-A0) 0x0F007F40 0x00000000 0x0F088200 0x00000000
[ 279.063110] PVR_K: (T3C-B0) 0x00000000 0x00000003 0x00000001 0x00000000
[ 279.063110] PVR_K: (T3C-C0) 0x00000004 0x00000000 0x00000000 0x00000000
[ 279.063140] PVR_K: (T3C-D0) 0x00000000 0x00000000 0x00000000 0x00000000
[ 279.063140] PVR_K: (T3C-E0) 0x00000001 0x00000001 0x0F000000 0x80008000
[ 279.063140] PVR_K: (T3C-F0) 0x80048000 0x0F004000 0x0F007C20 0x0F002020
[ 279.063171] PVR_K: (T3C-100) 0x00000000 0x00000000 0x00000000 0x00000000
[ 279.063171] PVR_K: SGX Kernel CCB WO:0x43 RO:0x40
[ 279.250213] PVR_K: HWRecoveryResetSGX: SGX Hardware Recovery triggered
[ 279.250244] PVR_K: SGX debug (1.6.16.3977)
[ 279.250244] PVR_K: (P0) EUR_CR_EVENT_STATUS: 20000000
[ 279.250274] PVR_K: (P0) EUR_CR_EVENT_STATUS2: 00000000
[ 279.250274] PVR_K: (P0) EUR_CR_BIF_CTRL: 00000000
[ 279.250274] PVR_K: (P0) EUR_CR_BIF_INT_STAT: 00004004
[ 279.250305] PVR_K: (P0) EUR_CR_BIF_FAULT: 0E40A000
[ 279.250305] PVR_K: (P0) EUR_CR_BIF_MEM_REQ_STAT: 00000000
[ 279.250335] PVR_K: (P0) EUR_CR_CLKGATECTL: 00222220
[ 279.250335] PVR_K: (P0) EUR_CR_PDS_PC_BASE: 00203360
[ 279.250335] PVR_K: Flip Command Complete Data 0 for display device 1:
[ 279.250366] PVR_K: SRC 0: (Not in use)
[ 279.250366] PVR_K: SRC 1: (Not in use)
root@baia:~# ./gfx_check.sh
WSEGL settings
[default]
WindowSystem=libpvrPVR2D_FLIPWSEGL.so
------
ARM CPU information
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 179.59
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 BAIA
Revision : 0220
Serial : 0000000000000000
------
SGX driver information
Version 1.6.16.3977 (release) /home/sources/TS10_PREMIUM/TS10_PACKAGES/ti-dvsdk_dm3730-evm_04_03_00_06/graphics-sdk_4.03.00.02/GFX_Linux_KM
System Version String: SGX revision = 1.2.5
------
Framebuffer settings
mode "1280x800"
geometry 1280 800 1280 2400 32
timings 0 0 0 0 0 0 0
rgba 8/16,8/8,8/0,8/24
endmode
Frame buffer device information:
Name : omapfb
Address : 0x9f000000
Size : 16777216
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 0
LineLength : 5120
Accelerator : No
------
Rotation settings
0
------
Kernel Module information
Module Size Used by
g_ether 37490 0
sdmak 4118 0
lpm_omap3530 7235 0
dsplinkk 135721 1 lpm_omap3530
cmemk 24171 0
bufferclass_ti 5204 0
omaplfb 8648 0
pvrsrvkm 155887 6 bufferclass_ti,omaplfb
uinput 6958 2
wl12xx_sdio 3491 0
wl12xx 122438 1 wl12xx_sdio
mac80211 215835 1 wl12xx
cfg80211 157725 2 wl12xx,mac80211
compat 5976 2 wl12xx,mac80211
atmel_mxt_ts 9826 0
------
Boot settings
console=ttyO2,115200n8 ro mem=55M@0x80000000 mpurate=1000 mem=384M@0x88000000 omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:16M root=/dev/mmcblk1p6 omapdss.def_disp=lcd ip=off snd-soc-core.pmdown_time=50 quiet rootwait lpj=2334720 board_omap3baia.connector_board_type=2 board_omap3baia.connector_board_rev=2 7
------
Linux Kernel version
Linux baia 2.6.37-g1efd8ad #1 Tue Mar 11 09:45:06 CET 2014 armv7l GNU/Linux