Getting a Crash when I add 3rd texture

[ 134.633254] PVR_K: 34: UM Connected Clients: 64 Bit
[ 134.640450] PVR_K: 34: ------[ RGX summary ]------
[ 134.646075] PVR_K: 34: RGX BVNC: 15.5.1.64
[ 134.650689] PVR_K: 34: RGX Device State: Active
[ 134.655347] PVR_K: 34: RGX Power State: ON
[ 134.659776] PVR_K: 34: BIF0 - OK
[ 134.663162] PVR_K: 34: BIF1 - OK
[ 134.666954] PVR_K: 34: RGX FW State: OK (HWRState 0x00000001: HWR OK; )
[ 134.673723] PVR_K: 34: RGX FW Power State: RGXFWIF_POW_ON (APM disabled: 0 ok, 0 denied, 0 other, 0 total. Latency: 100 ms)
[ 134.685160] PVR_K: 34: RGX DVFS: 0 frequency changes. Current frequency: 600 MHz (sampled at 1d18046778)
[ 134.694782] PVR_K: 34: RGX FW OS 0 State: 0x00000001 (Active: Yes, Freelists: Not Ok, Grow Request Pending: No)
[ 134.705348] PVR_K: 34: RGX FW OS 1 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 134.715608] PVR_K: 34: RGX FW OS 2 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 134.726070] PVR_K: 34: RGX FW OS 3 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 134.737456] PVR_K: 34: RGX FW OS 4 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 134.747614] PVR_K: 34: RGX FW OS 5 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 134.757736] PVR_K: 34: RGX FW OS 6 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 134.767844] PVR_K: 34: RGX FW OS 7 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 134.778248] PVR_K: 34: Number of HWR: GP(0/0+0), 2D(0/0+0), TA(1/1+0), 3D(0/0+0), CDM(0/0+0), FALSE(0,0,0,0,0)
[ 134.788394] PVR_K: 34: DM 0 (GP)
[ 134.792039] PVR_K: 34: DM 1 (HWRflags 0x00000000: working; )
[ 134.797943] PVR_K: 34: DM 2 (HWRflags 0x00000000: working; )
[ 134.803758] PVR_K: 34: Recovery 1: PID = 2144, frame = 2075, HWRTData = 0x1029CBC0, EventStatus = 0x00000010, Guilty Lockup
[ 134.815576] PVR_K: 34: CRTimer = 0x00000FED3A71, OSTimer = 134.628734825, CyclesElapsed = 19712
[ 134.825666] PVR_K: 34: PreResetTimeInCycles = 28672, HWResetTimeInCycles = 68608, TotalRecoveryTimeInCycles = 97280
[ 134.837460] PVR_K: 34: BIF0 - FAULT:
[ 134.841801] PVR_K: 34: * MMU status (0x0000000000001041): PC = 1, Page Size = 0, MMU data type = 2.
[ 134.851598] PVR_K: 34: * Request (0x00050E8E690F9780): MCU (128bit word within the Lower 256bits, PDS_USC, Banks 0-3), Reading from 0x8E690F9780.
[ 134.865645] PVR_K: 34: FW logged fault using PC Address: 0x0000000077174000
[ 134.873285] PVR_K: 34: DM 3 (HWRflags 0x00000000: working; )
[ 134.879299] PVR_K: 34: DM 4 (HWRflags 0x00000000: working; )
[ 134.886007] PVR_K: 34: ------[ RGX registers ]------
[ 134.891099] PVR_K: 34: RGX Register Base Address (Linear): 0xffff000012a00000
[ 134.898526] PVR_K: 34: RGX Register Base Address (Physical): 0xFD000000
[ 134.905245] PVR_K: 34: CORE_ID : 0x011B0140
[ 134.911893] PVR_K: 34: CORE_REVISION : 0x000F0500
[ 134.918313] PVR_K: 34: DESIGNER_REV_FIELD1 : 0x00000000
[ 134.924984] PVR_K: 34: DESIGNER_REV_FIELD2 : 0x00000000
[ 134.931491] PVR_K: 34: CHANGESET_NUMBER : 0x0000000000000000
[ 134.938621] PVR_K: 34: META_SP_MSLVIRQSTATUS : 0x00000000
[ 134.946140] PVR_K: 34: CLK_CTRL : 0x0AAAAA002A2AAAAA
[ 134.954297] PVR_K: 34: CLK_STATUS : 0x0000000000400000
[ 134.962445] PVR_K: 34: CLK_CTRL2 : 0x0000000000000000
[ 134.970643] PVR_K: 34: CLK_STATUS2 : 0x0000000000000000
[ 134.978756] PVR_K: 34: EVENT_STATUS : 0x00000010
[ 134.986429] PVR_K: 34: TIMER : 0x000000000FFA00D4
[ 134.994651] PVR_K: 34: BIF_FAULT_BANK0_MMU_STATUS : 0x00000000
[ 135.002081] PVR_K: 34: BIF_FAULT_BANK0_REQ_STATUS : 0x0000000000000000
[ 135.010475] PVR_K: 34: BIF_FAULT_BANK1_MMU_STATUS : 0x00000000
[ 135.017877] PVR_K: 34: BIF_FAULT_BANK1_REQ_STATUS : 0x0000000000000000
[ 135.025960] PVR_K: 34: BIF_MMU_STATUS : 0x00000000
[ 135.033344] PVR_K: 34: BIF_MMU_ENTRY : 0x00000000
[ 135.040811] PVR_K: 34: BIF_MMU_ENTRY_STATUS : 0x0000000000000000
[ 135.048853] PVR_K: 34: BIF_STATUS_MMU : 0x00000000
[ 135.056169] PVR_K: 34: BIF_READS_EXT_STATUS : 0x00000000
[ 135.063658] PVR_K: 34: BIF_READS_INT_STATUS : 0x00000000
[ 135.071046] PVR_K: 34: BIFPM_STATUS_MMU : 0x00000000
[ 135.078409] PVR_K: 34: BIFPM_READS_EXT_STATUS : 0x00000000
[ 135.086023] PVR_K: 34: BIFPM_READS_INT_STATUS : 0x00000000
[ 135.093457] PVR_K: 34: Warning: BRN44871 is present
[ 135.099392] PVR_K: 34: CDM_CONTEXT_LOAD_PDS0 : 0x0000000000000000
[ 135.107727] PVR_K: 34: CDM_CONTEXT_LOAD_PDS1 : 0x0000000000000000
[ 135.115778] PVR_K: 34: BIF_CAT_BASE_INDEX : 0x0000000000010101
[ 135.123770] PVR_K: 34: BIF_CAT_BASE0 : 0x0000000077182000
[ 135.131757] PVR_K: 34: BIF_CAT_BASE1 : 0x0000000077174000
[ 135.139815] PVR_K: 34: BIF_CAT_BASE2 : 0x0000000000000000
[ 135.147792] PVR_K: 34: BIF_CAT_BASE3 : 0x0000000000000000
[ 135.155980] PVR_K: 34: BIF_CAT_BASE4 : 0x0000000000000000
[ 135.163995] PVR_K: 34: BIF_CAT_BASE5 : 0x0000000000000000
[ 135.171880] PVR_K: 34: BIF_CAT_BASE6 : 0x0000000000000000
[ 135.179980] PVR_K: 34: BIF_CAT_BASE7 : 0x0000000000000000
[ 135.187761] PVR_K: 34: BIF_CTRL_INVAL : 0x00000000
[ 135.194823] PVR_K: 34: BIF_CTRL : 0x000000C0
[ 135.201846] PVR_K: 34: BIF_PM_CAT_BASE_VCE0 : 0x0000000000000000
[ 135.209633] PVR_K: 34: BIF_PM_CAT_BASE_TE0 : 0x0000000000000000
[ 135.217298] PVR_K: 34: BIF_PM_CAT_BASE_ALIST0 : 0x0000000000000000
[ 135.225185] PVR_K: 34: BIF_PM_CAT_BASE_VCE1 : 0x0000000000000000
[ 135.232954] PVR_K: 34: BIF_PM_CAT_BASE_TE1 : 0x0000000000000000
[ 135.240596] PVR_K: 34: BIF_PM_CAT_BASE_ALIST1 : 0x0000000000000000
[ 135.248503] PVR_K: 34: PERF_TA_PHASE : 0x00000000
[ 135.255434] PVR_K: 34: PERF_TA_CYCLE : 0x00000000
[ 135.262473] PVR_K: 34: PERF_3D_PHASE : 0x00000000
[ 135.269454] PVR_K: 34: PERF_3D_CYCLE : 0x00000000
[ 135.276316] PVR_K: 34: PERF_TA_OR_3D_CYCLE : 0x00000000
[ 135.283440] PVR_K: 34: PERF_TA_AND_3D_CYCLE : 0x00000000
[ 135.290457] PVR_K: 34: PERF_COMPUTE_PHASE : 0x00000000
[ 135.297376] PVR_K: 34: PERF_COMPUTE_CYCLE : 0x00000000
[ 135.304666] PVR_K: 34: PARTIAL_RENDER_ENABLE : 0x00000000
[ 135.311562] PVR_K: 34: ISP_RENDER : 0x00000000
[ 135.318389] PVR_K: 34: TLA_STATUS : 0x0000000000000000
[ 135.325942] PVR_K: 34: MCU_FENCE : 0x0000000000000000
[ 135.333456] PVR_K: 34: VDM_CONTEXT_STORE_STATUS : 0x00000001
[ 135.340391] PVR_K: 34: VDM_CONTEXT_STORE_TASK0 : 0x0000000000000000
[ 135.347936] PVR_K: 34: VDM_CONTEXT_STORE_TASK1 : 0x0000000000000000
[ 135.355749] PVR_K: 34: VDM_CONTEXT_STORE_TASK2 : 0x0000000000000000
[ 135.363393] PVR_K: 34: VDM_CONTEXT_RESUME_TASK0 : 0x0000000000000000
[ 135.370967] PVR_K: 34: VDM_CONTEXT_RESUME_TASK1 : 0x0000000000000000
[ 135.378826] PVR_K: 34: VDM_CONTEXT_RESUME_TASK2 : 0x0000000000000000
[ 135.386379] PVR_K: 34: ISP_CTL : 0x00000000
[ 135.393209] PVR_K: 34: ISP_STATUS : 0x00000000
[ 135.400034] PVR_K: 34: MTS_INTCTX : 0x00000000
[ 135.406942] PVR_K: 34: MTS_BGCTX : 0x00000000
[ 135.413757] PVR_K: 34: MTS_BGCTX_COUNTED_SCHEDULE : 0x00000000
[ 135.420848] PVR_K: 34: MTS_SCHEDULE : 0x00000000
[ 135.427769] PVR_K: 34: MTS_GPU_INT_STATUS : 0x00000110
[ 135.434647] PVR_K: 34: CDM_CONTEXT_STORE_STATUS : 0x00000000
[ 135.441811] PVR_K: 34: CDM_CONTEXT_PDS0 : 0x0000000000000000
[ 135.449346] PVR_K: 34: CDM_CONTEXT_PDS1 : 0x0000000000000000
[ 135.456857] PVR_K: 34: CDM_TERMINATE_PDS : 0x0000000000000000
[ 135.464331] PVR_K: 34: CDM_TERMINATE_PDS1 : 0x0000000000000000
[ 135.471903] PVR_K: 34: CDM_CONTEXT_LOAD_PDS0 : 0x0000000000000000
[ 135.479397] PVR_K: 34: CDM_CONTEXT_LOAD_PDS1 : 0x0000000000000000
[ 135.487166] PVR_K: 34: SIDEKICK_IDLE : 0x0000007A
[ 135.494121] PVR_K: 34: SLC_IDLE : 0x000000FF
[ 135.500986] PVR_K: 34: SLC_STATUS0 : 0x00000000
[ 135.508131] PVR_K: 34: SLC_STATUS1 : 0x0000000000000000
[ 135.515699] PVR_K: 34: SLC_STATUS2 : 0x0000000000000000
[ 135.523212] PVR_K: 34: SLC_CTRL_BYPASS : 0x01000000
[ 135.530036] PVR_K: 34: SLC_CTRL_MISC : 0x0000000000200001
[ 135.537716] PVR_K: 34: T0 TXENABLE : 0x0201C031
[ 135.544568] PVR_K: 34: T0 TXSTATUS : 0x00020008
[ 135.551423] PVR_K: 34: T0 TXDEFR : 0x00000000
[ 135.558254] PVR_K: 34: T0 PC : 0x4001EDB0
[ 135.565451] PVR_K: 34: T0 PCX : 0x4000249C
[ 135.572413] PVR_K: 34: T0 SP : 0x3888CD98
[ 135.579279] PVR_K: 34: RGX Kernel CCB WO:0x6F RO:0x6F
[ 135.585201] PVR_K: 34: RGX Firmware CCB WO:0x3 RO:0x1
[ 135.590968] PVR_K: 34: RGX Kernel CCB commands executed = 4207
[ 135.597456] PVR_K: 34: RGX FW thread 0: FW IRQ count = 4180, Last sampled IRQ count in LISR = 4180
[ 135.607335] PVR_K: 34: FW OS config flags = 0x800127 (Ctx switch: TA; 3D; CDM; VDM CS INDEX mode; Medium CSW profile; Use extended; HWR EN; )
[ 135.621305] PVR_K: 34: Debug log type: none
[ 135.626189] PVR_K: 34: RGX FW thread 0: Trace buffer not yet allocated
[ 135.633450] PVR_K: 34: ------[ Stalled FWCtxs ]------
[ 135.639368] PVR_K: 34: ------[ Debug summary ]------
[ 135.645103] PVR_K: 34: BIF0 - OK
[ 135.649070] PVR_K: 34: BIF1 - OK
[ 135.653027] PVR_K: 34: RGX FW State: OK (HWRState 0x00000001: HWR OK; )
[ 135.660569] PVR_K: 34: RGX FW Power State: RGXFWIF_POW_IDLE (APM disabled: 0 ok, 0 denied, 0 other, 0 total. Latency: 100 ms)
[ 135.673601] PVR_K: 34: RGX DVFS: 0 frequency changes. Current frequency: 600 MHz (sampled at 1d18046778)
[ 135.683977] PVR_K: 34: RGX FW OS 0 State: 0x00000001 (Active: Yes, Freelists: Not Ok, Grow Request Pending: No)
[ 135.694985] PVR_K: 34: RGX FW OS 1 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 135.705946] PVR_K: 34: RGX FW OS 2 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 135.716885] PVR_K: 34: RGX FW OS 3 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 135.727771] PVR_K: 34: RGX FW OS 4 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 135.738731] PVR_K: 34: RGX FW OS 5 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 135.749641] PVR_K: 34: RGX FW OS 6 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 135.760547] PVR_K: 34: RGX FW OS 7 State: 0x00000000 (Active: No, Freelists: Not Ok, Grow Request Pending: No)
[ 135.771659] PVR_K: 34: Number of HWR: GP(0/0+0), 2D(0/0+0), TA(1/1+0), 3D(0/0+0), CDM(0/0+0), FALSE(0,0,0,0,0)
[ 135.782866] PVR_K: 34: DM 0 (GP)
[ 135.787036] PVR_K: 34: DM 1 (HWRflags 0x00000000: working; )
[ 135.793777] PVR_K: 34: DM 2 (HWRflags 0x00000000: working; )
[ 135.800406] PVR_K: 34: Recovery 1: PID = 2144, frame = 2075, HWRTData = 0x1029CBC0, EventStatus = 0x00000010, Guilty Lockup
[ 135.814558] PVR_K: 34: CRTimer = 0x00000FED3A71, OSTimer = 134.628734825, CyclesElapsed = 19712
[ 135.825551] PVR_K: 34: PreResetTimeInCycles = 28672, HWResetTimeInCycles = 68608, TotalRecoveryTimeInCycles = 97280
[ 135.839525] PVR_K: 34: BIF0 - FAULT:
[ 135.844559] PVR_K: 34: * MMU status (0x0000000000001041): PC = 1, Page Size = 0, MMU data type = 2.
[ 135.855549] PVR_K: 34: * Request (0x00050E8E690F9780): MCU (128bit word within the Lower 256bits, PDS_USC, Banks 0-3), Reading from 0x8E690F9780.
[ 135.871523] PVR_K: 34: FW logged fault using PC Address: 0x0000000077174000
[ 135.880117] PVR_K: 34: DM 3 (HWRflags 0x00000000: working; )
[ 135.888277] PVR_K: 34: DM 4 (HWRflags 0x00000000: working; )
[ 135.895215] ------------[ cut here ]------------
[ 135.901088] WARNING: CPU: 1 PID: 34 at /home/kelessaw/proj3193_valeo-r-car-platform/build_valeo-r8a77965-ucap/tmp/work/valeo_r8a77965_ucap-poky-linux/kernel-module-gles/1.0-r0/rogue_km/binary_r8a77965_linux_release/target_aarch64/kbuild/services/server/devices/rgx/rgxfwutils.c:4115 RGXCheckFirmwareCCB+0x208/0x320 [pvrsrvkm]
[ 135.934214] —[ end trace ca4e495c4f786146 ]—

Hi Karue,

I advise you use as reference and guidance the Image Based Lighting example from our SDK where eight textures are sampled to draw the helmet mesh Native_SDK/examples/OpenGLES/ImageBasedLighting/OpenGLESImageBasedLighting.cpp at master · powervr-graphics/Native_SDK · GitHub

Best regards,
Alejandro