# Getting a Crash when I add 3rd texture

**URL:** <https://forums.imgtec.com/t/getting-a-crash-when-i-add-3rd-texture/4046>\
**Category:** Uncategorized\
**Created:** [October 10, 2024, 5:30pm UTC](https://forums.imgtec.com/t/getting-a-crash-when-i-add-3rd-texture/4046 "2024-10-10T17:30:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karue](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@Karue](https://forums.imgtec.com/u/Karue)\
**Post date:** [October 10, 2024, 5:30pm UTC](https://forums.imgtec.com/t/getting-a-crash-when-i-add-3rd-texture/4046/1 "2024-10-10T17:30:02Z")

</div>

[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]—

---

<div class="post-metadata">

**Author:** ![AlejandroC](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@AlejandroC](https://forums.imgtec.com/u/AlejandroC)\
**Post date:** [October 11, 2024, 10:58am UTC](https://forums.imgtec.com/t/getting-a-crash-when-i-add-3rd-texture/4046/2 "2024-10-11T10:58:46Z")

</div>

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](https://github.com/powervr-graphics/Native_SDK/blob/master/examples/OpenGLES/ImageBasedLighting/OpenGLESImageBasedLighting.cpp)

Best regards,  
Alejandro
