[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
Thank you! But yes, although it now sometimes works for around 30 seconds, it still keeps freezing with the same error as before.

Just to make sure did you consider the other *small* patch, not part of the larger commit, as well? :D Intra-refresh mode bug seemed suspicous to me right off the bat.

aosp_patches_leaos/patches/phh/frameworks_av/0001-Fix-WiFi-Display-on-Huawei-devices-EMUI-8.0.patch at main · Iceows/aosp_patches_leaos

Patches for LeaOS version AOSP. Contribute to Iceows/aosp_patches_leaos development by creating an account on GitHub.

github.com

Thanks anyways :)

--------- beginning of main
05-28 22:23:01.881 18600 18608 E hw-Parcel: Buffer in parent 0xef73810000000000 differs from embedded buffer 0x0
05-28 22:23:01.881 919 919 E SurfaceFlinger: eglSwapBuffers(0x1, 0x7b3b154180) failed with 0x0000300d
05-28 22:23:01.898 966 18400 E BufferQueueProducer: [GraphicBufferSource] dequeueBuffer: attempting to exceed the max dequeued buffer count (1)
05-28 22:23:01.898 966 18400 E /vendor/bin/hw/android.hardware.media.omx@1.0-service: TWGraphicBufferProducer::dequeueBuffer - Invalid output fence
05-28 22:23:01.898 18600 18608 E hw-Parcel: Buffer in parent 0xef73810000000000 differs from embedded buffer 0x0
05-28 22:23:01.898 919 919 E SurfaceFlinger: eglSwapBuffers(0x1, 0x7b3b154180) failed with 0x0000300d
05-28 22:23:01.916 966 18400 E BufferQueueProducer: [GraphicBufferSource] dequeueBuffer: attempting to exceed the max dequeued buffer count (1)
05-28 22:23:01.916 966 18400 E /vendor/bin/hw/android.hardware.media.omx@1.0-service: TWGraphicBufferProducer::dequeueBuffer - Invalid output fence
05-28 22:23:01.916 18600 18608 E hw-Parcel: Buffer in parent 0xef73810000000000 differs from embedded buffer 0x0
05-28 22:23:01.916 919 919 E SurfaceFlinger: eglSwapBuffers(0x1, 0x7b3b154180) failed with 0x0000300d
05-28 22:23:01.934 966 18400 E BufferQueueProducer: [GraphicBufferSource] dequeueBuffer: attempting to exceed the max dequeued buffer count (1)
05-28 22:23:01.934 966 18400 E /vendor/bin/hw/android.hardware.media.omx@1.0-service: TWGraphicBufferProducer::dequeueBuffer - Invalid output fence
05-28 22:23:01.934 18600 18608 E hw-Parcel: Buffer in parent 0xef73810000000000 differs from embedded buffer 0x0
05-28 22:23:01.934 919 919 E SurfaceFlinger: eglSwapBuffers(0x1, 0x7b3b154180) failed with 0x0000300d
05-28 22:23:01.952 966 18400 E BufferQueueProducer: [GraphicBufferSource] dequeueBuffer: attempting to exceed the max dequeued buffer count (1)
05-28 22:23:01.952 966 18400 E /vendor/bin/hw/android.hardware.media.omx@1.0-service: TWGraphicBufferProducer::dequeueBuffer - Invalid output fence
05-28 22:23:01.952 18600 18608 E hw-Parcel: Buffer in parent 0xef73810000000000 differs from embedded buffer 0x0
05-28 22:23:01.952 919 919 E SurfaceFlinger: eglSwapBuffers(0x1, 0x7b3b154180) failed with 0x0000300d
05-28 22:23:01.964 966 18400 E BufferQueueProducer: [GraphicBufferSource] dequeueBuffer: attempting to exceed the max dequeued buffer count (1)
05-28 22:23:01.964 966 18400 E /vendor/bin/hw/android.hardware.media.omx@1.0-service: TWGraphicBufferProducer::dequeueBuffer - Invalid output fence
05-28 22:23:01.965 18600 18608 E hw-Parcel: Buffer in parent 0xef73810000000000 differs from embedded buffer 0x0
05-28 22:23:01.965 919 919 E SurfaceFlinger: eglSwapBuffers(0x1, 0x7b3b154180) failed with 0x0000300d