something is wrong with mesa/xwayland git versions on panfrost/rk3588 at the moment when xwayland's glamor uses desktop GL for rendering, so kicad crashes xwayland on gnome for me. my workaround:
rm /usr/bin/Xwayland
vim /usr/bin/Xwayland
```
#!/bin/bash
/usr/local/bin/Xwayland "$@" -glamor es
```
i wish there was an env variable for this...