samueltardieu / homeassistant-addon-pi-cec

HomeAssistant add-on to expose Raspberry Pi HDMI CEC
9 stars 6 forks source link

RPI4 - assertion failure in vc_vchi_dispmanx_init() - and fix #6

Closed barneyman closed 2 years ago

barneyman commented 2 years ago

Running this on my RPI4 returned the following error

2022-04-11 11:16:41,060 - pycec - WARNING - Be aware! Network is using shared event loop! assertion failure:/home/buildozer/aports/main/raspberrypi/src/userland-f73fca015d421b763936667a0b58fe5024d59921/interface/vmcs_host/vc_vchi_dispmanx.c:201:vc_vchi_dispmanx_init():success == 0

This was fixed by increasing GPU memory from 16M to 128M - other values may work

samueltardieu commented 2 years ago

Thanks for the fix.