# modify existing /boot/config.txt ... # adding cma-320 is specific parameter for the vc4 module to enable a larger CMA (continuous memory) block # this addresses the "unable to allocate memory" dtoverlay=vc4-kms-v3d,cma-320 ...