VC4: weston black screen followed by pi reboot
I have troubles to get weston (reference compositor of the wayland protocol) running with the hardware acceleration provided by the VC4 driver.
My system configuration:
- Raspberry Pi 1B+ (512 MB)
- Linux Kernel 5.2.18 (from kernel.org)
- MESA3D 19.0.8
- Weston 6.0.1
Running weston with the fbdev-backend works without problems but with the drm-backend I got the error message:
[drm:vc4_bo_create [vc4]] ERROR Failed to allocate from CMA: You may need to enable CMA or give it more memory.
The Kernel bcm2835_defconfig sets the CMA size to 32MB which seems to be too low, so I've increased it on the kernel command line:
Now weston starts up but only shows a black screen on the HDMI output and after a few seconds the pi reboots. Attached the console output of weston: weston-vc4.txt
I have no idea whether this is caused by the VC4-driver, weston or just a mistake in my configuration. I would be very grateful for any help.