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.

TDA4VE-Q1: TDA4 ECO PVR issue

Part Number: TDA4VE-Q1
Other Parts Discussed in Thread: TDA4VM

Hello  

HW:TDA4ECO

SDK: ti-processor-sdk-linux-j721s2-evm-08_06_00_10/

log:

[18:40:42][   17.001957] PVR_K:  785: RGX Firmware image 'rgx.fw.36.53.104.796' loaded
[18:40:42][   17.034263] PVR_K:  785: Shader binary image 'rgx.sh.36.53.104.796' loaded
[18:40:43][   17.541634] PVR_K:(Error):   785: PollForValueKM: Timeout. Expected 0x1 but found 0x0 (mask 0xffffffff). [2927]
[18:40:43][   17.557831] PVR_K:(Error):   785: PVRSRVPollForValueKM: Failed! Error(PVRSRV_ERROR_TIMEOUT) CPU linear address(00000000832e7ba2) Expected value(1) [2954]
[18:40:43][   17.581828] PVR_K:  785: ------------[ PVR DBG: START (High) ]------------
[18:40:43][   17.588739] PVR_K:  785: OS kernel info: Linux 5.10.162 #16 SMP PREEMPT Thu Apr 27 15:18:27 CST 2023 aarch64
[18:40:43][   17.605826] PVR_K:  785: DDK info: Rogue_DDK_Linux_WS rogueddk 1.15@6133109 (release) j721s2_linux
[18:40:43][   17.621834] PVR_K:  785: Time now: 17621825us
[18:40:43][   17.626256] PVR_K:  785: Services State: OK
[18:40:43][   17.630509] PVR_K:  785: Server Errors: 2
[18:40:43][   17.641828] PVR_K:  785: Connections: No Devices: No active connections
[18:40:43][   17.648491] PVR_K:  785: ------[ Driver Info ]------
[18:40:43][   17.657826] PVR_K:  785: Comparison of UM/KM components: MATCHING
[18:40:43][   17.663945] PVR_K:  785: KM Arch: 32 Bit
[18:40:43][   17.673827] PVR_K:  785: UM info: 0.0 @        0 (debug) build options: 0x00000000
[18:40:43][   17.681404] PVR_K:  785: KM info: 0.0 @        0 (debug) build options: 0x00000000
[18:40:43][   17.688970] PVR_K:  785: Window system: wayland
[18:40:43][   17.697829] PVR_K:  785: ------[ RGX Device ID:0 Start ]------
[18:40:43][   17.703655] PVR_K:  785: ------[ RGX Info ]------
[18:40:43][   17.713994] PVR_K:  785: Device Node (Info): 000000006e8f67ee (0000000003401196)
[18:40:43][   17.721421] PVR_K:  785: RGX BVNC: 36.53.104.796 (rogue)
[18:40:43][   17.733905] PVR_K:  785: RGX Device State: Initialising
[18:40:43][   17.739197] PVR_K:  785: RGX Power State: OFF
[18:40:43][   17.749874] PVR_K:  785: FW info: UNINITIALIZED
[18:40:43][   17.754477] PVR_K:  785: RGX FW State: OK (HWRState 0x00000000:)
[18:40:43][   17.760559] PVR_K:  785: RGX FW Power State: RGXFWIF_POW_OFF (APM disabled: 0 ok, 0 denied, 0 non-idle, 0 retry, 0 other, 0 total. Latency: 100 ms)
[18:40:43][   17.785859] PVR_K:  785: RGX DVFS: 0 frequency changes. Current frequency: 800.000 MHz (sampled at 16935709135 ns). FW frequency: 800.000 MHz.
[18:40:43][   17.805831] PVR_K:  785: RGX FW OS 0 - State: offline; Freelists: Not Ok; Priority: 0; MTS on;
[18:40:43][   17.817847] PVR_K:  785: Number of HWR: GP(0/0+0), 2D(0/0+0), TA(0/0+0), 3D(0/0+0), CDM(0/0+0), RAY(0/0+0), FALSE(0,0,0,0,0,0)
[18:40:43][   17.833844] PVR_K:  785: DM 0 (GP)
[18:40:43][   17.837241] PVR_K:  785: DM 1 (HWRflags 0x00000000: working;)
[18:40:43][   17.849830] PVR_K:  785: DM 2 (HWRflags 0x00000000: working;)
[18:40:43][   17.855575] PVR_K:  785: DM 3 (HWRflags 0x00000000: working;)
[18:40:43][   17.865827] PVR_K:  785: DM 4 (HWRflags 0x00000000: working;)
[18:40:43][   17.871568] PVR_K:  785: DM 5 (HWRflags 0x00000000: working;)
[18:40:43][   17.881827] PVR_K:  785: RGX Kernel CCB WO:0x0 RO:0x0
[18:40:43][   17.886873] PVR_K:  785: RGX Firmware CCB WO:0x0 RO:0x0
[18:40:43][   17.897823] PVR_K:  785: RGX Kernel CCB commands executed = 0
[18:40:43][   17.903560] PVR_K:  785: RGX SLR: Forced UFO updates requested = 0
[18:40:43][   17.909842] PVR_K:  785: RGX Errors: WGP:0, TRP:0
[18:40:43][   17.914592] PVR_K:  785: FW System config flags = 0x00020000 (Ctx switch options: Medium CSW profile; VDM CS INDEX mode;)
[18:40:43][   17.933852] PVR_K:  785: FW OS config flags = 0x0000000F (Ctx switch: TDM; TA; 3D; CDM;)
[18:40:43][   17.945835] PVR_K:  785:  (!) RGX power is down. No registers dumped
[18:40:43][   17.952180] PVR_K:  785: ------[ RGX FW Trace Info ]------
[18:40:43][   17.961828] PVR_K:  785: Debug log type: none
[18:40:43][   17.966182] PVR_K:  785: RGX FW thread 0: Trace buffer not yet allocated
[18:40:43][   17.977822] PVR_K:  785: ------[ Full CCB Status ]------
[18:40:43][   17.983127] PVR_K:  785: ------[ RGX Device ID:0 End ]------
[18:40:43][   17.997823] PVR_K:  785: ------[ System Summary Device ID:0 ]------
[18:40:43][   18.004083] PVR_K:  785: Device System Power State: ON
[18:40:43][   18.013824] PVR_K:  785: MaxHWTOut: 500000us, WtTryCt: 10000, WDGTOut(on,off): (10000ms,3600000ms)
[18:40:43][   18.029824] PVR_K:  785: ------[ Server Thread Summary ]------
[18:40:43][   18.035701] PVR_K:  785:   pvr_defer_free : Running
[18:40:43][   18.040578] PVR_K:  785:     Number of deferred cleanup items : 0
[18:40:43][   18.053824] PVR_K:  785:   pvr_device_wdg : Running
[18:40:43][   18.058702] PVR_K:  785:   pvr_cacheop : Running
[18:40:43][   18.063325] PVR_K:  785:     Configuration: QSZ: 16, UKT: -1, KDFT: 131072, LINESIZE: 64, PGSIZE: 4096, KDF: Yes, URBF: Yes
[18:40:43][   18.081824] PVR_K:  785:     Pending deferred CacheOp entries : 0
[18:40:43][   18.087910] PVR_K:  785: ------[ AppHint Settings ]------
[18:40:43][   18.101823] PVR_K:  785:   Build Vars
[18:40:43][   18.105474] PVR_K:  785:     EnableTrustedDeviceAceConfig: N
[18:40:43][   18.117824] PVR_K:  785:     CleanupThreadPriority: 0x00000005
[18:40:43][   18.123652] PVR_K:  785:     CacheOpThreadPriority: 0x00000001
[18:40:43][   18.133822] PVR_K:  785:     WatchdogThreadPriority: 0x00000000
[18:40:43][   18.139773] PVR_K:  785:     HWPerfClientBufferSize: 0x000c0000
[18:40:43][   18.149828] PVR_K:  785:   Module Params
[18:40:43][   18.153745] PVR_K:  785:     none
[18:40:43][   18.157056] PVR_K:  785:   Debug Info Params
[18:40:43][   18.165829] PVR_K:  785:     CacheOpConfig: 0x0000000c
[18:40:43][   18.177823] PVR_K:  785:     CacheOpUMKMThresholdSize: 0xffffffff
[18:40:43][   18.183916] PVR_K:  785:   Debug Info Params Device ID: 0
[18:40:43][   18.193825] PVR_K:  785:     none
[18:40:43][   18.197128] PVR_K:  785: ------[ HTB Log state: Off ]------
[18:40:43][   18.205822] PVR_K:  785: ------[ Active Sync Checkpoints ]------
[18:40:43][   18.211819] ------[ Native Fence Sync: timelines ]------
[18:40:43][   18.221824] foreign_sync: @0 ctx=1 refs=1
[18:40:43][   18.225827] PVR_K:  785: ------------[ PVR DBG: END ]------------
[18:40:43][   18.237864] ------------[ cut here ]------------
[18:40:43][   18.242532] WARNING: CPU: 0 PID: 785 at /jenkins/psdkla-dunfell/release/j721s2-evm/yocto/tisdk/build/arago-tmp-external-arm-glibc/work/j721s2_evm-linux/ti-img-rogue-driver/1.15.6133109-r0b/git/binary_j721s2_linux_wayland_release/target_aarch64/kbuild/services/server/common/pvr_notifier.c:529 PVRSRVDebugRequest+0x4a8/0x618 [pvrsrvkm]
[18:40:44][   18.271925] Modules linked in: bluetooth ecdh_generic ecc rfkill cdns3 udc_core roles ti_am335x_adc rpmsg_char usbcore usb_common kfifo_buf crct10dif_ce wave5 v4l2_mem2mem videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common sa2ul ti_k3_dsp_remoteproc ti_k3_r5_remoteproc ti_am335x_tscadc cdns_mhdp8546 cdns_dsi cdns3_ti m_can_platform pvrsrvkm(O) phy_can_transceiver virtio_rpmsg_bus sha512_generic cdns_dphy authenc m_can optee_rng can_dev rng_core sch_fq_codel rpmsg_kdrv_switch cryptodev(O) ipv6
[18:40:44][   18.317159] CPU: 0 PID: 785 Comm: weston Tainted: G           O      5.10.162 #16
[18:40:44][   18.324620] Hardware name: Texas Instruments J721S2 EVM (DT)
[18:40:44][   18.330263] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)
[18:40:44][   18.336295] pc : PVRSRVDebugRequest+0x4a8/0x618 [pvrsrvkm]
[18:40:44][   18.341794] lr : PVRSRVDebugRequest+0x4a8/0x618 [pvrsrvkm]
[18:40:44][   18.347262] sp : ffff8000132537e0
[18:40:44][   18.350566] x29: ffff8000132537e0 x28: ffff800008cff000 
[18:40:44][   18.355864] x27: 0000000000000000 x26: ffff800008cbf898 
[18:40:44][   18.361160] x25: ffff00086968a200 x24: 0000000000000009 
[18:40:44][   18.366456] x23: 0000000000000002 x22: 0000000000000000 
[18:40:44][   18.371753] x21: 0000000000000000 x20: ffff00086968a2d8 
[18:40:44][   18.377049] x19: ffff0008697d8d20 x18: 0000000000000000 
[18:40:44][   18.382345] x17: 0000000000000000 x16: 0000000000000000 
[18:40:44][   18.387641] x15: 0000a254704879f4 x14: 00000000000000e9 
[18:40:44][   18.392938] x13: 00000000000000e9 x12: 0000000000000000 
[18:40:44][   18.398234] x11: 000000000000150d x10: 00000000000009f0 
[18:40:44][   18.403530] x9 : ffff800013253640 x8 : ffff00086a365190 
[18:40:44][   18.408826] x7 : ffff0008671d8280 x6 : ffff0008671d8200 
[18:40:44][   18.414122] x5 : 00000000410fd080 x4 : 0000000000f0000f 
[18:40:44][   18.419418] x3 : 0000000000000000 x2 : ffffffffffffff00 
[18:40:44][   18.424714] x1 : 0000000000000000 x0 : ffff000869685500 
[18:40:44][   18.430011] Call trace:
[18:40:44][   18.432489]  PVRSRVDebugRequest+0x4a8/0x618 [pvrsrvkm]
[18:40:44][   18.437640]  PVRSRVPollForValueKM+0x17c/0x180 [pvrsrvkm]
[18:40:44][   18.442965]  RGXPostPowerState.part.0+0x78/0x138 [pvrsrvkm]
[18:40:44][   18.448547]  RGXPostPowerState+0x20/0x38 [pvrsrvkm]
[18:40:44][   18.453458]  PVRSRVSetDevicePowerStateKM+0x178/0x280 [pvrsrvkm]
[18:40:44][   18.459398]  PVRSRVDeviceFinalise.part.0+0x94/0x340 [pvrsrvkm]
[18:40:44][   18.465242]  PVRSRVCommonDeviceInitialise+0x94/0x330 [pvrsrvkm]
[18:40:44][   18.471174]  PVRSRVDeviceOpen+0xac/0x170 [pvrsrvkm]
[18:40:44][   18.476064]  pvr_drm_open+0x44/0x98 [pvrsrvkm]
[18:40:44][   18.480502]  drm_file_alloc+0x148/0x230
[18:40:44][   18.484324]  drm_open+0x14c/0x290
[18:40:44][   18.487625]  drm_stub_open+0xa8/0x160
[18:40:44][   18.491273]  chrdev_open+0xa4/0x1a0
[18:40:44][   18.494749]  do_dentry_open+0x12c/0x398
[18:40:44][   18.498571]  vfs_open+0x2c/0x38
[18:40:44][   18.501700]  path_openat+0x818/0xca8
[18:40:44][   18.505260]  do_filp_open+0x7c/0x100
[18:40:44][   18.508821]  do_sys_openat2+0x210/0x2c8
[18:40:44][   18.512642]  do_sys_open+0x58/0xa0
[18:40:44][   18.516030]  __arm64_sys_openat+0x24/0x30
[18:40:44][   18.520028]  el0_svc_common.constprop.0+0x78/0x1c8
[18:40:44][   18.524802]  do_el0_svc+0x24/0x90
[18:40:44][   18.528104]  el0_svc+0x14/0x20
[18:40:44][   18.531146]  el0_sync_handler+0xb0/0xb8
[18:40:44][   18.534968]  el0_sync+0x180/0x1c0
[18:40:44][   18.538269] ---[ end trace 3154ce02ac38a85b ]---
[18:40:44][   18.545813] PVR_K:(Error):   785: RGXPostPowerState: Polling for 'FW started' flag failed. [1003]
[18:40:44][   18.561872] PVR_K:  785: BIF0 - OK
[18:40:44][   18.565270] PVR_K:  785: BIF1 - OK
[18:40:44][   18.568981] PVR_K:  785: FWCORE - OK
[18:40:44][   18.572569] PVR_K:  785: RGX FW State: OK (HWRState 0x00000000:)
[18:40:44][   18.585828] PVR_K:  785: RGX FW Power State: RGXFWIF_POW_OFF (APM disabled: 0 ok, 0 denied, 0 non-idle, 0 retry, 0 other, 0 total. Latency: 100 ms)
[18:40:44][   18.605833] PVR_K:  785: RGX DVFS: 0 frequency changes. Current frequency: 800.000 MHz (sampled at 16935709135 ns). FW frequency: 800.000 MHz.
[18:40:44][   18.625826] PVR_K:  785: RGX FW OS 0 - State: offline; Freelists: Not Ok; Priority: 0; MTS on;
[18:40:44][   18.634444] PVR_K:  785: Number of HWR: GP(0/0+0), 2D(0/0+0), TA(0/0+0), 3D(0/0+0), CDM(0/0+0), RAY(0/0+0), FALSE(0,0,0,0,0,0)
[18:40:44][   18.653824] PVR_K:  785: DM 0 (GP)
[18:40:44][   18.657219] PVR_K:  785: DM 1 (HWRflags 0x00000000: working;)
[18:40:44][   18.669841] PVR_K:  785: DM 2 (HWRflags 0x00000000: working;)
[18:40:44][   18.675605] PVR_K:  785: DM 3 (HWRflags 0x00000000: working;)
[18:40:44][   18.685829] PVR_K:  785: DM 4 (HWRflags 0x00000000: working;)
[18:40:44][   18.691573] PVR_K:  785: DM 5 (HWRflags 0x00000000: working;)
[18:40:44][   18.705829] PVR_K:  785: ------[ RGX registers ]------
[18:40:44][   18.711037] PVR_K:  785: RGX Register Base Address (Linear):   0x00000000ef2f4507
[18:40:44][   18.725835] PVR_K:  785: RGX Register Base Address (Physical): 0x4E20000000
[18:40:44][   18.732829] PVR_K:  785: CORE_ID                       : 0x0000000008470000
[18:40:44][   18.745827] PVR_K:  785: CORE_REVISION                 : 0x0068031C
[18:40:44][   18.752122] PVR_K:  785: DESIGNER_REV_FIELD1           : 0x00000000
[18:40:44][   18.765867] PVR_K:  785: DESIGNER_REV_FIELD2           : 0x00000000
[18:40:44][   18.772641] PVR_K:  785: CHANGESET_NUMBER              : 0x0000000000000000
[18:40:44][   18.785838] PVR_K:  785: MULTICORE_SYSTEM              : 0x00000001
[18:40:44][   18.792148] PVR_K:  785: MULTICORE_GPU                 : 0x00000078
[18:40:44][   18.805826] PVR_K:  785: CLK_CTRL                      : 0x002aaa002a22aaaa
[18:40:44][   18.812819] PVR_K:  785: CLK_STATUS                    : 0x0000000000600000
[18:40:44][   18.825826] PVR_K:  785: CLK_CTRL2                     : 0x0000000000000000
[18:40:44][   18.832834] PVR_K:  785: CLK_STATUS2                   : 0x0000000000000000
[18:40:44][   18.845830] PVR_K:  785: EVENT_STATUS                  : 0x00000000
[18:40:44][   18.852126] PVR_K:  785: TIMER                         : 0x000000000180a44d
[18:40:44][   18.865827] PVR_K:  785: BIF_FAULT_BANK0_MMU_STATUS    : 0x00000000
[18:40:44][   18.872120] PVR_K:  785: BIF_FAULT_BANK0_REQ_STATUS    : 0x0000000000000000
[18:40:44][   18.881863] PVR_K:  785: BIF_FAULT_BANK1_MMU_STATUS    : 0x00000000
[18:40:44][   18.893933] PVR_K:  785: BIF_FAULT_BANK1_REQ_STATUS    : 0x0000000000000000
[18:40:44][   18.900949] PVR_K:  785: BIF_MMU_STATUS                : 0x00000000
[18:40:44][   18.913828] PVR_K:  785: BIF_MMU_ENTRY                 : 0x00000000
[18:40:44][   18.920131] PVR_K:  785: BIF_MMU_ENTRY_STATUS          : 0x0000000000000000
[18:40:44][   18.933830] PVR_K:  785: BIF_STATUS_MMU                : 0x00000000
[18:40:44][   18.940150] PVR_K:  785: BIF_READS_EXT_STATUS          : 0x00000000
[18:40:44][   18.949827] PVR_K:  785: BIF_READS_INT_STATUS          : 0x00000000
[18:40:44][   18.957969] PVR_K:  785: BIFPM_STATUS_MMU              : 0x00000000
[18:40:45][   18.978106] PVR_K:  785: BIFPM_READS_EXT_STATUS        : 0x00000000
[18:40:45][   18.984763] PVR_K:  785: BIFPM_READS_INT_STATUS        : 0x00000000
[18:40:45][   18.997830] PVR_K:  785: BIF_CAT_BASE_INDEX            : 0x0000000000000000
[18:40:45][   19.004837] PVR_K:  785: BIF_CAT_BASE0                 : 0x00000008eaf8c000
[18:40:45][   19.017826] PVR_K:  785: BIF_CAT_BASE1                 : 0x0000000000000000
[18:40:45][   19.024828] PVR_K:  785: BIF_CAT_BASE2                 : 0x0000000000000000
[18:40:45][   19.037826] PVR_K:  785: BIF_CAT_BASE3                 : 0x0000000000000000
[18:40:45][   19.049876] PVR_K:  785: BIF_CAT_BASE4                 : 0x0000000000000000
[18:40:45][   19.056880] PVR_K:  785: BIF_CAT_BASE5                 : 0x0000000000000000
[18:40:45][   19.069827] PVR_K:  785: BIF_CAT_BASE6                 : 0x0000000000000000
[18:40:45][   19.082162] PVR_K:  785: BIF_CAT_BASE7                 : 0x0000000000000000
[18:40:45][   19.089598] PVR_K:  785: BIF_CTRL_INVAL                : 0x00000000
[18:40:45][   19.101829] PVR_K:  785: BIF_CTRL                      : 0x00000000
[18:40:45][   19.108180] PVR_K:  785: BIF_PM_CAT_BASE_VCE0          : 0x0000000000000000
[18:40:45][   19.121825] PVR_K:  785: BIF_PM_CAT_BASE_TE0           : 0x0000000000000000
[18:40:45][   19.128820] PVR_K:  785: BIF_PM_CAT_BASE_ALIST0        : 0x0000000000000000
[18:40:45][   19.141825] PVR_K:  785: BIF_PM_CAT_BASE_VCE1          : 0x0000000000000000
[18:40:45][   19.153835] PVR_K:  785: BIF_PM_CAT_BASE_TE1           : 0x0000000000000000
[18:40:45][   19.160830] PVR_K:  785: BIF_PM_CAT_BASE_ALIST1        : 0x0000000000000000
[18:40:45][   19.173835] PVR_K:  785: MULTICORE_GEOMETRY_CTRL_COMMON: 0x00000000
[18:40:45][   19.185829] PVR_K:  785: MULTICORE_FRAGMENT_CTRL_COMMON: 0x00000101
[18:40:45][   19.192293] PVR_K:  785: MULTICORE_COMPUTE_CTRL_COMMON : 0x00000101
[18:40:45][   19.201847] PVR_K:  785: PERF_TA_PHASE                 : 0x00000000
[18:40:45][   19.213865] PVR_K:  785: PERF_TA_CYCLE                 : 0x00000000
[18:40:45][   19.220174] PVR_K:  785: PERF_3D_PHASE                 : 0x00000000
[18:40:45][   19.233827] PVR_K:  785: PERF_3D_CYCLE                 : 0x00000000
[18:40:45][   19.240135] PVR_K:  785: PERF_TA_OR_3D_CYCLE           : 0x00000000
[18:40:45][   19.249827] PVR_K:  785: PERF_TA_AND_3D_CYCLE          : 0x00000000
[18:40:45][   19.256105] PVR_K:  785: PERF_COMPUTE_PHASE            : 0x00000000
[18:40:45][   19.265825] PVR_K:  785: PERF_COMPUTE_CYCLE            : 0x00000000
[18:40:45][   19.272083] PVR_K:  785: PM_PARTIAL_RENDER_ENABLE      : 0x00000000
[18:40:45][   19.285823] PVR_K:  785: ISP_RENDER                    : 0x00000000
[18:40:45][   19.292080] PVR_K:  785: TLA_STATUS                    : 0x0000000000000000
[18:40:45][   19.305857] PVR_K:  785: MCU_FENCE                     : 0x0000000000000000
[18:40:45][   19.312848] PVR_K:  785: VDM_CONTEXT_STORE_STATUS      : 0x00000001
[18:40:45][   19.325826] PVR_K:  785: VDM_CONTEXT_STORE_TASK0       : 0x0000000000000000
[18:40:45][   19.332779] PVR_K:  785: VDM_CONTEXT_STORE_TASK1       : 0x0000000000000000
[18:40:45][   19.345824] PVR_K:  785: VDM_CONTEXT_STORE_TASK2       : 0x0000000000000000
[18:40:45][   19.352776] PVR_K:  785: VDM_CONTEXT_RESUME_TASK0      : 0x0000000000000000
[18:40:45][   19.365823] PVR_K:  785: VDM_CONTEXT_RESUME_TASK1      : 0x0000000000000000
[18:40:45][   19.372777] PVR_K:  785: VDM_CONTEXT_RESUME_TASK2      : 0x0000000000000000
[18:40:45][   19.385823] PVR_K:  785: ISP_CTL                       : 0x00000000
[18:40:45][   19.392079] PVR_K:  785: ISP_STATUS                    : 0x00000000
[18:40:45][   19.405846] PVR_K:  785: MTS_INTCTX                    : 0x00000000
[18:40:45][   19.417838] PVR_K:  785: MTS_BGCTX                     : 0x00000000
[18:40:45][   19.424118] PVR_K:  785: MTS_BGCTX_COUNTED_SCHEDULE    : 0x00000000
[18:40:45][   19.433825] PVR_K:  785: MTS_SCHEDULE                  : 0x00000000
[18:40:45][   19.445824] PVR_K:  785: MTS_GPU_INT_STATUS            : 0x00000000
[18:40:45][   19.452082] PVR_K:  785: CDM_CONTEXT_STORE_STATUS      : 0x00000000
[18:40:45][   19.465824] PVR_K:  785: CDM_CONTEXT_PDS0              : 0x0000000000000000
[18:40:45][   19.472774] PVR_K:  785: CDM_CONTEXT_PDS1              : 0x0000000000000000
[18:40:45][   19.485823] PVR_K:  785: CDM_TERMINATE_PDS             : 0x0000000000000000
[18:40:45][   19.492776] PVR_K:  785: CDM_TERMINATE_PDS1            : 0x0000000000000000
[18:40:45][   19.505823] PVR_K:  785: CDM_CONTEXT_LOAD_PDS0         : 0x0000000000000000
[18:40:45][   19.512771] PVR_K:  785: CDM_CONTEXT_LOAD_PDS1         : 0x0000000000000000
[18:40:45][   19.525843] PVR_K:  785: SIDEKICK_IDLE                 : 0x0000007F
[18:40:45][   19.532127] PVR_K:  785: SLC_IDLE                      : 0x000000FF
[18:40:45][   19.545860] PVR_K:  785: SLC_STATUS0                   : 0x00000000
[18:40:45][   19.552158] PVR_K:  785: SLC_STATUS1                   : 0x0000000000000000
[18:40:45][   19.565828] PVR_K:  785: SLC_STATUS2                   : 0x0000000000000000
[18:40:45][   19.572780] PVR_K:  785: SLC_CTRL_BYPASS               : 0x00000000
[18:40:45][   19.585826] PVR_K:  785: SLC_CTRL_MISC                 : 0x0000000000200003
[18:40:45][   19.592781] PVR_K:  785: SAFETY_EVENT_STATUS__ROGUEXE  : 0x00000000
[18:40:45][   19.604894] PVR_K:  785: MTS_SAFETY_EVENT_ENABLE__ROGUEXE: 0x00000000
[18:40:45][   19.611336] PVR_K:  785: FWCORE_WDT_CTRL               : 0x00000000
[18:40:45][   19.617845] PVR_K:  785: SCRATCH0                      : 0x00000000
[18:40:45][   19.625863] PVR_K:  785: SCRATCH1                      : 0x00000000
[18:40:45][   19.637903] PVR_K:  785: SCRATCH2                      : 0x00000000
[18:40:45][   19.644200] PVR_K:  785: SCRATCH3                      : 0x00000000
[18:40:45][   19.657830] PVR_K:  785: SCRATCH4                      : 0x00000000
[18:40:45][   19.664093] PVR_K:  785: SCRATCH5                      : 0x00000000
[18:40:45][   19.677824] PVR_K:  785: SCRATCH6                      : 0x00000000
[18:40:45][   19.684082] PVR_K:  785: SCRATCH7                      : 0x00000000
[18:40:45][   19.693825] PVR_K:  785: SCRATCH8                      : 0x00000000
[18:40:45][   19.700081] PVR_K:  785: SCRATCH9                      : 0x00000000
[18:40:45][   19.713824] PVR_K:  785: SCRATCH10                     : 0x00000000
[18:40:45][   19.720083] PVR_K:  785: SCRATCH11                     : 0x00000000
[18:40:45][   19.733824] PVR_K:  785: SCRATCH12                     : 0x00000000
[18:40:45][   19.740103] PVR_K:  785: SCRATCH13                     : 0x00000000
[18:40:45][   19.753839] PVR_K:  785: SCRATCH14                     : 0x00000000
[18:40:45][   19.760119] PVR_K:  785: SCRATCH15                     : 0x00000000
[18:40:45][   19.769842] PVR_K:  785: FWCORE_MEM_CAT_BASE0          : 0x00000008eaf8c000
[18:40:45][   19.777834] PVR_K:  785: FWCORE_MEM_CAT_BASE1          : 0x0000000000000000
[18:40:45][   19.784787] PVR_K:  785: FWCORE_MEM_CAT_BASE2          : 0x0000000000000000
[18:40:45][   19.801824] PVR_K:  785: FWCORE_MEM_CAT_BASE3          : 0x0000000000000000
[18:40:45][   19.808774] PVR_K:  785: FWCORE_MEM_CAT_BASE4          : 0x0000000000000000
[18:40:45][   19.821824] PVR_K:  785: FWCORE_MEM_CAT_BASE5          : 0x0000000000000000
[18:40:45][   19.828773] PVR_K:  785: FWCORE_MEM_CAT_BASE6          : 0x0000000000000000
[18:40:45][   19.841825] PVR_K:  785: FWCORE_MEM_CAT_BASE7          : 0x0000000000000000
[18:40:45][   19.848803] PVR_K:  785: FWCORE_ADDR_REMAP_CONFIG4     : 0x120000e1c0002000
[18:40:45][   19.861838] PVR_K:  785: FWCORE_ADDR_REMAP_CONFIG5     : 0x220000e1c001d000
[18:40:45][   19.873826] PVR_K:  785: FWCORE_ADDR_REMAP_CONFIG6     : 0x220000e1c0000000
[18:40:45][   19.885831] PVR_K:  785: FWCORE_ADDR_REMAP_CONFIG12    : 0x120000e1c0000000
[18:40:45][   19.892781] PVR_K:  785: FWCORE_ADDR_REMAP_CONFIG13    : 0x220000e1c0000000
[18:40:45][   19.905824] PVR_K:  785: FWCORE_ADDR_REMAP_CONFIG14    : 0x000000e1c0000000
[18:40:45][   19.912773] PVR_K:  785: FWCORE_MEM_FAULT_MMU_STATUS   : 0x00000000
[18:40:45][   19.925824] PVR_K:  785: FWCORE_MEM_FAULT_REQ_STATUS   : 0x0000000000000000
[18:40:45][   19.932774] PVR_K:  785: FWCORE_MEM_MMU_STATUS         : 0x00000000
[18:40:45][   19.945824] PVR_K:  785: FWCORE_MEM_READS_EXT_STATUS   : 0x00000000
[18:40:45][   19.952080] PVR_K:  785: FWCORE_MEM_READS_INT_STATUS   : 0x00000000
[18:40:45][   19.965842] PVR_K:  785: ---- [ RISC-V internal state ] ----
[18:40:45][   19.971688] PVR_K:  785: pc                            : 0xC0001010
[18:40:45]
[18:40:45] _____                    _____           _         _   
[18:40:45]|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
[18:40:45]|     |  _[   19.985844] PVR_K:  785: ra                            : 0x40019ED8
[18:40:45]| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
[18:40:45]|__|__|_| |__,|_[   19.995496] PVR_K:  785: sp                            : 0x50001010
[18:40:45]  |___|  |__|  |_| |___|_| |___|___|_|  
[18:40:45]              |___|                    |___|            
[18:40:45]
[18:40:45]Arago Project j721s2-evm t[   20.017827] PVR_K:  785: mepc                          : 0x4001A034
[18:40:45]tyS2
[18:40:45]
[18:40:45]Arago 2021.09 j721s2-evm ttyS2
[18:40:45]
[18:40:45]j721s2-evm login: [   20.024613] PVR_K:  785: mcause                        : 0xF0000001
[18:40:45][   20.041858] PVR_K:  785: mdseac                        : 0x00000004
[18:40:45][   20.053827] PVR_K:  785: mstatus                       : 0x00001880
[18:40:45][   20.060131] PVR_K:  785: mie                           : 0x40000888
[18:40:45][   20.073888] PVR_K:  785: mip                           : 0x00000000
[18:40:45][   20.080234] PVR_K:  785: mscratch                      : 0x00000080
[18:40:45][   20.089835] PVR_K:  785: mbvnc0                        : 0x00010001
[18:40:45][   20.097846] PVR_K:  785: mbvnc1                        : 0x0032000B
[18:40:45][   20.104109] PVR_K:  785: micect                        : 0x10000000
[18:40:45][   20.117825] PVR_K:  785: mdcect                        : 0x10000000
[18:40:45][   20.124083] PVR_K:  785: mdcrfct                       : 0x10000000
[18:40:45][   20.137826] PVR_K:  785: RISC-V FW hit an exception: Machine D-bus non-blocking load error NMI
[18:40:45][   20.146683] PVR_K:  785: RGX Firmware image 'rgx.fw.36.53.104.796' loaded
[18:40:46][   20.361182] PVR_K:  785: Match between Host and RISC-V view of the FW code
[18:40:46][   20.377920] PVR_K:(Error):   785: PVRSRVDeviceFinalise: Failed to set device 000000006e8f67ee power state to 'on' (PVRSRV_ERROR_TIMEOUT) [2774]
[18:40:46][   20.397841] PVR_K:(Error):   785: PVRSRVDeviceFinalise() failed (PVRSRV_ERROR_TIMEOUT) in PVRSRVCommonDeviceInitialise() [2225]
[18:40:46][   20.413838] PVR_K:(Error):   785: PVRSRVDeviceOpen: Failed to initialise device (PVRSRV_ERROR_TIMEOUT) [476]

  • Hi,

    Please answer the below questions:

    • Is this seen on TI EVM or a custom board?
    • Please share the full logs.

    Best Regards,

    Keerthy 

  • Hi,

    custom board.

    pvr_issue.txt

  • Hello,

    We will need a bit more information, but firstly these logs look a bit different, it seems to indicate something about the GPU power:

    [18:40:46][   20.377920] PVR_K:(Error):   785: PVRSRVDeviceFinalise: Failed to set device 000000006e8f67ee power state to 'on' (PVRSRV_ERROR_TIMEOUT) [2774]
    [18:40:46][   20.397841] PVR_K:(Error):   785: PVRSRVDeviceFinalise() failed (PVRSRV_ERROR_TIMEOUT) in PVRSRVCommonDeviceInitialise() [2225]
    [18:40:46][   20.413838] PVR_K:(Error):   785: PVRSRVDeviceOpen: Failed to initialise device (PVRSRV_ERROR_TIMEOUT) [476]

    We will need to investigate this to understand if the GPU is able to power on in your design or what the issue could be here.

    Can you first disable the automatic loading of the GPU driver and manually load it after reaching the linux prompt. You can find instructions on manually loading the GPU driver in this FAQ on the section "Disabling auto-loading of the GPU driver":

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1218307/faq-how-can-i-analyze-a-gpu-graphics-process-unit-driver-or-hardware-issue

    Then, provide a clean set of logs from when you manually load the driver?

    Thanks,

    Erick

  • Hello,

    Please provide here the details.

    Regards,

    Erick

  • Hello gj,

    Thank you, we are analyzing these logs.

    Just to confirm, you are running using Vision Apps it seems from your logs. Can you run another example application to see if there are issues with the GPU driver?

    Are you able to run `rgx_compute_test` and see that there are no errors? Please also run `rgx_kicksync_test -ver -nc 16 -loop 100 -n 10000 -r -seed 81576`? And let me know the results.

    Thank you,

    Erick

  • Hello Erick

    Using other app  that use GPU can also result in such issues.

    pvr_log.txtpvrlogdump_2303011812.txt.gz

    Regards.

    gj

  • Hi gj,

    In your logs, it looks like you still run your application before running the test applications rgx_kicksync_test. Can you disable your app from loading so that we can see if the issue reproduces only with simpler applications like the ones I shared?

    Thanks,

    Erick

  • Hello gj,

    Are you still seeing this issue? I have another suggestion if you are.

    Regards,

    Erick

  •  still seeing this issue。

  • Hello,

    Can you please take both of these patches into your GPU kernel driver, re-build it and let me know if they fix the issue? Please try and if you still experience the hardware recovery, please gather the logs as before with pvrlogdump.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0574.CL6470972_5F00_Allocate_5F00_TQ_5F00_shaders_5F00_as_5F00_cached.patch

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/6560.CL6471292_5F00_cache_5F00_flush_5F00_on_5F00_cached_5F00_PMR_5F00_writes.patch

    Please let me know if you have issues with patching and installing the GPU kernel module, it can all be done through the Linux SDK.

    Regards,

    Erick

  • Hello GJ,

    Any more support required here?

    Regards,

    Erick

  • Hi Erick

    I am currently testing and the results will be provided to you after testing

    Regards,

    gj

  • Hi Erick

    There are still occasional anomalies.

    $ git log
    commit 1dd6291a5cad4f2b909fc2a14bd717a3bc5f0bb2 (HEAD -> linuxws/dunfell/k5.10/1.15.6133109_unified_fw_pagesize, origin/linuxws/dunfell/k5.10/1.15.6133109_unified_fw_pagesize)
    Author: Randolph Sapp <rs@ti.com>
    Date: Thu Dec 15 09:14:04 2022 -0600

    services: axe_am62: Active power management

    Enable active power management for am62xx devices. This just reworks the
    attach and detach routines and hooks into the kernel runtime power
    management tools. Jacinto will be roughly the same once the new device
    tree bindings are approved.

    Signed-off-by: Randolph Sapp <rs@ti.com>

    git diff
    diff --git a/build/linux/config/compiler.mk b/build/linux/config/compiler.mk
    index 4f13cf6..565b591 100644
    --- a/build/linux/config/compiler.mk
    +++ b/build/linux/config/compiler.mk
    @@ -65,7 +65,7 @@ define calculate-compiler-preferred-target
    ifneq ($$(filter i386-% i486-% i586-% i686-%,$$($(1)_compiler_preferred_target)),)
    $(1)_compiler_preferred_target := i386-linux-gnu
    endif
    - ifneq ($$(filter aarch64-poky-linux,$$($(1)_compiler_preferred_target)),)
    + ifneq ($$(filter aarch64-oe-linux aarch64-poky-linux,$$($(1)_compiler_preferred_target)),)
    $(1)_compiler_preferred_target := aarch64-linux-gnu
    endif
    ifneq ($$(filter armv7a-cros-linux-gnueabi armv7l-tizen-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
    diff --git a/services/server/common/pmr.c b/services/server/common/pmr.c
    index b436310..a3796d0 100644
    --- a/services/server/common/pmr.c
    +++ b/services/server/common/pmr.c
    @@ -67,6 +67,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    #include "pmr_impl.h"
    #include "pmr_os.h"
    #include "pvrsrv.h"
    +#include "cache_km.h"

    #include "allocmem.h"
    #include "lock.h"
    @@ -1569,6 +1570,20 @@ _PMR_WriteBytesPhysical(PMR *psPMR,
    OSDeviceMemCopy(pcKernelAddress, &pcBuffer[0], uiBufSz);
    *puiNumBytes = uiBufSz;

    + if (PVRSRV_CHECK_CPU_CACHE_INCOHERENT(psPMR->uiFlags) &&
    + PVRSRV_CHECK_CPU_CACHE_CLEAN(psPMR->uiFlags))
    + {
    + IMG_UINT64 uiEndAddr = (IMG_UINT64) pcKernelAddress + uiBufSz;
    + IMG_CPU_PHYADDR uiUnusedPhysAddr = {.uiAddr = 0};
    +
    + CacheOpExec(NULL,
    + (void*) pcKernelAddress,
    + (void*) uiEndAddr,
    + uiUnusedPhysAddr,
    + uiUnusedPhysAddr,
    + PVRSRV_CACHE_OP_FLUSH);
    + }
    +
    psPMR->psFuncTab->pfnReleaseKernelMappingData(psPMR->pvFlavourData,
    hKernelMappingHandle);
    }
    diff --git a/services/server/devices/rgxshader.c b/services/server/devices/rgxshader.c
    index 990d7e6..1161f3b 100644
    --- a/services/server/devices/rgxshader.c
    +++ b/services/server/devices/rgxshader.c
    @@ -177,6 +177,8 @@ PVRSRVTQLoadShaders(PVRSRV_DEVICE_NODE * psDeviceNode)
    PVRSRV_MEMALLOCFLAG_KERNEL_CPU_MAPPABLE
    | PVRSRV_MEMALLOCFLAG_GPU_READABLE
    | PVRSRV_MEMALLOCFLAG_GPU_CACHE_INCOHERENT
    + | PVRSRV_MEMALLOCFLAG_CPU_CACHE_INCOHERENT
    + | PVRSRV_MEMALLOCFLAG_CPU_CACHE_CLEAN
    | PVRSRV_MEMALLOCFLAG_VAL_SHARED_BUFFER,
    sizeof("tquscpmr"),
    "tquscpmr",
    (END)

    Compilation method:

    ti-processor-sdk-linux-j721s2-evm-08_06_00_10$ make ti-img-rogue-driver

    diff --git a/Makefile b/Makefile
    index 615e92a86..205f1d3ea 100755
    --- a/Makefile
    +++ b/Makefile
    @@ -100,7 +100,30 @@ cryptodev_install:
    @cd board-support/extra-drivers; \
    cd `find . -maxdepth 1 -type d -name "cryptodev*"`; \
    make ARCH=arm64 KERNEL_DIR=$(LINUXKERNEL_INSTALL_DIR) INSTALL_MOD_PATH=$(DESTDIR) PREFIX=$(SDK_PATH_TARGET) INSTALL_MOD_STRIP=$(INSTALL_MOD_STRIP) install
    +ti-img-rogue-driver: linux
    + @echo =====================================
    + @echo Building ti-img-rogue-driver
    + @echo =====================================
    + @cd board-support/extra-drivers; \
    + cd `find . -maxdepth 1 -type d -name "ti-img-rogue-driver*" -type d`; \
    + make ARCH=arm64 KERNELDIR=${LINUXKERNEL_INSTALL_DIR} RGX_BVNC="36.53.104.796" BUILD=release PVR_BUILD_DIR=j721s2_linux WINDOW_SYSTEM=wayland

    The compiled ko is obviously larger than the original one.

    -rw-rw-r-- 1 root root  28634816 10月 18 13:46 ./ti-img-rogue-driver-1.15.6133109/binary_j721s2_linux_wayland_release/target_aarch64/pvrsrvkm.ko

       

    [ 2146.190749] PVR_K:  327: ------------[ PVR DBG: START (High) ]------------
    [ 2146.198310] PVR_K:  327: OS kernel info: Linux 5.10.162-g76b3e88d56 #13 SMP PREEMPT Mon Aug 28 20:21:34 PDT 2023 aarch64
    [ 2146.209554] PVR_K:  327: DDK info: Rogue_DDK_Linux_WS rogueddk 1.15@6133109 (release) j721s2_linux
    [ 2146.218575] PVR_K:  327: Time now: 2146218562us
    [ 2146.223145] PVR_K:  327: Services State: OK
    [ 2146.227329] PVR_K:  327: Server Errors: 1
    [ 2146.231344] PVR_K:  327: Connections Device ID:0(128) P1759-V1759-T1822-vx_app_aitronx_
    [ 2146.239354] PVR_K:  327: ------[ Driver Info ]------
    [ 2146.244329] PVR_K:  327: Comparison of UM/KM components: MATCHING
    [ 2146.250416] PVR_K:  327: KM Arch: 64 Bit
    [ 2146.254357] PVR_K:  327: UM Connected Clients: 64 Bit
    [ 2146.259457] PVR_K:  327: UM info: 1.15 @  6133109 (release) build options: 0x80000810
    [ 2146.267350] PVR_K:  327: KM info: 1.15 @  6133109 (release) build options: 0x00000810
    [ 2146.275238] PVR_K:  327: Window system: wayland
    [ 2146.282043] PVR_K:  327: ------[ RGX Device ID:0 Start ]------
    [ 2146.288072] PVR_K:  327: ------[ RGX Info ]------
    [ 2146.294182] PVR_K:  327: Device Node (Info): 00000000aa85022c (000000007da3126c)
    [ 2146.301616] PVR_K:  327: RGX BVNC: 36.53.104.796 (rogue)
    [ 2146.307027] PVR_K:  327: RGX Device State: Active
    [ 2146.311757] PVR_K:  327: RGX Power State: ON
    [ 2146.316057] PVR_K:  327: FW info: 1.15 @  6133109 (release) build options: 0x80000810
    [ 2146.324046] PVR_K:  327: BIF0 - OK
    [ 2146.327470] PVR_K:  327: BIF1 - OK
    [ 2146.330875] PVR_K:  327: FWCORE - OK
    [ 2146.334566] PVR_K:  327: RGX FW State: OK (HWRState 0x00000001: HWR OK;)
    [ 2146.341284] PVR_K:  327: RGX FW Power State: RGXFWIF_POW_IDLE (APM disabled: 0 ok, 0 denied, 0 non-idle, 0 retry, 0 other, 0 total. Latency: 100 ms)
    [ 2146.354714] PVR_K:  327: RGX DVFS: 0 frequency changes. Current frequency: 800.000 MHz (sampled at 2144736053680 ns). FW frequency: 800.000 MHz.
    [ 2146.367839] PVR_K:  327: RGX FW OS 0 - State: active; Freelists: Ok; Priority: 0; MTS on;
    [ 2146.376065] PVR_K:  327: Number of HWR: GP(0/0+0), 2D(0/0+0), TA(1/1+0), 3D(0/0+0), CDM(0/0+0), RAY(0/0+0), FALSE(0,0,0,0,0,0)
    [ 2146.387503] PVR_K:  327: DM 0 (GP)
    [ 2146.390924] PVR_K:  327: DM 1 (HWRflags 0x00000000: working;)
    [ 2146.396683] PVR_K:  327: DM 2 (HWRflags 0x00000000: working;)
    [ 2146.402443] PVR_K:  327:   Recovery 1: Core = 0, PID = 1759, frame = 0, HWRTData = 0x6002F340, EventStatus = 0x00000000, Guilty Lockup
    [ 2146.414536] PVR_K:  327:               CRTimer = 0x00018edbd75b, OSTimer = 2146.084393520, CyclesElapsed = 36352
    [ 2146.424704] PVR_K:  327:               PreResetTimeInCycles = 25600, HWResetTimeInCycles = 37632, FreelistReconTimeInCycles = 113920, TotalRecoveryTimeInCycles = 177152
    [ 2146.439761] PVR_K:  327:     BIF0 - FAULT:
    [ 2146.443893] PVR_K:  327:       * MMU status (0x0000000000001041): PC = 1, Page Size = 0 (Page Catalog).
    [ 2146.453328] PVR_K:  327:       * Request (0x00104a0000000000): VDM Stage 1 (State), Reading from 0x0000000000.
    [ 2146.463358] PVR_K:  327:     PC index (0) out of bounds (0)
    [ 2146.469061] PVR_K:  327: DM 3 (HWRflags 0x00000000: working;)
    [ 2146.474847] PVR_K:  327: DM 4 (HWRflags 0x00000000: working;)
    [ 2146.480617] PVR_K:  327: DM 5 (HWRflags 0x00000000: working;)
    [ 2146.486365] PVR_K:  327: RGX Kernel CCB WO:0x70 RO:0x70
    [ 2146.491597] PVR_K:  327: RGX Firmware CCB WO:0x3 RO:0x3
    [ 2146.496828] PVR_K:  327: RGX Kernel CCB commands executed = 112
    [ 2146.502745] PVR_K:  327: RGX SLR: Forced UFO updates requested = 0
    [ 2146.508919] PVR_K:  327: RGX Errors: WGP:0, TRP:0
    [ 2146.513624] PVR_K:  327: Thread0: FW IRQ count = 9
    [ 2146.518429] PVR_K:  327: Last sampled IRQ count in LISR = 9
    [ 2146.524000] PVR_K:  327: FW System config flags = 0x00020000 (Ctx switch options: Medium CSW profile; VDM CS INDEX mode;)
    [ 2146.534964] PVR_K:  327: FW OS config flags = 0x0000000F (Ctx switch: TDM; TA; 3D; CDM;)
    [ 2146.543087] PVR_K:  327: ------[ RGX registers ]------
    [ 2146.548249] PVR_K:  327: RGX Register Base Address (Linear):   0x000000007a63a7cc
    [ 2146.555746] PVR_K:  327: RGX Register Base Address (Physical): 0x4E20000000
    [ 2146.562717] PVR_K:  327: CORE_ID                       : 0x0000000008470000
    [ 2146.569689] PVR_K:  327: CORE_REVISION                 : 0x0068031C
    [ 2146.575985] PVR_K:  327: DESIGNER_REV_FIELD1           : 0x00000000
    [ 2146.582252] PVR_K:  327: DESIGNER_REV_FIELD2           : 0x00000000
    [ 2146.588509] PVR_K:  327: CHANGESET_NUMBER              : 0x0000000000000000
    [ 2146.595464] PVR_K:  327: MULTICORE_SYSTEM              : 0x00000001
    [ 2146.601737] PVR_K:  327: MULTICORE_GPU                 : 0x00000078
    [ 2146.608003] PVR_K:  327: CLK_CTRL                      : 0x002aaa002a22aaaa
    [ 2146.614958] PVR_K:  327: CLK_STATUS                    : 0x0000000000600000
    [ 2146.621924] PVR_K:  327: CLK_CTRL2                     : 0x0000000000000000
    [ 2146.628887] PVR_K:  327: CLK_STATUS2                   : 0x0000000000000000
    [ 2146.635886] PVR_K:  327: EVENT_STATUS                  : 0x00000000
    [ 2146.642164] PVR_K:  327: TIMER                         : 0x800000018ef1609f
    [ 2146.649160] PVR_K:  327: BIF_FAULT_BANK0_MMU_STATUS    : 0x00000000
    [ 2146.655452] PVR_K:  327: BIF_FAULT_BANK0_REQ_STATUS    : 0x0000000000000000
    [ 2146.662430] PVR_K:  327: BIF_FAULT_BANK1_MMU_STATUS    : 0x00000000
    [ 2146.668713] PVR_K:  327: BIF_FAULT_BANK1_REQ_STATUS    : 0x0000000000000000
    [ 2146.675704] PVR_K:  327: BIF_MMU_STATUS                : 0x00000000
    [ 2146.681984] PVR_K:  327: BIF_MMU_ENTRY                 : 0x00000000
    [ 2146.688245] PVR_K:  327: BIF_MMU_ENTRY_STATUS          : 0x0000000000000000
    [ 2146.695205] PVR_K:  327: BIF_STATUS_MMU                : 0x00000000
    [ 2146.701484] PVR_K:  327: BIF_READS_EXT_STATUS          : 0x00000000
    [ 2146.707754] PVR_K:  327: BIF_READS_INT_STATUS          : 0x00000000
    [ 2146.714029] PVR_K:  327: BIFPM_STATUS_MMU              : 0x00000000
    [ 2146.720301] PVR_K:  327: BIFPM_READS_EXT_STATUS        : 0x00000000
    [ 2146.726565] PVR_K:  327: BIFPM_READS_INT_STATUS        : 0x00000000
    [ 2146.732826] PVR_K:  327: BIF_CAT_BASE_INDEX            : 0x0000000000000101
    [ 2146.739794] PVR_K:  327: BIF_CAT_BASE0                 : 0x00000008eaaea000
    [ 2146.746756] PVR_K:  327: BIF_CAT_BASE1                 : 0x00000008ea584000
    [ 2146.753735] PVR_K:  327: BIF_CAT_BASE2                 : 0x0000000000000000
    [ 2146.760742] PVR_K:  327: BIF_CAT_BASE3                 : 0x0000000000000000
    [ 2146.767720] PVR_K:  327: BIF_CAT_BASE4                 : 0x0000000000000000
    [ 2146.774681] PVR_K:  327: BIF_CAT_BASE5                 : 0x0000000000000000
    [ 2146.781661] PVR_K:  327: BIF_CAT_BASE6                 : 0x0000000000000000
    [ 2146.788621] PVR_K:  327: BIF_CAT_BASE7                 : 0x0000000000000000
    [ 2146.795592] PVR_K:  327: BIF_CTRL_INVAL                : 0x00000000
    [ 2146.801860] PVR_K:  327: BIF_CTRL                      : 0x00000000
    [ 2146.808125] PVR_K:  327: BIF_PM_CAT_BASE_VCE0          : 0x0000000000000000
    [ 2146.815092] PVR_K:  327: BIF_PM_CAT_BASE_TE0           : 0x0000000000000000
    [ 2146.822067] PVR_K:  327: BIF_PM_CAT_BASE_ALIST0        : 0x0000000000000000
    [ 2146.829023] PVR_K:  327: BIF_PM_CAT_BASE_VCE1          : 0x0000000000000000
    [ 2146.835975] PVR_K:  327: BIF_PM_CAT_BASE_TE1           : 0x0000000000000000
    [ 2146.842941] PVR_K:  327: BIF_PM_CAT_BASE_ALIST1        : 0x0000000000000000
    [ 2146.849902] PVR_K:  327: MULTICORE_GEOMETRY_CTRL_COMMON: 0x00000000
    [ 2146.856182] PVR_K:  327: MULTICORE_FRAGMENT_CTRL_COMMON: 0x00000001
    [ 2146.862446] PVR_K:  327: MULTICORE_COMPUTE_CTRL_COMMON : 0x00000101
    [ 2146.868734] PVR_K:  327: PERF_TA_PHASE                 : 0x00000000
    [ 2146.875014] PVR_K:  327: PERF_TA_CYCLE                 : 0x00000000
    [ 2146.881305] PVR_K:  327: PERF_3D_PHASE                 : 0x00000000
    [ 2146.887573] PVR_K:  327: PERF_3D_CYCLE                 : 0x00000000
    [ 2146.893850] PVR_K:  327: PERF_TA_OR_3D_CYCLE           : 0x00000000
    [ 2146.900122] PVR_K:  327: PERF_TA_AND_3D_CYCLE          : 0x00000000
    [ 2146.906384] PVR_K:  327: PERF_COMPUTE_PHASE            : 0x00000000
    [ 2146.912647] PVR_K:  327: PERF_COMPUTE_CYCLE            : 0x00000000
    [ 2146.918925] PVR_K:  327: PM_PARTIAL_RENDER_ENABLE      : 0x00000000
    [ 2146.925200] PVR_K:  327: ISP_RENDER                    : 0x00000000
    [ 2146.931471] PVR_K:  327: TLA_STATUS                    : 0x0000000000000000
    [ 2146.938445] PVR_K:  327: MCU_FENCE                     : 0x0000000000000000
    [ 2146.945398] PVR_K:  327: VDM_CONTEXT_STORE_STATUS      : 0x00000001
    [ 2146.951659] PVR_K:  327: VDM_CONTEXT_STORE_TASK0       : 0x0000000000000000
    [ 2146.958629] PVR_K:  327: VDM_CONTEXT_STORE_TASK1       : 0x0000000000000000
    [ 2146.965605] PVR_K:  327: VDM_CONTEXT_STORE_TASK2       : 0x0000000000000000
    [ 2146.972578] PVR_K:  327: VDM_CONTEXT_RESUME_TASK0      : 0x0000000000000000
    [ 2146.979560] PVR_K:  327: VDM_CONTEXT_RESUME_TASK1      : 0x0000000000000000
    [ 2146.986532] PVR_K:  327: VDM_CONTEXT_RESUME_TASK2      : 0x0000000000000000
    [ 2146.993493] PVR_K:  327: ISP_CTL                       : 0x00000000
    [ 2146.999775] PVR_K:  327: ISP_STATUS                    : 0x00000000
    [ 2147.006042] PVR_K:  327: MTS_INTCTX                    : 0x00000000
    [ 2147.012304] PVR_K:  327: MTS_BGCTX                     : 0x00000000
    [ 2147.018563] PVR_K:  327: MTS_BGCTX_COUNTED_SCHEDULE    : 0x00000000
    [ 2147.024836] PVR_K:  327: MTS_SCHEDULE                  : 0x00000000
    [ 2147.031099] PVR_K:  327: MTS_GPU_INT_STATUS            : 0x00000000
    [ 2147.037373] PVR_K:  327: CDM_CONTEXT_STORE_STATUS      : 0x00000000
    [ 2147.043636] PVR_K:  327: CDM_CONTEXT_PDS0              : 0x0000000000000000
    [ 2147.050586] PVR_K:  327: CDM_CONTEXT_PDS1              : 0x0000000000000000
    [ 2147.057549] PVR_K:  327: CDM_TERMINATE_PDS             : 0x0000000000000000
    [ 2147.064524] PVR_K:  327: CDM_TERMINATE_PDS1            : 0x0000000000000000
    [ 2147.071481] PVR_K:  327: CDM_CONTEXT_LOAD_PDS0         : 0x0000000000000000
    [ 2147.078447] PVR_K:  327: CDM_CONTEXT_LOAD_PDS1         : 0x0000000000000000
    [ 2147.085422] PVR_K:  327: SIDEKICK_IDLE                 : 0x0000007F
    [ 2147.091690] PVR_K:  327: SLC_IDLE                      : 0x000000FF
    [ 2147.097974] PVR_K:  327: SLC_STATUS0                   : 0x00000000
    [ 2147.104246] PVR_K:  327: SLC_STATUS1                   : 0x0000000000000000
    [ 2147.111212] PVR_K:  327: SLC_STATUS2                   : 0x0000000000000000
    [ 2147.118178] PVR_K:  327: SLC_CTRL_BYPASS               : 0x00000000
    [ 2147.124446] PVR_K:  327: SLC_CTRL_MISC                 : 0x0000000000200003
    [ 2147.131409] PVR_K:  327: SAFETY_EVENT_STATUS__ROGUEXE  : 0x00000000
    [ 2147.137702] PVR_K:  327: MTS_SAFETY_EVENT_ENABLE__ROGUEXE: 0x000000FF
    [ 2147.144158] PVR_K:  327: FWCORE_WDT_CTRL               : 0x00001E01
    [ 2147.150443] PVR_K:  327: SCRATCH0                      : 0x00000000
    [ 2147.156714] PVR_K:  327: SCRATCH1                      : 0x00000000
    [ 2147.163000] PVR_K:  327: SCRATCH2                      : 0x00000000
    [ 2147.169274] PVR_K:  327: SCRATCH3                      : 0x00000000
    [ 2147.175547] PVR_K:  327: SCRATCH4                      : 0x00000000
    [ 2147.181822] PVR_K:  327: SCRATCH5                      : 0x00000000
    [ 2147.188088] PVR_K:  327: SCRATCH6                      : 0x00000000
    [ 2147.194347] PVR_K:  327: SCRATCH7                      : 0x00000000
    [ 2147.200622] PVR_K:  327: SCRATCH8                      : 0x00000000
    [ 2147.206896] PVR_K:  327: SCRATCH9                      : 0x00000000
    [ 2147.213156] PVR_K:  327: SCRATCH10                     : 0x00000000
    [ 2147.219430] PVR_K:  327: SCRATCH11                     : 0x00000000
    [ 2147.225694] PVR_K:  327: SCRATCH12                     : 0x00000000
    [ 2147.231953] PVR_K:  327: SCRATCH13                     : 0x00000000
    [ 2147.238221] PVR_K:  327: SCRATCH14                     : 0x00000000
    [ 2147.244509] PVR_K:  327: SCRATCH15                     : 0x00000000
    [ 2147.250798] PVR_K:  327: FWCORE_MEM_CAT_BASE0          : 0x00000008eaaea000
    [ 2147.257775] PVR_K:  327: FWCORE_MEM_CAT_BASE1          : 0x00000008ea584000
    [ 2147.264733] PVR_K:  327: FWCORE_MEM_CAT_BASE2          : 0x0000000000000000
    [ 2147.271692] PVR_K:  327: FWCORE_MEM_CAT_BASE3          : 0x0000000000000000
    [ 2147.278669] PVR_K:  327: FWCORE_MEM_CAT_BASE4          : 0x0000000000000000
    [ 2147.285639] PVR_K:  327: FWCORE_MEM_CAT_BASE5          : 0x0000000000000000
    [ 2147.292606] PVR_K:  327: FWCORE_MEM_CAT_BASE6          : 0x0000000000000000
    [ 2147.299572] PVR_K:  327: FWCORE_MEM_CAT_BASE7          : 0x0000000000000000
    [ 2147.306526] PVR_K:  327: FWCORE_ADDR_REMAP_CONFIG4     : 0x120000e1c0002000
    [ 2147.313483] PVR_K:  327: FWCORE_ADDR_REMAP_CONFIG5     : 0x220000e1c001d000
    [ 2147.320453] PVR_K:  327: FWCORE_ADDR_REMAP_CONFIG6     : 0x220000e1c0000000
    [ 2147.327411] PVR_K:  327: FWCORE_ADDR_REMAP_CONFIG12    : 0x120000e1c0000000
    [ 2147.334365] PVR_K:  327: FWCORE_ADDR_REMAP_CONFIG13    : 0x220000e1c0000000
    [ 2147.341332] PVR_K:  327: FWCORE_ADDR_REMAP_CONFIG14    : 0x0000000000000000
    [ 2147.348298] PVR_K:  327: FWCORE_MEM_FAULT_MMU_STATUS   : 0x00000000
    [ 2147.354568] PVR_K:  327: FWCORE_MEM_FAULT_REQ_STATUS   : 0x0000000000000000
    [ 2147.361534] PVR_K:  327: FWCORE_MEM_MMU_STATUS         : 0x00000000
    [ 2147.367796] PVR_K:  327: FWCORE_MEM_READS_EXT_STATUS   : 0x00000000
    [ 2147.374059] PVR_K:  327: FWCORE_MEM_READS_INT_STATUS   : 0x00000000
    [ 2147.380341] PVR_K:  327: ---- [ RISC-V internal state ] ----
    [ 2147.386010] PVR_K:  327: pc                            : 0x40004004
    [ 2147.392273] PVR_K:  327: ra                            : 0x4001A0A6
    [ 2147.398547] PVR_K:  327: sp                            : 0x50001010
    [ 2147.404816] PVR_K:  327: mepc                          : 0x40004004
    [ 2147.411087] PVR_K:  327: mcause                        : 0x8000000B
    [ 2147.417358] PVR_K:  327: mdseac                        : 0x00000000
    [ 2147.423634] PVR_K:  327: mstatus                       : 0x00001888
    [ 2147.429895] PVR_K:  327: mie                           : 0x40000888
    [ 2147.436178] PVR_K:  327: mip                           : 0x00000000
    [ 2147.442441] PVR_K:  327: mscratch                      : 0x00000000
    [ 2147.448704] PVR_K:  327: mbvnc0                        : 0x00010001
    [ 2147.454964] PVR_K:  327: mbvnc1                        : 0x0032000B
    [ 2147.461241] PVR_K:  327: micect                        : 0x10000000
    [ 2147.467507] PVR_K:  327: mdcect                        : 0x10000000
    [ 2147.473769] PVR_K:  327: mdcrfct                       : 0x10000000
    [ 2147.480034] PVR_K:  327: ------[ RGX FW Trace Info ]------
    [ 2147.485532] PVR_K:  327: Debug log type: none
    [ 2147.489885] PVR_K:  327: RGX FW thread 0: Trace buffer not yet allocated
    [ 2147.496603] PVR_K:  327: ------[ Full CCB Status ]------
    [ 2147.501929] PVR_K:  327: FWCtx 0x6002F040 (TA-P1759-T1822-vx_app_aitronx)
    [ 2147.508711] PVR_K:  327:   |--Waiting FENCE @ 216 Int=2 Ext=0
    [ 2147.514454] PVR_K:  327:   |  `--Addr:0xd0062004 Val=0x00000000 
    [ 2147.520472] PVR_K:  327:   |--Waiting TA @ 264 Int=2 Ext=0
    [ 2147.525967] PVR_K:  327:   `--Waiting UPDATE @ 376 Int=2 Ext=0
    [ 2147.531798] PVR_K:  327:      |--Addr:0xd0062004 Val=0x00000001 
    [ 2147.537813] PVR_K:  327:      `--Addr:0xd0063021 Val=0x00000519 
    [ 2147.543823] PVR_K:  327: FWCtx 0x6002F0E0 (3D-P1759-T1822-vx_app_aitronx)
    [ 2147.550605] PVR_K:  327:   |--Waiting FENCE_PR @ 472 Int=2 Ext=0
    [ 2147.556610] PVR_K:  327:   |  `--Addr:0xd0062004 Val=0x00000001 
    [ 2147.562625] PVR_K:  327:   |--Waiting 3D @ 520 Int=2 Ext=0
    [ 2147.568122] PVR_K:  327:   `--Waiting UPDATE @ 880 Int=2 Ext=0
    [ 2147.573956] PVR_K:  327:      |--Addr:0xd0062004 Val=0x00000002 
    [ 2147.579969] PVR_K:  327:      |--Addr:0xd0063019 Val=0x00000519 
    [ 2147.585977] PVR_K:  327:      `--Addr:0xd0063029 Val=0x00000519 
    [ 2147.591983] PVR_K:  327: ------[ RGX Device ID:0 End ]------
    [ 2147.597840] PVR_K:  327: ------[ System Summary Device ID:0 ]------
    [ 2147.604120] PVR_K:  327: Device System Power State: ON
    [ 2147.609259] PVR_K:  327: MaxHWTOut: 500000us, WtTryCt: 10000, WDGTOut(on,off): (10000ms,3600000ms)
    [ 2147.618300] PVR_K:  327: ------[ Server Thread Summary ]------
    [ 2147.624163] PVR_K:  327:   pvr_defer_free : Running
    [ 2147.629108] PVR_K:  327:     Number of deferred cleanup items : 2
    [ 2147.635217] PVR_K:  327:   pvr_device_wdg : Running
    [ 2147.640125] PVR_K:  327:   pvr_cacheop : Running
    [ 2147.644787] PVR_K:  327:     Configuration: QSZ: 16, UKT: -1, KDFT: 131072, LINESIZE: 64, PGSIZE: 4096, KDF: Yes, URBF: Yes
    [ 2147.655935] PVR_K:  327:     Pending deferred CacheOp entries : 0
    [ 2147.662081] PVR_K:  327: ------[ AppHint Settings ]------
    [ 2147.667534] PVR_K:  327:   Build Vars
    [ 2147.671230] PVR_K:  327:     EnableTrustedDeviceAceConfig: N
    [ 2147.676914] PVR_K:  327:     CleanupThreadPriority: 0x00000005
    [ 2147.682797] PVR_K:  327:     CacheOpThreadPriority: 0x00000001
    [ 2147.688657] PVR_K:  327:     WatchdogThreadPriority: 0x00000000
    [ 2147.694595] PVR_K:  327:     HWPerfClientBufferSize: 0x000c0000
    [ 2147.700535] PVR_K:  327:   Module Params
    [ 2147.704474] PVR_K:  327:     none
    [ 2147.707786] PVR_K:  327:   Debug Info Params
    [ 2147.712059] PVR_K:  327:     CacheOpConfig: 0x0000000c
    [ 2147.717192] PVR_K:  327:     CacheOpUMKMThresholdSize: 0xffffffff
    [ 2147.723289] PVR_K:  327:   Debug Info Params Device ID: 0
    [ 2147.728701] PVR_K:  327:     none
    [ 2147.732016] PVR_K:  327: ------[ HTB Log state: Off ]------
    [ 2147.737593] PVR_K:  327: ------[ Active Sync Checkpoints ]------
    [ 2147.743612] ------[ Native Fence Sync: timelines ]------
    [ 2147.748916] foreign_sync: @0 ctx=1 refs=1
    [ 2147.752921] sw: RM_SWTimeline-vx_app_aitronx_ap @0 cur=0
    [ 2147.758229] rogue-ta3d: @5 ctx=3 refs=5
    [ 2147.762057]  @1: (++) refs=1 fwaddr=0xd0063019 enqueue=1 status=Signalled 1-update fence
    [ 2147.770130]  @2: (++) refs=1 fwaddr=0xd0063031 enqueue=1 status=Signalled 2-update fence
    [ 2147.778200]  @3: (++) refs=1 fwaddr=0xd0063049 enqueue=1 status=Signalled 3-update fence
    [ 2147.786270]  @4: (++) refs=1 fwaddr=0xd0063061 enqueue=1 status=Signalled 4-update fence
    [ 2147.794366] V3-806.out-vx_app_aitronx_-1759: @5 ctx=5 refs=2
    [ 2147.800013]  @4: (++) refs=1 fwaddr=0xd0063069 enqueue=1 status=Signalled 4-es3_DoKickTA_1
    [ 2147.808277] P3-806.out-vx_app_aitronx_-1759: @5 ctx=6 refs=2
    [ 2147.813925]  @4: (++) refs=1 fwaddr=0xd0063071 enqueue=1 status=Signalled 4-es3_DoKick3D_1
    [ 2147.822193] PVR_K:  327: ------------[ PVR DBG: END ]------------
    [ 2147.828354] ------------[ cut here ]------------
    [ 2147.833023] WARNING: CPU: 1 PID: 327 at /home/ygj/ti_eco_sdk8.6/ti-processor-sdk-linux-j721s2-evm-08_06_00_10/board-support/extra-drivers/ti-img-rogue-driver-1.15.6133109/binary_j721s2_linux_wayland_release/target_aarch64/kbuild/services/server/common/pvr_notifier.c:529 PVRSRVDebugRequest+0x4a8/0x618 [pvrsrvkm]
    [ 2147.860506] Modules linked in: atmel_mxt_ts xfrm_user xfrm_algo md5 ecb aes_neon_bs aes_neon_blk des_generic libdes cbc bluetooth ecdh_generic ecc rfkill ti_am335x_adc rpmsg_char kfifo_buf pvrsrvkm(O) crct10dif_ce phy_can_transceiver wave5 v4l2_mem2mem videobuf2_dma_contig ti_k3_r5_remoteproc videobuf2_memops videobuf2_v4l2 ti_k3_dsp_remoteproc virtio_rpmsg_bus sa2ul cdns_mhdp8546 sha512_generic ti_am335x_tscadc cdns_dsi authenc videobuf2_common cdns_dphy ti_sn65dsi86 sch_fq_codel rpmsg_kdrv_switch cryptodev(O) ipv6 [last unloaded: atmel_mxt_ts]
    [ 2147.908780] CPU: 1 PID: 327 Comm: pvr_device_wdg Tainted: G        W  O      5.10.162-g76b3e88d56 #13
    [ 2147.917975] Hardware name: Texas Instruments J721S2 EVM (DT)
    [ 2147.923618] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)
    [ 2147.929651] pc : PVRSRVDebugRequest+0x4a8/0x618 [pvrsrvkm]
    [ 2147.935162] lr : PVRSRVDebugRequest+0x4a8/0x618 [pvrsrvkm]
    [ 2147.940630] sp : ffff8000128ebc80
    [ 2147.943932] x29: ffff8000128ebc80 x28: 0000000000000000 
    [ 2147.949228] x27: ffff8000120cb998 x26: ffff800008d8d8c0 
    [ 2147.954525] x25: ffff0008698de300 x24: 0000000000000009 
    [ 2147.959821] x23: 0000000000000002 x22: 0000000000000000 
    [ 2147.965118] x21: 0000000000000000 x20: ffff0008698de3d8 
    [ 2147.970415] x19: ffff00086b7fa920 x18: 0000000000000010 
    [ 2147.975712] x17: 0000000000000000 x16: 0000000000000000 
    [ 2147.981008] x15: ffff000869803010 x14: 0000000000000522 
    [ 2147.986304] x13: 0000000000000000 x12: 0000000000000054 
    [ 2147.991600] x11: 00000000000002c1 x10: 0000000000015858 
    [ 2147.996896] x9 : 0000000000015858 x8 : 0000000000000000 
    [ 2148.002192] x7 : ffff000b7e1cdd40 x6 : ffff000b7e1cd240 
    [ 2148.007488] x5 : 0000000000000000 x4 : 000001f3febfd7c9 
    [ 2148.012784] x3 : 0000000000000000 x2 : ffffffffffffff00 
    [ 2148.018080] x1 : 0000000000000000 x0 : ffff00086ba7d800 
    [ 2148.023378] Call trace:
    [ 2148.025859]  PVRSRVDebugRequest+0x4a8/0x618 [pvrsrvkm]
    [ 2148.031022]  DevicesWatchdogThread_ForEachVaCb+0x108/0x158 [pvrsrvkm]
    [ 2148.037485]  List_PVRSRV_DEVICE_NODE_ForEach_va+0x74/0xb0 [pvrsrvkm]
    [ 2148.043860]  DevicesWatchdogThread+0x144/0x210 [pvrsrvkm]
    [ 2148.049280]  OSThreadRun+0x24/0x60 [pvrsrvkm]
    [ 2148.053629]  kthread+0x140/0x160
    [ 2148.056847]  ret_from_fork+0x10/0x34
    [ 2148.060410] ---[ end trace 5d1df30c65286286 ]---
    
    root@j721s2-evm:/app# 
    root@j721s2-evm:/app# 

  • Hello,

    Since we have not discussed in a while, I just want to clarify a few points to make sure we are aligned:

    - What application did you run in this case, your application or the rgx_* test I mentioned?

    - Does the GPU driver load successfully? And only crash when you launch the application the first time?

    I'll take this information and the log you just provided and share it to be analyzed.

    Thanks,

    Erick

  • - What application did you run in this case, your application or the rgx_* test I mentioned?

    A:  Running the camera GPU rendering app.

    Does the GPU driver load successfully? And only crash when you launch the application the first time?

    A:GPU driver load successfully    

    [ 12.295689] PVR_K: 860: RGX Firmware image 'rgx.fw.36.53.104.796' loaded
    [ 12.327847] PVR_K: 860: Shader binary image 'rgx.sh.36.53.104.796' loaded
    [ 13.677498] PVR_K:(Error): 132: RGXSafetyEventHandler: Safety Watchdog Trigger ! [358]

    Every time I test, I will restart the entire system, start the application, and then the application will run for a period of time. If the application program is abnormal, the system can only shut down and restart, and not every time it starts, it will report a PVR exception. PVR exception also exists on tda4vm, using the following ticket sdk8_ 4_ J721e_ Patched_ The libraries.tar.gz file resolved the PVR exception.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1178715/tda4vm-error-occurred-in-sdk-8-4-gpu-driver/4558685?tisearch=e2e-sitesearch&keymatch=sdk8_4_j721e_patched_libraries.tar.gz#4558685

      sdk8_4_j721e_patched_libraries.tar.gz

  • Ok, I understand now. So you have tested now and sometimes, you still get the error after using these patched libraries?

    When you get the error, can you please provide a pvrlogdump? Please also run this command before capturing the logs:

    1) pvrdebug -loggroups main,mts,hwr

    2) Then, run your application

    3) When issue occurs, run "pvrlogdump"

    Thanks,

    Erick