Some applications may crash on resize operations on GNOME on Raspberry Pi 4 and 400

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.

1 Like

A candidate fix for this issue has been submitted to the updates-testing repository for testing. If you are experiencing this problem, please help test this update and then report to Bodhi if it solves the problem — or not!

To install this update on your system, run this command: sudo dnf --enablerepo=updates-testing update --advisory=FEDORA-2024-97af3065b7

1 Like