Severe UI artifacts IMG BXE-4-32 / VisionFive2 Board

Hi, I am working on the meta-riscv Yocto layer and see severe UI artifacts during my tests on the VisionFive2 board with IMG BXE-4-32 MC1 GPU. The setup is a Wayland-only configuration with KDE Plasma running a QtQuick application. After an initial correct UI, upon starting the application, window contents are scrambled and even a restart of the compositor does not heal the issues. The issues started after the update from firmware release 1.17 to 1.19 (regarding these firmware/driver blobs https://github.com/starfive-tech/soft_3rdpart/tree/JH7110_VisionFive2_devel/IMG_GPU/out).
The PVR binary driver provides these outputs:

[  113.718572] PVR_K:  197: ------------[ PVR DBG: START (High) ]------------
[  113.725567] PVR_K:  197: OS kernel info: Linux 5.15.0 #1 SMP Thu Aug 3 08:03:54 UTC 2023 riscv64
[  113.726153] systemd-journald[176]: Sent WATCHDOG=1 notification.
[  113.734396] PVR_K:  197: DDK info: Rogue_DDK_Linux_WS rogueddk 1.19@6345021 (release) sf_7110
[  113.748968] PVR_K:  197: Time now: 113748962us
[  113.753455] PVR_K:  197: Services State: OK
[  113.757658] PVR_K:  197: Server Errors: 0
[  113.761680] PVR_K:  197: Connections Device ID:0(128) P345-V345-T345-kwin_wayland, P345-V345-T345-kwin_wayland, P345-V345-T345-kwin_wayland, P345-V345-T345-kwin_wayland,
[  113.776891] PVR_K:  197: Connections Device ID:0(128) P345-V345-T345-kwin_wayland, P345-V345-T345-kwin_wayland, P345-V345-T345-kwin_wayland, P345-V345-T345-kwin_wayland,
[  113.792068] PVR_K:  197: Connections Device ID:0(128) P345-V345-T345-kwin_wayland, P348-V348-T348-ksplashqml, P390-V390-T390-Xwayland, P390-V390-T390-Xwayland, P390-V390-T390-Xwayland,
[  113.808547] PVR_K:  197: Connections Device ID:0(128) P390-V390-T390-Xwayland, P390-V390-T390-Xwayland, P390-V390-T390-Xwayland, P407-V407-T407-plasmashell, P454-V454-T454-plasmashell,
[  113.825015] PVR_K:  197: Connections Device ID:0(128) P454-V454-T454-plasmashell, P454-V454-T454-plasmashell, P454-V454-T454-plasmashell, P454-V454-T454-plasmashell,
[  113.839823] PVR_K:  197: Connections Device ID:0(128) P454-V454-T454-plasmashell, P454-V454-T454-plasmashell, P454-V454-T464-QSGRenderThread, P454-V454-T464-QSGRenderThread,
[  113.855341] PVR_K:  197: Connections Device ID:0(128) P454-V454-T464-QSGRenderThread, P454-V454-T464-QSGRenderThread, P454-V454-T464-QSGRenderThread, P454-V454-T483-QSGRenderThread,
[  113.871550] PVR_K:  197: Connections Device ID:0(128) P454-V454-T483-QSGRenderThread, P454-V454-T483-QSGRenderThread, P454-V454-T483-QSGRenderThread, P454-V454-T490-QSGRenderThread,
[  113.887739] PVR_K:  197: Connections Device ID:0(128) P454-V454-T490-QSGRenderThread, P454-V454-T490-QSGRenderThread, P454-V454-T490-QSGRenderThread, P492-V492-T492-plasma-systemmo,
[  113.903931] PVR_K:  197: Connections Device ID:0(128) P492-V492-T492-plasma-systemmo, P492-V492-T492-plasma-systemmo, P492-V492-T497-QSGRenderThread, P492-V492-T497-QSGRenderThread,
[  113.920114] PVR_K:  197: Connections Device ID:0(128) P492-V492-T497-QSGRenderThread, P492-V492-T497-QSGRenderThread, P492-V492-T497-QSGRenderThread
[  113.933430] PVR_K:  197: ------[ Driver Info ]------
[  113.938398] PVR_K:  197: Comparison of UM/KM components: MATCHING
[  113.944522] PVR_K:  197: KM Arch: 64 Bit
[  113.948451] PVR_K:  197: UM Connected Clients: 64 Bit
[  113.953528] PVR_K:  197: UM info: 1.19 @  6345021 (release) build options: 0x80000810
[  113.961361] PVR_K:  197: KM info: 1.19 @  6345021 (release) build options: 0x00000810
[  113.969213] PVR_K:  197: Window system: nulldrmws
[  113.973938] PVR_K:  197: ------[ Server Thread Summary ]------
[  113.979785] PVR_K:  197:   pvr_defer_free : Running
[  113.984694] PVR_K:  197:     Number of deferred cleanup items Queued : 0
[  113.991398] PVR_K:  197:     Number of deferred cleanup items dropped after retry limit reached : 0
[  114.000464] PVR_K:  197:   pvr_device_wdg : Running
[  114.005356] PVR_K:  197: ------[ RGX Device ID:0 Start ]------
[  114.012579] PVR_K:  197: ------[ RGX Info ]------
[  114.018640] PVR_K:  197: Device Node (Info): 00000000520d82b4 (000000002ee16f5b)
[  114.027432] PVR_K:  197:     DevmemHistoryRecordStats - CBWC:0 MAC:3225 UMAC:2034 MRC:1582 UMRC:1271 TSC:6275 MAX:209715 CHD:14387
[  114.040525] PVR_K:  197: RGX BVNC: 36.50.54.182 (rogue)
[  114.047112] PVR_K:  197: RGX Device State: Active
[  114.053191] PVR_K:  197: RGX Power State: OFF
[  114.058918] PVR_K:  197: FW info: 1.19 @  6345021 (release) build options: 0x80000810
[  114.068125] PVR_K:  197: RGX FW State: OK (HWRState 0x00000001: HWR OK;)
[  114.076203] PVR_K:  197: RGX FW Power State: RGXFWIF_POW_OFF (APM enabled: 31 ok, 0 denied, 0 non-idle, 0 retry, 0 other, 31 total. Latency: 100 ms)
[  114.090860] PVR_K:  197: RGX DVFS: 0 frequency changes. Current frequency: 594.000 MHz (sampled at 113747736830 ns). FW frequency: 594.000 MHz.
[  114.105093] PVR_K:  197: RGX FW OS 0 - State: active; Freelists: Ok; Priority: 0; Isolation group: 0; MTS off;
[  114.116472] PVR_K:  197: Number of HWR: GP(0/0+0), 2D(0/0+0), TA(4/4+0), 3D(1/1+0), CDM(0/0+0), RAY(0/0+0), TA2(0/0+0), FALSE(0,0,0,0,0,0,0)
[  114.130446] PVR_K:  197: DM 0 (GP)
[  114.135204] PVR_K:  197: DM 1 (HWRflags 0x00000000: working;)
[  114.142314] PVR_K:  197: DM 2 (HWRflags 0x00000000: working;)
[  114.149484] PVR_K:  197:   Recovery 1: Core = 0, PID = 492 / plasma-systemmo, frame = 361, HWRTData = 0xC012A340, EventStatus = 0x00000000, Guilty Lockup
[  114.164551] PVR_K:  197:               CRTimer = 0x000000E50E0E, OSTimer = 113.615893665, CyclesElapsed = 58624
[  114.176013] PVR_K:  197:               PreResetTimeInCycles = 24576, HWResetTimeInCycles = 16896, FreelistReconTimeInCycles = 176640, TotalRecoveryTimeInCycles = 218112
[  114.192406] PVR_K:  197:     BIF0 - FAULT:
[  114.197882] PVR_K:  197:       * MMU status (0x0000000000007001): PC = 7, Page Size = 0 (Page Table).
[  114.208468] PVR_K:  197:       * Request (0x0010148000afa0a0): MCU PDS USCA (-), Reading from 0x8000AFA0A0.
[  114.219592] PVR_K:  197:     PCE for index 512 = 0x0047bd21 and is valid
[  114.227644] PVR_K:  197:     PDE for index 5 = 0x0000000046ed5001 and is valid
[  114.236238] PVR_K:  197:     PTE for index 250 = 0x00000badbad00b88 and is not valid
[  114.245348] PVR_K:  197:     Device memory history for page fault address 0x8000AFA0A0, PID: 492 (plasma-systemmo, unregistered: 0) OS time: 114.219581250
[  114.260519] PVR_K:  197:       No matching Devmem History for fault address
[  114.268861] PVR_K:  197:     DevmemHistoryRecordStats - CBWC:0 MAC:3226 UMAC:2034 MRC:1582 UMRC:1271 TSC:6276 MAX:209715 CHD:14389
[  114.281960] PVR_K:  197:       Records Searched - PP:0 FP:0 NP:0
[  114.289346] PVR_K:  197:   Recovery 2: Core = 0, PID = 492 / plasma-systemmo, frame = 362, HWRTData = 0xC012A440, EventStatus = 0x00000000, Guilty Lockup
[  114.304433] PVR_K:  197:               CRTimer = 0x000000E5A333, OSTimer = 113.632348776, CyclesElapsed = 19968
[  114.315882] PVR_K:  197:               PreResetTimeInCycles = 22784, HWResetTimeInCycles = 14336, FreelistReconTimeInCycles = 183040, TotalRecoveryTimeInCycles = 220160
[  114.332273] PVR_K:  197:     BIF0 - FAULT:
[  114.337747] PVR_K:  197:       * MMU status (0x0000000000003001): PC = 3, Page Size = 0 (Page Table).
[  114.348333] PVR_K:  197:       * Request (0x0010148000afa0a0): MCU PDS USCA (-), Reading from 0x8000AFA0A0.
[  114.359453] PVR_K:  197:     PCE for index 512 = 0x0047bd21 and is valid
[  114.367517] PVR_K:  197:     PDE for index 5 = 0x0000000046ed5001 and is valid
[  114.376102] PVR_K:  197:     PTE for index 250 = 0x00000badbad00b88 and is not valid
[  114.385221] PVR_K:  197:     Device memory history for page fault address 0x8000AFA0A0, PID: 492 (plasma-systemmo, unregistered: 0) OS time: 114.359444750
[  114.400393] PVR_K:  197:       No matching Devmem History for fault address
[  114.408726] PVR_K:  197:     DevmemHistoryRecordStats - CBWC:0 MAC:3226 UMAC:2044 MRC:1582 UMRC:1271 TSC:6292 MAX:209715 CHD:14415
[  114.421823] PVR_K:  197:       Records Searched - PP:0 FP:0 NP:0
[  114.429208] PVR_K:  197:   Recovery 3: Core = 0, PID = 492 / plasma-systemmo, frame = 363, HWRTData = 0xC012A540, EventStatus = 0x00000010, Innocent Lockup
[  114.444470] PVR_K:  197:               CRTimer = 0x000000E600CB, OSTimer = 113.642674971, CyclesElapsed = 23808
[  114.455923] PVR_K:  197:               PreResetTimeInCycles = 38912, HWResetTimeInCycles = 79360, FreelistReconTimeInCycles = 723456, TotalRecoveryTimeInCycles = 841728
[  114.472314] PVR_K:  197:     BIF0 - FAULT:
[  114.477786] PVR_K:  197:       * MMU status (0x0000000000003001): PC = 3, Page Size = 0 (Page Table).
[  114.488371] PVR_K:  197:       * Request (0x0010148000afa0a0): MCU PDS USCA (-), Reading from 0x8000AFA0A0.
[  114.499486] PVR_K:  197:     PCE for index 512 = 0x0047bd21 and is valid
[  114.507553] PVR_K:  197:     PDE for index 5 = 0x0000000046ed5001 and is valid
[  114.516142] PVR_K:  197:     PTE for index 250 = 0x00000badbad00b88 and is not valid
[  114.525255] PVR_K:  197:     Device memory history for page fault address 0x8000AFA0A0, PID: 492 (plasma-systemmo, unregistered: 0) OS time: 114.499480000
[  114.540431] PVR_K:  197:       No matching Devmem History for fault address
[  114.548764] PVR_K:  197:     DevmemHistoryRecordStats - CBWC:0 MAC:3226 UMAC:2044 MRC:1582 UMRC:1271 TSC:6292 MAX:209715 CHD:14415
[  114.561861] PVR_K:  197:       Records Searched - PP:0 FP:0 NP:0
[  114.569248] PVR_K:  197:   Recovery 4: Core = 0, PID = 492 / plasma-systemmo, frame = 364, HWRTData = 0xC012A240, EventStatus = 0x00000000, Guilty Lockup
[  114.584333] PVR_K:  197:               CRTimer = 0x000000000217, OSTimer = 113.747961368, CyclesElapsed = 21248
[  114.595785] PVR_K:  197:               PreResetTimeInCycles = 23040, HWResetTimeInCycles = 14336, FreelistReconTimeInCycles = 180224, TotalRecoveryTimeInCycles = 217600
[  114.612176] PVR_K:  197:     BIF0 - FAULT:
[  114.617650] PVR_K:  197:       * MMU status (0x0000000000003001): PC = 3, Page Size = 0 (Page Table).
[  114.628238] PVR_K:  197:       * Request (0x0010148000afa0a0): MCU PDS USCA (-), Reading from 0x8000AFA0A0.
[  114.639347] PVR_K:  197:     PCE for index 512 = 0x0047bd21 and is valid
[  114.647412] PVR_K:  197:     PDE for index 5 = 0x0000000046ed5001 and is valid
[  114.656005] PVR_K:  197:     PTE for index 250 = 0x00000badbad00b88 and is not valid
[  114.665118] PVR_K:  197:     Device memory history for page fault address 0x8000AFA0A0, PID: 492 (plasma-systemmo, unregistered: 0) OS time: 114.639341250
[  114.680294] PVR_K:  197:       No matching Devmem History for fault address
[  114.688627] PVR_K:  197:     DevmemHistoryRecordStats - CBWC:0 MAC:3226 UMAC:2044 MRC:1582 UMRC:1271 TSC:6292 MAX:209715 CHD:14415
[  114.701725] PVR_K:  197:       Records Searched - PP:0 FP:0 NP:0
[  114.709107] PVR_K:  197: DM 3 (HWRflags 0x00000000: working;)
[  114.716227] PVR_K:  197:   Recovery 3: Core = 0, PID = 345 / kwin_wayland, frame = 0, HWRTData = 0xC002B9C0, EventStatus = 0x00000010, Innocent Lockup
[  114.731056] PVR_K:  197:               CRTimer = 0x000000E6010E, OSTimer = 113.642703847, CyclesElapsed = 146176
[  114.742600] PVR_K:  197:               PreResetTimeInCycles = 21760, HWResetTimeInCycles = 79360, FreelistReconTimeInCycles = 723456, TotalRecoveryTimeInCycles = 824576
[  114.758987] PVR_K:  197:     BIF0 - FAULT:
[  114.764463] PVR_K:  197:       * MMU status (0x0000000000003001): PC = 3, Page Size = 0 (Page Table).
[  114.775046] PVR_K:  197:       * Request (0x0010148000afa0a0): MCU PDS USCA (-), Reading from 0x8000AFA0A0.
[  114.786157] PVR_K:  197:     PCE for index 512 = 0x0047bd21 and is valid
[  114.794223] PVR_K:  197:     PDE for index 5 = 0x0000000046ed5001 and is valid
[  114.802814] PVR_K:  197:     PTE for index 250 = 0x00000badbad00b88 and is not valid
[  114.811916] PVR_K:  197:     Device memory history for page fault address 0x8000AFA0A0, PID: 492 (plasma-systemmo, unregistered: 0) OS time: 114.786151500
[  114.827105] PVR_K:  197:       No matching Devmem History for fault address
[  114.835438] PVR_K:  197:     DevmemHistoryRecordStats - CBWC:0 MAC:3226 UMAC:2044 MRC:1582 UMRC:1271 TSC:6292 MAX:209715 CHD:14415
[  114.848535] PVR_K:  197:       Records Searched - PP:0 FP:0 NP:0
[  114.855916] PVR_K:  197: DM 4 (HWRflags 0x00000000: working;)
[  114.863039] PVR_K:  197: DM 5 (HWRflags 0x00000000: working;)
[  114.870142] PVR_K:  197: DM 6 (HWRflags 0x00000000: working;)
[  114.877277] PVR_K:  197: RGX Kernel CCB WO:0x3E RO:0x3E
[  114.883869] PVR_K:  197: RGX Firmware CCB WO:0xC RO:0xC
[  114.890456] PVR_K:  197: RGX Kernel CCB commands executed = 16830
[  114.897937] PVR_K:  197: RGX SLR: Forced UFO updates requested = 0
[  114.905485] PVR_K:  197: RGX Errors: WGP:0, TRP:0
[  114.911553] PVR_K:  197: Thread0: FW IRQ count = 28547
[  114.918075] PVR_K:  197: Last sampled IRQ count in LISR = 28547
[  114.925370] PVR_K:  197: FW System config flags = 0x00020010 (Ctx switch options: Medium CSW profile; Power Rascal/Dust;)
[  114.937688] PVR_K:  197: FW OS config flags = 0x0000000F (Ctx switch: TDM; TA; 3D; CDM;)
[  114.947146] PVR_K:  197:  (!) RGX power is down. No registers dumped
[  114.954871] PVR_K:  197: ------[ RGX FW Trace Info ]------
[  114.961718] PVR_K:  197: Debug log type: none
[  114.967462] PVR_K:  197: RGX FW thread 0: Trace buffer not yet allocated
[  114.975533] PVR_K:  197: ------[ Full CCB Status ]------
[  114.982211] PVR_K:  197: FWCtx 0xC002BDC0 (TQ_3D-P345-T345-kwin_wayland)
[  114.990295] PVR_K:  197:   `--<Empty>
[  114.995332] PVR_K:  197: FWCtx 0xC0030CC0 (TQ_3D-P390-T390-Xwayland)
[  115.003055] PVR_K:  197:   `--<Empty>
[  115.008084] PVR_K:  197: FWCtx 0xC0031D40 (TQ_3D-P454-T464-QSGRenderThre)
[  115.016252] PVR_K:  197:   `--<Empty>
[  115.021280] PVR_K:  197: FWCtx 0xC012A640 (TQ_3D-P492-T497-QSGRenderThre)
[  115.029449] PVR_K:  197:   `--<Empty>
[  115.034490] PVR_K:  197: FWCtx 0xC002B080 (TA-P345-T345-kwin_wayland)
[  115.042288] PVR_K:  197:   `--<Empty>
[  115.047340] PVR_K:  197: FWCtx 0xC002B130 (3D-P345-T345-kwin_wayland)
[  115.055151] PVR_K:  197:   `--<Empty>
[  115.060180] PVR_K:  197: FWCtx 0xC0030900 (TA-P390-T390-Xwayland)
[  115.067655] PVR_K:  197:   `--<Empty>
[  115.072696] PVR_K:  197: FWCtx 0xC00309B0 (3D-P390-T390-Xwayland)
[  115.080148] PVR_K:  197:   `--<Empty>
[  115.085200] PVR_K:  197: FWCtx 0xC0031000 (TA-P454-T454-plasmashell)
[  115.092923] PVR_K:  197:   `--<Empty>
[  115.097952] PVR_K:  197: FWCtx 0xC00310B0 (3D-P454-T454-plasmashell)
[  115.105690] PVR_K:  197:   `--<Empty>
[  115.110715] PVR_K:  197: FWCtx 0xC0031300 (TA-P454-T454-plasmashell)
[  115.118450] PVR_K:  197:   `--<Empty>
[  115.123490] PVR_K:  197: FWCtx 0xC00313B0 (3D-P454-T454-plasmashell)
[  115.131203] PVR_K:  197:   `--<Empty>
[  115.136269] PVR_K:  197: FWCtx 0xC0031600 (TA-P454-T464-QSGRenderThread)
[  115.144327] PVR_K:  197:   `--<Empty>
[  115.149354] PVR_K:  197: FWCtx 0xC00316B0 (3D-P454-T464-QSGRenderThread)
[  115.157436] PVR_K:  197:   `--<Empty>
[  115.162477] PVR_K:  197: FWCtx 0xC0031980 (TA-P454-T464-QSGRenderThread)
[  115.170536] PVR_K:  197:   `--<Empty>
[  115.175588] PVR_K:  197: FWCtx 0xC0031A30 (3D-P454-T464-QSGRenderThread)
[  115.183660] PVR_K:  197:   `--<Empty>
[  115.188689] PVR_K:  197: FWCtx 0xC0268480 (TA-P454-T483-QSGRenderThread)
[  115.196771] PVR_K:  197:   `--<Empty>
[  115.201799] PVR_K:  197: FWCtx 0xC0268530 (3D-P454-T483-QSGRenderThread)
[  115.209882] PVR_K:  197:   `--<Empty>
[  115.214923] PVR_K:  197: FWCtx 0xC002EA00 (TA-P454-T483-QSGRenderThread)
[  115.222997] PVR_K:  197:   `--<Empty>
[  115.228022] PVR_K:  197: FWCtx 0xC002EAB0 (3D-P454-T483-QSGRenderThread)
[  115.236104] PVR_K:  197:   `--<Empty>
[  115.241133] PVR_K:  197: FWCtx 0xC0117000 (TA-P454-T490-QSGRenderThread)
[  115.249214] PVR_K:  197:   `--<Empty>
[  115.254255] PVR_K:  197: FWCtx 0xC01170B0 (3D-P454-T490-QSGRenderThread)
[  115.262314] PVR_K:  197:   `--<Empty>
[  115.267367] PVR_K:  197: FWCtx 0xC0117380 (TA-P454-T490-QSGRenderThread)
[  115.275437] PVR_K:  197:   `--<Empty>
[  115.280466] PVR_K:  197: FWCtx 0xC0117430 (3D-P454-T490-QSGRenderThread)
[  115.288548] PVR_K:  197:   `--<Empty>
[  115.293588] PVR_K:  197: FWCtx 0xC0129880 (TA-P492-T497-QSGRenderThread)
[  115.301646] PVR_K:  197:   `--<Empty>
[  115.306697] PVR_K:  197: FWCtx 0xC0129930 (3D-P492-T497-QSGRenderThread)
[  115.314768] PVR_K:  197:   `--<Empty>
[  115.319797] PVR_K:  197: FWCtx 0xC0129C40 (TA-P492-T497-QSGRenderThread)
[  115.327879] PVR_K:  197:   `--<Empty>
[  115.332919] PVR_K:  197: FWCtx 0xC0129CF0 (3D-P492-T497-QSGRenderThread)
[  115.340978] PVR_K:  197:   `--<Empty>
[  115.346035] PVR_K:  197: ------[ RGX Device ID:0 End ]------
[  115.353069] PVR_K:  197: ------[ Device ID: 128 - Phys Heaps ]------
[  115.360797] PVR_K:  197: 0x0000000002ce1ea5 -> PdMs: SYSMEM, Type: UMA, Usage Flags: 0x00000002 (, GPU_LOCAL), Refs: 11, Free Size: 2988843008B, Total Size: 4065075200B
[  115.377192] PVR_K:  197: ------[ System Summary Device ID:0 ]------
[  115.384823] PVR_K:  197: Device System Power State: ON
[  115.391323] PVR_K:  197: MaxHWTOut: 500000us, WtTryCt: 10000, WDGTOut(on,off): (1500ms,3600000ms)
[  115.401574] PVR_K:  197: ------[ AppHint Settings ]------
[  115.408345] PVR_K:  197:   Build Vars
[  115.413387] PVR_K:  197:     EnableTrustedDeviceAceConfig: N
[  115.420405] PVR_K:  197:     CleanupThreadPriority: 0x00000005
[  115.427622] PVR_K:  197:     WatchdogThreadPriority: 0x00000000
[  115.434914] PVR_K:  197:     HWPerfClientBufferSize: 0x000c0000
[  115.442194] PVR_K:  197:     DevmemHistoryBufSizeLog2: 0x0000000b
[  115.449670] PVR_K:  197:     DevmemHistoryMaxEntries: 0x00002710
[  115.457050] PVR_K:  197:   Module Params
[  115.462341] PVR_K:  197:     none
[  115.467044] PVR_K:  197:   Debug Info Params
[  115.472689] PVR_K:  197:     CacheOpConfig: 0x00000008
[  115.479186] PVR_K:  197:   Debug Info Params Device ID: 0
[  115.485974] PVR_K:  197:     none
[  115.490652] PVR_K:  197: ------[ HTB Log state: Off ]------
[  115.497609] PVR_K:  197: ------[ Active Sync Checkpoints ]------
[  115.504988] PVR_K:  197: (SyncCP Counts: InUse:60 Max:143)
[  115.511859] sw: RM_SWTimeline-kwin_wayland-345 @0 cur=0
[  115.518445] sw: RM_SWTimeline-Xwayland-390 @0 cur=0
[  115.524697] sw: RM_SWTimeline-plasmashell-454 @0 cur=0
[  115.531197] sw: RM_SWTimeline-plasma-systemmoni @0 cur=0
[  115.537894] ------[ Native Fence Sync: timelines ]------
[  115.544574] foreign_sync: @0 ctx=3 refs=1
[  115.549954] rogue-ta3d: @0 ctx=6 refs=1
[  115.555177] rogue-ta3d: @4885 ctx=7 refs=9
[  115.560641]  @2863: (++) refs=1 fwaddr=0xc0029389 enqueue=2 status=Signalled 2863-update fence
[  115.570618]  @2897: (++) refs=1 fwaddr=0xc00293d1 enqueue=2 status=Signalled 2897-update fence
[  115.580596]  @2949: (++) refs=1 fwaddr=0xc0029219 enqueue=2 status=Signalled 2949-update fence
[  115.590575]  @3412: (++) refs=1 fwaddr=0xc0029111 enqueue=2 status=Signalled 3412-update fence
[  115.600553]  @4818: (++) refs=1 fwaddr=0xc0029359 enqueue=3 status=Signalled 4818-update fence
[  115.610532]  @4872: (++) refs=1 fwaddr=0xc00291d1 enqueue=2 status=Signalled 4872-update fence
[  115.620511]  @4881: (++) refs=2 fwaddr=0xc00290c1 enqueue=2 status=Signalled 4881-update fence
[  115.630490]  @4883: (++) refs=1 fwaddr=0xc0029349 enqueue=2 status=Signalled 4883-update fence
[  115.640469]  @4884: (++) refs=1 fwaddr=0xc00290e9 enqueue=1 status=Signalled 4884-update fence
[  115.650463] V3-kwin_wayland-345: @11539 ctx=8 refs=1
[  115.656787]  @22: (++) refs=1 fwaddr=0xc0029321 enqueue=1 status=Signalled 22-es3_DoKickTA_21
[  115.666689] P3-kwin_wayland-345: @11539 ctx=9 refs=1
[  115.673017]  @22: (++) refs=1 fwaddr=0xc0029329 enqueue=1 status=Signalled 22-es3_DoKick3D_21
[  115.682920] rogue-tq3d: @1494 ctx=10 refs=1
[  115.688468] rogue-ta3d: @0 ctx=81 refs=1
[  115.693778] rogue-tq3d: @0 ctx=85 refs=1
[  115.699065] rogue-ta3d: @0 ctx=3087 refs=1
[  115.704548] rogue-ta3d: @0 ctx=3088 refs=1
[  115.710010] rogue-ta3d: @31 ctx=3438 refs=3
[  115.715569]  @29: (++) refs=1 fwaddr=0xc0029039 enqueue=364 status=Signalled 29-update fence
[  115.725375]  @30: (++) refs=1 fwaddr=0xc0029001 enqueue=17 status=Signalled 30-update fence
[  115.735103] rogue-ta3d: @0 ctx=3439 refs=1
[  115.740564] rogue-tq3d: @0 ctx=3461 refs=1
[  115.746047] V3-smashell-QSGRenderThread-454: @40 ctx=3486 refs=5
[  115.753416]  @10: (++) refs=1 fwaddr=0xc0029101 enqueue=1 status=Signalled 10-es3_DoKickTA_10
[  115.763309]  @13: (++) refs=2 fwaddr=0xc00291b9 enqueue=1 status=Signalled 13-es3_DoKickTA_14
[  115.773201]  @37: (++) refs=1 fwaddr=0xc0029309 enqueue=1 status=Signalled 37-es3_DoKickTA_597
[  115.783180]  @39: (++) refs=2 fwaddr=0xc0029431 enqueue=1 status=Signalled 39-es3_DoKickTA_611
[  115.793174] P3-smashell-QSGRenderThread-454: @40 ctx=3487 refs=9
[  115.800539]  @10: (++) refs=2 fwaddr=0xc0029121 enqueue=1 status=Signalled 10-es3_DoKick3D_10
[  115.810430]  @12: (++) refs=1 fwaddr=0xc0029279 enqueue=1 status=Signalled 12-es3_DoKick3D_11
[  115.820322]  @13: (++) refs=2 fwaddr=0xc0029299 enqueue=1 status=Signalled 13-es3_DoKick3D_14
[  115.830214]  @35: (++) refs=1 fwaddr=0xc0029071 enqueue=1 status=Signalled 35-es3_DoKick3D_523
[  115.840193]  @36: (++) refs=1 fwaddr=0xc00290a1 enqueue=1 status=Signalled 36-es3_DoKick3D_592
[  115.850172]  @37: (++) refs=1 fwaddr=0xc00291c1 enqueue=1 status=Signalled 37-es3_DoKick3D_597
[  115.860151]  @38: (++) refs=2 fwaddr=0xc0029081 enqueue=1 status=Signalled 38-es3_DoKick3D_605
[  115.870129]  @39: (++) refs=2 fwaddr=0xc0029339 enqueue=1 status=Signalled 39-es3_DoKick3D_611
[  115.880119] QE-smashell-QSGRenderThread-454: @474 ctx=4356 refs=4
[  115.887574]  @0: (++) refs=1 fwaddr=0xc0029261 enqueue=2 status=Signalled 0-TDM
[  115.896252]  @418: (++) refs=1 fwaddr=0xc00292a1 enqueue=1 status=Signalled 418-TDM
[  115.905277]  @473: (++) refs=1 fwaddr=0xc00292c1 enqueue=1 status=Signalled 473-TDM
[  115.914316] rogue-ta3d: @108 ctx=4458 refs=4
[  115.919948]  @92: (++) refs=1 fwaddr=0xc0029181 enqueue=2 status=Signalled 92-update fence
[  115.929580]  @106: (++) refs=1 fwaddr=0xc00290d1 enqueue=2 status=Signalled 106-update fence
[  115.939385]  @107: (++) refs=1 fwaddr=0xc0029291 enqueue=4 status=Signalled 107-update fence
[  115.949201] rogue-ta3d: @0 ctx=4459 refs=1
[  115.954673] V3-smashell-QSGRenderThread-454: @108 ctx=4480 refs=3
[  115.962129]  @92: (++) refs=1 fwaddr=0xc0029449 enqueue=1 status=Signalled 92-es3_DoKickTA_675
[  115.972107]  @107: (++) refs=2 fwaddr=0xc0029401 enqueue=1 status=Signalled 107-es3_DoKickTA_691
[  115.982269] P3-smashell-QSGRenderThread-454: @108 ctx=4481 refs=8
[  115.989725]  @75: (++) refs=1 fwaddr=0xc00290f9 enqueue=1 status=Signalled 75-es3_DoKick3D_521
[  115.999703]  @76: (++) refs=1 fwaddr=0xc0029049 enqueue=1 status=Signalled 76-es3_DoKick3D_593
[  116.009682]  @77: (++) refs=1 fwaddr=0xc0029089 enqueue=1 status=Signalled 77-es3_DoKick3D_598
[  116.019661]  @92: (++) refs=1 fwaddr=0xc00291c9 enqueue=1 status=Signalled 92-es3_DoKick3D_675
[  116.029639]  @105: (++) refs=1 fwaddr=0xc0029151 enqueue=1 status=Signalled 105-es3_DoKick3D_689
[  116.039791]  @106: (++) refs=2 fwaddr=0xc0029169 enqueue=1 status=Signalled 106-es3_DoKick3D_690
[  116.049943]  @107: (++) refs=2 fwaddr=0xc0029139 enqueue=1 status=Signalled 107-es3_DoKick3D_691
[  116.060109] QE-kwin_wayland-345: @1523 ctx=4487 refs=1
[  116.066617] rogue-ta3d: @67 ctx=4880 refs=4
[  116.072166]  @64: (++) refs=1 fwaddr=0xc00290d9 enqueue=2 status=Signalled 64-update fence
[  116.081798]  @65: (++) refs=1 fwaddr=0xc0029229 enqueue=8 status=Signalled 65-update fence
[  116.091431]  @66: (++) refs=1 fwaddr=0xc00292c9 enqueue=10 status=Signalled 66-update fence
[  116.101160] rogue-ta3d: @0 ctx=4881 refs=1
[  116.106649] V3-smashell-QSGRenderThread-454: @70 ctx=4907 refs=5
[  116.114006]  @65: (++) refs=1 fwaddr=0xc0029069 enqueue=1 status=Signalled 65-es3_DoKickTA_595
[  116.123986]  @66: (++) refs=1 fwaddr=0xc0029141 enqueue=1 status=Signalled 66-es3_DoKickTA_596
[  116.133964]  @67: (++) refs=1 fwaddr=0xc00292d1 enqueue=1 status=Signalled 67-es3_DoKickTA_599
[  116.143944]  @69: (++) refs=1 fwaddr=0xc0029411 enqueue=1 status=Signalled 69-es3_DoKickTA_600
[  116.153950] P3-smashell-QSGRenderThread-454: @70 ctx=4908 refs=4
[  116.161306]  @66: (++) refs=2 fwaddr=0xc00290f1 enqueue=1 status=Signalled 66-es3_DoKick3D_596
[  116.169925]  @67: (++) refs=2 fwaddr=0xc00292e9 enqueue=1 status=Signalled 67-es3_DoKick3D_599
[  116.178543]  @69: (++) refs=1 fwaddr=0xc0029361 enqueue=1 status=Signalled 69-es3_DoKick3D_600
[  116.187185] rogue-ta3d: @365 ctx=6076 refs=4
[  116.192811]  @362: (++) refs=1 fwaddr=0xc0029031 enqueue=2 status=Signalled 362-update fence
[  116.201249]  @363: (++) refs=1 fwaddr=0xc0029029 enqueue=1 status=Signalled 363-update fence
[  116.209687]  @364: (++) refs=1 fwaddr=0xc00293f1 enqueue=1 status=Signalled 364-update fence
[  116.218135] rogue-ta3d: @0 ctx=6077 refs=1
[  116.223611] rogue-tq3d: @0 ctx=6109 refs=1
[  116.229071] QE-mmonitor-QSGRenderThread-492: @402 ctx=6110 refs=2
[  116.236539]  @401: (++) refs=1 fwaddr=0xc0029011 enqueue=1 status=Signalled 401-TDM
[  116.244211] V3-mmonitor-QSGRenderThread-492: @365 ctx=6111 refs=4
[  116.251667]  @362: (++) refs=1 fwaddr=0xc0029231 enqueue=1 status=Signalled 362-es3_DoKickTA_764
[  116.260452]  @363: (++) refs=1 fwaddr=0xc00293e9 enqueue=1 status=Signalled 363-es3_DoKickTA_765
[  116.269238]  @364: (++) refs=2 fwaddr=0xc00293f9 enqueue=1 status=Signalled 364-es3_DoKickTA_766
[  116.278035] P3-mmonitor-QSGRenderThread-492: @365 ctx=6112 refs=4
[  116.285491]  @362: (++) refs=2 fwaddr=0xc00293a9 enqueue=1 status=Signalled 362-es3_DoKick3D_764
[  116.294277]  @363: (++) refs=2 fwaddr=0xc0029439 enqueue=1 status=Signalled 363-es3_DoKick3D_765
[  116.303062]  @364: (++) refs=2 fwaddr=0xc0029099 enqueue=1 status=Signalled 364-es3_DoKick3D_766
[  116.311863] rogue-ta3d: @0 ctx=8131 refs=0
[  116.317338] PVR_K:  197: ------------[ PVR DBG: END ]------------
[  116.324870] ------------[ cut here ]------------
[  116.330783] WARNING: CPU: 3 PID: 197 at drivers/gpu/drm/img/img-rogue/services/server/common/pvr_notifier.c:645 PVRSRVDebugRequest+0x330/0x5d8 [pvrsrvkm]
[  116.345878] Modules linked in: venc(O) vdec(O) jpu(O) starfive_mailbox starfive_mailbox_test pvrsrvkm
[  116.356468] CPU: 3 PID: 197 Comm: pvr_device_wdg Tainted: G           O      5.15.0 #1
[  116.365755] Hardware name: StarFive VisionFive V2 (DT)
[  116.372274] epc : PVRSRVDebugRequest+0x330/0x5d8 [pvrsrvkm]
[  116.379223]  ra : PVRSRVDebugRequest+0x330/0x5d8 [pvrsrvkm]
[  116.386172] epc : ffffffff015c6ac6 ra : ffffffff015c6ac6 sp : ffffffd016cf3d20
[  116.394767]  gp : ffffffff81504580 tp : ffffffe0c2323480 t0 : ffffffff815145af
[  116.403363]  t1 : 0000000000000001 t2 : 0000000000000000 s0 : ffffffd016cf3d80
[  116.411959]  s1 : ffffffe0c41020a0 a0 : ffffffff01696590 a1 : 0000000200000022
[  116.420552]  a2 : ffffffe0fc5a4228 a3 : 0000000000000000 a4 : 0000000000000000
[  116.429146]  a5 : 0000000000000000 a6 : 0000000000000000 a7 : ffffffd016cf3a30
[  116.437743]  s2 : 0000000000000000 s3 : 0000000000000000 s4 : 0000000000000002
[  116.446337]  s5 : ffffffe0c0034f20 s6 : ffffffe0c0035720 s7 : ffffffe0c0034f20
[  116.454929]  s8 : ffffffe0c0034e08 s9 : ffffffe0c0035608 s10: ffffffff80028a70
[  116.463525]  s11: 0000000000000000 t3 : 0000000000000050 t4 : ffffffffffffffff
[  116.472119]  t5 : ffffffff016540c0 t6 : 45203a4742442052
[  116.478807] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003
[  116.488097] [<ffffffff015c6ac6>] PVRSRVDebugRequest+0x330/0x5d8 [pvrsrvkm]
[  116.496344] [<ffffffff015c7020>] DevicesWatchdogThread_ForEachVaCb+0x8a/0xca [pvrsrvkm]
[  116.505719] [<ffffffff015b7832>] List_PVRSRV_DEVICE_NODE_ForEach_va+0x3a/0x62 [pvrsrvkm]
[  116.515179] [<ffffffff015c6e6e>] DevicesWatchdogThread+0xa0/0x1c8 [pvrsrvkm]
[  116.523600] [<ffffffff015a41f0>] OSThreadRun+0x22/0x56 [pvrsrvkm]
[  116.531065] [<ffffffff800288da>] kthread+0xfe/0x114
[  116.537317] [<ffffffff80003104>] ret_from_exception+0x0/0xc
[  116.544266] ---[ end trace 620e211a4c74a390 ]---

If I can provide further information / specific traces / test image / etc. please tell me.

Please finde the attached foto of the screen output.

Hi cordlandwehr,

Welcome to PVR Developer Forum!

Thank you for providing these informations.
We will start to investigate the issue and get back to you as soon as possible.

Regards,
Melih

Hi cordlandwehr,

Just to double-check with you, are you seeing this problem on system boot? Is there a problem with system UI or is it happening on launching your own application after upgrading to 1.19?

Would you mind give the information of which API your application is using with QtQuick?

Regards,
Melih

Hi, I can correctly boot the board, Wayland compositor and Plasma shell start up correctly. But upon starting any additional QtQuick application (at least all that I tested) I get this result or similar. My Qt is Qt 6.5 from this report but seeing the same behavior with Qt 5.15. Most interestingly is probably that I am using GLES/OpenGL-ES instead of Desktop GL as Qt’s backend.
The reference system on which I can confirm the issue not be present is using firmware release 1.17 (as provided by StarFive). However with the update to 1.19 came also a major update of the tool chain (Yocto Kirkstone to Mickledore), updates of the StarFive Kernel and updates of the Mesa patches to support the respective PVR Kernel driver that wraps the binary driver.

Hi cordlandwehr,

Thank you for providing the informations.
We are investigating the issue and will get back to you as soon as possible.

Regards,
Melih

Hi cordlandwehr,

Thank you for your patience for this investigation.

  • Would you mind provide us more information about how original output is looking in that case compared to broken one?

  • Have you had any chance to run it on another device?

  • Have you contacted StarFive about this issue?

It would be good for us if you also provide an API trace for the incorrect output.
We will continue to look into that issue based on the information you’ve provided.

Regards,
Melih

Hi, I have a curious effect when collecting the apitrace logs. When I start with apitrace I never see any UI artifacts/GPU hangs (never == tried about 30 times) while without running inside apitrace every application startup (always == tried about 10 times) leads to a UI freeze/heavy artifacts.
My calls are

XDG_RUNTIME_DIR=/var/run/user/1001 QT_PLUGIN_PATH=/usr/lib/plugins/ QT_PLATFORM_PLUGIN_PATH=/usr/lib/plugins/platform apitrace trace --output foo.trace --api egl /usr/bin/elisa -platform wayland-egl

vs.

XDG_RUNTIME_DIR=/var/run/user/1001 QT_PLUGIN_PATH=/usr/lib/plugins/ QT_PLATFORM_PLUGIN_PATH=/usr/lib/plugins/platform /usr/bin/elisa -platform wayland-egl

Does this behavior help to narrow down the problem location? Do you have any hints how to obtain traces for this situation? Or are the apitrace traces from a correctly starting application helpful to you, which I do not expect?

Hi cordlandwehr,

Before we continue to investigate based on these informations:

  • Have you contacted StarFive about this issue?
  • Have you had any chance to run it on another device?

We will get back to you as soon as possible.

Regards,
Melih

Hi, yes I asked about this issue in the official forum but did not get any reply. I also posted this answer with a link to the post but that one apparently is still in moderation queue here.
This board is the only JH7110 board I have access to, so I cannot test on other devices.

Hi cordlandwehr,

Would you mind also share with us a PVRCarbon recording for this issue?
It would be great for us to analyse it other than API Trace.

You can download PVRCarbon from the link below:

Documentation:

Please let us know if you have any questions regarding to PVRCarbon recordings.

Regards,
Melih

Hi Melih, I will gladly provide that but I need a little bit more guidance. Using the mentioned PVRCarbon, I used the “PowerVR_Tools/PVRCarbon/Recorder/GLES/Linux_riscv_64/” files.
Upon starting, I get the following dynamic linker error, but it is unclear which library provides the missing symbol:

/usr/bin/elisa: symbol lookup error: /tracelib2/libPVRCarbon.so: undefined symbol: _ZN4HookC1Ev
visionfive2:/tmp$ XDG_RUNTIME_DIR=/var/run/user/1001 QT_PLUGIN_PATH=/usr/lib/plugins/ QT_PLATFORM_PLUGIN_PATH=/usr/lib/plugins/platform LD_LIBRARY_PATH="/tracelib/:${LD_LIBRARY_PATH}" /usr/bin/elisa -platform wayland-egl
PVRCarbon Recorder v0.10 (23.1@4b4b96bced1c)
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, but has failed to switch to one.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
/usr/bin/elisa: symbol lookup error: /tracelib/libPVRCarbon.so: undefined symbol: _ZN4HookC1Ev

Hi cordlanwehr,

We’ve talked to our Tools team and it appears to be a bug at the moment.
Thank you for your feedback.

We will get back to you as soon as possible.

Regards,
Melih

Hi cordlandwehr,

We have a quick fix for you to try for the PVRCarbon issue.

Would you mind send an email to this address:
devtech.portal@imgtec.com

We will share you the details.

Regards,
Melih