Problem
When running GNOME on Fedora 41 on a Raspberry Pi 4 or 400, you may find some applications (GTK 4-based ones) crash on window resize operations. This also includes maximizing, full-screening, and ‘snapping’ windows.
You can discuss this issue here.
Cause
The story behind this bug is quite deep and involves GTK and mesa, but ultimately it seems it would not happen if 256MB of system memory were allocated to the ‘CMA’ (a mechanism for sharing memory between the CPU and GPU), as is intended to be the case. This allocation is not working as intended, and the CMA has only 64MB of memory allocated to it.
Related Issues
Bugzilla report: #2282171
Mesa report: #11841
Workarounds
To avoid this problem, you can set the kernel argument cma=256M
.